/*
Theme Name: Chile Mediación — Diseño Elegido
Theme URI: https://chilemediacion.cl
Author: Chile Mediación
Description: Tema personalizado para mediación familiar online en todo Chile.
Version: 2.0.0
Requires PHP: 7.4
Text Domain: chile-mediacion
*/
:root{--navy:#0b3553;--blue:#07517e;--teal:#087c8d;--gold:#a67e34;--ink:#203a50;--mist:#edf5f8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif;background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;color:var(--navy);margin:0}p{line-height:1.55}section{scroll-margin-top:85px}.wrap{max-width:1180px;margin:auto;padding-left:30px;padding-right:30px}.topbar{background:white;position:sticky;top:0;z-index:50;box-shadow:0 1px 12px #0b355312}.nav{height:76px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;align-items:center;gap:10px;min-width:220px}.brand-mark{width:53px;height:53px;object-fit:cover;object-position:left center;border-radius:50%}.brand strong{display:block;font:700 22px Georgia;color:var(--navy)}.brand small{font-size:10px;letter-spacing:1px;font-weight:700;color:var(--blue)}.links{display:flex;gap:21px;font-size:13px;font-weight:700;align-items:center}.links a:hover{color:var(--teal)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:15px 21px;background:var(--blue);color:white;border:1px solid var(--blue);border-radius:7px;font-weight:700;font-size:14px;cursor:pointer}.btn:hover{background:#063956}.btn.outline{background:white;color:var(--navy)}.btn.outline:hover{background:var(--mist)}.hero{background:linear-gradient(90deg,#fff 0%,#fff 42%,#ffffffa6 58%,transparent 72%),url('assets/hero.jpg') right center/auto 100% no-repeat;min-height:465px;display:flex;align-items:center}.hero .wrap{width:100%}.hero-content{max-width:610px;padding-top:42px;padding-bottom:42px}.eyebrow{font-size:11px;letter-spacing:3px;color:var(--gold);font-weight:800;text-transform:uppercase;margin-bottom:14px}.hero h1{font-size:clamp(37px,4vw,54px);line-height:1.05;letter-spacing:-1.2px}.lead{font:700 21px Georgia;color:var(--navy);margin:10px 0 4px}.hero p{max-width:515px;margin:8px 0 18px}.actions{display:flex;gap:15px;flex-wrap:wrap}.trust{display:flex;gap:34px;flex-wrap:wrap;margin-top:28px;font-size:12px;font-weight:700}.trust span{display:flex;gap:8px;align-items:center}.trust b{font-size:26px;color:var(--blue)}.section{padding:54px 0}.section h2{font-size:36px;line-height:1.15}.section-intro{margin-top:7px}.soft{background:linear-gradient(115deg,#f9fbfc,#eaf3f7)}.heading-row{display:flex;justify-content:space-between;align-items:end;gap:20px}.heading-row>a{font-size:13px;color:var(--blue);font-weight:700;text-decoration:underline}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:23px}.service{background:white;border-radius:12px;padding:23px 18px;box-shadow:0 5px 18px #19394b0b;min-height:205px}.service .symbol{width:50px;height:50px;background:#e6f1f4;border-radius:50%;display:grid;place-items:center;color:var(--blue);font-size:26px;margin-bottom:12px}.service h3{font-size:18px}.service p{font-size:13px;margin:9px 0}.service a{color:var(--blue);font-weight:700;font-size:13px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:30px}.step .number{background:var(--teal);color:white;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;font-weight:bold;font-size:20px}.step .stepicon{font-size:34px;color:var(--blue);margin:12px 0}.step h3{font-size:18px}.step p{font-size:13px}.national{display:grid;grid-template-columns:1fr 1.1fr;border-radius:16px;overflow:hidden;background:#e8f3f9;margin-top:28px}.national img{height:310px;width:100%;object-fit:cover}.national .copy{padding:44px}.national h2{font-size:34px}.national p{font-size:15px}.benefits{display:grid;grid-template-columns:repeat(5,1fr);gap:15px;padding-top:28px;padding-bottom:28px}.benefits div{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:700}.benefits b{font-size:29px;color:var(--blue)}.purpose{background:#f9f5ed}.purpose-grid{display:grid;grid-template-columns:1fr 1.5fr;gap:45px;align-items:center}.purpose-grid img{height:280px;width:100%;object-fit:cover;border-radius:12px}.purpose h2{font-size:36px}.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}details{background:#f3f8fa;border-radius:8px;padding:17px 20px}summary{cursor:pointer}summary{font-weight:700;color:var(--navy)}details p{font-size:14px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:55px}.form label{display:block;font-weight:700;font-size:13px;margin-bottom:13px}.form input,.form textarea,.form select{width:100%;padding:12px;border:1px solid #cad9e0;border-radius:6px;font:inherit;margin-top:5px}.form textarea{min-height:110px}.notice{font-size:13px}.footer{background:#092e49;color:white;padding:34px 0}.footer .wrap{display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap}.footer p{font-size:12px}.footer a{text-decoration:underline}.mobile-menu{display:none}@media(max-width:900px){.links{display:none}.mobile-menu{display:block;background:white;border:1px solid #ddd;padding:9px;border-radius:6px}.links.open{display:flex;position:absolute;top:76px;left:0;right:0;flex-direction:column;background:white;padding:24px;box-shadow:0 8px 16px #0002}.cards{grid-template-columns:repeat(2,1fr)}.hero{background:linear-gradient(90deg,#fff 0%,#fffe 57%,#ffffff77),url('assets/hero.jpg') right center/cover no-repeat}.hero-content{max-width:580px}.benefits{grid-template-columns:repeat(3,1fr)}}@media(max-width:620px){.wrap{padding-left:19px;padding-right:19px}.nav{height:68px}.brand strong{font-size:17px}.brand small{font-size:8px}.brand{min-width:0}.brand-mark{width:42px;height:42px}.nav>.btn{display:none}.hero{min-height:560px;align-items:start;background:linear-gradient(180deg,#fffffff2 0%,#ffffffe8 57%,#ffffff55 100%),url('assets/hero.jpg') 65% bottom/auto 75% no-repeat}.hero h1{font-size:39px}.hero-content{padding-top:40px}.trust{gap:14px}.section{padding:42px 0}.section h2{font-size:30px}.cards,.steps,.national,.purpose-grid,.contact-grid,.faq-grid{grid-template-columns:1fr}.steps{gap:8px}.step{display:grid;grid-template-columns:42px 1fr;column-gap:15px}.step .stepicon{grid-column:1;grid-row:2}.step h3,.step p{grid-column:2}.step h3{grid-row:1}.step p{grid-row:2}.national img{height:225px}.national .copy{padding:25px}.benefits{grid-template-columns:1fr 1fr}.purpose-grid{gap:24px}.purpose-grid img{height:220px}.heading-row{align-items:start;flex-direction:column}}


/* Carrusel promocional: edición 3.0 */
.promo-section{background:#f3f8fb;padding:18px max(18px,calc((100vw - 1240px)/2)) 22px}
.promo-slider{position:relative;min-height:235px;overflow:hidden;border-radius:17px;box-shadow:0 10px 30px #113b5d19;background:#083f62;isolation:isolate}
.promo-slide{position:absolute;inset:0;display:flex;align-items:center;opacity:0;visibility:hidden;transform:translateX(2%);transition:opacity .65s ease,transform .65s ease,visibility .65s;pointer-events:none}
.promo-slide.is-active{opacity:1;visibility:visible;transform:translateX(0);pointer-events:auto;z-index:1}
.promo-photo{position:absolute;inset:0 0 0 43%;background-size:cover;background-position:center;filter:saturate(.9)}
.promo-slide:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#064164 0%,#07577b 43%,#07577be8 51%,#07577b1c 100%)}
.promo-copy{position:relative;z-index:2;padding:30px 60px 38px 70px;max-width:660px;color:#fff}
.promo-tag{display:inline-block;letter-spacing:.14em;text-transform:uppercase;font-size:11px;font-weight:750;color:#f5cf8c;margin-bottom:8px}
.promo-copy h2{color:#fff;font-family:Georgia,serif;font-size:clamp(27px,3.1vw,42px);line-height:1.08;margin:0 0 12px}
.promo-copy h2 strong{color:#ffdd9a;white-space:nowrap}
.promo-copy p{font-size:15px;line-height:1.5;margin:0 0 14px;max-width:470px;color:#fff}
.promo-link{color:#fff!important;font-weight:700;text-decoration:underline;text-underline-offset:5px}
.promo-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);border:0;background:#fff;color:#064164;width:38px;height:38px;border-radius:50%;font-size:30px;line-height:1;cursor:pointer;box-shadow:0 2px 8px #0003}
.promo-prev{left:12px}.promo-next{right:12px}
.promo-dots{position:absolute;z-index:4;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:9px}
.promo-dots button{border:0;width:10px;height:10px;border-radius:50%;background:#ffffff80;cursor:pointer;padding:0}
.promo-dots button.is-active{background:#f3ce87;width:23px;border-radius:8px}
.promo-fineprint{font-size:12px;line-height:1.5;color:#43596b;margin:10px 6px 0}
.promo-slider :focus-visible{outline:3px solid #e7ba5e;outline-offset:3px}
@media(max-width:700px){.promo-slider{min-height:350px}.promo-photo{inset:0;background-position:center}.promo-slide:before{background:linear-gradient(90deg,#064164f5,#064164c7 70%,#06416480)}.promo-copy{padding:35px 52px 52px;max-width:100%}.promo-copy h2{font-size:30px}.promo-copy p{font-size:14px}.promo-arrow{width:30px;height:30px;font-size:24px}.promo-prev{left:7px}.promo-next{right:7px}}
@media(prefers-reduced-motion:reduce){.promo-slide{transition:none}}
