/* ============================================================
   AG ABOGADOS — DESIGN SYSTEM
   Paleta: Negro #0A0A0A | Blanco #FFFFFF | Dorado #C9A227 | Plateado #B8B8B8
   Tipografía: Playfair Display (títulos) + Inter (cuerpo)
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:     #0A0A0A;
  --black-2:   #111111;
  --black-3:   #1A1A1A;
  --black-4:   #222222;
  --white:     #FFFFFF;
  --white-90:  rgba(255,255,255,0.90);
  --white-60:  rgba(255,255,255,0.60);
  --white-20:  rgba(255,255,255,0.20);
  --white-10:  rgba(255,255,255,0.10);
  --gold:      #C9A227;
  --gold-light:#D4AF37;
  --gold-dim:  #8B6F1A;
  --gold-bg:   rgba(201,162,39,0.08);
  --gold-border: rgba(201,162,39,0.30);
  --silver:    #B8B8B8;
  --silver-dim:#707070;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-gold: 0 8px 32px rgba(201,162,39,0.18);
  --shadow-dark: 0 16px 48px rgba(0,0,0,0.60);
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --font-serif: 'Poppins', system-ui, sans-serif;
  --font-sans:  'Poppins', system-ui, sans-serif;
  --max-w:     1200px;
  --section-py: 96px;
}

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

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font-sans); cursor: pointer; border: none; background: none; }

::selection { background: var(--gold); color: var(--black); }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black-2); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 { font-family: var(--font-sans); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.1rem; font-weight: 600; font-family: var(--font-sans); }
p  { font-size: 1rem; color: var(--silver); }

/* ---------- LAYOUT UTILITIES ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-py) 0; }
.section--dark { background: var(--black); }
.section--darker { background: var(--black-2); }
.section--card  { background: var(--black-3); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: none; /* removed left gold bar per design update */
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section-title { color: var(--white); margin-bottom: 16px; }
.section-title span { color: var(--gold); }
.section-subtitle { color: var(--silver); max-width: 560px; margin-bottom: 56px; font-size: 1.05rem; }
.section-header { margin-bottom: 64px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }
.text-center .section-label { justify-content: center; }
.text-center .section-label::before { display: none; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { box-shadow: 0 12px 40px rgba(201,162,39,0.35); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 22px; font-size: 0.8rem; }

/* ---------- DIVIDER ---------- */
.gold-line {
  display: none; /* removed left decorative line per design update */
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 24px 0;
}
.gold-line--center { margin: 24px auto; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 32px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, box-shadow 0.4s, height 0.4s;
}
#nav.scrolled {
  background: rgba(10,10,10,0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.50);
  height: 72px;
  backdrop-filter: blur(12px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  padding-top: 4px;
}
.nav-logo-emblem {
  width: 56px;
  height: 56px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.02em;
  background: rgba(201,162,39,0.08);
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 5px;
}
.nav-logo-text strong {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1;
}
.nav-logo-text span {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--white-60);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { margin-left: 8px; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-border);
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  transition: var(--transition);
}
.nav-mobile.visible {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.nav-mobile a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-60);
  padding: 8px 0;
  border-bottom: 1px solid var(--white-10);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--gold); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
#inicio {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide.prev   { opacity: 0; z-index: 1; }

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero-slide.active .hero-bg { transform: scale(1.0); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,10,0.90) 0%,
    rgba(10,10,10,0.70) 55%,
    rgba(10,10,10,0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  margin: 0;
  padding: 0 5%;
  padding-top: 72px;
}
@media (min-width: 1024px) {
  .hero-content { padding-left: 8%; }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s 0.2s, transform 0.6s 0.2s;
}
.hero-tag::before { content: ''; width: 32px; height: 1px; background: var(--gold); display: block; }
.hero-slide.active .hero-tag { opacity: 1; transform: translateY(0); }

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  font-weight: 700;
  max-width: 680px;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s 0.4s, transform 0.7s 0.4s;
}
.hero-slide.active .hero-title { opacity: 1; transform: translateY(0); }
.hero-title em { font-style: normal; color: var(--gold); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--white-60);
  max-width: 480px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s 0.6s, transform 0.7s 0.6s;
}
.hero-slide.active .hero-sub { opacity: 1; transform: translateY(0); }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s 0.8s, transform 0.7s 0.8s;
}
.hero-slide.active .hero-actions { opacity: 1; transform: translateY(0); }

/* Slider controls */
.hero-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white-20);
  border: 1px solid var(--white-20);
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  width: 28px;
  border-radius: 4px;
}

.hero-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
  pointer-events: none;
}
.hero-arrow {
  pointer-events: all;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(10,10,10,0.50);
  color: var(--white-60);
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,162,39,0.10); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
}
.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  writing-mode: vertical-rl;
}
.scroll-indicator-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================================
   QUIÉNES SOMOS
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.value-card {
  padding: 20px;
  border: 1px solid var(--white-10);
  border-radius: var(--radius-md);
  background: var(--gold-bg);
  transition: var(--transition);
}
.value-card:hover {
  border-color: var(--gold-border);
  background: rgba(201,162,39,0.12);
}
.value-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  color: var(--gold);
}
.value-card h4 { color: var(--white); margin-bottom: 6px; }
.value-card p { font-size: 0.875rem; color: var(--silver-dim); }

/* Stats */
.stats-row {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--white-10);
  flex-wrap: wrap;
}
.stat-item {}
.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-top: 4px;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.team-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black-3);
  border: 1px solid var(--white-10);
  transition: var(--transition);
}
.team-card:hover { border-color: var(--gold-border); transform: translateY(-6px); box-shadow: var(--shadow-gold); }

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}
.team-info {
  padding: 24px;
}
.team-name { font-family: var(--font-serif); font-size: 1.2rem; color: var(--white); margin-bottom: 4px; }
.team-role { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 12px; }
.team-creds { font-size: 0.8rem; color: var(--silver-dim); line-height: 1.5; }
.team-creds li { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.team-creds li::before { content: '◆'; font-size: 0.5rem; color: var(--gold); }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.service-card {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--white-10);
  background: var(--black-3);
  transition: var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}
.service-card:hover::before { opacity: 1; }

.service-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white-10);
  line-height: 1;
  pointer-events: none;
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  color: var(--gold);
}
.service-icon svg { width: 100%; height: 100%; }

.service-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 12px;
}
.service-desc {
  font-size: 0.9rem;
  color: var(--silver-dim);
  line-height: 1.7;
  margin-bottom: 28px;
}
.service-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(201,162,39,0.25);
  margin-top: 8px;
}
.service-cta-btn:hover {
  box-shadow: 0 8px 28px rgba(201,162,39,0.45);
  transform: translateY(-2px);
}
.service-cta-btn svg { width: 18px; height: 18px; }

/* Small link-style CTA still available */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--transition);
}
.service-link:hover { gap: 10px; }
.service-link svg { width: 16px; height: 16px; }

/* ============================================================
   TESTIMONIALES
   ============================================================ */
.testimonials-wrapper {
  position: relative;
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-card {
  width: 100%;
  min-width: 100%;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.testimonial-item {
  padding: 36px;
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  background: var(--black-3);
  position: relative;
  transition: var(--transition);
}
.testimonial-item:hover { border-color: var(--gold-border); }

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.35;
  line-height: 0.8;
  margin-bottom: 16px;
  display: block;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--white-90);
  line-height: 1.75;
  margin-bottom: 28px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; color: var(--white); font-size: 0.95rem; margin-bottom: 2px; }
.testimonial-service { font-size: 0.78rem; color: var(--gold); letter-spacing: 0.08em; }
.stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 4px; }

.testimonials-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}
.t-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--white-60);
}
.t-arrow:hover { border-color: var(--gold); color: var(--gold); }
.t-dots { display: flex; gap: 8px; }
.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white-20);
  cursor: pointer;
  transition: var(--transition);
}
.t-dot.active { background: var(--gold); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--white-10);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: none;
  cursor: pointer;
  gap: 20px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform var(--transition);
}
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1), padding 0.45s;
}
.faq-item.open .faq-answer { max-height: 500px; padding-bottom: 24px; }
.faq-answer p { color: var(--silver); font-size: 0.95rem; line-height: 1.8; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 { color: var(--white); margin-bottom: 24px; font-family: var(--font-serif); }
.contact-info > p { color: var(--silver); margin-bottom: 40px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.contact-item-value { color: var(--white); font-size: 0.95rem; }
.contact-item-value a { color: var(--white); transition: color var(--transition); }
.contact-item-value a:hover { color: var(--gold); }

.map-wrap {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  aspect-ratio: 16/9;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(80%) invert(90%) contrast(85%); }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 8px;
}
.form-label span { color: var(--gold); }

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--black-4);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--silver-dim); }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23B8B8B8' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-select option { background: var(--black-2); color: var(--white); }
.form-textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-error { font-size: 0.78rem; color: #e05555; margin-top: 6px; display: none; }
.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea { border-color: #e05555; }
.form-group.error .form-error { display: block; }

.form-success {
  text-align: center;
  padding: 48px 32px;
  display: none;
}
.form-success.visible { display: block; }
.form-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold-bg);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin: 0 auto 24px;
}
.form-success h3 { color: var(--white); margin-bottom: 12px; }
.form-success p { color: var(--silver); margin-bottom: 32px; }

.privacy-note {
  font-size: 0.78rem;
  color: var(--silver-dim);
  line-height: 1.6;
  margin-top: 16px;
}
.privacy-note a { color: var(--gold); border-bottom: 1px dashed var(--gold-dim); }

/* Contact form simple */
.contact-form-wrap {
  background: var(--black-3);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-xl);
  padding: 48px;
}
.contact-form-wrap h3 { color: var(--white); margin-bottom: 8px; font-family: var(--font-serif); }
.contact-form-wrap > p { color: var(--silver); margin-bottom: 32px; font-size: 0.9rem; }

/* ============================================================
   RESERVAR CITA
   ============================================================ */
#reservar {
  background: var(--black-2);
}
.booking-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.booking-aside {}
.booking-aside h2 { color: var(--white); margin-bottom: 16px; }
.booking-aside p { color: var(--silver); margin-bottom: 32px; }
.booking-process { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.booking-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.booking-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}
.booking-step-text h4 { color: var(--white); margin-bottom: 4px; font-size: 0.9rem; }
.booking-step-text p { font-size: 0.82rem; color: var(--silver-dim); }

.booking-form-wrap {
  background: var(--black-3);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-xl);
  padding: 48px;
}
.booking-form-wrap h3 { font-family: var(--font-serif); color: var(--white); margin-bottom: 8px; }
.booking-form-wrap > p { color: var(--silver); font-size: 0.9rem; margin-bottom: 32px; }

/* ============================================================
   CREDENCIALES / FOOTER BAND
   ============================================================ */
.credentials-band {
  padding: 48px 0;
  border-top: 1px solid var(--white-10);
  border-bottom: 1px solid var(--white-10);
}
.credentials-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--silver-dim);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}
.cred-item svg { width: 20px; height: 20px; color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--black-2);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand p {
  color: var(--silver-dim);
  font-size: 0.875rem;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 280px;
}
.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--silver-dim);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: var(--silver-dim);
}
.footer-contact-item svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: var(--silver-dim); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--white-10);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 0.78rem; color: var(--silver-dim); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.78rem; color: var(--silver-dim); transition: color var(--transition); }
.footer-legal a:hover { color: var(--gold); }

.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--white-10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver-dim);
  transition: var(--transition);
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }
.social-link svg { width: 16px; height: 16px; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 28px rgba(37,211,102,0.35);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.whatsapp-btn:hover { transform: scale(1.08); box-shadow: 0 12px 36px rgba(37,211,102,0.50); }
.whatsapp-btn svg { width: 28px; height: 28px; }
.whatsapp-label {
  background: var(--black-2);
  border: 1px solid var(--gold-border);
  color: var(--white);
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
  pointer-events: none;
  white-space: nowrap;
}
.whatsapp-float:hover .whatsapp-label { opacity: 1; transform: translateX(0); }

/* ============================================================
   BOOKING POPUP MODAL
   ============================================================ */
.booking-popup-box {
  background: var(--black-3);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.booking-popup-box h2 { color: var(--white); margin-bottom: 6px; font-size: 1.6rem; }
.booking-popup-box > p { color: var(--silver); font-size: 0.9rem; margin-bottom: 24px; }

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  margin-bottom: 28px;
  width: 100%;
}
.price-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  flex-shrink: 0;
}
.price-badge-icon svg { width: 20px; height: 20px; }
.price-badge-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver-dim); }
.price-badge-value { font-size: 1.25rem; font-weight: 800; color: var(--gold); line-height: 1; }
.price-badge-note { font-size: 0.72rem; color: var(--silver-dim); margin-top: 2px; }

/* ============================================================
   WHATSAPP FLOAT — hidden by request
   ============================================================ */
.whatsapp-float { display: none; }
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.80);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(8px);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--black-3);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--white-10);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white-60);
  transition: var(--transition);
}
.modal-close:hover { border-color: var(--gold); color: var(--gold); }
.modal-box h2 { color: var(--white); margin-bottom: 8px; font-size: 1.5rem; }
.modal-box h3 { color: var(--gold); font-size: 1rem; margin: 24px 0 8px; font-family: var(--font-sans); font-weight: 600; }
.modal-box p { color: var(--silver); font-size: 0.9rem; line-height: 1.8; margin-bottom: 12px; }
.modal-box ul { padding-left: 20px; margin-bottom: 12px; }
.modal-box ul li { color: var(--silver); font-size: 0.9rem; line-height: 1.8; list-style: disc; }

/* ============================================================
   AOS OVERRIDES
   ============================================================ */
[data-aos] { transition-delay: 0s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .booking-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .testimonial-card { grid-template-columns: 1fr 1fr; }
}
/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  transform: translateY(-4px);
  background: var(--gold-light);
  box-shadow: 0 8px 24px rgba(201,162,39,0.3);
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta.btn { display: none; }
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 64px auto 0; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
  .testimonial-card { grid-template-columns: 1fr; }
  .hero-arrows { display: none; }
  .stats-row { gap: 24px; }
  .credentials-list { gap: 24px; }
  .contact-form-wrap, .booking-form-wrap { padding: 28px; }
  .modal-box { padding: 28px; }
  .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
}
