/* =====================================================================
   Moyano Home Care — styles.css  (v2, rediseño editorial)
   Paleta mediterránea: marfil / carbón / arena dorada.
   Serif editorial (Cormorant Garamond) + sans (Manrope).
   Mobile-first. Sin frameworks.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root{
  color-scheme: light only;
  --ivory:      #F5F1E8;
  --ivory-2:    #EFE9DB;
  --ivory-3:    #E7DFCD;
  --paper:      #FBF9F4;
  --charcoal:   #211F1B;
  --charcoal-2: #17150F;
  --charcoal-3: #2B2822;
  --ink:        #211F1B;
  --ink-soft:   #55504A;
  --ink-mute:   #8A8378;
  --line:       #DAD0BD;
  --line-dark:  #423D34;
  --sand:       #B08A4F;
  --sand-2:     #9A7638;
  --sand-text:  #7A5B26;
  --sand-soft:  #C9A96E;
  --sand-glow:  rgba(176,138,79,.14);
  --wa:         #25D366;
  --wa-ink:     #0B3D2E;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --sticky-h: 68px;

  --shadow-soft: 0 18px 50px -28px rgba(33,31,27,.45);
  --shadow-photo: 0 40px 80px -40px rgba(33,31,27,.55);
  --radius: 4px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; background:#F5F1E8; }
body{
  margin:0;
  font-family:var(--sans);
  color:#211F1B;
  background:#F5F1E8;
  font-size:17px;
  line-height:1.7;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }
h1,h2,h3,p{ margin:0; }
button{ font-family:inherit; }

/* Textura sutil de fondo (grano cálido, sin imágenes externas) */
body::before{
  content:"";
  position:fixed; inset:0;
  pointer-events:none; z-index:0;
  background:
    radial-gradient(120% 80% at 100% 0%, var(--sand-glow), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(176,138,79,.06), transparent 55%);
}
body>*{ position:relative; z-index:1; }

/* ---------- Layout ---------- */
.wrap{ width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:var(--gutter); }
.narrow{ max-width:760px; }
.section{ padding-block:clamp(64px, 11vw, 128px); }

/* ---------- Tipografía utilitaria ---------- */
.display{
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(2.85rem, 8.5vw, 5.6rem);
  line-height:.98;
  letter-spacing:-.015em;
}
.h2{
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(2.05rem, 5vw, 3.4rem);
  line-height:1.04;
  letter-spacing:-.01em;
}
.h3{
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(1.35rem, 2.6vw, 1.72rem);
  line-height:1.15;
  letter-spacing:-.005em;
}
.lede{
  font-size:clamp(1.12rem, 2.1vw, 1.35rem);
  line-height:1.55;
  color:var(--ink-soft);
}
.muted{ color:var(--ink-soft); }

.eyebrow{
  font-family:var(--sans);
  font-weight:700;
  font-size:.72rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--sand-text);
  display:inline-flex;
  align-items:center;
  gap:.7em;
}
.eyebrow::before{
  content:"";
  width:26px; height:1.5px;
  background:linear-gradient(90deg, var(--sand), transparent);
  display:inline-block;
}
.dark .eyebrow{ color:var(--sand-soft); }
.dark .eyebrow::before{ background:linear-gradient(90deg, var(--sand-soft), transparent); }
.eyebrow.center{ }

/* ---------- Botones ---------- */
.btn{
  --btn-bg:var(--charcoal);
  --btn-fg:var(--paper);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.62em;
  font-family:var(--sans);
  font-weight:600;
  font-size:1.02rem;
  letter-spacing:.005em;
  line-height:1.1;
  padding:1.05em 1.7em;
  border:1px solid transparent;
  border-radius:var(--radius);
  background:var(--btn-bg);
  color:var(--btn-fg);
  text-decoration:none;
  cursor:pointer;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  will-change:transform;
}
.btn svg{ width:1.28em; height:1.28em; flex:0 0 auto; }
.btn:hover{ transform:translateY(-2px); box-shadow:var(--shadow-soft); }
.btn:active{ transform:translateY(0); }

.btn--wa{ --btn-bg:var(--wa); --btn-fg:#08331f; }
.btn--wa:hover{ --btn-bg:#20c25c; }
.btn--wa-dark{ --btn-bg:var(--wa); --btn-fg:#08331f; }
.btn--wa-dark:hover{ --btn-bg:#20c25c; }

.btn--ghost{
  --btn-bg:transparent;
  --btn-fg:var(--ink);
  border-color:var(--line-dark);
}
.btn--ghost:hover{ --btn-bg:var(--charcoal); --btn-fg:var(--paper); border-color:var(--charcoal); }
.dark .btn--ghost{ --btn-fg:var(--paper); border-color:rgba(255,255,255,.28); }
.dark .btn--ghost:hover{ --btn-bg:var(--paper); --btn-fg:var(--charcoal); border-color:var(--paper); }

.btn--block{ width:100%; }
@media (min-width:560px){
  .btn--auto{ width:auto; }
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar{
  position:sticky; top:0; z-index:60;
  background:color-mix(in srgb, var(--ivory) 82%, transparent);
  backdrop-filter:saturate(140%) blur(12px);
  -webkit-backdrop-filter:saturate(140%) blur(12px);
  border-bottom:1px solid var(--line);
}
.topbar__inner{ display:flex; align-items:center; justify-content:space-between; min-height:66px; gap:1rem; }
.brand{ text-decoration:none; display:flex; flex-direction:column; line-height:1; }
.brand__name{
  font-family:var(--sans);
  font-weight:800;
  font-size:.86rem;
  letter-spacing:.16em;
  color:var(--ink);
}
.brand__tag{
  font-family:var(--serif);
  font-style:italic;
  font-size:.92rem;
  color:var(--sand-text);
  margin-top:.28em;
  letter-spacing:.01em;
}
.topbar__right{ display:flex; align-items:center; gap:1.1rem; }
.langswitch{ display:flex; align-items:center; gap:.5rem; font-weight:600; font-size:.82rem; letter-spacing:.06em; }
.langswitch a{ text-decoration:none; color:var(--ink-mute); padding:.2em .1em; transition:color .2s; }
.langswitch a[aria-current]{ color:var(--ink); }
.langswitch a:hover{ color:var(--sand-2); }
.langswitch span{ color:var(--line); }
.topbar__phone{
  display:none;
  align-items:center; gap:.5em;
  text-decoration:none;
  font-weight:700; font-size:.92rem;
  color:var(--ink);
  padding:.55em .95em;
  border:1px solid var(--line-dark);
  border-radius:var(--radius);
  transition:background .25s var(--ease), color .25s var(--ease), border-color .25s;
}
.topbar__phone svg{ width:1.05em; height:1.05em; color:var(--sand-2); transition:color .25s; }
.topbar__phone:hover{ background:var(--charcoal); color:var(--paper); border-color:var(--charcoal); }
.topbar__phone:hover svg{ color:var(--wa); }
@media (min-width:768px){ .topbar__phone{ display:inline-flex; } }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;
  padding-top:clamp(28px, 5vw, 56px);
  padding-bottom:clamp(40px, 7vw, 80px);
  overflow:hidden;
}
.hero__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(28px, 5vw, 56px);
  align-items:center;
}
.hero__brandline{
  font-family:var(--sans);
  font-weight:600;
  font-size:.8rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--sand-text);
  margin-bottom:1.4rem;
}
.hero__brandline b{ color:var(--ink); font-weight:800; }
.display .amp{ font-style:italic; color:var(--sand-2); }
h1.display{ margin-bottom:1.4rem; }
h1.display .soft{ display:block; color:var(--sand-2); font-style:italic; font-weight:500; }
.hero__sub{ max-width:46ch; margin-bottom:1.5rem; }
.hero__diff{
  font-family:var(--serif);
  font-style:italic;
  font-size:clamp(1.2rem, 2.4vw, 1.5rem);
  line-height:1.4;
  color:var(--ink);
  max-width:40ch;
  padding-left:1.1rem;
  border-left:2px solid var(--sand);
  margin-bottom:2.2rem;
}
.hero__cta{ display:flex; flex-direction:column; gap:.8rem; max-width:440px; }
@media (min-width:560px){ .hero__cta{ flex-direction:row; flex-wrap:wrap; } }
.callnote{
  margin-top:1.1rem;
  font-size:.95rem;
  color:var(--ink-mute);
  display:flex; align-items:center; gap:.55em;
}
.callnote::before{
  content:""; width:7px; height:7px; border-radius:50%;
  background:var(--wa); box-shadow:0 0 0 4px rgba(37,211,102,.18);
  flex:0 0 auto;
}

/* Retrato hero */
.hero__portrait{
  position:relative;
  margin:0;
  max-width:520px;
  justify-self:center;
  width:100%;
}
.hero__portrait::before{
  /* placa dorada detrás */
  content:"";
  position:absolute;
  inset:auto -14px -14px auto;
  width:72%; height:80%;
  right:-16px; bottom:-16px;
  background:
    repeating-linear-gradient(135deg, var(--sand-soft) 0 1px, transparent 1px 9px);
  opacity:.5;
  z-index:0;
  border-radius:var(--radius);
}
.hero__portrait img{
  position:relative; z-index:1;
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  border-radius:var(--radius);
  box-shadow:var(--shadow-photo);
}
.hero__portrait figcaption{
  position:absolute; z-index:2;
  left:16px; bottom:16px;
  background:color-mix(in srgb, var(--charcoal) 88%, transparent);
  color:var(--paper);
  padding:.7em 1.05em;
  border-radius:var(--radius);
  backdrop-filter:blur(4px);
  line-height:1.25;
}
.hero__portrait figcaption b{ font-weight:700; font-size:.95rem; letter-spacing:.02em; display:block; }
.hero__portrait figcaption small{ color:var(--sand-soft); font-size:.78rem; letter-spacing:.04em; }

@media (min-width:900px){
  .hero__grid{ grid-template-columns:1.05fr .95fr; }
  .hero__portrait{ justify-self:end; }
}

/* Franja de confianza breve bajo hero */
.trustbar{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--paper);
}
.trustbar__inner{
  display:flex; flex-wrap:wrap; gap:1rem 2.2rem;
  justify-content:center; align-items:center;
  padding-block:1.1rem;
  font-size:.9rem; color:var(--ink-soft);
}
.trustbar__item{ display:inline-flex; align-items:center; gap:.55em; font-weight:500; }
.trustbar__item svg{ width:1.1em; height:1.1em; color:var(--sand-2); flex:0 0 auto; }
.trustbar__dot{ width:4px;height:4px;border-radius:50%;background:var(--line); }
@media (max-width:560px){ .trustbar__dot{ display:none; } }

/* ============================================================
   IDENTIFICACIÓN
   ============================================================ */
.ident{ text-align:left; }
.ident .rule{
  border:0; height:1px; background:var(--line);
  margin:1.6rem 0 2.2rem;
}
.ident__list{
  font-family:var(--serif);
  font-size:clamp(1.5rem, 3.6vw, 2.35rem);
  line-height:1.35;
  color:var(--ink);
  display:flex; flex-direction:column; gap:.25em;
}
.ident__list span{
  position:relative;
  padding-left:1.4em;
}
.ident__list span::before{
  content:"";
  position:absolute; left:0; top:.62em;
  width:12px; height:1.5px;
  background:var(--sand);
}
.ident__note{
  margin-top:1.8rem;
  font-size:1.1rem;
  max-width:52ch;
}
.ident__me{
  margin-top:2.6rem;
  padding-top:2rem;
  border-top:1px solid var(--line);
}
.ident__me p:first-child{
  font-family:var(--serif);
  font-size:clamp(1.6rem,3.4vw,2.2rem);
  color:var(--ink);
  margin-bottom:.6rem;
  font-weight:600;
}
.ident__me .muted{ max-width:56ch; }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services{ background:var(--paper); border-top:1px solid var(--line); }
.services__head{ max-width:640px; margin-bottom:clamp(2.4rem,5vw,3.6rem); }
.services__head .h2{ margin-top:1rem; }

.svc-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
@media (min-width:640px){ .svc-grid{ grid-template-columns:1fr 1fr; } }

.svc{
  background:var(--paper);
  padding:clamp(1.8rem, 3.5vw, 2.6rem);
  position:relative;
  transition:background .4s var(--ease), transform .4s var(--ease);
  counter-increment:svc;
}
.svc::after{
  content:"0" counter(svc);
  position:absolute; top:1.4rem; right:1.6rem;
  font-family:var(--serif);
  font-size:1.6rem; font-weight:600;
  color:var(--line);
  transition:color .4s var(--ease);
}
.svc:hover{ background:var(--ivory); }
.svc:hover::after{ color:var(--sand); }
.svc-grid{ counter-reset:svc; }
.svc__n{
  font-family:var(--sans);
  font-weight:700;
  font-size:.74rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--sand-text);
  margin-bottom:1rem;
  padding-right:2.5rem;
}
.svc .h3{ margin-bottom:.8rem; padding-right:2rem; }
.svc p{ color:var(--ink-soft); font-size:1rem; }

.services__more{
  margin-top:2.4rem;
  padding:1.7rem 1.9rem;
  background:var(--ivory-2);
  border-left:3px solid var(--sand);
  border-radius:var(--radius);
  font-size:1.05rem;
}
.services__more b{ font-family:var(--serif); font-size:1.2rem; font-weight:600; }

/* ============================================================
   BLOQUES OSCUROS (Property Care + Final)
   ============================================================ */
.dark{
  background:var(--charcoal-2);
  color:var(--ivory);
  position:relative;
}
.dark::before{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  background:
    radial-gradient(80% 55% at 85% 0%, rgba(176,138,79,.15), transparent 60%),
    radial-gradient(70% 50% at 0% 100%, rgba(176,138,79,.08), transparent 55%);
}
.dark>*{ position:relative; }
.dark p{ color:color-mix(in srgb, var(--ivory) 78%, transparent); }
.dark .h2, .dark h3{ color:var(--ivory); }

/* Property Care: fondo premium, más oscuro y con más profundidad cálida */
.property{
  background:#131109;
}
.property::before{
  background:
    radial-gradient(90% 60% at 88% -5%, rgba(201,169,110,.22), transparent 58%),
    radial-gradient(75% 55% at -5% 105%, rgba(176,138,79,.12), transparent 55%),
    radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(0,0,0,.45) 100%);
}
.property .property__title{ color:#F7F1E4; }
.property .prop h3{ color:#F1E9D8; }

/* Property */
.property__title{ max-width:20ch; margin:1.2rem 0 1.8rem; }
.property__intro{
  max-width:60ch;
  font-size:1.1rem;
  margin-bottom:clamp(2.4rem,5vw,3.4rem);
}
.property__intro strong{ color:var(--ivory); font-weight:600; }

.prop-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:1.4rem;
  margin-bottom:clamp(2.4rem,5vw,3.4rem);
}
@media (min-width:760px){ .prop-grid{ grid-template-columns:repeat(3,1fr); } }
.prop{
  padding:1.8rem 0 0;
  border-top:1px solid var(--line-dark);
  position:relative;
}
.prop::before{
  content:"";
  position:absolute; top:-1px; left:0;
  width:42px; height:2px;
  background:var(--sand);
}
.prop__k{
  font-family:var(--sans);
  font-weight:700; font-size:.72rem;
  letter-spacing:.15em; text-transform:uppercase;
  color:var(--sand-soft);
  margin-bottom:.9rem;
}
.prop h3{
  font-family:var(--serif);
  font-size:1.35rem; font-weight:600;
  margin-bottom:.65rem;
}
.prop p{ font-size:.98rem; }

.property__close{
  font-family:var(--serif);
  font-style:italic;
  font-size:clamp(1.35rem,3vw,1.85rem);
  color:var(--ivory)!important;
  line-height:1.35;
  max-width:40ch;
  margin-bottom:2rem;
}

/* ============================================================
   CÓMO FUNCIONA
   ============================================================ */
.how .h2{ margin-top:1rem; margin-bottom:clamp(2.4rem,5vw,3.4rem); }
.steps__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  margin-bottom:2.4rem;
  counter-reset:step;
}
@media (min-width:760px){ .steps__grid{ grid-template-columns:repeat(3,1fr); } }
.step{
  background:var(--ivory);
  padding:clamp(1.8rem,3.5vw,2.6rem);
  display:flex;
  flex-direction:column;
  gap:1.2rem;
  counter-increment:step;
}
.step__num{
  width:52px; height:52px;
  border-radius:50%;
  border:1.5px solid var(--sand);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--serif);
  font-size:1.5rem; font-weight:600;
  color:var(--sand-2);
  flex:0 0 auto;
}
.step__num::before{ content:counter(step); }
.step .h3{ margin-bottom:.5rem; }
.step p{ color:var(--ink-soft); font-size:1rem; }

/* ============================================================
   OBJECIÓN DE CONFIANZA (sin foto, centrado)
   ============================================================ */
.trust{ background:var(--paper); border-top:1px solid var(--line); }
.trust__center{ text-align:center; }
.trust__center .eyebrow{ margin-bottom:1.6rem; }
.trust__q{
  font-family:var(--serif);
  font-size:clamp(1.85rem,5vw,3.1rem);
  line-height:1.2;
  color:var(--ink);
  margin:0 auto 2rem;
  max-width:20ch;
  position:relative;
  padding-top:1.2rem;
}
.trust__q::before{
  content:"“";
  position:absolute; top:-.28em; left:50%; transform:translateX(-50%);
  font-family:var(--serif);
  font-size:4rem; color:var(--sand);
  opacity:.45; line-height:1;
}
.trust__body{ max-width:56ch; margin-inline:auto; }
.trust__body p+p{ margin-top:1rem; }
.trust__punch{
  margin-top:1.8rem;
  padding-top:1.8rem;
  border-top:1px solid var(--line);
  font-family:var(--serif);
  font-size:clamp(1.3rem,3vw,1.7rem);
  font-style:italic;
  color:var(--ink);
  line-height:1.35;
}

/* ============================================================
   SOBRE MATÍAS (sin foto, panel con firma)
   ============================================================ */
.about{ }
.about__card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:clamp(2.2rem,5vw,3.6rem);
  position:relative;
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}
.about__card::before{
  content:"";
  position:absolute; top:0; left:0; bottom:0;
  width:4px;
  background:linear-gradient(180deg, var(--sand), var(--sand-soft));
}
.about__card::after{
  content:"“";
  position:absolute; top:-.15em; right:.3em;
  font-family:var(--serif);
  font-size:9rem; color:var(--sand);
  opacity:.08; line-height:1; pointer-events:none;
}
.about__card .eyebrow{ margin-bottom:1rem; }
.about__title{ margin-bottom:1.4rem; max-width:22ch; }
.about__lead{ font-size:1.18rem; color:var(--ink); font-weight:500; margin-bottom:1rem; }
.about__card .muted{ margin-bottom:1rem; max-width:60ch; }
.about__sign{
  margin-top:1.8rem;
  font-family:var(--serif);
  font-style:italic;
  font-size:1.6rem;
  color:var(--sand-text);
}


/* ============================================================
   CTA FINAL
   ============================================================ */
.final{ text-align:center; }
.final .h2{ margin:1rem auto .9rem; max-width:16ch; }
.final__text{
  max-width:44ch; margin:0 auto 2.2rem;
  font-size:1.12rem;
}
.final__cta{ display:flex; justify-content:center; margin-bottom:1.5rem; }
.final__cta .btn{ width:100%; max-width:400px; }
.final__phone{ margin-bottom:.6rem; }
.final__phone a{
  font-family:var(--serif);
  font-size:1.5rem; font-weight:600;
  color:var(--ivory);
  text-decoration:none;
  border-bottom:1px solid var(--line-dark);
  padding-bottom:.1em;
  transition:border-color .25s, color .25s;
}
.final__phone a:hover{ color:var(--sand-soft); border-color:var(--sand); }
.final__zone{
  font-size:.9rem;
  letter-spacing:.05em;
  color:color-mix(in srgb, var(--ivory) 60%, transparent)!important;
  margin-bottom:clamp(2.4rem,5vw,3.4rem);
}
.final__brand{
  padding-top:2rem;
  border-top:1px solid var(--line-dark);
  display:inline-block;
}
.final__brand .n{ font-family:var(--sans); font-weight:800; letter-spacing:.14em; font-size:.9rem; color:var(--ivory)!important; }
.final__brand .t{ font-family:var(--serif); font-style:italic; color:var(--sand-soft)!important; margin-top:.3em; }
.final__brand .p{ font-size:.85rem; color:color-mix(in srgb,var(--ivory) 55%,transparent)!important; margin-top:.5em; letter-spacing:.03em; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer{
  background:var(--charcoal);
  color:color-mix(in srgb,var(--ivory) 60%,transparent);
  font-size:.85rem;
  padding-block:1.6rem;
}
.footer__inner{
  display:flex; flex-wrap:wrap; gap:.8rem 1.4rem;
  align-items:center; justify-content:space-between;
}
.footer nav{ display:flex; flex-wrap:wrap; gap:1.2rem; }
.footer a{ color:color-mix(in srgb,var(--ivory) 72%,transparent); text-decoration:none; transition:color .2s; }
.footer a:hover{ color:var(--sand-soft); }

/* ============================================================
   BARRA FIJA MÓVIL
   ============================================================ */
.sticky{
  position:fixed; left:0; right:0; bottom:0; z-index:70;
  display:flex;
  gap:1px;
  background:var(--line-dark);
  border-top:1px solid rgba(0,0,0,.15);
  box-shadow:0 -8px 30px -12px rgba(33,31,27,.4);
  padding:0;
  height:var(--sticky-h);
}
.sticky a{
  display:flex; align-items:center; justify-content:center;
  gap:.5em;
  text-decoration:none;
  font-weight:700; font-size:1rem;
  letter-spacing:.01em;
}
.sticky svg{ width:1.3em; height:1.3em; flex:0 0 auto; }
.sticky__wa{ flex:0 0 63%; background:var(--wa); color:#08331f; }
.sticky__call{ flex:1; background:var(--charcoal); color:var(--paper); }
.sticky__call svg{ color:var(--sand-soft); }
@media (min-width:768px){ .sticky{ display:none; } }
@media (max-width:767px){ body{ padding-bottom:var(--sticky-h); } }

/* ============================================================
   BANNER DE COOKIES
   ============================================================ */
.cc-banner{
  position:fixed;
  left:var(--gutter); right:var(--gutter);
  bottom:calc(var(--sticky-h) + 12px);
  z-index:80;
  max-width:520px; margin-inline:auto;
  background:var(--charcoal);
  color:color-mix(in srgb,var(--ivory) 82%,transparent);
  border:1px solid var(--line-dark);
  border-radius:8px;
  padding:1.15rem 1.25rem;
  box-shadow:0 24px 60px -20px rgba(0,0,0,.6);
  font-size:.88rem;
  line-height:1.55;
}
@media (min-width:768px){ .cc-banner{ bottom:16px; left:16px; right:auto; } }
.cc-banner a{ color:var(--sand-soft); }
.cc-actions{ display:flex; gap:.6rem; margin-top:.9rem; }
.cc-btn{
  flex:1;
  padding:.7em 1em;
  border-radius:var(--radius);
  border:1px solid var(--line-dark);
  font-weight:600; font-size:.88rem;
  cursor:pointer;
  transition:transform .2s, background .2s, color .2s;
}
.cc-btn:active{ transform:scale(.98); }
.cc-reject{ background:transparent; color:color-mix(in srgb,var(--ivory) 80%,transparent); }
.cc-reject:hover{ background:var(--charcoal-3); }
.cc-accept{ background:var(--sand); color:#1a1206; border-color:var(--sand); }
.cc-accept:hover{ background:var(--sand-soft); }

/* ============================================================
   PÁGINAS LEGALES
   ============================================================ */
.legal{ padding-block:clamp(48px,8vw,90px); }
.legal .wrap{ max-width:760px; }
.legal h1{
  font-family:var(--serif); font-weight:600;
  font-size:clamp(2rem,5vw,3rem);
  line-height:1.05; margin-bottom:.6rem;
}
.legal .updated{ color:var(--ink-mute); font-size:.9rem; margin-bottom:2.4rem; }
.legal h2{
  font-family:var(--serif); font-weight:600;
  font-size:1.5rem; margin:2.2rem 0 .7rem;
}
.legal p, .legal li{ color:var(--ink-soft); margin-bottom:.9rem; }
.legal ul{ padding-left:1.2rem; }
.legal a{ color:var(--sand-2); }
.legal__back{
  display:inline-flex; align-items:center; gap:.4em;
  margin-top:2.6rem; font-weight:600; text-decoration:none;
  color:var(--ink);
}
.legal__back:hover{ color:var(--sand-2); }

/* ============================================================
   ESCENAS ILUSTRADAS (imágenes de contexto)
   ============================================================ */
.scene{
  position:relative;
  margin:0;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-photo);
  line-height:0;
}
.scene img, .scene svg{ width:100%; height:auto; display:block; }
.scene figcaption{
  position:absolute; left:0; right:0; bottom:0;
  padding:1.4rem 1.3rem .9rem;
  background:linear-gradient(180deg, transparent, rgba(23,21,15,.72));
  color:var(--ivory);
  font-family:var(--serif);
  font-style:italic;
  font-size:1.05rem;
  line-height:1.3;
}

/* Escena interior: banda ancha entre servicios y property */
.scene-strip{
  margin-top:clamp(2.4rem,5vw,3.4rem);
  aspect-ratio:auto;
}
.scene-strip .frame-tag{
  position:absolute; top:1rem; left:1rem;
  font-family:var(--sans); font-weight:700;
  font-size:.68rem; letter-spacing:.16em; text-transform:uppercase;
  color:#08331f;
  background:var(--sand-soft);
  padding:.4em .8em; border-radius:2px;
}

/* Escena villa dentro de property care: a la derecha en desktop */
.property__layout{
  display:grid; grid-template-columns:1fr; gap:clamp(2rem,5vw,3rem);
  align-items:center; margin-top:clamp(2rem,4vw,3rem);
}
@media (min-width:860px){
  .property__layout{ grid-template-columns:1.1fr .9fr; }
}
.property__layout .scene{ border:1px solid var(--line-dark); }

/* ============================================================
   ANIMACIÓN DE ENTRADA (respeta reduce-motion)
   El JS añade .in al entrar en pantalla. Como salvaguarda, si el
   JS no llega a ejecutarse, una animación de respaldo revela el
   contenido igualmente para que nunca quede invisible.
   ============================================================ */
@media (prefers-reduced-motion:no-preference){
  .reveal{
    opacity:0;
    transform:translateY(22px);
    transition:opacity .7s var(--ease), transform .7s var(--ease);
    animation:reveal-fallback 0.01s linear 1.6s forwards;
  }
  .reveal.in{ opacity:1; transform:none; animation:none; }
  @keyframes reveal-fallback{ to{ opacity:1; transform:none; } }
}

/* Accesibilidad foco */
a:focus-visible, button:focus-visible{
  outline:2px solid var(--sand-2);
  outline-offset:3px;
  border-radius:2px;
}

@media (prefers-reduced-motion:reduce){
  *{ animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}

/* ============================================================
   ANTI-INVERSIÓN EN MODO OSCURO (iOS/Android WebView)
   Algunos navegadores móviles ignoran color-scheme y aplican
   su propio modo oscuro, invirtiendo solo algunos fondos y
   dejando texto oscuro sobre fondo oscuro. Aquí re-forzamos
   la paleta clara explícitamente para que la web se vea SIEMPRE
   igual, tenga el móvil el modo que tenga.
   ============================================================ */
@media (prefers-color-scheme: dark){
  html, body{ background:#F5F1E8 !important; color:#211F1B !important; }

  /* Superficies claras */
  .topbar{ background:rgba(245,241,232,.90) !important; border-bottom-color:#DAD0BD !important; }
  .services, .trust, .trustbar{ background:#FBF9F4 !important; }
  .svc, .step, .about__card{ background:#FBF9F4 !important; }
  .svc:hover{ background:#EFE9DB !important; }
  .svc-grid, .steps__grid{ background:#DAD0BD !important; border-color:#DAD0BD !important; }
  .services__more{ background:#EFE9DB !important; }

  /* Textos principales sobre claro */
  .brand__name, .display, .h2, .h3,
  .ident__list, .ident__me p:first-child,
  .svc .h3, .trust__q, .trust__punch,
  .about__title, .about__lead,
  .step .h3, .langswitch a[aria-current],
  .final__phone a{ color:#211F1B !important; }

  .lede, .muted, .svc p, .step p, .ident__note,
  .trust__body .muted, .about__card .muted,
  .callnote{ color:#55504A !important; }

  /* Acentos dorados que deben permanecer */
  .brand__tag, .eyebrow, .svc__n, .prop__k,
  .hero__brandline, .about__sign{ color:#7A5B26 !important; }
  .trustbar__item svg, .topbar__phone svg{ color:#9A7638 !important; }
  .hero__brandline b{ color:#211F1B !important; }

  /* Barra superior teléfono */
  .topbar__phone{ color:#211F1B !important; border-color:#423D34 !important; }

  /* Trustbar */
  .trustbar__inner, .trustbar__item{ color:#55504A !important; }

  /* Botón fantasma (borde/te­xto) sobre fondo claro */
  .btn--ghost{ color:#211F1B !important; border-color:#423D34 !important; }
  .btn--ghost:hover{ background:#211F1B !important; color:#FBF9F4 !important; }

  /* Líneas/reglas */
  .ident .rule, .about__card, .services, .trust{ border-color:#DAD0BD !important; }

  /* Bloques oscuros: mantener oscuros y su texto claro */
  .dark, .footer{ background:#17150F !important; }
  .property{ background:#131109 !important; }
  .footer{ background:#211F1B !important; }
  .dark .h2, .dark h3, .property__close,
  .final__phone a, .final__brand .n{ color:#F5F1E8 !important; }
  .dark p{ color:rgba(245,241,232,.80) !important; }

  /* Botones WhatsApp: verde intacto con texto oscuro */
  .btn--wa, .btn--wa-dark, .sticky__wa{ background:#25D366 !important; color:#08331f !important; }
  .sticky__call{ background:#211F1B !important; color:#FBF9F4 !important; }
}
