/* Funeraria Paz Eterna Arequipa — estilos. Fuentes alojadas localmente (SIL OFL). */
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/montserrat-latin-wght-normal.woff2) format("woff2")}

:root{
  --ivory:#faf7f2;--ivory-2:#f3eee5;--sand:#e9dfd0;--line:#e2d9c9;
  --ink:#1f2933;--muted:#586470;--navy:#0e2a43;--navy-2:#143a5c;
  --blue:#0464a0;--gold:#94702f;--gold-2:#b08a45;--gold-soft:#f1e6cf;
  --radius:14px;--shadow:0 1px 2px rgba(14,42,67,.06),0 12px 32px -12px rgba(14,42,67,.18);
  --serif:"Cormorant Garamond","Iowan Old Style","Palatino Linotype",Georgia,serif;
  --sans:"Montserrat",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --wrap:1180px;--gutter:clamp(1.1rem,4vw,2rem);--header:76px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--header) + 12px)}
body{margin:0;font-family:var(--sans);font-size:1rem;line-height:1.7;color:var(--ink);background:var(--ivory);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,svg{display:block;max-width:100%;height:auto}
a{color:var(--blue);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:var(--navy)}
:focus-visible{outline:3px solid var(--gold-2);outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:-999px;top:0;background:var(--navy);color:#fff;padding:.7rem 1rem;z-index:100}
.skip:focus{left:0}
.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ico{width:1.25em;height:1.25em;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* Tipografía */
h1,h2,h3{font-family:var(--serif);font-weight:500;color:var(--navy);line-height:1.12;letter-spacing:-.005em;margin:0 0 .6em;text-wrap:balance}
h1{font-size:clamp(2.3rem,5.2vw,3.9rem)}
h2{font-size:clamp(1.9rem,3.6vw,2.7rem)}
h3{font-size:1.45rem}
p{margin:0 0 1.1em;text-wrap:pretty}
.eyebrow{display:inline-block;font:600 .74rem/1.4 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--gold);margin-bottom:1rem}
.lead{font-size:1.12rem;color:var(--muted);max-width:60ch}
.rule{display:block;width:56px;height:1px;background:var(--gold-2);margin:1.1rem 0 1.4rem}
.center{text-align:center}.center .rule{margin-inline:auto}.center .lead{margin-inline:auto}

/* Botones */
.btn{display:inline-flex;align-items:center;gap:.65rem;padding:.95rem 1.5rem;border-radius:10px;font:600 .95rem/1 var(--sans);text-decoration:none;border:1px solid transparent;cursor:pointer;transition:background .2s,color .2s,transform .2s,box-shadow .2s}
.btn:hover{transform:translateY(-1px)}
.btn--gold{background:var(--gold);color:#fff;box-shadow:0 8px 20px -10px rgba(148,112,47,.9)}
.btn--gold:hover{background:#7d5c24;color:#fff}
.btn--line{background:transparent;color:var(--navy);border-color:var(--navy)}
.btn--line:hover{background:var(--navy);color:#fff}
.btn--light{background:#fff;color:var(--navy)}
.btn--light:hover{background:var(--gold-soft);color:var(--navy)}
.btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.btn--ghost:hover{background:#fff;color:var(--navy)}
.btn-row{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.6rem}

/* Cabecera */
.site-header{position:sticky;top:0;z-index:50;background:rgba(250,247,242,.9);backdrop-filter:saturate(1.4) blur(12px);-webkit-backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid rgba(226,217,201,.7)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;height:var(--header)}
.brand{display:flex;align-items:center;line-height:0}
.brand img{height:60px;width:auto}
.nav{display:flex;align-items:center;gap:clamp(1rem,2.2vw,2rem)}
.nav a{font-size:.86rem;font-weight:500;color:var(--ink);text-decoration:none;padding:.4rem 0;border-bottom:2px solid transparent;letter-spacing:.01em}
.nav a:hover,.nav a[aria-current="page"]{color:var(--navy);border-bottom-color:var(--gold-2)}
.head-phone{display:flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--navy);line-height:1.2}
.head-phone .ico{width:2rem;height:2rem;color:var(--gold)}
.head-phone small{display:block;font-size:.68rem;color:var(--muted);letter-spacing:.04em}
.head-phone strong{font-size:1.02rem;font-weight:600;letter-spacing:.01em}
.menu-btn{display:none;background:none;border:1px solid var(--line);border-radius:10px;width:46px;height:46px;color:var(--navy);cursor:pointer}
.menu-btn .ico{margin:auto;width:1.5rem;height:1.5rem}

/* Hero */
.hero{position:relative;isolation:isolate;overflow:hidden;min-height:clamp(560px,calc(100svh - var(--header)),820px);display:flex;align-items:center;background:#f4e8d8}
.hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:72% 70%;z-index:-2}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(252,246,238,.78) 0%,rgba(252,246,238,.5) 34%,rgba(252,246,238,0) 62%),linear-gradient(0deg,rgba(14,42,67,.5),rgba(14,42,67,0) 22%)}
.hero__body{padding-block:4rem 7rem;max-width:640px}
.hero h1{margin-bottom:0}
.hero h1 .kicker{display:block;font:600 .76rem/1.5 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--ink);margin-bottom:1.1rem;padding-bottom:1rem;border-bottom:1px solid var(--gold-2);width:max-content;max-width:100%}
.hero h1 .kicker span+span::before{content:' · '}
.hero h1 .display{display:block;font-size:clamp(2.6rem,6vw,4.4rem);line-height:1.04;color:#2b2f36}
.hero p.lead{color:#3b4650;margin-top:1.6rem;font-size:1.08rem;max-width:46ch}
.hero__badges{position:absolute;left:0;right:0;bottom:0;color:#fff}
.hero__badges ul{list-style:none;margin:0;padding:1.4rem var(--gutter);display:flex;flex-wrap:wrap;gap:1rem 2.4rem;max-width:var(--wrap);margin-inline:auto}
.hero__badges li{display:flex;align-items:center;gap:.8rem;font-size:.82rem;line-height:1.3;color:#f3ece0}
.hero__badges li .ico{width:2rem;height:2rem;color:#d9b970}
.hero__badges b{display:block;font-weight:600;color:#fff}

/* Secciones */
.section{padding-block:clamp(3.5rem,8vw,6.5rem)}
.section--alt{background:var(--ivory-2)}
.section--navy{background:var(--navy);color:#dbe6f0}
.section--navy h2,.section--navy h3{color:#fff}
.section--navy .eyebrow{color:#d9b970}
.section--navy a{color:#f0d79a}
.head{max-width:720px;margin-bottom:3rem}
.center.head{margin-inline:auto}
.grid{display:grid;gap:1.4rem}
.g2{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))}
.g3{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.g4{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.9rem;transition:transform .25s,box-shadow .25s,border-color .25s;position:relative}
.card h3{margin-bottom:.45rem}
.card p{color:var(--muted);margin-bottom:0;font-size:.96rem}
a.card{display:block;text-decoration:none;color:inherit}
a.card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:var(--gold-2)}
.card .ico--lg{width:2.3rem;height:2.3rem;color:var(--gold);margin-bottom:1.1rem;stroke-width:1.3}
.card .more{display:inline-flex;gap:.4rem;align-items:center;margin-top:1.1rem;font-size:.85rem;font-weight:600;color:var(--blue)}
.pill{display:inline-block;font:600 .68rem/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;background:var(--gold-soft);color:#6d511c;padding:.5rem .8rem;border-radius:99px;margin-bottom:1rem}

/* Franja de confianza */
.trust{background:#fff;border-block:1px solid var(--line)}
.trust ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.trust li{display:flex;gap:1rem;align-items:flex-start;padding:1.6rem 1.4rem}
.trust li+li{border-left:1px solid var(--line)}
.trust .ico{width:2rem;height:2rem;color:var(--gold);margin-top:.15rem}
.trust h3{font:600 1rem/1.3 var(--sans);color:var(--navy);margin:0 0 .25rem;letter-spacing:0}
.trust p{margin:0;font-size:.9rem;color:var(--muted);line-height:1.55}

/* Split con imagen */
.split{display:grid;gap:clamp(2rem,6vw,5rem);align-items:center;grid-template-columns:1fr}
@media(min-width:900px){.split{grid-template-columns:1fr 1fr}.split--rev>:first-child{order:2}}
.split figure{margin:0}
.flowers{mix-blend-mode:multiply;width:100%}
.stage{background:radial-gradient(ellipse 70% 60% at 50% 78%,#fff 0,var(--ivory-2) 100%);border:1px solid var(--line);border-radius:var(--radius);aspect-ratio:16/11;display:flex;align-items:flex-end;overflow:hidden;box-shadow:var(--shadow)}
.stage img{width:112%;max-width:none;margin-left:-6%}
.frame{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);position:relative}
.frame img{width:100%}
.frame figcaption{position:absolute;left:0;right:0;bottom:0;padding:2.4rem 1.2rem .9rem;background:linear-gradient(0deg,rgba(14,42,67,.7),transparent);color:#fff;font-size:.8rem;letter-spacing:.05em}
.checks{list-style:none;padding:0;margin:0 0 1.4rem;display:grid;gap:.75rem}
.checks li{position:relative;padding-left:1.9rem}
.checks li::before{content:"";position:absolute;left:0;top:.45em;width:1.05rem;height:.6rem;border-left:2px solid var(--gold);border-bottom:2px solid var(--gold);transform:rotate(-48deg) scale(.8);transform-origin:center}

/* Planes */
.plan{display:flex;flex-direction:column}
.plan .btn{margin-top:auto;align-self:flex-start}
.plan ul{margin:1rem 0 1.6rem;padding:0;list-style:none;display:grid;gap:.55rem;font-size:.93rem;color:var(--muted)}
.plan li{padding-left:1.4rem;position:relative}
.plan li::before{content:"";position:absolute;left:0;top:.65em;width:.7rem;height:1px;background:var(--gold-2)}
.plan--feat{border-color:var(--gold-2);box-shadow:var(--shadow)}
.plan h3{font-size:1.9rem}

/* Pasos */
.steps{counter-reset:s;display:grid;gap:1.6rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));list-style:none;padding:0;margin:0}
.steps li{counter-increment:s;position:relative;padding-top:3.4rem}
.steps li::before{content:counter(s,decimal-leading-zero);position:absolute;top:0;left:0;font:500 2.6rem/1 var(--serif);color:var(--gold-2)}
.steps li::after{content:"";position:absolute;top:1.6rem;left:3.6rem;right:0;height:1px;background:var(--line)}
.steps h3{font-size:1.4rem;margin-bottom:.4rem}
.steps p{color:var(--muted);font-size:.95rem;margin:0}
.section--navy .steps p{color:#b9cadb}.section--navy .steps li::after{background:rgba(255,255,255,.18)}

/* FAQ */
.faq{max-width:860px;margin-inline:auto;display:grid;gap:.8rem}
.faq details{background:#fff;border:1px solid var(--line);border-radius:12px;transition:border-color .2s}
.faq details[open]{border-color:var(--gold-2)}
.faq summary{cursor:pointer;list-style:none;padding:1.15rem 3.2rem 1.15rem 1.4rem;font:500 1.32rem/1.3 var(--serif);color:var(--navy);position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:1.3rem;top:50%;transform:translateY(-50%);font:300 1.6rem/1 var(--sans);color:var(--gold)}
.faq details[open] summary::after{content:"–"}
.faq .ans{padding:0 1.4rem 1.3rem;color:var(--muted)}
.faq .ans p:last-child{margin:0}

/* Datos rápidos (GEO) */
.facts{display:grid;grid-template-columns:1fr;gap:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin:0}
@media(min-width:700px){.facts{grid-template-columns:200px 1fr}}
.facts dt,.facts dd{margin:0;padding:.95rem 1.3rem;border-bottom:1px solid var(--line)}
.facts dt{font:600 .74rem/1.5 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--gold);background:var(--ivory-2)}
.facts dd{font-size:.97rem}
.facts dt:last-of-type,.facts dd:last-of-type{border-bottom:0}
@media(max-width:699px){.facts dd{border-bottom:1px solid var(--line)}}

/* Hero de páginas interiores */
.phero{position:relative;background:linear-gradient(180deg,var(--ivory-2),var(--ivory));border-bottom:1px solid var(--line);overflow:hidden}
.phero .wrap{padding-block:clamp(2.2rem,5vw,4rem) clamp(2.6rem,6vw,4.6rem);position:relative}
.phero__txt{max-width:700px;position:relative;z-index:1}
.phero h1{font-size:clamp(2.1rem,4.6vw,3.5rem)}
.phero__art{position:absolute;right:-3%;bottom:-6px;width:min(46%,560px);mix-blend-mode:multiply;opacity:.95;pointer-events:none}
@media(max-width:860px){.phero__art{display:none}}
.crumbs{font-size:.78rem;color:var(--muted);margin-bottom:1.4rem}
.crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem}
.crumbs li+li::before{content:"/";margin-right:.4rem;color:var(--line)}
.crumbs a{color:var(--muted);text-decoration:none}.crumbs a:hover{color:var(--navy);text-decoration:underline}

/* Prosa */
.prose{max-width:760px}
.prose h2{margin-top:2.4rem;font-size:clamp(1.8rem,3vw,2.3rem)}
.prose h2:first-child{margin-top:0}
.prose h3{margin-top:1.8rem}
.prose ul,.prose ol{padding-left:1.2rem;margin:0 0 1.2em;display:grid;gap:.5rem}
.prose li::marker{color:var(--gold)}
.prose .note,.note{background:var(--gold-soft);border-left:3px solid var(--gold);border-radius:0 10px 10px 0;padding:1rem 1.2rem;font-size:.93rem;margin:1.6rem 0;color:#4a3a17}
.prose .note p:last-child,.note p:last-child{margin:0}
.layout{display:grid;gap:3rem;grid-template-columns:1fr}
@media(min-width:1000px){.layout{grid-template-columns:minmax(0,1fr) 340px;align-items:start}.aside{position:sticky;top:calc(var(--header) + 24px)}}
.aside .card{padding:1.6rem}
.aside .card+.card{margin-top:1.2rem}
.aside h3{font-size:1.5rem}
.aside ul{list-style:none;padding:0;margin:.6rem 0 0;display:grid;gap:.5rem;font-size:.92rem}
.table-wrap{overflow-x:auto;margin:1.4rem 0}
table{border-collapse:collapse;width:100%;font-size:.93rem;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
th,td{padding:.85rem 1rem;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
th{background:var(--ivory-2);font-weight:600;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--gold)}
tr:last-child td{border-bottom:0}

/* CTA band */
.cta{background:var(--navy);color:#fff;position:relative;overflow:hidden}
.cta .wrap{display:grid;gap:1.5rem;padding-block:clamp(3rem,6vw,4.6rem);align-items:center}
@media(min-width:860px){.cta .wrap{grid-template-columns:1.3fr auto}}
.cta h2{color:#fff;margin:0 0 .4rem}
.cta p{margin:0;color:#c3d3e2;max-width:56ch}
.cta .btn-row{margin:0}

/* Contacto */
.map{width:100%;aspect-ratio:16/10;border:0;border-radius:var(--radius);filter:saturate(.85)}
form.wa{display:grid;gap:1rem}
label{font:600 .78rem/1.4 var(--sans);letter-spacing:.06em;color:var(--navy);display:grid;gap:.4rem}
input,select,textarea{font:inherit;padding:.85rem 1rem;border:1px solid #cfc5b3;border-radius:10px;background:#fff;color:var(--ink);width:100%}
input:focus,select:focus,textarea:focus{outline:3px solid var(--gold-soft);border-color:var(--gold)}
.small{font-size:.82rem;color:var(--muted)}
.btn-row+.facts{margin-top:1.8rem}

/* Pie */
.footer{background:#0a2236;color:#b6c7d8;font-size:.9rem}
.footer a{color:#dbe6f0;text-decoration:none}.footer a:hover{color:#fff;text-decoration:underline}
.footer .top{display:grid;gap:2.5rem;padding-block:4rem 3rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.footer .top>div:first-child{grid-column:span 1}
@media(min-width:900px){.footer .top{grid-template-columns:1.5fr 1fr 1fr 1.1fr}}
.footer h2{font:600 .74rem/1.4 var(--sans);letter-spacing:.18em;text-transform:uppercase;color:#d9b970;margin:0 0 1.1rem}
.footer ul{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.footer img.logo{height:92px;width:auto;margin-bottom:1.2rem}
.footer address{font-style:normal;line-height:1.7}
.footer .bottom{border-top:1px solid rgba(255,255,255,.1);padding-block:1.4rem;display:flex;flex-wrap:wrap;gap:.8rem 2rem;justify-content:space-between;font-size:.8rem;color:#8ea4b8}

/* Barra móvil */
.dock{display:none}
@media(max-width:820px){
  :root{--header:68px}
  .nav,.head-phone{display:none}
  .menu-btn{display:grid}
  .brand img{height:46px}
  .nav.open{display:flex;position:absolute;top:var(--header);left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:var(--ivory);border-bottom:1px solid var(--line);padding:.6rem var(--gutter) 1.2rem;box-shadow:0 20px 30px -20px rgba(14,42,67,.25)}
  .nav.open a{padding:.95rem 0;border-bottom:1px solid var(--line);font-size:1rem}
  .hero{display:block;min-height:0;background:linear-gradient(180deg,#f6ecdf,#efdfca)}
  .hero__bg{top:auto;bottom:0;height:23rem;object-position:72% 72%;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 38%);mask-image:linear-gradient(180deg,transparent 0,#000 38%)}
  .hero::after{background:linear-gradient(0deg,rgba(14,42,67,.62),rgba(14,42,67,0) 26%)}
  .hero__body{padding-block:2.2rem 23rem}
  .hero h1 .kicker span{display:block}.hero h1 .kicker span+span::before{content:none}
  .hero h1 .kicker{padding-bottom:.9rem;margin-bottom:.9rem}
  .hero p.lead{font-size:1rem;margin-top:1.2rem}
  .hide-m{display:none}
  .hero .btn-row .btn{width:100%;justify-content:center}
  .hero .btn--line{background:rgba(255,255,255,.7)}
  .hero__badges ul{gap:.6rem 1.2rem;padding-block:1.1rem}
  .hero__badges li{font-size:.76rem}.hero__badges li .ico{width:1.6rem;height:1.6rem}
  .trust li+li{border-left:0;border-top:1px solid var(--line)}
  .dock{display:grid;grid-template-columns:1fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:60;background:var(--navy);box-shadow:0 -8px 24px rgba(0,0,0,.18);padding-bottom:env(safe-area-inset-bottom)}
  .dock a{display:flex;justify-content:center;align-items:center;gap:.6rem;padding:1rem .5rem;color:#fff;text-decoration:none;font-weight:600;font-size:.92rem}
  .dock a+a{background:var(--gold)}
  body{padding-bottom:62px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{.site-header,.dock,.cta,.footer{display:none}body{background:#fff}}

/* ───────── Rediseño v2 ───────── */
.brand img{height:68px}
.hide-d{display:none}
.eyebrow--lines,.eyebrow--line{display:inline-flex;align-items:center;gap:1rem}
.eyebrow--lines::before,.eyebrow--lines::after,.eyebrow--line::after{content:"";width:46px;height:1px;background:var(--gold-2)}
.eyebrow--line::after{width:clamp(40px,10vw,130px)}

/* Hero fiel al diseño: cabecera transparente sobre la foto */
@media(min-width:821px){
  .home .site-header{position:fixed;left:0;right:0;background:transparent;border-bottom:0;backdrop-filter:none;-webkit-backdrop-filter:none;transition:background .3s,box-shadow .3s}
  .home .site-header.is-scrolled{background:rgba(250,247,242,.94);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 1px 0 var(--line)}
  .home .site-header .wrap{max-width:none;padding-inline:clamp(1.5rem,6.5vw,9rem);height:104px}
  .home .brand img{height:78px}
  .home .site-header.is-scrolled .wrap{height:84px}
  .home .site-header.is-scrolled .brand img{height:62px}
  .home .hero{min-height:clamp(620px,100svh,960px)}
}
.hero{align-items:stretch;background:#e9d9c3}
.hero__bg{object-position:60% 62%}
.hero::after{background:linear-gradient(0deg,rgba(14,28,40,.55),rgba(14,28,40,0) 20%),linear-gradient(90deg,rgba(255,244,228,.35),rgba(255,244,228,0) 45%)}
.hero__in{width:100%;display:flex;align-items:center;padding-inline:clamp(1.5rem,8.8vw,11rem)}
.hero__body{max-width:680px;padding-block:9.5rem 8rem}
.hero .kicker{margin:0 0 1.6rem;padding-bottom:1rem;border-bottom:1px solid var(--gold-2);width:max-content;max-width:100%;font:500 .8rem/1.9 var(--sans);letter-spacing:.24em;text-transform:uppercase;color:#3a3f47}
.hero .kicker span{display:block}
.hero h1{margin:0}
.hero h1 .display{display:block;font-weight:400;font-size:clamp(2.5rem,4vw,4.4rem);line-height:1.1;color:#32363f;letter-spacing:-.01em}
.hero p.lead{color:#3b4350;margin:1.8rem 0 0;font-size:1.05rem;max-width:34ch;line-height:1.75}
.hero .btn--gold{background:#a07a38;padding:1.1rem 1.7rem;font-size:1rem;border-radius:12px}
.hero__badges ul{padding:1.7rem clamp(1.5rem,8.8vw,11rem);max-width:none;gap:1rem 0;margin:0}
.hero__badges li{padding-right:2rem;margin-right:2rem;border-right:1px solid rgba(255,255,255,.25);font-size:.8rem}
.hero__badges li:last-child{border:0;margin:0;padding:0}
.hero__badges li .ico{stroke-width:1.2;width:2.1rem;height:2.1rem;color:#e2c585}

/* Servicios con foto (según tu idea) */
.sec-svc{position:relative;overflow:hidden;background:linear-gradient(180deg,#fcfaf6,#f6f1e8)}
.sec-svc::before{content:"";position:absolute;inset:0;pointer-events:none;background:url(../img/eucalipto.png) -70px -50px/300px no-repeat,url(../img/deco-arco.svg) -120px -160px/640px no-repeat;opacity:1}
.sec-svc::after{content:"";position:absolute;inset:auto 0 0 0;height:190px;pointer-events:none;background:url(../img/deco-arco.svg) 100% 120px/520px no-repeat;-webkit-mask-image:linear-gradient(90deg,#000 40%,transparent 100%);mask-image:linear-gradient(90deg,#000 40%,transparent 100%)}
.sec-svc .wrap{position:relative;z-index:1}
.svc-grid{display:grid;gap:1.3rem;grid-template-columns:1fr}
@media(min-width:760px){.svc-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1120px){.svc-grid{grid-template-columns:repeat(3,1fr)}}
.svc{display:grid;grid-template-columns:40% 1fr;min-height:230px;background:rgba(255,255,255,.82);border:1px solid rgba(226,217,201,.8);border-radius:18px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:0 1px 2px rgba(14,42,67,.05),0 14px 30px -18px rgba(14,42,67,.25);transition:transform .25s,box-shadow .25s}
.svc:hover{transform:translateY(-3px);box-shadow:0 22px 40px -18px rgba(14,42,67,.35)}
.svc img{width:100%;height:100%;object-fit:cover}
.svc__t{padding:1.4rem 1.3rem 1.3rem;display:flex;flex-direction:column;align-items:flex-start;position:relative}
.svc__t .ico--lg{width:2rem;height:2rem;color:var(--gold);stroke-width:1.2;margin-bottom:.8rem}
.svc h3{font-size:1.4rem;margin:0 0 .4rem}
.svc p{font-size:.86rem;line-height:1.55;color:var(--muted);margin:0 0 1rem}
.svc .round{margin-top:auto;width:2.3rem;height:2.3rem;border-radius:50%;background:var(--gold-soft);display:grid;place-items:center;color:var(--ink);transition:background .2s,color .2s}
.svc .round .ico{width:1rem;height:1rem}
.svc:hover .round{background:var(--gold);color:#fff}
.orn{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:3rem}
.orn i{width:min(180px,26vw);height:1px;background:var(--gold-2);opacity:.7}
.orn b{width:9px;height:9px;background:var(--gold-2);transform:rotate(45deg)}

/* Fotos en secciones */
.photo{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/3;background:var(--sand)}
.photo img{width:100%;height:100%;object-fit:cover}
.frame img{aspect-ratio:5/4;object-fit:cover}

/* Datos rápidos con adornos */
.sec-datos{position:relative;overflow:hidden;background:linear-gradient(180deg,#f7f2ea,#f2ebdf)}
.datos__tower{position:absolute;left:0;top:0;height:100%;width:34%;max-width:430px;object-fit:cover;object-position:30% 20%;opacity:.3;filter:sepia(.5) saturate(.6);-webkit-mask-image:linear-gradient(90deg,#000 15%,transparent 95%);mask-image:linear-gradient(90deg,#000 15%,transparent 95%);pointer-events:none}
.sec-datos::after{content:"";position:absolute;right:-50px;top:-30px;width:260px;height:394px;background:url(../img/eucalipto.png) center/contain no-repeat;transform:scaleX(-1) rotate(8deg);opacity:.55;pointer-events:none}
.sec-datos .wrap{position:relative;z-index:1}
@media(min-width:1000px){.sec-datos .layout{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:3rem}}
.facts--ico{border-radius:18px;box-shadow:var(--shadow);background:rgba(255,255,255,.85);grid-template-columns:1fr}
@media(min-width:700px){.facts--ico{grid-template-columns:230px 1fr}}
.facts--ico dt{display:flex;align-items:center;gap:.9rem;color:var(--navy);background:rgba(243,238,229,.55);font-size:.8rem;padding-block:1.05rem}
.fi{width:2.4rem;height:2.4rem;border-radius:50%;background:var(--gold-soft);display:grid;place-items:center;color:var(--gold);flex:none}
.fi .ico{width:1.15rem;height:1.15rem;stroke-width:1.5}
.facts--ico dd{padding-block:1.05rem;display:flex;align-items:center}
.loc{display:grid;grid-template-columns:auto 1fr;gap:1.2rem;align-items:center;border-radius:18px;padding:1.4rem 1.6rem}
.loc .btn{grid-column:1/-1;justify-content:center}.loc h3{font-size:1.5rem;margin:0 0 .3rem}.loc p{font-size:.9rem}
.pinbig{width:3.6rem;height:3.6rem;border-radius:50%;background:var(--ivory-2);display:grid;place-items:center;color:var(--navy)}
.pinbig .ico{width:1.6rem;height:1.6rem}
@media(max-width:560px){.loc{grid-template-columns:auto 1fr}.loc .btn{grid-column:1/-1;justify-content:center}}
.mapbox{margin-top:1.2rem;background:#fff;padding:.6rem;border-radius:18px;box-shadow:var(--shadow);border:1px solid var(--line)}
.mapbox .map{aspect-ratio:16/11;border-radius:12px;display:block}
.sec-datos .aside{position:static}

/* Hero de páginas interiores con foto */
.phero--photo .wrap{display:grid;gap:2rem;align-items:center}
@media(min-width:900px){.phero--photo .wrap{grid-template-columns:1.1fr .9fr;gap:3rem}.phero--photo .phero__txt{max-width:none;order:1}.phero--photo .phero__photo{order:2}}
.phero__photo{margin:0;border-radius:18px;overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/3;position:relative;z-index:1}
.phero__photo img{width:100%;height:100%;object-fit:cover}

/* CTA con lirio en blanco y negro */
.cta__lily{position:absolute;right:3%;bottom:0;height:115%;width:auto;opacity:.22;mix-blend-mode:screen;filter:invert(1) grayscale(1);pointer-events:none}
.cta .wrap{position:relative;z-index:1}

@media(max-width:820px){
  .brand img{height:50px}
  .hero__in{padding-inline:var(--gutter)}
  .hero__body{padding-block:2.2rem 23rem;max-width:none}
  .hero .kicker{font-size:.7rem;letter-spacing:.18em}
  .hero h1 .display{font-size:clamp(2.2rem,9.4vw,3rem);color:#2b2f36}
  .hero p.lead{max-width:none}
  .hide-d{display:inline-flex}
  .hero__badges ul{padding-inline:var(--gutter);gap:.7rem 0}
  .hero__badges li{padding-right:1rem;margin-right:1rem;font-size:.72rem}
  .svc{grid-template-columns:36% 1fr;min-height:200px}
}

/* ───────── v3: hero a pantalla completa, botones flotantes, fondos en todas las páginas ───────── */
.dock{display:none!important}
body{padding-bottom:0!important}
.fab{position:fixed;right:clamp(.8rem,2vw,1.6rem);bottom:clamp(.9rem,2.5vw,1.8rem);z-index:70;display:flex;flex-direction:column;gap:.75rem}
.fab a{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;color:#fff;box-shadow:0 10px 24px -6px rgba(14,42,67,.55),0 0 0 4px rgba(255,255,255,.55);transition:transform .2s,box-shadow .2s}
.fab a:hover{transform:scale(1.08);color:#fff}
.fab .ico{width:1.65rem;height:1.65rem;stroke-width:1.7}
.fab__call{background:var(--navy)}
.fab__wa{background:#1f9d57}
@media(max-width:560px){.fab a{width:54px;height:54px}}

/* Cabecera transparente dentro del hero en todos los tamaños */
.home .site-header{position:fixed;left:0;right:0;top:0;background:transparent;border-bottom:0;backdrop-filter:none;-webkit-backdrop-filter:none;transition:background .3s,box-shadow .3s}
.home .site-header.is-scrolled{background:rgba(250,247,242,.95);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 1px 0 var(--line)}
@media(max-width:820px){
  .home .site-header .wrap{height:76px}
  .home .brand img{height:56px}
  .menu-btn{background:rgba(255,255,255,.55);border-color:rgba(255,255,255,.7)}
  .hero{display:flex;min-height:100svh;background:#e9d9c3}
  .hero__bg{position:absolute;inset:0;top:0;bottom:auto;height:100%;object-position:67% 58%;-webkit-mask-image:none;mask-image:none}
  .hero::after{background:linear-gradient(180deg,rgba(255,246,232,.82) 0,rgba(255,246,232,.55) 42%,rgba(255,246,232,0) 68%),linear-gradient(0deg,rgba(14,28,40,.6),rgba(14,28,40,0) 22%)}
  .hero__in{align-items:flex-start}
  .hero__body{padding-block:7.2rem 8rem}
  .hero p.lead{max-width:30ch}
  .hero__badges{bottom:.4rem}
}

/* Servicios: fotos grandes */
.sec-svc .wrap{max-width:1300px}
@media(min-width:900px){.svc-grid{grid-template-columns:repeat(2,1fr);gap:1.6rem}}
@media(min-width:1500px){.svc-grid{grid-template-columns:repeat(3,1fr)}}
.svc{grid-template-columns:48% 1fr;min-height:290px}
.svc__t{padding:1.7rem 1.6rem 1.5rem}
.svc h3{font-size:1.55rem}
.svc p{font-size:.92rem}
@media(max-width:560px){
  .svc{grid-template-columns:1fr;min-height:0}
  .svc img{height:auto;aspect-ratio:16/10}
  .svc__t{padding:1.3rem 1.3rem 1.4rem}
}

/* Fondos decorativos en todas las secciones y páginas */
.section{position:relative;overflow:clip}
.section>.wrap{position:relative;z-index:1}
.section:not(.section--navy):not(.sec-svc):not(.sec-datos)::before,.section:not(.section--navy):not(.sec-svc):not(.sec-datos)::after{content:"";position:absolute;pointer-events:none;z-index:0;background-repeat:no-repeat}
.section:nth-of-type(odd):not(.section--navy):not(.sec-svc):not(.sec-datos)::after{right:-160px;top:-180px;width:520px;height:520px;background-image:url(../img/deco-arco.svg);background-size:contain;opacity:.75}
.section:nth-of-type(even):not(.section--navy):not(.sec-svc):not(.sec-datos)::after{left:-140px;bottom:-200px;width:480px;height:480px;background-image:url(../img/deco-arco.svg);background-size:contain;opacity:.6;transform:scale(-1,-1)}
.section--navy::before{content:"";position:absolute;inset:auto 0 0 0;height:160px;background:url(../img/deco-misti.svg) 100% 100%/min(760px,70%) no-repeat;opacity:.18;filter:invert(1) brightness(2);pointer-events:none}
.sec-svc .wrap::after,.sec-datos .wrap::after{content:"";position:absolute;z-index:-1;right:-2rem;bottom:1.5rem;width:min(300px,34%);height:420px;background:url(../img/lirio-blanco.png) right bottom/contain no-repeat;opacity:.22;pointer-events:none}
.sec-datos .wrap::after{right:auto;left:-4rem;bottom:-4rem;background-image:url(../img/paloma-3.png);background-position:left bottom;width:340px;height:300px;opacity:.5}

/* Cabecera de páginas interiores */
.phero::before{content:"";position:absolute;left:-40px;top:-20px;width:230px;height:350px;background:url(../img/eucalipto.png) center/contain no-repeat;opacity:.5;pointer-events:none}
.phero::after{content:"";position:absolute;right:-120px;top:-200px;width:520px;height:520px;background:url(../img/deco-arco.svg) center/contain no-repeat;opacity:.7;pointer-events:none}
.phero__art{mix-blend-mode:normal;opacity:.55;width:min(44%,540px);right:0;bottom:0}
.phero--photo .phero__art{display:none}

/* v4: ciclo de 5 fondos (eucalipto + lirios distintos), más grandes y sin tapar el texto */
:is(.section:not(.section--navy):not(.sec-svc):not(.sec-datos))::before{content:"";position:absolute;pointer-events:none;z-index:0;background-repeat:no-repeat;background-size:contain}
@media(max-width:700px){.section:not(.section--navy):not(.sec-svc):not(.sec-datos)::before{opacity:.12!important;width:70vw!important}}

/* Cabeceras interiores: cada página con un adorno distinto */
.phero__art{position:absolute;right:0;bottom:0;pointer-events:none;mix-blend-mode:normal;height:auto}
.phero__art--0{width:min(46%,560px);opacity:.5}
.phero__art--1{width:min(36%,420px);opacity:.35}
.phero__art--2{width:min(42%,520px);opacity:.4;top:0;bottom:auto}
.phero__art--3{width:min(32%,380px);opacity:.28}
.phero__art--4{width:min(26%,300px);opacity:.4}
.phero__art--5{width:min(40%,480px);opacity:.45}
@media(max-width:700px){.phero__art{opacity:.14!important;width:60%!important}}

.phero::before,.section:nth-of-type(8n+1):not(.section--navy):not(.sec-svc):not(.sec-datos)::before,.section:nth-of-type(8n):not(.section--navy):not(.sec-svc):not(.sec-datos)::before,.sec-datos::after{-webkit-mask-image:linear-gradient(180deg,#000 62%,transparent 100%);mask-image:linear-gradient(180deg,#000 62%,transparent 100%)}

.phero .wrap{position:relative}.phero__art{z-index:0}.phero__txt{position:relative;z-index:1}

/* v5: ciclo de 7 fondos */

/* Imagen a media sección con difuminado hacia el texto */
@media(min-width:900px){
  .section>.wrap.split{position:static;grid-template-columns:1fr 1fr;gap:0;min-height:430px;padding-block:1rem}
  .split>figure{position:absolute;top:0;bottom:0;width:54%;margin:0;border-radius:0;box-shadow:none;aspect-ratio:auto;border:0;background:none;display:block}
  .split>figure:first-child{left:0;-webkit-mask-image:linear-gradient(90deg,#000 38%,transparent 100%);mask-image:linear-gradient(90deg,#000 38%,transparent 100%)}
  .split>figure:last-child{right:0;-webkit-mask-image:linear-gradient(270deg,#000 38%,transparent 100%);mask-image:linear-gradient(270deg,#000 38%,transparent 100%)}
  .split>figure img{width:100%;height:100%;max-width:none;margin:0;aspect-ratio:auto;object-fit:cover}
  .split>figure figcaption{display:none}
  .split>div{position:relative;z-index:1;align-self:center;padding-block:2.5rem}
  .split>figure:first-child+div{grid-column:2;padding-left:1.5rem}
  .split>div:first-child{grid-column:1;padding-right:1.5rem}
  /* cabeceras interiores con foto */
  .phero--photo{min-height:470px;display:flex;align-items:center}
  .phero--photo .wrap{position:static;display:block;width:100%}
  .phero--photo .phero__photo{position:absolute;top:0;right:0;bottom:0;width:54%;margin:0;border-radius:0;box-shadow:none;aspect-ratio:auto;-webkit-mask-image:linear-gradient(270deg,#000 38%,transparent 100%);mask-image:linear-gradient(270deg,#000 38%,transparent 100%)}
  .phero--photo .phero__photo img{width:100%;height:100%;object-fit:cover}
  .phero--photo .phero__txt{max-width:min(600px,48%);position:relative;z-index:1;padding-block:3.5rem}
}
@media(max-width:899px){
  .split>figure{border-radius:0;box-shadow:none;-webkit-mask-image:linear-gradient(180deg,#000 55%,transparent 100%);mask-image:linear-gradient(180deg,#000 55%,transparent 100%);aspect-ratio:16/10;margin-bottom:-2.5rem}
  .split>figure img{width:100%;height:100%;object-fit:cover}
  .phero--photo .phero__photo{-webkit-mask-image:linear-gradient(0deg,transparent 0,#000 40%);mask-image:linear-gradient(0deg,transparent 0,#000 40%);box-shadow:none;border-radius:0;aspect-ratio:16/10;margin:-1rem calc(var(--gutter,1.2rem)*-1) -2rem;order:-1}
}

.section:not(.section--navy):not(.sec-svc):not(.sec-datos)::after,.phero::after{opacity:.3!important}

/* v6: palomas en lugar de lirios */
.sec-svc .wrap::after{filter:drop-shadow(0 8px 14px rgba(14,42,67,.14));opacity:.55!important;width:min(380px,36%)!important;height:290px!important;bottom:3rem!important}
.sec-datos .wrap::after{filter:drop-shadow(0 8px 14px rgba(14,42,67,.14));opacity:.5!important}
.cta__lily{filter:none!important;mix-blend-mode:normal!important;opacity:.4!important;height:auto!important;width:min(380px,32%)!important;bottom:auto!important;top:12%!important;right:5%!important}
.phero__art--0{width:min(34%,430px);opacity:.7;top:auto;bottom:1rem;right:3%}
.phero__art--2{width:min(30%,380px);opacity:.65;top:1rem;bottom:auto;right:4%}
.phero__art--3{width:min(34%,430px);opacity:.65;bottom:1rem;right:2%}
.phero__art--4{width:min(24%,300px);opacity:.65;top:1rem;bottom:auto;right:5%}
.phero__art--0,.phero__art--2,.phero__art--3,.phero__art--4{filter:drop-shadow(0 8px 14px rgba(14,42,67,.16))}

/* v7: sección con foto a todo el ancho y texto encima */
.section--cover{display:flex;align-items:center;min-height:560px;padding-block:clamp(4.5rem,9vw,7.5rem);isolation:isolate;background:#0a1e32}
.section--cover::before{display:none!important}
.cover__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%;z-index:-2}
.section--cover::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(9,28,47,.94) 0%,rgba(9,28,47,.8) 42%,rgba(9,28,47,.3) 100%)}
.section--cover .wrap{width:100%}
.cover__txt{max-width:560px}
.cover__txt p{color:#e4ecf4}
@media(max-width:899px){.section--cover::after{background:linear-gradient(180deg,rgba(9,28,47,.88),rgba(9,28,47,.78))}}
/* palomas un poco más presentes */

/* v8: ciclo de 8 fondos que alternan izquierda/derecha */
.section:nth-of-type(8n+1):not(.section--navy):not(.sec-svc):not(.sec-datos)::before{left:-50px;top:-30px;width:280px;height:424px;background-image:url(../img/eucalipto.png);background-position:left top;opacity:.55}
.section:nth-of-type(8n+2):not(.section--navy):not(.sec-svc):not(.sec-datos)::before{right:2%;bottom:1.2rem;width:min(400px,38vw);height:min(300px,70%);background-image:url(../img/paloma-1.png);background-position:right bottom;opacity:.8;filter:drop-shadow(0 8px 14px rgba(14,42,67,.16))}
.section:nth-of-type(8n+3):not(.section--navy):not(.sec-svc):not(.sec-datos)::before{left:0;bottom:-20px;width:min(380px,40vw);height:min(400px,90%);background-image:url(../img/lirio-blanco.png);background-position:left bottom;opacity:.4}
.section:nth-of-type(8n+4):not(.section--navy):not(.sec-svc):not(.sec-datos)::before{right:-20px;top:-10px;width:min(620px,60vw);height:min(330px,70%);background-image:url(../img/flores-cinta.png);background-position:right top;opacity:.4}
.section:nth-of-type(8n+5):not(.section--navy):not(.sec-svc):not(.sec-datos)::before{left:1%;top:1.5rem;width:min(380px,36vw);height:min(360px,80%);background-image:url(../img/paloma-2.png);background-position:left top;opacity:.75;filter:drop-shadow(0 8px 14px rgba(14,42,67,.16))}
.section:nth-of-type(8n+6):not(.section--navy):not(.sec-svc):not(.sec-datos)::before{right:0;bottom:-20px;width:min(380px,40vw);height:min(400px,90%);background-image:url(../img/lirio-blanco.png);background-position:right bottom;opacity:.4;transform:scaleX(-1)}
.section:nth-of-type(8n+7):not(.section--navy):not(.sec-svc):not(.sec-datos)::before{left:2%;bottom:1rem;width:min(300px,30vw);height:min(440px,85%);background-image:url(../img/paloma-4.png);background-position:left bottom;opacity:.7;filter:drop-shadow(0 8px 14px rgba(14,42,67,.16))}
.section:nth-of-type(8n):not(.section--navy):not(.sec-svc):not(.sec-datos)::before{right:-60px;bottom:-40px;width:260px;height:394px;background-image:url(../img/eucalipto.png);background-position:right bottom;opacity:.5;transform:scaleX(-1) rotate(-8deg)}

/* v8: cabeceras alternas izquierda / derecha */
@media(min-width:900px){
  .phero--l .phero__txt{margin-left:auto;max-width:min(620px,55%)}
  .phero--l .phero__art{right:auto!important;left:3%}
  .phero--l.phero--photo .phero__photo{right:auto;left:0;-webkit-mask-image:linear-gradient(90deg,#000 38%,transparent 100%);mask-image:linear-gradient(90deg,#000 38%,transparent 100%)}
  .phero--l.phero--photo .phero__txt{max-width:min(600px,48%)}
  .phero--l::before{left:auto;right:-40px;transform:scaleX(-1)}
  .phero--l::after{right:auto;left:-120px;transform:scaleX(-1)}
}
.phero__art--2{width:min(26%,320px)}
.phero__art--4{width:min(30%,380px)}

/* ───────── Obituario virtual ───────── */
.obit-opts .obit-opt{display:flex;flex-direction:column;align-items:flex-start;gap:.6rem;padding:1.8rem}
.obit-opt .fi{margin-bottom:.3rem}
.obit-card h3{font-size:1.5rem}
.obit-grid{display:grid;gap:2rem;grid-template-columns:1fr;align-items:start}
@media(min-width:960px){.obit-grid{grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:3rem}.obit-preview{position:sticky;top:104px}}
.obit-form fieldset{border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.85);padding:1.4rem 1.4rem 1.2rem;margin:0 0 1.2rem;display:grid;gap:.9rem;box-shadow:var(--shadow)}
.obit-form legend{font:600 1.3rem var(--serif);color:var(--navy);padding:0 .5rem}
.obit-form label{display:grid;gap:.35rem;font-size:.82rem;font-weight:600;color:var(--navy)}
.obit-form input[type=text],.obit-form input[type=date],.obit-form input[type=time],.obit-form input[type=file],.obit-form select,.obit-form textarea{width:100%;font:400 .95rem var(--sans);padding:.7rem .85rem;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink)}
.obit-form textarea{resize:vertical}
.obit-form :is(input,select,textarea):focus{outline:2px solid var(--gold);outline-offset:1px}
.obit-form .link{justify-self:start;background:none;border:0;color:var(--blue);font:600 .82rem var(--sans);text-decoration:underline;cursor:pointer;padding:0}
.ev{display:grid;gap:.5rem;padding:.9rem;border:1px dashed var(--line);border-radius:12px;background:#fcfaf6}
.ev__top{display:flex;gap:.5rem}.ev__top select{flex:1}
.ev__x{width:2.4rem;border:1px solid var(--line);background:#fff;border-radius:10px;font-size:1.3rem;line-height:1;cursor:pointer;color:var(--muted)}
.ev__dt{display:grid;grid-template-columns:1.3fr 1fr;gap:.5rem}
.tpls{display:grid;gap:.6rem;grid-template-columns:1fr 1fr}
.tpl{position:relative}.tpl input{position:absolute;opacity:0}
.tpl span{display:block;border:1.5px solid var(--line);border-radius:12px;padding:.7rem .8rem;font-weight:400;font-size:.78rem;color:var(--muted);background:#fff;cursor:pointer}
.tpl b{display:block;color:var(--navy);font-size:.9rem;margin-bottom:.15rem}
.tpl input:checked+span{border-color:var(--gold);background:var(--gold-soft);box-shadow:0 0 0 2px rgba(176,138,69,.25)}
.tpl input:focus-visible+span{outline:2px solid var(--blue)}
.obit-preview canvas{width:100%;height:auto;aspect-ratio:1080/1520;border-radius:14px;box-shadow:0 22px 50px -20px rgba(14,42,67,.45);background:#fbfaf8;display:block}
.obit-actions{margin-top:1rem;justify-content:center}
.obit-send{width:100%;justify-content:center;margin:.2rem 0 .8rem}
.obit-grid--view .prose h1{font-size:clamp(2rem,4vw,3rem)}
.muted{color:var(--muted)}
.obit-pub{display:grid;gap:.6rem;margin:1rem 0 .6rem}.obit-pub .btn{width:100%;justify-content:center}
.obit-done{border:1px solid var(--gold);border-radius:14px;background:#fffdf7;padding:1.1rem;display:grid;gap:.6rem}.obit-done h3{margin:0}
.obit-done input{width:100%;font:400 .85rem var(--sans);padding:.6rem .7rem;border:1px solid var(--line);border-radius:10px;background:#fff}
.tbl{width:100%;border-collapse:collapse;font-size:.92rem}.tbl th,.tbl td{padding:.6rem .5rem;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}

/* v9: el texto queda centrado en su mitad, separado del difuminado de la foto */
@media(min-width:900px){
  .split>figure{width:50%}
  .split>figure:first-child+div{padding-left:clamp(3rem,7vw,7rem);padding-right:clamp(1rem,3vw,3rem)}
  .split>div:first-child{padding-right:clamp(3rem,7vw,7rem);padding-left:clamp(1rem,3vw,3rem)}
  .phero--photo .phero__photo{width:50%}
  .phero--photo .phero__txt{max-width:min(560px,44%);padding-right:clamp(1rem,3vw,3rem)}
  .phero--l.phero--photo .phero__txt,.phero--l .phero__txt{max-width:min(600px,48%);padding-right:0;padding-left:clamp(2rem,5vw,5rem)}
}