/* V39.2 — páginas editoriales de servicio. Archivo separado para evitar caché del CSS global. */
.seo-inline-links{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:20px}
.seo-inline-links a{font-size:11px;letter-spacing:.06em;text-transform:uppercase;border-bottom:1px solid rgba(44,41,38,.35);padding-bottom:4px}
.service-page{padding-top:0!important;background:#f7f3ee}
.service-hero{min-height:76svh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);background:#eee5dc;overflow:hidden}
.service-hero.service-hero--text-only{grid-template-columns:1fr}
.service-hero-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(110px,12vw,170px) clamp(30px,7vw,105px) 70px}
.service-hero--text-only .service-hero-copy{width:min(100%,1160px);box-sizing:border-box;margin:0 auto;min-height:70svh;padding-left:clamp(30px,7vw,105px);padding-right:clamp(30px,14vw,210px)}
.service-kicker{font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:#8e6758;margin-bottom:20px}
.service-hero h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(46px,6vw,88px);line-height:.98;letter-spacing:-.035em;margin:0 0 25px;color:#2c2926;max-width:780px}
.service-hero h1 em{font-weight:400;color:#8e6758}
.service-lead{font-family:Georgia,'Times New Roman',serif;font-size:clamp(17px,1.6vw,23px);line-height:1.6;max-width:650px;color:#514a45;margin:0}
.service-hero-media{min-height:560px;background:#d9cec4;position:relative;overflow:hidden}
.service-hero-media[hidden]{display:none!important}
.service-hero-media img{width:100%;height:100%;object-fit:cover;display:block}
.service-section{padding:clamp(75px,9vw,130px) 7vw;background:#f7f3ee}
.service-section.alt{background:#efe6de}
.service-section[hidden]{display:none!important}
.service-narrow{max-width:1160px;margin:auto}
.service-intro-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:clamp(40px,8vw,130px);align-items:start}
.service-section h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(32px,4vw,58px);font-weight:400;line-height:1.08;margin:0;color:#2c2926}
.service-section h2 em{font-weight:400;color:#8e6758}
.service-copy{max-width:680px}
.service-copy p{font-size:15px;line-height:1.9;color:#625b55;margin:0 0 20px}
.service-pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#d8cbc0;margin-top:70px}
.service-pillar{background:#f7f3ee;padding:38px 32px}
.service-pillar span{display:block;font-family:Georgia,serif;font-size:31px;color:#b79b8e;margin-bottom:24px}
.service-pillar h3{font-family:Georgia,serif;font-weight:400;font-size:22px;margin:0 0 13px;color:#2c2926}
.service-pillar p{font-size:13px;line-height:1.75;color:#716a64;margin:0}
.service-gallery-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:38px}
.service-gallery-head p{max-width:480px;line-height:1.7;color:#716a64;margin:0}
.service-gallery{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:190px;gap:10px}
.service-gallery figure{margin:0;overflow:hidden;background:#d9cec4}
.service-gallery figure:nth-child(1){grid-column:span 7;grid-row:span 2}
.service-gallery figure:nth-child(2){grid-column:span 5;grid-row:span 1}
.service-gallery figure:nth-child(3){grid-column:span 5;grid-row:span 2}
.service-gallery figure:nth-child(4){grid-column:span 7;grid-row:span 1}
.service-gallery figure:nth-child(5){grid-column:span 4;grid-row:span 1}
.service-gallery figure:nth-child(6){grid-column:span 3;grid-row:span 1}
.service-gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s ease}
@media (hover:hover) and (pointer:fine){.service-gallery figure:hover img{transform:scale(1.025)}}
.service-cta{text-align:center;padding:clamp(80px,10vw,140px) 24px;background:#2c2926;color:#f7f3ee}
.service-cta .service-kicker{color:#c6a99a}
.service-cta h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(34px,4vw,58px);font-weight:400;line-height:1.08;color:#fff;max-width:760px;margin:0 auto 24px}
.service-cta p{max-width:590px;margin:0 auto 32px;color:#d9d0ca;line-height:1.75}
.service-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
.service-btn{display:inline-flex;align-items:center;justify-content:center;min-width:190px;padding:15px 24px;border:1px solid #c6a99a;font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:#f7f3ee}
.service-btn.primary{background:#8e6758;border-color:#8e6758;color:#fff}
@media(max-width:800px){
  .service-hero{grid-template-columns:1fr;min-height:auto}
  .service-hero-copy,.service-hero--text-only .service-hero-copy{padding:115px 24px 55px;min-height:auto;width:100%}
  .service-hero-media{min-height:58svh}
  .service-intro-grid{grid-template-columns:1fr}
  .service-pillars{grid-template-columns:1fr}
  .service-gallery-head{align-items:start;flex-direction:column}
  .service-gallery{grid-template-columns:1fr 1fr;grid-auto-rows:230px}
  .service-gallery figure,.service-gallery figure:nth-child(n){grid-column:span 1;grid-row:span 1}
  .service-gallery figure:first-child{grid-column:span 2;grid-row:span 2}
  .seo-inline-links{flex-direction:column;align-items:flex-start}
}


/* ===== V40.7.11: guías de sesión Newborn y Maternidad ===== */
.session-guide{padding:clamp(78px,9vw,128px) 7vw;background:#fbf7f2;color:#2c2926}
.session-guide--newborn{background:linear-gradient(135deg,#fbf8f4 0%,#f7eee8 100%)}
.session-guide--maternity{background:linear-gradient(135deg,#f5e9df 0%,#fbf7f2 52%,#f1dfd8 100%)}
.session-guide-inner{max-width:1160px;margin:0 auto}
.session-guide-head{max-width:760px;margin-bottom:48px}
.session-guide-head--center{text-align:center;margin-left:auto;margin-right:auto}
.session-guide-head h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(34px,4vw,58px);font-weight:400;line-height:1.08;margin:0 0 20px;color:#2c2926}
.session-guide-head h2 em{font-weight:400;color:#8e6758}
.session-guide-head>p{font-size:15px;line-height:1.85;color:#625b55;margin:0;max-width:680px}
.session-guide-head--center>p{margin-left:auto;margin-right:auto}
.guide-grid{display:grid;gap:18px}
.guide-grid--newborn{grid-template-columns:1.15fr .85fr .85fr;align-items:stretch}
.guide-grid--maternity{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px;margin:0 auto}
.guide-card{background:rgba(255,255,255,.52);border:1px solid rgba(142,103,88,.18);border-radius:22px;padding:clamp(25px,3vw,38px);box-shadow:0 12px 34px rgba(68,48,39,.045)}
.guide-card h3,.bring-block h3,.sleep-note h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(21px,2vw,28px);line-height:1.15;margin:0 0 24px;color:#4b3931}
.guide-card p{font-size:14px;line-height:1.75;color:#625b55;margin:0 0 20px}
.guide-card p:last-child{margin-bottom:0}
.guide-items{display:grid;gap:22px}
.guide-item{display:grid;grid-template-columns:42px 1fr;gap:15px;align-items:start}
.guide-icon{width:40px;height:40px;border:1px solid rgba(142,103,88,.26);border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:Georgia,serif;font-size:20px;color:#b37e62;background:rgba(247,238,229,.72)}
.guide-item h4{font-size:12px;letter-spacing:.08em;text-transform:uppercase;margin:1px 0 5px;color:#4b3931}
.guide-item p{font-size:13px;line-height:1.65;margin:0;color:#625b55}
.guide-card--tones{text-align:center}
.tone-list{display:grid;grid-template-columns:repeat(3,1fr);gap:20px 10px;margin-top:28px}
.tone-list span{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:9px;letter-spacing:.04em;text-transform:uppercase;color:#514a45}
.tone{display:block;width:44px;height:44px;border-radius:50%;border:1px solid rgba(75,57,49,.14)}
.tone-white{background:#fff}.tone-cream{background:#eee2d2}.tone-beige{background:#dfc6aa}.tone-gray{background:#cbc8c4}.tone-sand{background:#caa27d}.tone-rose{background:#dba99f}
.bring-block{margin-top:18px;padding:28px 34px;border:1px solid rgba(142,103,88,.16);border-radius:22px;background:rgba(255,255,255,.38)}
.bring-block h3{margin-bottom:18px}
.bring-list{display:flex;flex-wrap:wrap;gap:9px}
.bring-list span{padding:9px 13px;border-radius:999px;background:#efe1d6;color:#594a43;font-size:11px;letter-spacing:.035em}
.sleep-note{display:grid;grid-template-columns:82px 1fr;gap:25px;margin-top:18px;padding:28px 34px;border-radius:22px;background:rgba(235,218,205,.6)}
.sleep-mark{font-family:Georgia,serif;font-size:66px;line-height:1;color:#ad7a60;border-right:1px solid rgba(142,103,88,.18)}
.sleep-note h3{margin-bottom:8px}
.sleep-note p{font-size:13px;line-height:1.65;color:#514a45;margin:0 0 7px}
.sleep-note p:last-child{margin-bottom:0}
.guide-number{display:block;font-family:Georgia,serif;font-size:34px;color:#b79b8e;margin-bottom:18px}
.guide-grid--maternity .guide-card{padding:38px}
.maternity-closing{max-width:900px;margin:18px auto 0;padding:27px 35px;border-radius:22px;background:rgba(255,255,255,.46);font-family:Georgia,'Times New Roman',serif;font-size:clamp(21px,2.5vw,31px);font-style:italic;text-align:center;color:#6f4f41}
@media(max-width:950px){
  .guide-grid--newborn{grid-template-columns:1fr 1fr}
  .guide-card--wide{grid-column:1/-1}
}
@media(max-width:700px){
  .session-guide{padding:70px 22px}
  .guide-grid--newborn,.guide-grid--maternity{grid-template-columns:1fr}
  .guide-card--wide{grid-column:auto}
  .guide-card,.guide-grid--maternity .guide-card{padding:25px 22px}
  .bring-block{padding:24px 22px}
  .sleep-note{grid-template-columns:1fr;padding:25px 22px}
  .sleep-mark{border-right:0;border-bottom:1px solid rgba(142,103,88,.18);padding-bottom:10px}
  .tone-list{gap:18px 6px}
  .maternity-closing{padding:24px 22px}
}


/* ===== V40.7.12: servicio más directo + hero maternidad corregido ===== */
.service-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.service-hero-link{display:inline-flex;align-items:center;justify-content:center;min-width:150px;padding:13px 21px;border:1px solid rgba(142,103,88,.62);border-radius:999px;color:#7d594b;font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;transition:background .22s ease,color .22s ease,border-color .22s ease,transform .22s ease}
.service-hero-link--primary{background:#8e6758;border-color:#8e6758;color:#fff}
@media(hover:hover) and (pointer:fine){.service-hero-link:hover{transform:translateY(-1px);background:#8e6758;border-color:#8e6758;color:#fff}}

/* Maternidad: menos vacío arriba y hero más compacto en escritorio */
@media(min-width:801px){
  .service-page--maternity .service-hero{min-height:64svh;max-height:690px}
  .service-page--maternity .service-hero-copy{justify-content:flex-start;padding-top:clamp(115px,12vh,155px);padding-bottom:55px}
  .service-page--maternity .service-hero-media{min-height:0;height:100%;max-height:690px}
  .service-page--maternity .service-hero-media img{height:100%;object-fit:cover}
}
@media(max-width:800px){
  .service-hero-actions{margin-top:24px}
  .service-hero-link{min-width:0;flex:1 1 145px}
}

/* ===== V40.7.13: Maternidad — recuperar encuadre y subir solo el texto ===== */
@media(min-width:801px){
  .service-page--maternity .service-hero{min-height:76svh;max-height:none}
  .service-page--maternity .service-hero-copy{
    justify-content:center;
    padding-top:clamp(90px,9vw,130px);
    padding-bottom:70px;
    transform:translateY(-38px)
  }
  .service-page--maternity .service-hero-media{min-height:560px;height:auto;max-height:none}
  .service-page--maternity .service-hero-media img{width:100%;height:100%;object-fit:cover}
}
@media(max-width:800px){.service-page--maternity .service-hero-copy{transform:none}}

/* ===== V40.7.14: portfolio de servicios sin recortes ===== */
.service-gallery-head{margin-bottom:28px}
.service-gallery-head:has(>div:only-child){display:block}
.service-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:14px}
.service-gallery figure,.service-gallery figure:nth-child(n){grid-column:auto;grid-row:auto;height:auto;aspect-ratio:auto;background:transparent}
.service-gallery img,.service-page--maternity .service-gallery img{display:block;width:100%;height:auto;object-fit:contain;object-position:center}
@media(max-width:800px){
 .service-gallery{grid-template-columns:1fr;gap:10px}
 .service-gallery figure:first-child,.service-gallery figure:nth-child(n){grid-column:auto;grid-row:auto}
}
