/* ═══════════════════════════════════════════════════════════════════
   FogonWeb — Estilos principales v2
   Paleta: Terracota · Crema · Carbón · Verde musgo
   Tipografía: Playfair Display (títulos) + Inter (cuerpo)
═══════════════════════════════════════════════════════════════════ */

/* ─── VARIABLES ─────────────────────────────────────────────────────────── */
:root {
  --terracota:        #C75B39;
  --terracota-dark:   #a8462a;
  --terracota-light:  #e07050;
  --terracota-faint:  rgba(199,91,57,0.08);
  --terracota-faint2: rgba(199,91,57,0.15);
  --cream:            #F5F0E8;
  --cream-dark:       #EDE6D6;
  --carbon:           #2C2C2C;
  --carbon-light:     #3d3d3d;
  --moss:             #5A6B4C;
  --moss-light:       #7a8f6a;
  --moss-faint:       rgba(90,107,76,0.1);
  --white:            #ffffff;
  --text:             #2C2C2C;
  --text-2:           #5a5240;
  --text-muted:       #8a7e6e;
  --border:           rgba(44,44,44,0.1);
  --border-light:     rgba(44,44,44,0.06);
  --radius:           12px;
  --radius-lg:        20px;
  --radius-xl:        28px;
  --shadow-sm:        0 2px 12px rgba(44,44,44,0.08);
  --shadow:           0 8px 40px rgba(44,44,44,0.12);
  --shadow-lg:        0 20px 60px rgba(44,44,44,0.16);
  --shadow-terra:     0 8px 30px rgba(199,91,57,0.3);
  --transition:       0.3s cubic-bezier(0.4,0,0.2,1);
  --font-title:       'Playfair Display', Georgia, serif;
  --font-body:        'Inter', system-ui, sans-serif;
  --font-mono:        'Courier New', Courier, monospace;
  --max-w:            1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--terracota-faint2); border-radius: 3px; }
::selection { background: var(--terracota-faint2); color: var(--text); }

/* ─── LAYOUT ────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

/* ─── TYPOGRAPHY ────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.15;
  color: var(--carbon);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 12px;
}

.section-sub {
  max-width: 600px;
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 56px;
}

/* ─── BUTTONS ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracota);
  color: var(--white);
  border-color: var(--terracota);
  box-shadow: 0 4px 14px rgba(199,91,57,0.35);
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: var(--terracota-dark);
  border-color: var(--terracota-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(199,91,57,0.45);
}
.btn-primary:active { transform: translateY(-1px); }

.btn-outline {
  background: rgba(255,255,255,0.7);
  color: var(--carbon);
  border-color: rgba(44,44,44,0.18);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--terracota);
  color: var(--terracota);
  background: rgba(255,255,255,0.9);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.btn-outline:active { transform: translateY(-1px); }

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-full { width: 100%; }

.btn.loading { opacity: 0.7; pointer-events: none; }

/* ─── REVEAL ANIMATIONS ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── HERO ANIMATIONS (CSS puro, sin JS) ────────────────────────────────── */
.hero-anim {
  animation: hero-appear 0.8s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-anim:nth-child(1) { animation-delay: 0.05s; }
.hero-anim:nth-child(2) { animation-delay: 0.18s; }
.hero-anim:nth-child(3) { animation-delay: 0.32s; }
.hero-anim:nth-child(4) { animation-delay: 0.46s; }
.hero-anim:nth-child(5) { animation-delay: 0.60s; }

@keyframes hero-appear {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── NAV ───────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: padding var(--transition), background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(245,240,232,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(44,44,44,0.1);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--carbon);
  flex-shrink: 0;
}

.logo-svg {
  width: 28px;
  height: 31px;
  color: var(--terracota);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--terracota);
  background: var(--terracota-faint);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--carbon);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ──────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Foto de fondo con parallax */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: -15%;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  transform: translateY(var(--parallax-y, 0));
  will-change: transform;
}

/* Overlay degradado para legibilidad del texto */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(245,240,232,0.92) 0%,
    rgba(245,240,232,0.82) 40%,
    rgba(245,240,232,0.45) 70%,
    rgba(245,240,232,0.20) 100%
  );
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 1;
}
.hero-blob--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(199,91,57,0.2) 0%, transparent 70%);
  top: -100px;
  right: -80px;
  animation: blob-drift 12s ease-in-out infinite alternate;
}
.hero-blob--2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(90,107,76,0.15) 0%, transparent 70%);
  bottom: -80px;
  left: 5%;
  animation: blob-drift 15s ease-in-out infinite alternate-reverse;
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(44,44,44,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 1;
}

/* Partículas flotantes hero */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-particle--1 {
  width: 8px; height: 8px;
  background: var(--terracota);
  opacity: 0.4;
  top: 20%; left: 15%;
  animation: particle-float 8s ease-in-out infinite;
}
.hero-particle--2 {
  width: 4px; height: 4px;
  background: var(--moss);
  opacity: 0.5;
  top: 60%; left: 8%;
  animation: particle-float 11s ease-in-out infinite reverse;
}
.hero-particle--3 {
  width: 6px; height: 6px;
  background: var(--terracota);
  opacity: 0.3;
  top: 40%; right: 12%;
  animation: particle-float 9s ease-in-out infinite 2s;
}
.hero-particle--4 {
  width: 10px; height: 10px;
  background: var(--moss);
  opacity: 0.2;
  top: 75%; right: 20%;
  animation: particle-float 13s ease-in-out infinite 1s;
}
.hero-particle--5 {
  width: 3px; height: 3px;
  background: var(--terracota);
  opacity: 0.6;
  top: 15%; right: 35%;
  animation: particle-float 7s ease-in-out infinite 3s;
}

/* Líneas decorativas flotantes */
.hero-line {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
}
.hero-line--1 {
  width: 120px; height: 1px;
  background: var(--terracota);
  top: 30%; left: 5%;
  animation: line-drift 14s ease-in-out infinite;
  transform-origin: left center;
}
.hero-line--2 {
  width: 80px; height: 1px;
  background: var(--carbon);
  bottom: 30%; right: 8%;
  animation: line-drift 10s ease-in-out infinite reverse;
}

@keyframes particle-float {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
  25%       { transform: translateY(-20px) translateX(10px) rotate(90deg); }
  50%       { transform: translateY(-10px) translateX(-8px) rotate(180deg); }
  75%       { transform: translateY(-25px) translateX(5px) rotate(270deg); }
}

@keyframes line-drift {
  0%, 100% { transform: scaleX(1) translateY(0); opacity: 0.08; }
  50%       { transform: scaleX(1.4) translateY(-12px); opacity: 0.15; }
}

@keyframes blob-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.1); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.hero-headline {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1.1;
  color: var(--carbon);
}

.hero-headline em {
  font-style: italic;
  color: var(--terracota);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  width: fit-content;
  flex-wrap: wrap;
}

.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--terracota);
  line-height: 1;
}
.hero-stat span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  z-index: 2;
  animation: phone-float 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(44,44,44,0.2));
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50%       { transform: translateY(-16px) rotate(-2deg); }
}

.phone-frame {
  width: 220px;
  background: var(--carbon);
  border-radius: 32px;
  padding: 12px;
  box-shadow:
    0 0 0 2px #1a1a1a,
    0 0 0 4px #3a3a3a,
    0 40px 80px rgba(0,0,0,0.3);
}

.phone-notch {
  width: 60px;
  height: 6px;
  background: #1a1a1a;
  border-radius: 3px;
  margin: 0 auto 8px;
}

.phone-screen {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  font-size: 0.65rem;
}

.phone-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--carbon);
  color: var(--white);
}
.phone-nav-brand {
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 700;
  color: #C75B39;
}
.phone-nav-dots { display: flex; gap: 4px; }
.phone-nav-dots span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}

.phone-hero-area {
  background: linear-gradient(160deg, #faf0e8 0%, #f0e0d0 100%);
  padding: 12px;
  position: relative;
  text-align: center;
}

.phone-dish-img {
  width: 80px;
  margin: 0 auto 8px;
}

.phone-tag-pill {
  display: inline-block;
  padding: 2px 8px;
  background: var(--terracota);
  color: white;
  border-radius: 20px;
  font-size: 0.55rem;
  font-weight: 600;
}

.phone-body {
  padding: 10px 12px 12px;
}

.phone-section-title {
  font-family: var(--font-title);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--carbon);
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 4px;
}

.phone-menu-list { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }

.phone-menu-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: var(--text-2);
  padding: 3px 0;
  border-bottom: 1px dashed var(--border-light);
}

.phone-price {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--terracota);
}

.phone-cta-btn {
  width: 100%;
  padding: 6px;
  background: var(--terracota);
  color: white;
  border-radius: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  cursor: default;
}

.phone-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 40px;
  background: var(--terracota);
  filter: blur(30px);
  opacity: 0.3;
  border-radius: 50%;
}

.hero-float-badge {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--carbon);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border-light);
  z-index: 3;
  animation: badge-float 4s ease-in-out infinite;
}

.hero-float-badge--1 {
  top: 20%;
  right: -10px;
  animation-delay: 0s;
}
.hero-float-badge--2 {
  bottom: 25%;
  left: -10px;
  animation-delay: 2s;
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: scroll-bounce 2s ease-in-out infinite;
  z-index: 2;
}
.hero-scroll-hint svg { width: 28px; height: 28px; }

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50%       { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* ─── WAVE DIVIDERS ─────────────────────────────────────────────────────── */
.wave-top,
.wave-bottom {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}
.wave-top { top: -1px; }
.wave-bottom { bottom: -1px; }
.wave-top svg,
.wave-bottom svg { display: block; width: 100%; }

/* Floating shapes en secciones interiores */
.section-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.04;
  animation: shape-drift 18s ease-in-out infinite;
}
.section-shape--circle {
  border-radius: 50%;
  background: var(--terracota);
}
.section-shape--1 { width: 300px; height: 300px; top: -80px; right: -80px; }
.section-shape--2 { width: 200px; height: 200px; bottom: -50px; left: -60px; animation-delay: 6s; }

@keyframes shape-drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(20px,-15px) scale(1.05); }
  66%       { transform: translate(-10px,20px) scale(0.95); }
}

/* ─── SERVICES ──────────────────────────────────────────────────────────── */
.services {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Banner foto cachopo debajo del grid */
.services-photo-strip {
  margin-top: 64px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  height: 280px;
}

.services-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.services-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(44,44,44,0.78) 0%,
    rgba(44,44,44,0.55) 50%,
    rgba(44,44,44,0.20) 100%
  );
  display: flex;
  align-items: center;
  padding: 40px 56px;
}

.services-photo-text h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 8px;
}

.services-photo-text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--terracota);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(44,44,44,0.14);
  border-color: var(--terracota-faint2);
}

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

.service-card:hover .service-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.service-icon {
  width: 44px;
  height: 44px;
  color: var(--terracota);
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ─── WHY US ────────────────────────────────────────────────────────────── */
.why-us {
  background: var(--cream);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why-icon { font-size: 1.8rem; margin-bottom: 14px; }

.why-icon-svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--terracota);
}
.why-icon-svg svg {
  width: 100%;
  height: 100%;
}

.why-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ─── CHATBOT SECTION ───────────────────────────────────────────────────── */
.chatbot-section {
  background: linear-gradient(135deg, var(--carbon) 0%, #3d3030 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.chatbot-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(199,91,57,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

.chatbot-section .section-label { color: var(--terracota-light); }

.chatbot-section .section-title { color: var(--white); }

.chatbot-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.chatbot-info { color: var(--white); }

.chatbot-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 20px 0 32px;
}

.chatbot-features { display: flex; flex-direction: column; gap: 16px; }

.chatbot-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}

.chatbot-feature-icon {
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  background: rgba(199,91,57,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Chat window */
.chat-window {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
}

.chat-header {
  background: var(--terracota);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-avatar svg { width: 22px; height: 25px; }

.chat-header-info { flex: 1; }
.chat-header-info strong {
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: var(--white);
  display: block;
}

.chat-online {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-restart {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  padding: 4px 8px;
  border-radius: 6px;
  transition: var(--transition);
}
.chat-restart:hover { background: rgba(255,255,255,0.15); color: white; }

.chat-messages {
  padding: 20px;
  min-height: 260px;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  animation: msg-in 0.3s ease;
}

@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-msg--bot {
  background: var(--cream);
  color: var(--carbon);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.chat-msg--user {
  background: var(--terracota);
  color: var(--white);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-msg--result {
  background: linear-gradient(135deg, var(--moss), var(--moss-light));
  color: white;
  max-width: 100%;
  align-self: stretch;
  text-align: center;
  border-radius: 12px;
}
.chat-msg--result strong {
  display: block;
  font-size: 1.6rem;
  font-family: var(--font-mono);
  margin: 6px 0 4px;
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: var(--cream);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  width: 56px;
  align-self: flex-start;
  animation: msg-in 0.3s ease;
}
.chat-typing span {
  width: 7px;
  height: 7px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing-dot 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%            { transform: translateY(-6px); opacity: 1; }
}

.chat-options {
  padding: 12px 16px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--border-light);
  background: #fafafa;
  min-height: 60px;
}

.chat-btn {
  padding: 8px 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--carbon);
  cursor: pointer;
  transition: var(--transition);
}

.chat-btn:hover {
  border-color: var(--terracota);
  color: var(--terracota);
  background: var(--terracota-faint);
}

.chat-btn--primary {
  background: var(--terracota);
  border-color: var(--terracota);
  color: var(--white);
  font-weight: 600;
}
.chat-btn--primary:hover {
  background: var(--terracota-dark);
  border-color: var(--terracota-dark);
  color: var(--white);
}

.chat-btn--call {
  background: var(--moss);
  border-color: var(--moss);
  color: var(--white);
}
.chat-btn--call:hover {
  background: var(--moss-light);
  border-color: var(--moss-light);
  color: var(--white);
}

/* ─── PROCESS ───────────────────────────────────────────────────────────── */
.process { background: var(--white); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--terracota) 0%, var(--terracota-faint2) 100%);
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--terracota);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  box-shadow: var(--shadow-terra);
}

.process-step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ─── DEMOS 3D ──────────────────────────────────────────────────────────── */
.portfolio {
  background: var(--cream);
  overflow: hidden;
  position: relative;
}

/* Franja decorativa con foto de comedor al final de la sección */
.portfolio-photo-accent {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 220px;
  box-shadow: var(--shadow-lg);
}

.portfolio-photo-accent-text {
  background: var(--carbon);
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.portfolio-photo-accent-text h3 {
  color: var(--white);
  font-size: 1.5rem;
}

.portfolio-photo-accent-text p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.6;
}

.portfolio-photo-accent-img {
  position: relative;
  overflow: hidden;
}

.portfolio-photo-accent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.portfolio-photo-accent:hover .portfolio-photo-accent-img img {
  transform: scale(1.04);
}

.demos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.demo-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
  perspective: 800px;
}

.demo-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.demo-devices-wrap {
  padding: 24px 20px 16px;
  position: relative;
  transition: transform var(--transition);
  transform-style: preserve-3d;
}

.demo-card:hover .demo-devices-wrap {
  transform: rotateY(-6deg) rotateX(3deg);
}

.demo-devices {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  position: relative;
}

/* Monitor */
.demo-monitor {
  flex: 1;
  min-width: 0;
}

.monitor-frame {
  background: #1a1a1a;
  border-radius: 8px 8px 0 0;
  padding: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.monitor-chrome {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px 4px;
}
.monitor-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.monitor-dot:nth-child(1) { background: #ff5f57; }
.monitor-dot:nth-child(2) { background: #ffbd2e; }
.monitor-dot:nth-child(3) { background: #28ca41; }

.monitor-screen {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.monitor-stand {
  width: 40%;
  height: 8px;
  background: #2a2a2a;
  margin: 0 auto;
  border-radius: 0 0 4px 4px;
}

.monitor-base {
  width: 60%;
  height: 4px;
  background: #222;
  margin: 0 auto;
  border-radius: 2px;
}

/* Phone */
.demo-phone {
  width: 52px;
  flex-shrink: 0;
}

.demo-phone-frame {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.demo-phone-notch {
  width: 18px;
  height: 3px;
  background: #111;
  border-radius: 2px;
  margin: 0 auto 3px;
}

.demo-phone-screen {
  border-radius: 7px;
  overflow: hidden;
  aspect-ratio: 9/16;
}

/* Site mock content */
.site-mock-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.site-mock-header-bar {
  padding: 6px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-mock-brand-name {
  font-family: 'Georgia', serif;
  font-size: 0.55rem;
  font-weight: 700;
}

.site-mock-nav-dots {
  display: flex;
  gap: 3px;
  font-size: 0.4rem;
}

.site-mock-hero-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px;
  text-align: center;
}

.site-mock-hero-title {
  font-size: 0.48rem;
  font-family: 'Georgia', serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 3px;
}

.site-mock-hero-sub {
  font-size: 0.38rem;
  opacity: 0.6;
  margin-bottom: 5px;
}

.site-mock-btn-mini {
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.38rem;
  font-weight: 700;
  color: white;
}

.site-mock-footer-bar {
  height: 6px;
  opacity: 0.3;
}

/* Demo hover overlay */
.demo-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44,44,44,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  opacity: 0;
  transition: var(--transition);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
}

.demo-card:hover .demo-hover-overlay { opacity: 1; }

.demo-body {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--border-light);
}

.demo-type {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 6px;
}

.demo-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.demo-body p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 14px;
}

.demo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.demo-tag {
  padding: 3px 10px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-2);
}

.demo-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--terracota);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.demo-link:hover {
  border-bottom-color: var(--terracota);
  gap: 8px;
}

/* ─── PRICING ───────────────────────────────────────────────────────────── */
.pricing { background: var(--white); }

.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card--main {
  background: var(--white);
  border: 2px solid var(--terracota);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: pricing-float 6s ease-in-out infinite;
}

@keyframes pricing-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.pricing-badge-wrap {
  margin-bottom: 20px;
}

.pricing-launch-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--terracota);
  color: white;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pricing-name {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.pricing-amount-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.pricing-original {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-price {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 600;
  color: var(--terracota);
  line-height: 1;
}

.pricing-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-list {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.4;
}

.pricing-list li::before {
  content: '✓';
  color: var(--terracota);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.85rem;
  margin-top: 1px;
}

.pricing-addon {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  align-self: start;
}

.pricing-addon-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--moss-faint);
  color: var(--moss);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(90,107,76,0.2);
}

.pricing-addon h3 { font-size: 1.2rem; margin-bottom: 12px; }

.pricing-addon-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-addon-price strong {
  font-family: var(--font-mono);
  font-size: 2rem;
  color: var(--moss);
}

.pricing-addon-price span { color: var(--text-muted); font-size: 0.9rem; }

.pricing-addon > p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px; }

.pricing-addon-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-addon-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-2);
}

.pricing-addon-list li span {
  color: var(--moss);
  font-weight: 700;
}

.pricing-disclaimer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── FAQ ───────────────────────────────────────────────────────────────── */
.faq { background: var(--cream); }

.faq-container { max-width: 760px; margin: 0 auto; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--carbon);
  transition: color var(--transition);
}

.faq-question:hover { color: var(--terracota); }
.faq-question.open  { color: var(--terracota); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
  line-height: 1;
}

.faq-question.open .faq-icon {
  background: var(--terracota);
  color: white;
  border-color: var(--terracota);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

/* ─── CONTACT ───────────────────────────────────────────────────────────── */
.contact {
  background: var(--white);
}

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

.contact-text {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.7;
  margin: 20px 0 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-2);
  transition: var(--transition);
}

a.contact-item:hover { color: var(--terracota); }

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: var(--terracota-faint);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracota);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Form */
.contact-form-wrap {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--border-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--carbon);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--carbon);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracota);
  box-shadow: 0 0 0 3px var(--terracota-faint);
}

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

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.5;
}

.form-privacy input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--terracota);
  flex-shrink: 0;
  margin-top: 2px;
}

.form-privacy a { color: var(--terracota); text-decoration: underline; }

.form-feedback {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  display: none;
}

.form-feedback.success {
  background: rgba(90,107,76,0.1);
  color: var(--moss);
  border: 1px solid rgba(90,107,76,0.2);
  display: block;
}

.form-feedback.error {
  background: rgba(199,91,57,0.08);
  color: var(--terracota-dark);
  border: 1px solid var(--terracota-faint2);
  display: block;
}

/* ─── FOOTER ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--carbon);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-logo .logo-svg {
  color: var(--terracota);
}

.footer-logo .logo-svg line {
  stroke: var(--carbon);
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li,
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
  position: relative;
  width: fit-content;
}

.footer-col a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--terracota);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.footer-col a:hover { color: var(--white); }
.footer-col a:hover::after { transform: scaleX(1); }

.footer-legal-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-legal-note p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ─── WHATSAPP BTN ──────────────────────────────────────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 900;
  transition: var(--transition);
}

.whatsapp-btn svg { width: 28px; height: 28px; }

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .demos-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps::before { display: none; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-text { align-items: center; }
  .hero-sub { max-width: 100%; }
  .hero-visual { order: -1; }
  .hero-stats { justify-content: center; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }

  .chatbot-layout { grid-template-columns: 1fr; gap: 40px; }
  .chatbot-info { text-align: center; }
  .chatbot-features { align-items: center; }

  .pricing-layout { grid-template-columns: 1fr; max-width: 500px; }
  .pricing-card--main { animation: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(245,240,232,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.2rem; padding: 12px 24px; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; z-index: 1000; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .demos-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .phone-mockup { transform: scale(0.85); }
}
