﻿/*
Theme Name: Peralta & Asociados
Theme URI: https://peraltaabogados.mx/
Author: Antigravity AI
Description: Tema premium personalizado en modo oscuro y dorado para Peralta & Asociados Abogados.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: peralta-asociados
*/
/* style.css - Peralta & Consultores Asociados Abogados */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --bg-primary: #070a13;
  --bg-secondary: #0f1524;
  --bg-card: #151e33;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-gold: #c5a880;
  --accent-gold-dark: #9e8159;
  --accent-gold-light: #e3d3bd;
  --accent-gold-glow: rgba(197, 168, 128, 0.15);
  --success: #10b981;
  --error: #ef4444;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --border-glass: rgba(197, 168, 128, 0.08);
  --bg-glass: rgba(15, 21, 36, 0.7);
  --shadow-gold: 0 8px 32px 0 rgba(0, 0, 0, 0.5), 0 0 20px 0 rgba(197, 168, 128, 0.05);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(197, 168, 128, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(197, 168, 128, 0.03) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* Typography & Titles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.75rem;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  padding-bottom: 1.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.text-gold {
  color: var(--accent-gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.35);
}

.btn-secondary {
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  background-color: rgba(197, 168, 128, 0.03);
}

.btn-secondary:hover {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.btn-text {
  color: var(--accent-gold);
  font-weight: 600;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-text::after {
  content: 'â†’';
  transition: var(--transition-fast);
}

.btn-text:hover::after {
  transform: translateX(4px);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.75rem 0;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

header.scrolled .container {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(197, 168, 128, 0.15));
}

.logo-text h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
}

.logo-text p {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-top: 0.2rem;
}

.mobile-only {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--accent-gold);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 4rem;
  background: radial-gradient(circle at center, rgba(15, 21, 36, 0.8) 0%, var(--bg-primary) 100%);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  z-index: 2;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.25;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
  object-fit: cover;
  z-index: 0;
  animation: slowZoom 25s infinite alternate ease-in-out;
}

@keyframes slowZoom {
  from {
    transform: scale(1.0);
  }
  to {
    transform: scale(1.1);
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 5;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(197, 168, 128, 0.08);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 2rem;
  animation: pulseGold 2s infinite alternate;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-title span {
  display: block;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-border {
  border: 1px solid var(--accent-gold);
  padding: 1.5rem;
  border-radius: 4px;
  position: relative;
}

.hero-image-border::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 30px;
  height: 30px;
  border-top: 2px solid var(--accent-gold);
  border-left: 2px solid var(--accent-gold);
}

.hero-image-border::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid var(--accent-gold);
  border-right: 2px solid var(--accent-gold);
}

.hero-preview-img {
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--shadow-gold);
}

/* Triad of Value / Propuesta de Valor */
.section-padding {
  padding: 7rem 0;
}

.triad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.triad-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  padding: 3rem 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.triad-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold-dark), var(--accent-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.triad-card:hover {
  transform: translateY(-8px);
  border-color: rgba(197, 168, 128, 0.25);
  box-shadow: var(--shadow-gold);
  background-color: var(--bg-card);
}

.triad-card:hover::before {
  transform: scaleX(1);
}

.triad-icon {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  background-color: rgba(197, 168, 128, 0.05);
  border: 1px solid rgba(197, 168, 128, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--accent-gold);
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.triad-card:hover .triad-icon {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  transform: rotateY(180deg);
}

.triad-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.triad-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Practice Areas Grid */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.practice-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

.practice-card:hover {
  background-color: var(--bg-card);
  border-color: var(--accent-gold);
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-gold);
}

.practice-card-top h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.practice-card-top p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.practice-icon-small {
  font-size: 2rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.practice-card-bottom {
  margin-top: 1.5rem;
}

/* About Us Section */
.about {
  background-color: var(--bg-secondary);
  position: relative;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.stat-item p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.about-image-wrap {
  position: relative;
}

.about-image-frame {
  border: 1px solid var(--accent-gold);
  padding: 1.5rem;
  border-radius: 4px;
  transform: rotate(-1deg);
  transition: var(--transition-smooth);
}

.about-image-frame:hover {
  transform: rotate(0deg);
}

.about-img {
  width: 100%;
  border-radius: 4px;
  filter: grayscale(20%);
  transition: var(--transition-smooth);
}

.about-image-frame:hover .about-img {
  filter: grayscale(0%);
}

.badge-floating {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--bg-primary);
  border: 1px solid var(--accent-gold);
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: var(--shadow-gold);
  text-align: center;
}

.badge-floating h4 {
  font-size: 1.75rem;
  color: var(--accent-gold);
}

.badge-floating p {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

/* Interactive Consultation Assistant */
.assistant-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  box-shadow: var(--shadow-gold);
  max-width: 750px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.assistant-header {
  background-color: var(--bg-card);
  padding: 2rem;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.assistant-title {
  font-size: 1.5rem;
  font-family: var(--font-serif);
}

.assistant-progress {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.assistant-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  background-color: var(--accent-gold);
  width: 25%;
  transition: var(--transition-smooth);
}

.assistant-body {
  padding: 3rem 2.5rem;
}

.assistant-step {
  display: none;
}

.assistant-step.active {
  display: block;
  animation: fadeInUp 0.4s ease forwards;
}

.assistant-step h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text-primary);
}

.step-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.option-btn {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  padding: 1.25rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.option-btn:hover {
  border-color: var(--accent-gold);
  background-color: rgba(197, 168, 128, 0.05);
}

.option-btn.selected {
  border-color: var(--accent-gold);
  background-color: rgba(197, 168, 128, 0.12);
  box-shadow: 0 0 10px rgba(197, 168, 128, 0.1);
}

.option-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.option-btn.selected .option-radio {
  border-color: var(--accent-gold);
}

.option-btn.selected .option-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent-gold);
}

/* Custom Textarea styling */
.assistant-textarea {
  width: 100%;
  min-height: 120px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  padding: 1rem;
  color: var(--text-primary);
  resize: vertical;
  margin-bottom: 1.5rem;
}

.assistant-textarea:focus {
  border-color: var(--accent-gold);
}

/* Input Group Styles */
.assistant-input-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.assistant-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.assistant-input-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.assistant-input {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  width: 100%;
  transition: var(--transition-fast);
}

.assistant-input:focus {
  border-color: var(--accent-gold);
}

.assistant-input-grid-full {
  grid-column: span 2;
}

/* Final Result / Success Step */
.result-success {
  text-align: center;
  padding: 1.5rem 0;
}

.success-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 2rem;
}

.result-success h4 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}

.result-success p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.whatsapp-cta {
  background-color: #25d366;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.whatsapp-cta:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.assistant-footer {
  background-color: var(--bg-card);
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
}

/* Practice Area Details Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 10, 19, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  padding: 3rem;
  box-shadow: var(--shadow-gold);
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--accent-gold);
}

.modal-header {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.modal-icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
}

.modal-title {
  font-size: 2rem;
}

.modal-body {
  color: var(--text-secondary);
}

.modal-list-title {
  margin: 1.5rem 0 0.75rem;
  color: var(--text-primary);
  font-weight: 600;
}

.modal-list {
  list-style: none;
}

.modal-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-list li::before {
  content: 'âœ“';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
}

/* Contact and Map Section */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-map-container {
  height: 250px;
  border-radius: 4px;
  border: 1px solid var(--border-glass);
  margin-top: 2rem;
  overflow: hidden;
  position: relative;
}

#map {
  width: 100%;
  height: 100%;
}

/* Leaflet dark theme filter */
.leaflet-tile-pane {
  filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.leaflet-container {
  background: var(--bg-primary) !important;
}

/* Map placeholder when script fails to load */
.map-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
}

.contact-form {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  padding: 3.5rem;
  border-radius: 4px;
  position: relative;
}

.contact-form h3 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-input {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  padding: 0.9rem 1.25rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-gold);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .btn {
  margin-top: 1rem;
  width: 100%;
}

/* Success popup overlay */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-secondary);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 10;
}

.form-success-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Footer */
footer {
  background-color: #04060b;
  border-top: 1px solid var(--border-glass);
  padding: 5rem 0 2rem;
  color: var(--text-secondary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo-desc p {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-contact-info li {
  display: flex;
  gap: 0.75rem;
}

.footer-contact-info i {
  color: var(--accent-gold);
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(197, 168, 128, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a:hover {
  color: var(--accent-gold);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGold {
  0% {
    box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.25);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(197, 168, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(197, 168, 128, 0);
  }
}

/* Scroll appearance animations class */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  filter: blur(5px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1), filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-bg-img {
    width: 100%;
    opacity: 0.15;
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }
  
  .hero-image-container {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .triad-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about .container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .about-image-wrap {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
  
  .section-padding {
    padding: 4rem 0;
  }

  #btn-header-cta {
    display: none;
  }

  .mobile-only {
    display: block;
    width: 100%;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: 3rem;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .practice-grid {
    grid-template-columns: 1fr;
  }
  
  .step-options-grid {
    grid-template-columns: 1fr;
  }
  
  .assistant-input-grid {
    grid-template-columns: 1fr;
  }
  
  .assistant-input-grid-full {
    grid-column: span 1;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-full {
    grid-column: span 1;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

