/* ════════════════════════════════════════════════════════
   ROBERTO CAMPOS · CONSULTOR PSICOLÓGICO
   Deep Forest Green + Amber — Tech-Warm Design
════════════════════════════════════════════════════════ */

/* ── New Color Palette ─────────────────────────────────── */
:root {
  /* Greens */
  --green:      #2a5c50;
  --green-mid:  #3a7a6a;
  --green-lt:   #b8d8d0;
  --green-bg:   #eef5f3;
  --green-glow: rgba(42,92,80,.2);

  /* Ambers / Warm */
  --amber:      #c9855a;
  --amber-lt:   #f0d9c8;
  --amber-bg:   #fdf6f1;

  /* Neutrals */
  --charcoal:   #1a2421;
  --charcoal-mid: #2e3d38;
  --text:       #1a2421;
  --text-mid:   #4a5e59;
  --text-lt:    #8a9e99;
  --border:     #d8e5e2;
  --warm-white: #fdfcfa;
  --cream:      #f6f2ec;

  /* Functional */
  --heart-red:  #e06060;
  --radius-lg:  20px;
  --radius:     14px;
  --radius-sm:  8px;
  --shadow:     0 8px 40px rgba(26,36,33,.10);
  --shadow-sm:  0 2px 16px rgba(26,36,33,.07);
  --shadow-lg:  0 20px 60px rgba(26,36,33,.16);
  --ff-serif:   'Playfair Display', Georgia, serif;
  --ff-sans:    'DM Sans', system-ui, sans-serif;
  --tr:         .3s ease;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 75px; }
body { font-family: var(--ff-sans); background: var(--warm-white); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
h1, h2, h3 { font-family: var(--ff-serif); line-height: 1.12; font-weight: 400; }

/* ── Utilities ─────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.eyebrow { display: block; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-lt); margin-bottom: 14px; font-weight: 500; }

/* ── NAVBAR ────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 80px; transition: transform .4s ease, background .35s ease, height .35s ease;
  background: rgba(253,252,250,.98);
  box-shadow: 0 1px 0 rgba(42,92,80,.08);
  display: flex; align-items: center;
}
#navbar.hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
#navbar.scrolled {
  background: #ffffff !important;
  height: 70px;
  box-shadow: 0 1px 0 rgba(42,92,80,.1), var(--shadow-sm);
  opacity: 1 !important;
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 32px; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 100%; position: relative;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--ff-serif); font-size: 1.1rem; }
.logo-brain {
  width: 150px; height: 150px; 
  display: flex; align-items: center; justify-content: center;
  transition: var(--tr); flex-shrink: 0;
  position: absolute; top: -32px; left: 32px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}
.nav-logo:hover .logo-brain { transform: scale(1.05); }
.logo-img { width: 100%; height: 100%; object-fit: contain; }
.logo-brain.sm { width: 34px; height: 34px; margin-right: 8px; }
.logo-text { font-weight: 500; white-space: nowrap; color: var(--charcoal); }

.nav-links { display: flex; list-style: none; gap: 36px; }
.nav-links a { font-size: .88rem; color: var(--text-mid); transition: color .2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 100%; height: 1.5px; background: var(--green); transition: right .25s; border-radius: 2px; }
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }

.nav-links a.btn-nav-framed {
  border: 1.5px solid var(--green); padding: 8px 20px; border-radius: 50px;
  color: var(--green); transition: all 0.3s ease; font-weight: 500;
}
.nav-links a.btn-nav-framed:hover { background: var(--green); color: #fff; border-color: var(--green-mid); }
.nav-links a.btn-nav-framed::after { display: none; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px;
  position: relative; z-index: 1010; cursor: pointer;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: var(--tr); border-radius: 2px; }
.hamburger.active span { background: var(--green); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff;
  padding: 15px 36px; border-radius: 50px;
  font-size: .9rem; font-weight: 500; border: none;
  transition: var(--tr); white-space: nowrap;
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(42,92,80,.28); }

.btn-submit {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--green); color: #fff; padding: 16px 32px; border-radius: 50px;
  font-size: .95rem; font-weight: 500; border: none; transition: var(--tr);
}
.btn-submit:hover { background: var(--green-mid); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(42,92,80,.28); }
.btn-submit:disabled { opacity: .65; transform: none; cursor: not-allowed; }
.btn-arrow { font-size: 1.1rem; transition: transform .2s; }
.btn-submit:hover .btn-arrow { transform: translateX(4px); }

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 70px;
  background: var(--green-bg);
  overflow: hidden;
  position: relative;
}

/* Photo column */
.hero-photo-col {
  position: relative;
  overflow: hidden;
}
.hero-photo-col img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.hero-photo-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,36,33,.65) 0%, transparent 60%);
  padding: 32px 28px;
}
.hero-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.hero-chips span {
  background: rgba(255,255,255,.18); color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  
  border-radius: 50px; padding: 5px 14px;
  font-size: .75rem; font-weight: 500; letter-spacing: .05em;
}

/* Text column */
.hero-text-col {
  display: flex; flex-direction: column;
  justify-content: center; padding: 60px 60px 60px 56px;
  position: relative; background: var(--warm-white);
}
.hero-text-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero-eyebrow {
  font-size: .7rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 18px; font-weight: 600;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 700;
  color: var(--charcoal); margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--green); }
.hero-desc {
  font-size: 1rem; color: var(--text-mid); max-width: 400px;
  line-height: 1.85; margin-bottom: 36px;
}
.hero-stats {
  display: flex; align-items: center; gap: 20px;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--border);
  width: 100%;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong {
  font-family: var(--ff-serif); font-size: 1.7rem; font-weight: 700;
  color: var(--green); line-height: 1;
}
.hero-stat span { font-size: .75rem; color: var(--text-lt); margin-top: 3px; }
.hero-stat-div { width: 1px; height: 40px; background: var(--border); }

/* Neural mini (decorative corner) */
.hero-neural-deco {
  position: absolute; bottom: 20px; right: 20px;
  width: 180px; height: 180px; opacity: .25;
  pointer-events: none;
}
.neural-mini { width: 100%; height: 100%; }

/* Neural animations — mini */
.conn { stroke: var(--green); stroke-width: .8; fill: none; }
.conn.ci1,.conn.ci2,.conn.ci3,.conn.ci4,.conn.ci5,.conn.ci6,.conn.ci7,.conn.ci8,.conn.ci9,.conn.ci10,.conn.ci11,.conn.ci12,.conn.ci13 { opacity: .3; }
.conn.c1 { animation: ca 4.0s 0.0s ease-in-out infinite; }
.conn.c2 { animation: ca 4.0s 0.5s ease-in-out infinite; }
.conn.c3 { animation: ca 4.0s 1.0s ease-in-out infinite; }
.conn.c4 { animation: ca 4.0s 1.5s ease-in-out infinite; }
.conn.c5 { animation: ca 4.0s 2.0s ease-in-out infinite; }
.conn.c6 { animation: ca 4.0s 2.5s ease-in-out infinite; }
.conn.c7 { animation: ca 4.0s 3.0s ease-in-out infinite; }
.conn.c8 { animation: ca 4.0s 3.5s ease-in-out infinite; }
@keyframes ca { 0%,100%{opacity:.15} 50%{opacity:.7} }

.sig { stroke: var(--amber); stroke-width: 2; fill: none; opacity: 0; stroke-dasharray: 15 280; stroke-dashoffset: 280; stroke-linecap: round; }
.sig.s1 { animation: st 3.5s 0.3s infinite; }
.sig.s2 { animation: st 3.5s 1.3s infinite; }
.sig.s3 { animation: st 3.5s 2.3s infinite; }
@keyframes st { 0%{stroke-dashoffset:280;opacity:0} 15%{opacity:1} 85%{opacity:1} 100%{stroke-dashoffset:-280;opacity:0} }

.nout { fill: none; stroke: var(--green); stroke-width: 1.2; }
.n1{animation:np 2.8s 0.0s infinite} .n2{animation:np 2.8s 0.4s infinite}
.n3{animation:np 2.8s 0.8s infinite} .n4{animation:np 2.8s 1.2s infinite}
.n5{animation:np 2.8s 1.6s infinite} .n6{animation:np 2.8s 2.0s infinite}
.n7{animation:np 2.8s 2.4s infinite} .n8{animation:np 2.8s 0.2s infinite}
@keyframes np { 0%,100%{fill:transparent} 50%{fill:rgba(42,92,80,.35)} }
.nin { fill: var(--green); }
.ni1{animation:nip 3s .2s infinite} .ni2{animation:nip 3s .7s infinite}
.ni3{animation:nip 3s 1.2s infinite} .ni4{animation:nip 3s 1.7s infinite}
.ni5{animation:nip 3s 2.2s infinite} .ni6{animation:nip 3s .5s infinite}
@keyframes nip { 0%,100%{opacity:.2} 50%{opacity:.7} }
.ncenter { fill: var(--green); animation: nc 2s ease-in-out infinite; }
@keyframes nc { 0%,100%{filter:drop-shadow(0 0 4px rgba(42,92,80,.5))} 50%{filter:drop-shadow(0 0 12px rgba(42,92,80,.8))} }
.nring1 { fill: none; stroke: var(--green); stroke-width: .8; animation: nr 2.5s ease-out infinite; }
.nring2 { fill: none; stroke: var(--green); stroke-width: .4; animation: nr 2.5s .5s ease-out infinite; }
@keyframes nr { 0%{opacity:.5;r:12px} 100%{opacity:0;r:40px} }

/* ── Heartbeat band ────────────────────────────────────── */
.hb-band {
  background: var(--charcoal); padding: 44px 32px;
  overflow: hidden;
}
.hb-band-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.heart-anim {
  position: relative; width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.heart-svg { width: 56px; height: 56px; animation: hb 1.1s ease-in-out infinite; filter: drop-shadow(0 0 12px rgba(224,96,96,.5)); }
.heart-path { fill: var(--heart-red); }
@keyframes hb { 0%,100%{transform:scale(1)} 15%{transform:scale(1.2)} 30%{transform:scale(1)} 45%{transform:scale(1.15)} 60%{transform:scale(1)} }
.heart-pulse-ring {
  position: absolute; inset: -8px; border-radius: 50%;
  background: rgba(224,96,96,.15); animation: hpr 1.1s ease-out infinite;
}
@keyframes hpr { 0%{transform:scale(0.7);opacity:.7} 100%{transform:scale(2);opacity:0} }

.ekg-container { flex: 1; min-width: 180px; max-width: 380px; overflow: hidden; }
.ekg-svg { width: 100%; height: 44px; display: block; overflow: visible; }
.ekg-line {
  fill: none; stroke: var(--heart-red); stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 660; stroke-dashoffset: 660;
  animation: ekgd 2s .2s ease-in-out infinite;
  filter: drop-shadow(0 0 3px rgba(224,96,96,.5));
}
@keyframes ekgd { 0%{stroke-dashoffset:660;opacity:1} 55%{stroke-dashoffset:0;opacity:1} 75%{opacity:.8} 100%{stroke-dashoffset:-660;opacity:0} }
.hb-phrase {
  font-family: var(--ff-serif); font-size: clamp(1rem,1.8vw,1.4rem);
  font-style: italic; color: rgba(255,255,255,.75);
  white-space: nowrap; flex-shrink: 0;
}

/* ── Como ayudo ────────────────────────────────────────── */
.como-section { padding: 100px 0; background: var(--warm-white); }
.section-header { text-align: center; max-width: 560px; margin: 0 auto 64px; }
.section-header h2 { font-size: clamp(2rem,3.5vw,3rem); margin-bottom: 14px; }
.section-header p { color: var(--text-mid); font-size: .95rem; }

.areas-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.area-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px 26px;
  transition: all .35s ease; position: relative; overflow: hidden;
}
.area-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--amber));
  transform: scaleX(0); transform-origin: left; transition: transform .35s; border-radius: 3px 3px 0 0;
}
.area-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green-lt); }
.area-card:hover::before { transform: scaleX(1); }
.area-icon { width: 52px; height: 52px; margin-bottom: 18px; color: var(--green); transition: transform .3s; }
.area-card:hover .area-icon { transform: scale(1.1); }
.area-icon svg { width: 100%; height: 100%; }
.icon-ring { animation: iring 3s ease-in-out infinite; }
@keyframes iring { 0%,100%{stroke-dashoffset:0;opacity:.4} 50%{stroke-dashoffset:20;opacity:1} }
.icon-star { animation: istar 3s ease-in-out infinite; }
@keyframes istar { 0%,100%{opacity:.6} 50%{opacity:1} }
.area-card h3 { font-family: var(--ff-serif); font-size: 1.2rem; font-weight: 500; margin-bottom: 10px; color: var(--charcoal); }
.area-card p { font-size: .88rem; color: var(--text-mid); line-height: 1.75; }

/* ── Testimonios ───────────────────────────────────────── */
.testimonials-section { padding: 90px 0; background: var(--cream); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 28px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-sm);
}
.test-stars { color: var(--amber); font-size: 1.1rem; letter-spacing: 2px; }
.testimonial-card p { font-size: .95rem; font-style: italic; color: var(--text-mid); line-height: 1.8; flex: 1; }
.test-author { font-size: .85rem; font-weight: 500; color: var(--charcoal); border-top: 1px solid var(--border); padding-top: 16px; }

/* ── Sobre mi ─────────────────────────────────────────── */
.sobre-section { background: var(--green-bg); padding: 140px 0 100px; }
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.sobre-text-col h2 { font-size: clamp(2rem,3vw,2.8rem); margin-top: 0; margin-bottom: 32px; }
.sobre-text-col h2 em { color: var(--green); font-style: italic; }

.sobre-texto-bloque {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.sobre-texto-bloque p { margin-bottom: 20px; font-size: 1rem; color: var(--text-mid); line-height: 1.8; }
.sobre-texto-bloque p:last-child { margin-bottom: 0; }

.sobre-lead { font-size: 1.15rem !important; color: var(--charcoal) !important; font-weight: 500; }
.sobre-text-col strong { color: var(--green); }

.sobre-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 32px; }
.sobre-chips span {
  background: rgba(42,92,80,.1); color: var(--green);
  border: 1px solid var(--green-lt); border-radius: 50px;
  padding: 6px 16px; font-size: .76rem; font-weight: 500;
}
.sobre-img-col { position: relative; }
.sobre-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); aspect-ratio: 4/5;
  margin-bottom: 24px;
}
.sobre-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Nuevo cuadro de estadísticas y estudios */
.sobre-stats-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.sobre-stats-box h3 { font-family: var(--ff-serif); font-size: 1.15rem; margin-bottom: 20px; color: var(--green); font-weight: 600; }
.stats-list { list-style: none; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.stats-list li { font-size: .88rem; color: var(--text-mid); margin-bottom: 10px; position: relative; padding-left: 18px; }
.stats-list li::before { content: '•'; position: absolute; left: 0; color: var(--amber); font-weight: bold; }
.stats-list li strong { color: var(--charcoal); }

.stats-grid-small { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-family: var(--ff-serif); font-size: 1.35rem; color: var(--green); line-height: 1; margin-bottom: 6px; }
.stat-item span { display: block; font-size: .72rem; color: var(--text-lt); line-height: 1.3; }

/* ── Quote ──────────────────────────────────────────────── */
.quote-section {
  background: var(--green); padding: 72px 32px; text-align: center;
}
.quote-text {
  font-family: var(--ff-serif); font-size: clamp(1.3rem,2.2vw,2rem);
  font-style: italic; color: rgba(255,255,255,.92); line-height: 1.7;
  max-width: 740px; margin: 0 auto 18px;
}
.quote-section cite { font-size: .82rem; color: rgba(255,255,255,.55); font-style: normal; letter-spacing: .08em; }


/* ── RECURSOS (ENHANCED) ─────────────────────────────────── */
.recursos-blog-grid { padding: 60px 0 100px; background: var(--warm-white); }
.resource-intro { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.resource-intro p { font-size: 1.05rem; color: var(--text-mid); line-height: 1.8; }

.resource-categories { 
  display: flex; justify-content: center; gap: 12px; margin-bottom: 56px; flex-wrap: wrap; 
}
.cat-pill { 
  padding: 8px 22px; border-radius: 50px; border: 1.5px solid var(--border); 
  font-size: .85rem; font-weight: 500; color: var(--text-mid); cursor: pointer; 
  transition: all .3s ease; background: #fff;
}
.cat-pill:hover, .cat-pill.active { border-color: var(--green); color: var(--green); background: var(--green-bg); }

.featured-article { 
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; 
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; 
  margin-bottom: 64px; border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .3s ease, border-color .3s ease;
}
.featured-article:hover { transform: translateY(-4px); border-color: var(--green-lt); box-shadow: var(--shadow); }
.featured-img { width: 100%; height: 100%; object-fit: cover; background: var(--green-bg); }
.featured-content { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.featured-content .sq-tag { margin-bottom: 16px; }
.featured-content h2 { font-family: var(--ff-serif); font-size: 2.4rem; margin-bottom: 18px; line-height: 1.2; color: var(--charcoal); }
.featured-content p { font-size: 1rem; color: var(--text-mid); margin-bottom: 24px; line-height: 1.8; }

.square-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.square-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: all .4s cubic-bezier(0.165, 0.84, 0.44, 1);
  min-height: 380px;
  justify-content: flex-start;
  position: relative;
}
.square-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.square-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--green-lt); }
.square-card:hover::before { transform: scaleX(1); }
.sq-meta { margin-bottom: 20px; }
.sq-tag { background: var(--green-bg); color: var(--green); padding: 6px 14px; border-radius: 50px; font-weight: 600; text-transform: uppercase; font-size: .65rem; letter-spacing: .08em; display: inline-block; width: fit-content; }
.sq-content { flex: 1; display: flex; flex-direction: column; margin-bottom: 24px; }
.sq-content h3 { font-family: var(--ff-serif); font-size: 1.25rem; line-height: 1.35; color: var(--charcoal); margin-bottom: 12px; transition: color .2s; font-weight: 600; }
.sq-content p { font-size: .9rem; color: var(--text-mid); line-height: 1.6; margin: 0; }
.square-card:hover .sq-content h3 { color: var(--green); }
.sq-footer { font-size: .8rem; font-weight: 500; color: var(--text-lt); padding-top: 18px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.square-card:hover .sq-footer { color: var(--green); }
.sq-more { font-size: 1.1rem; transition: transform .3s; }
.square-card:hover .sq-more { transform: translateX(4px); }
.blog-pagination { text-align: center; }

/* ── Reservar ──────────────────────────────────────────── */
.reservar-section { background: var(--charcoal); padding: 100px 0; }
.reservar-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.reservar-left { color: #fff; }
.reservar-left h2 { font-size: clamp(2rem,3vw,3rem); color: #fff; margin-bottom: 18px; }
.reservar-left > p { color: rgba(255,255,255,.65); font-size: .95rem; line-height: 1.85; margin-bottom: 44px; }
.res-info-items { display: flex; flex-direction: column; gap: 26px; }
.res-info-item { display: flex; align-items: flex-start; gap: 16px; }
.res-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.res-info-item strong { display: block; color: #fff; font-size: .9rem; margin-bottom: 3px; }
.res-info-item p { color: rgba(255,255,255,.52); font-size: .83rem; margin: 0; }

/* Form */
.form-card { background: var(--warm-white); border-radius: var(--radius-lg); padding: 44px 40px; box-shadow: 0 24px 72px rgba(0,0,0,.22); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .79rem; font-weight: 500; margin-bottom: 6px; color: var(--text-mid); }
.label-soft { font-weight: 400; color: var(--text-lt); }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: var(--ff-sans);
  font-size: .9rem; color: var(--text); background: var(--green-bg); outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--green); background: #fff;
  box-shadow: 0 0 0 3px rgba(42,92,80,.12);
}
.form-disclaimer { font-size: .73rem; color: var(--text-lt); text-align: center; margin-top: 14px; line-height: 1.6; }
.form-success {
  display: none; flex-direction: column; align-items: center;
  text-align: center; padding: 52px 24px; gap: 14px;
}
.success-heart-svg { width: 56px; color: var(--heart-red); filter: drop-shadow(0 0 10px rgba(224,96,96,.4)); animation: hb 1.1s ease-in-out infinite; }
.form-success h4 { font-family: var(--ff-serif); font-size: 1.8rem; font-weight: 400; }
.form-success p { font-size: .9rem; color: var(--text-mid); max-width: 320px; }
.form-error { background: #fff0f0; border: 1px solid #ffc0c0; border-radius: var(--radius-sm); padding: 12px 16px; color: #c0392b; font-size: .88rem; margin-top: 12px; }

/* ── Footer Minimalista de Iconos ────────────────────────── */
.footer { background: #111a18; padding: 32px 20px; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer-socials { display: flex; gap: 24px; justify-content: center; align-items: center; margin-bottom: 8px; }
.footer-socials a { color: rgba(255,255,255,.6); transition: color .2s, transform .2s; display: flex; align-items: center; }
.footer-socials a:hover { color: #fff; transform: translateY(-2px); }
.footer-socials svg { width: 22px; height: 22px; }
.footer-nav-slim { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.footer-nav-slim a, .footer-nav-slim p { font-size: .78rem; color: rgba(255,255,255,.3); text-decoration: none; margin: 0; }
.footer-nav-slim a:hover { color: rgba(255,255,255,.6); }


/* ── Mi Método Section ────────────────────────────────── */
.method-section { padding: 100px 0; background: #fff; }
.method-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-top: 50px; }
.method-step { 
  padding: 40px; border-radius: var(--radius-lg); 
  background: var(--warm-white); border: 1px solid var(--border); 
  position: relative; transition: transform .3s;
}
.method-step:hover { transform: translateY(-8px); border-color: var(--green); }
.method-num { 
  width: 40px; height: 40px; background: var(--green); color: #fff; 
  border-radius: 50%; display: flex; align-items: center; justify-content: center; 
  font-weight: 700; font-size: 1.1rem; margin-bottom: 24px;
}
.method-step h3 { font-family: var(--ff-serif); font-size: 1.6rem; color: var(--charcoal); margin-bottom: 16px; }
.method-step p { font-size: .95rem; color: var(--text-mid); line-height: 1.6; }


/* ── WhatsApp Floating Button ────────────────────────────── */
.whatsapp-float {
  position: fixed;
  width: 54px;
  height: 54px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 26px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  border: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* ── Scroll reveal ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .areas-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: repeat(2,1fr); }
  .square-cards-grid { gap: 24px; }
  .hero-text-col { padding: 40px 40px 40px 40px; }
}

@media (max-width: 860px) {
  .hamburger { display: flex; }
  .nav-links {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0; width: 280px;
    background: #ffffff !important; padding: 100px 32px 40px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1); z-index: 1050; gap: 0;
    transform: translateX(100%); transition: transform .4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 1 !important; height: 100vh !important; min-height: 100vh !important;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }

  .nav-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.15);
    z-index: 1040; display: none; opacity: 0; transition: opacity .4s ease;
    pointer-events: auto;
  }
  .nav-overlay.open { display: block; opacity: 1; }
  .nav-links li { border-bottom: 1px solid var(--border); width: 100%; }
  .nav-links a { display: block; padding: 20px 0; font-size: 1.1rem; font-weight: 500; }
  .nav-links a.btn-nav-framed { border: none; padding: 20px 0; border-radius: 0; color: var(--green); }
  .nav-links a.btn-nav-framed:hover { background: none; color: var(--green-mid); }

  .logo-brain {
    width: 120px; height: 120px;
    top: -24px; left: 20px;
  }
  .nav-inner { padding: 0 20px; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 70px;
  }
  .hero-photo-col { height: 55vw; min-height: 300px; max-height: 500px; }
  .hero-photo-col img { object-position: center top; }
  .hero-text-col { padding: 48px 28px; }
  .hero-neural-deco { display: none; }
  .hero-stats { gap: 14px; }

  .sobre-grid { grid-template-columns: 1fr; gap: 48px; }
  .sobre-img-col { order: -1; max-width: 400px; margin: 0 auto; width: 100%; }

  .reservar-grid { grid-template-columns: 1fr; gap: 44px; }
  .hb-band-inner { gap: 24px; }
  .hb-phrase { white-space: normal; font-size: 1rem; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 2.4rem; line-height: 1.1; }
  .hero-photo-col { height: 60vw; }
  .hero-text-col { padding: 36px 20px; }
  
  .areas-grid, .testimonials-grid, .square-cards-grid { 
    grid-template-columns: 1fr; 
    gap: 16px;
  }
  
  .square-card { aspect-ratio: auto; min-height: 300px; padding: 24px; }
  .featured-article { grid-template-columns: 1fr; }
  .featured-content { padding: 32px 24px; }
  
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px 16px; }
  .reservar-grid { gap: 32px; }
  .res-info-items { gap: 20px; }

  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 24px; }
  .hero-stat-div { display: none; }
  
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav-slim { flex-direction: column; gap: 12px; }
  .ekg-container { display: none; }
  .hb-phrase { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.1rem; }
  .hero-desc { font-size: .95rem; }
  .nav-inner { padding: 0 20px; }
  .logo-text { font-size: 1rem; }
  .btn-primary { width: 100%; justify-content: center; }
}

/* ── Accessibility: reduce motion ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
