/* ============================================================
   ESSENCE PANAMA — style.css
   Palette 1 | taste-skill DESIGN_VARIANCE:8 MOTION:6 DENSITY:4
   ============================================================ */

/* ── Google Fonts loaded in HTML ── */

/* ── Design Tokens ── */
:root {
  --copper:        #C9A02A;
  --copper-light:  #D4A853;
  --copper-pale:   #FAF4E3;
  --baltic:        #1A6B8A;
  --hunter:        #143A2F;
  --forest:        #1B4D3E;
  --evergreen:     #11362B;
  --off-white:     #FAFAF8;
  --warm-gray:     #F6F6F4;
  --text-dark:     #1A1A18;
  --text-mid:      #4A4A42;
  --text-light:    #7A7A6E;
  --border:        rgba(27,77,62,0.12);

  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Outfit', system-ui, sans-serif;

  --radius-sm:     6px;
  --radius-md:     14px;
  --radius-lg:     28px;

  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);

  --max-w:         1400px;
  --nav-h:         96px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--off-white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* ── Scroll-reveal utility ── */
.reveal {
  opacity: 0;
  transform: translate(var(--px-x, 0px), calc(28px + var(--px-y, 0px)));
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translate(var(--px-x, 0px), var(--px-y, 0px));
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }
.reveal-delay-5 { transition-delay: 0.75s; }

/* ── Layout helpers ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4.5rem);
}

[data-parallax], [data-parallax-y], [data-parallax-x] {
  transform: translate(var(--px-x, 0px), var(--px-y, 0px));
  will-change: transform;
}
.reveal[data-parallax], .reveal[data-parallax-y], .reveal[data-parallax-x] {
  transform: translate(var(--px-x, 0px), calc(28px + var(--px-y, 0px)));
}
.reveal.visible[data-parallax], .reveal.visible[data-parallax-y], .reveal.visible[data-parallax-x] {
  transform: translate(var(--px-x, 0px), var(--px-y, 0px));
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--evergreen);
}
.section-title.light { color: var(--off-white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 60ch;
  margin-top: 1.1rem;
  line-height: 1.7;
}
.section-subtitle.light { color: rgba(250,250,248,0.75); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), background 0.18s;
}
.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary {
  background: var(--forest);
  color: var(--off-white);
  box-shadow: 0 2px 12px rgba(5,66,34,0.22);
}
.btn-primary:hover {
  background: var(--evergreen);
  box-shadow: 0 4px 22px rgba(5,66,34,0.32);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--copper);
  border: 1.5px solid var(--copper);
}
.btn-secondary:hover {
  background: var(--copper);
  color: var(--off-white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--off-white);
  border: 1.5px solid rgba(250,250,248,0.4);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(250,250,248,0.12);
  border-color: rgba(250,250,248,0.7);
  transform: translateY(-2px);
}

/* ============================================================
   01 — NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: var(--max-w);
  z-index: 1000;
  height: min-content;
  padding: 0.75rem 0;
  background: var(--evergreen);
  border-radius: var(--radius-md);
  transition: all 0.35s var(--ease-out);
}
#navbar.scrolled {
  top: 10px;
  box-shadow: 0 8px 30px rgba(17,54,43,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.nav-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.8);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--copper);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--off-white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--copper);
  color: var(--off-white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.18s;
}
.nav-cta:hover { background: var(--copper-light); transform: translateY(-1px); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--evergreen); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

/* Mobile nav overlay */
#mobile-nav {
  display: none !important;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--evergreen);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem;
}
#mobile-nav.open { display: flex !important; }

/* ============================================================
   02 — HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #E6E6E0;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.2rem;
  padding: calc(var(--nav-h) + 0.2rem) clamp(1.5rem, 5vw, 5rem) 2rem;
}

.hero-text-viewbox {
  width: 100%;
  height: 230px;
  overflow: hidden;
  margin: 0;
  position: relative;
  background: #E6E6E0;
}

.hero-text-slider {
  height: 100%;
  transition: transform 1.2s var(--ease-in-out);
  background: #E6E6E0;
}

.hero-text-slide {
  height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  background: #E6E6E0;
  margin: 0;
  padding: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin: 0;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--copper);
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--evergreen);
  margin: 0;
}
.hero-title-word {
  font-size: 1.2em;
  display: inline-block;
}
.hero-h1 em {
  font-style: italic;
  color: var(--copper);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-mid);
  max-width: 52ch;
  line-height: 1.75;
  margin: 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 50px;
}

.hero-image-side {
  position: relative;
  overflow: hidden;
  height: 100dvh;
}

/* Slideshow - Vertical Direction */
.hero-slideshow {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 600%;
  transition: transform 1.2s var(--ease-in-out);
}
.hero-slide {
  position: relative;
  flex: 0 0 calc(100% / 6);
  width: 100%;
  height: calc(100% / 6);
  background-size: cover;
  background-position: center;
  opacity: 1;
}

/* Caption overlay */
.slide-label {
  position: absolute;
  bottom: 1.8rem;
  right: 1.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.7);
  background: rgba(6,50,46,0.45);
  backdrop-filter: blur(6px);
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(250,250,248,0.15);
}

/* Slide indicators */
.hero-indicators {
  position: absolute;
  bottom: 1.8rem;
  left: 1.8rem;
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.indicator {
  width: 20px;
  height: 2px;
  background: rgba(250,250,248,0.35);
  border: none;
  cursor: pointer;
  transition: width 0.35s var(--ease-out), background 0.35s;
  padding: 0;
  border-radius: 2px;
}
.indicator.active {
  width: 36px;
  background: var(--copper);
}
.indicator:hover { background: rgba(250,250,248,0.65); }

/* Soft Fade effect from #E6E6E0 to transparent to blend with the text side */
.hero-image-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #E6E6E0 0%, transparent 45%);
  z-index: 1;
  pointer-events: none;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(1.5rem, 5vw, 5rem);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--baltic);
}
.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 40px; height: 2px;
  background: var(--baltic);
}

/* ============================================================
   03 — SOBRE KARLA
   ============================================================ */
#sobre {
  padding: 7rem 0;
  background: var(--off-white);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.sobre-image-wrap {
  position: relative;
}
.sobre-slideshow {
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 580px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--warm-gray); /* Placeholder color during transition */
}
.sobre-slideshow img.sobre-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 1.5s var(--ease-in-out);
}
.sobre-slideshow img.sobre-slide.active {
  opacity: 1;
}
.sobre-image-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--forest);
  color: var(--off-white);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.8rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(5,66,34,0.25);
}
.sobre-image-badge .badge-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--copper-light);
}
.sobre-image-badge .badge-text {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.sobre-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 500;
  font-style: italic;
  color: var(--evergreen);
  line-height: 1.4;
  border-left: 3px solid var(--copper);
  padding-left: 1.5rem;
  margin: 2rem 0;
}
.sobre-bio {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.sobre-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.stat-item { border-top: 1.5px solid var(--border); padding-top: 1rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--forest);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ── Trayectoria (Logo Grid) ── */
/* #trayectoria uses the default .container padding to match the navbar width */
.logo-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between; /* Spread logos across full container width */
  gap: 0; /* Gap handled by space-between */
  padding: 3rem 0;
  width: 100%;
}
.logo-box {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  transition: transform 0.4s var(--ease-out);
}
.logo-box img {
  max-width: min(220px, 90%); /* Fill the box generously, but not edge-to-edge */
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
  transition: all 0.4s ease;
}
.logo-box:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.1);
}

@media (max-width: 1100px) {
  .logo-box { width: 150px; height: 60px; }
  .logo-grid { gap: 2rem; }
}

@media (max-width: 768px) {
  .logo-box { width: 140px; height: 50px; }
  .logo-grid { gap: 1.5rem; justify-content: center; }
}

/* ============================================================
   04 — SERVICIOS
   ============================================================ */
#servicios {
  padding: 7rem 0;
  background: var(--warm-gray);
}

.servicios-header {
  text-align: left;
  margin-bottom: 4rem;
}

.servicios-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(6,50,46,0.14);
}

/* B2B card */
.servicio-card {
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.4s var(--ease-out);
}
.servicio-card:hover { transform: translateY(-4px); }

.servicio-card.b2b {
  background: var(--forest);
  color: var(--off-white);
}
.servicio-card.b2c {
  background: var(--off-white);
  color: var(--evergreen);
}

.card-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.b2b .card-eyebrow { color: rgba(250,250,248,0.5); }
.b2c .card-eyebrow { color: var(--copper); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.b2b .card-icon { background: rgba(250,250,248,0.1); color: var(--copper-light); }
.b2c .card-icon { background: var(--copper-pale); color: var(--copper); }

.card-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}
.b2b .card-title { color: var(--off-white); }
.b2c .card-title { color: var(--evergreen); }

.card-desc {
  font-size: 0.95rem;
  line-height: 1.7;
}
.b2b .card-desc { color: rgba(250,250,248,0.72); }
.b2c .card-desc { color: var(--text-mid); }

.card-services {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}
.card-service-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.b2b .card-service-item { color: rgba(250,250,248,0.85); }
.b2c .card-service-item { color: var(--text-mid); }

.service-bullet {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.b2b .service-bullet { color: var(--copper-light); }
.b2c .service-bullet { color: var(--copper); }

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: transform 0.18s var(--ease-out), opacity 0.18s;
  align-self: flex-start;
  margin-top: auto;
}
.card-cta:hover { transform: translateY(-2px); }
.b2b .card-cta { background: var(--forest); color: var(--off-white); }
.b2b .card-cta:hover { background: var(--hunter); }
.b2c .card-cta { background: var(--copper); color: var(--off-white); }
.b2c .card-cta:hover { background: var(--copper-light); }

/* ============================================================
   05 — PROCESO
   ============================================================ */
#proceso {
  padding: 7rem 0;
  background: var(--evergreen);
}

.proceso-header { margin-bottom: 4.5rem; }

.proceso-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.proceso-steps::before {
  content: '';
  position: absolute;
  top: 2.2rem;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 1px;
  background: rgba(250,250,248,0.15);
}

.proceso-step { position: relative; }
.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--copper);
  color: var(--off-white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--off-white);
  margin-bottom: 0.75rem;
}
.step-desc {
  font-size: 0.9rem;
  color: rgba(250,250,248,0.65);
  line-height: 1.7;
}

/* ============================================================
   06 — RESULTADOS
   ============================================================ */
#resultados {
  padding: 7rem 0;
  background: var(--off-white);
}

.resultados-header { margin-bottom: 3.5rem; }

.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 3rem;
}
.tab-btn {
  padding: 0.85rem 1.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn.active { color: var(--forest); border-bottom-color: var(--copper); }
.tab-btn:hover { color: var(--forest); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

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

.testimonial-card {
  background: var(--warm-gray);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1.5px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
  border-color: var(--copper);
  box-shadow: 0 8px 32px rgba(175,131,76,0.1);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--evergreen);
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}
.author-title {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.1rem;
}

/* Stat bar for B2B */
.impact-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--baltic);
  color: var(--off-white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* ============================================================
   07 — FAQ
   ============================================================ */
#faq {
  padding: 7rem 0;
  background: var(--warm-gray);
}

.faq-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
}

.faq-sidebar { position: sticky; top: calc(var(--nav-h) + 2rem); }

.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1.5px solid var(--border);
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 0;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.2s;
  gap: 1rem;
}
.faq-trigger:hover { color: var(--forest); }
.faq-trigger .icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  transition: transform 0.35s var(--ease-out), background 0.25s, border-color 0.25s;
}
.faq-item.open .faq-trigger .icon {
  transform: rotate(45deg);
  background: var(--copper);
  border-color: var(--copper);
  color: var(--off-white);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out), padding 0.35s;
}
.faq-item.open .faq-body { max-height: 300px; padding-bottom: 1.2rem; }
.faq-body p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ============================================================
   08 — CONTACTO
   ============================================================ */
#contacto {
  padding: 7rem 0;
  background: var(--forest);
  position: relative;
  overflow: hidden;
}
#contacto::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(175,131,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.contacto-info .section-title { color: var(--off-white); }
.contacto-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-style: italic;
  color: rgba(250,250,248,0.72);
  line-height: 1.4;
  margin: 1.5rem 0 2.5rem;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 2.5rem;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: rgba(250,250,248,0.07);
  border: 1px solid rgba(250,250,248,0.1);
  border-radius: var(--radius-sm);
  color: var(--off-white);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.25s, border-color 0.25s;
}
.contact-channel:hover {
  background: rgba(250,250,248,0.13);
  border-color: rgba(250,250,248,0.22);
}
.contact-channel .ch-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ch-whatsapp { background: #25D366; }
.ch-linkedin { background: var(--baltic); }

/* Form */
.contact-form {
  background: rgba(250,250,248,0.05);
  border: 1px solid rgba(250,250,248,0.1);
  border-radius: var(--radius-md);
  padding: clamp(2rem, 4vw, 3rem);
  backdrop-filter: blur(8px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.6);
}
.form-input,
.form-textarea {
  background: rgba(250,250,248,0.08);
  border: 1.5px solid rgba(250,250,248,0.15);
  border-radius: var(--radius-sm);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
  transition: border-color 0.25s, background 0.25s;
  width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(250,250,248,0.35); }
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: rgba(250,250,248,0.12);
}
.form-textarea { resize: vertical; min-height: 120px; }

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: rgba(250,250,248,0.8);
  cursor: pointer;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(250,250,248,0.12);
  transition: background 0.2s, border-color 0.2s;
}
.radio-label:has(input:checked) {
  background: rgba(175,131,76,0.15);
  border-color: var(--copper);
  color: var(--copper-light);
}
.radio-label input { display: none; }

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* ============================================================
   09 — FOOTER
   ============================================================ */
footer {
  background: var(--evergreen);
  border-top: 1px solid rgba(250,250,248,0.07);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-logo img {
  height: 34px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(250,250,248,0.4);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.78rem;
  color: rgba(250,250,248,0.45);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--copper-light); }

/* ============================================================
   10 — WHATSAPP FLOAT
   ============================================================ */
#whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #25D366;
  color: #fff;
  border-radius: 100px;
  padding: 0.9rem 1.5rem 0.9rem 1.1rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, opacity 0.35s;
  text-decoration: none;
}
#whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.45);
}
#whatsapp-float .wa-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
}
#whatsapp-float .wa-text { white-space: nowrap; }

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 768px) {
  #hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }
  .hero-content {
    padding: calc(var(--nav-h) + 3rem) 1.5rem 3rem;
    grid-row: 1;
  }
  .hero-image-side {
    grid-row: 2;
    height: 280px;
  }
  .hero-image-side::before {
    background: linear-gradient(180deg, var(--evergreen) 0%, transparent 40%);
  }
  .hero-scroll-hint { display: none; }

  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-slideshow { height: 450px; min-height: 450px; }
  .sobre-image-badge { right: 1rem; bottom: -1rem; }
  .sobre-stats { grid-template-columns: repeat(2, 1fr); }

  .servicios-split { grid-template-columns: 1fr; gap: 0; }

  .proceso-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .proceso-steps::before { display: none; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-sidebar { position: static; margin-bottom: 2rem; }

  .contacto-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; align-items: center; }
  .footer-links { justify-content: center; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  #whatsapp-float .wa-text { display: none; }
  #whatsapp-float { padding: 1rem; border-radius: 50%; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}
