/* Dichabao · sistema de diseño v3
   Secciones alternas oscura/clara, botones en píldora, sin recuadros tipo tabla. */
:root{
  --deep:#0e2a2b; --deep-2:#154041; --deeper:#0a1f20;
  --mint:#8ff0c2; --mint-soft:#cdf6e0;
  --green:#176a4d; --green-dark:#0f503a;
  --white:#fff; --tint:#eef5f0; --line:#d5e2da;
  --text:#1a2e30; --muted:#4a6063; --on-dark:#eaf4ef; --muted-dark:#aac5be;
  --wa:#25d366; --wa-ink:#062b16;
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px;-webkit-text-size-adjust:100%}
body{margin:0;font:18px/1.65 var(--sans);color:var(--text);background:var(--white);-webkit-font-smoothing:antialiased}
img,svg{max-width:100%}
a{color:inherit}
h1,h2,h3{font-family:var(--serif);font-weight:600;letter-spacing:-.015em;margin:0}
h1{font-size:clamp(40px,5.6vw,68px);line-height:1.07;letter-spacing:-.025em}
h2{font-size:clamp(30px,3.8vw,46px);line-height:1.14}
h3{font-size:clamp(21px,2vw,25px);line-height:1.25}
p{margin:0 0 1em}
.wrap{width:100%;max-width:1160px;margin:0 auto;padding:0 28px}
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:var(--mint);color:var(--deep);padding:12px 20px;border-radius:999px;font-weight:700;text-decoration:none}
.skip:focus{top:12px}
:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.sec--dark :focus-visible,.sec--dark2 :focus-visible,header :focus-visible,footer :focus-visible,.dock :focus-visible{outline-color:var(--mint)}

/* ---------- Secciones ---------- */
.sec{padding:104px 0}
.sec--dark{background:var(--deep);color:var(--on-dark)}
.sec--dark2{background:var(--deep-2);color:var(--on-dark)}
.sec--light{background:var(--white);color:var(--text)}
.sec--tint{background:var(--tint);color:var(--text)}
.sec--dark .muted,.sec--dark2 .muted{color:var(--muted-dark)}
.muted{color:var(--muted)}
.lead{font-size:clamp(18px,1.6vw,21px);line-height:1.6;max-width:36em}
.sec--dark .lead,.sec--dark2 .lead{color:var(--muted-dark)}
.sec-head{max-width:760px;margin-bottom:56px}
.sec-head p{margin-top:18px;font-size:19px}
.sec--light .sec-head p,.sec--tint .sec-head p{color:var(--muted)}
.sec--dark .sec-head p,.sec--dark2 .sec-head p{color:var(--muted-dark)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,7vw,96px);align-items:center}
.split--top{align-items:start}

/* ---------- Botones: píldora, grandes, visibles ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 32px;border-radius:999px;border:2px solid transparent;font:700 17px/1.1 var(--sans);text-decoration:none;cursor:pointer;text-align:center;transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease;-webkit-appearance:none;appearance:none}
.btn:hover{transform:translateY(-2px)}
.btn svg{width:22px;height:22px;flex:none}
.btn--primary{background:var(--mint);color:var(--deep);box-shadow:0 8px 22px rgba(143,240,194,.22)}
.btn--primary:hover{background:#a6f5d0;box-shadow:0 10px 26px rgba(143,240,194,.34)}
.sec--light .btn--primary,.sec--tint .btn--primary,.panel .btn--primary{background:var(--green);color:#fff;box-shadow:0 8px 22px rgba(23,106,77,.28)}
.sec--light .btn--primary:hover,.sec--tint .btn--primary:hover,.panel .btn--primary:hover{background:var(--green-dark)}
.btn--ghost{background:transparent;color:#fff;border-color:rgba(205,246,224,.6)}
.btn--ghost:hover{background:rgba(205,246,224,.12);border-color:var(--mint)}
.sec--light .btn--ghost,.sec--tint .btn--ghost,.panel .btn--ghost{color:var(--green-dark);border-color:var(--green)}
.sec--light .btn--ghost:hover,.sec--tint .btn--ghost:hover,.panel .btn--ghost:hover{background:rgba(23,106,77,.08)}
.btn--wa{background:var(--wa);color:var(--wa-ink);box-shadow:0 8px 22px rgba(37,211,102,.26)}
.btn--wa:hover{background:#3be07a}
.btn--sm{min-height:46px;padding:0 24px;font-size:15.5px}
.actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}
.textlink{display:inline-flex;align-items:center;gap:8px;font-weight:700;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px;color:var(--green-dark)}
.sec--dark .textlink,.sec--dark2 .textlink{color:var(--mint)}

/* ---------- Cabecera ---------- */
header{position:sticky;top:0;z-index:50;background:var(--deep);color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:80px}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none}
.brand-mark{width:34px;height:40px;flex:none}
.brand-name{display:block;font:800 26px/1 var(--sans);letter-spacing:-.04em}
.brand-name i{font-style:normal;color:var(--mint)}
.brand-tag{display:block;font-size:12.5px;color:var(--muted-dark);margin-top:4px;letter-spacing:.01em}
.links{display:flex;align-items:center;gap:6px}
.links a:not(.btn){text-decoration:none;font-size:16px;font-weight:600;padding:10px 14px;border-radius:999px;color:var(--on-dark)}
.links a:not(.btn):hover{background:rgba(255,255,255,.1)}
.links a[aria-current="page"]{background:rgba(143,240,194,.16);color:var(--mint)}
.links .btn{margin-left:10px}
.menu{display:none;min-height:46px;padding:0 22px;border-radius:999px;border:2px solid rgba(205,246,224,.6);background:transparent;color:#fff;font:700 16px var(--sans);cursor:pointer}

/* ---------- Hero ---------- */
.hero{padding:88px 0 104px}
.hero--page{padding:80px 0 88px}
.hero__grid{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(40px,6vw,88px);align-items:center}
.hero .lead{margin-top:26px}
.hero h1{max-width:12em}
.hero--page h1{max-width:15em}
.checks{list-style:none;margin:0;padding:0}
.checks li{position:relative;padding-left:38px;margin:14px 0}
.checks li::before{content:"";position:absolute;left:0;top:.18em;width:24px;height:24px;border-radius:50%;background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat}
.sec--dark .checks li::before,.sec--dark2 .checks li::before{background-color:var(--mint);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2a2b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")}
.hero__checks{margin-top:34px}
.hero__checks li{margin:10px 0;color:var(--on-dark);font-weight:600}
.checks strong{display:block;font-size:19px}
.checks span{display:block;color:var(--muted);font-size:17px}
.sec--dark .checks span,.sec--dark2 .checks span{color:var(--muted-dark)}

/* nota de ejemplo (hero) */
.note{background:#f7faf6;color:var(--text);border-radius:32px;padding:38px 36px 30px;box-shadow:0 30px 60px rgba(0,0,0,.28)}
.note h2{font-size:25px;margin-bottom:6px}
.note .sub{color:var(--muted);font-size:15.5px;margin-bottom:22px}
.note dl{margin:0}
.note dt{font-weight:800;font-size:15.5px;color:var(--green-dark);margin-top:18px}
.note dd{margin:3px 0 0;font-size:16.5px;line-height:1.55}
.note .foot{margin:24px 0 0;padding-top:16px;border-top:1px dashed #c9d9cf;font-size:14px;color:var(--muted)}

/* ---------- Servicios en columnas (sin recuadros) ---------- */
.trio{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(32px,5vw,64px)}
.trio h3{margin:22px 0 12px}
.trio p{color:var(--muted)}
.icon{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:var(--tint);color:var(--green)}
.sec--tint .icon,.sec--dark .icon{background:var(--mint);color:var(--deep)}
.icon svg{width:32px;height:32px}
.more{margin-top:48px}

/* ---------- Promesas ---------- */
.promises .checks li{margin:0 0 26px}

/* ---------- Pasos (sin numeración) ---------- */
.flow{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(28px,5vw,64px);position:relative}
.flow::before{content:"";position:absolute;left:0;right:0;top:11px;height:2px;background:var(--line)}
.flow>div{position:relative;padding-top:48px}
.flow>div::before{content:"";position:absolute;left:0;top:0;width:24px;height:24px;border-radius:50%;background:var(--green);box-shadow:0 0 0 7px var(--tint)}
.flow h3{margin-bottom:10px}
.flow p{color:var(--muted)}

/* ---------- Prueba social ---------- */
.proof{display:flex;align-items:center;justify-content:space-between;gap:40px;flex-wrap:wrap}
.proof__text{max-width:640px}
.proof__text p{color:var(--muted-dark);font-size:20px;margin-top:16px}

/* ---------- Detalle de servicios ---------- */
.service .icon{margin-bottom:24px}
.service h2{margin-bottom:16px}
.service .price-line{margin-top:22px;font-weight:700}
.panel{background:#f7faf6;color:var(--text);border-radius:28px;padding:36px}
.sec--tint .panel{background:#fff}
.sec--dark .panel,.sec--dark2 .panel{background:#f7faf6;color:var(--text)}
.panel h3{font-size:22px;margin-bottom:18px}
.panel .out{margin:24px 0 0;padding-top:18px;border-top:1px dashed #c9d9cf;color:var(--muted);font-size:16.5px}
.panel .out strong{color:var(--text)}
.facts{list-style:none;margin:0;padding:0}
.facts li{padding:16px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.facts li:last-child{border:0}
.facts strong{display:block;color:var(--mint)}
.cols2{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,7vw,96px)}
.cols2 h3{margin-bottom:12px}
.cols2 p{color:var(--muted)}

/* ---------- Mini-pasos (contacto) ---------- */
.steps-list{list-style:none;margin:0;padding:0;counter-reset:s}
.steps-list li{position:relative;padding:0 0 26px 62px;counter-increment:s}
.steps-list li::before{content:counter(s);position:absolute;left:0;top:0;width:42px;height:42px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font:700 18px var(--serif)}
.steps-list strong{display:block;font-size:19px}
.steps-list span{color:var(--muted)}
.book-card{background:var(--tint);border-radius:28px;padding:40px}
.book-card h3{margin-bottom:12px}
.book-card ul{margin:22px 0 0;padding:0;list-style:none;color:var(--muted);font-size:16.5px}
.book-card li{margin:8px 0}
.book-card li strong{color:var(--text)}

/* ---------- Formularios (siempre sobre superficie clara) ---------- */
.form-panel{background:#fff;color:var(--text);border-radius:32px;padding:clamp(26px,4vw,44px);box-shadow:0 30px 60px rgba(0,0,0,.25)}
label{display:block;font-weight:700;font-size:16.5px;margin:20px 0 8px}
label span{font-weight:400;color:var(--muted)}
input[type=text],input[type=email],select,textarea{width:100%;font:17px/1.4 var(--sans);color:var(--text);background:#fff;border:2px solid #c3d5ca;border-radius:16px;padding:14px 18px;min-height:54px}
textarea{border-radius:20px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:3px solid rgba(23,106,77,.35);outline-offset:1px;border-color:var(--green)}
fieldset{border:0;margin:0;padding:0;min-width:0}
legend{padding:0;font-weight:700;font-size:16.5px}
.opts label,.choices label{display:flex;align-items:center;gap:12px;font-weight:500;margin:10px 0;cursor:pointer}
input[type=checkbox],input[type=radio]{width:22px;height:22px;accent-color:var(--green);flex:none}
.safe-note{background:var(--tint);border-radius:18px;padding:16px 20px;font-size:15.5px;color:var(--muted);margin-bottom:6px}
.safe-note strong{color:var(--text)}
.privacy-summary{font-size:14.5px;color:var(--muted);margin:22px 0}
#contact-err{color:#9b1c1c;font-weight:700;margin:10px 0}
#contact-err:empty{display:none}
#contact-msg{margin-top:16px;font-weight:600}
#contact-msg p{margin:0 0 12px}
.form-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.ways{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 0}

/* ---------- FAQ y herramientas: filas redondeadas, sin líneas de tabla ---------- */
.faq{max-width:860px}
details.row{background:#fff;border-radius:22px;margin:0 0 14px;box-shadow:0 1px 0 rgba(14,42,43,.04),0 6px 22px rgba(14,42,43,.05)}
details.row>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 30px;font:600 clamp(18px,1.7vw,21px)/1.35 var(--serif);border-radius:22px}
details.row>summary::-webkit-details-marker{display:none}
details.row>summary::after{content:"";flex:none;width:40px;height:40px;border-radius:50%;background:var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23176a4d' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/18px no-repeat;transition:transform .2s ease,background-color .2s ease}
details.row[open]>summary::after{transform:rotate(45deg);background-color:var(--mint-soft)}
details.row>:not(summary){padding:0 30px}
details.row>p:last-child,details.row>div:last-child{padding-bottom:28px}
details.row p{color:var(--muted);margin:0 0 .9em;font-size:17.5px}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ---------- Herramientas (Dichabao Protect) ---------- */
.trust{list-style:none;margin:30px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.trust li{padding:9px 18px;border-radius:999px;background:rgba(143,240,194,.14);color:var(--mint);font-weight:700;font-size:15.5px}
.tools{max-width:900px}
.tool .tool-n{display:none}
.tool summary{gap:18px}
.tool-txt{flex:1;display:block}
.tool-txt strong{display:block;font:600 clamp(18px,1.7vw,21px)/1.3 var(--serif)}
.tool-txt span{display:block;font:400 16px/1.4 var(--sans);color:var(--muted);margin-top:4px}
.tool-chev{display:none}
.tool-panel{padding-bottom:30px}
.tool-panel p{font-size:17px}
.protect-tools{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start}
.protect-result,#url-result:not(:empty),#account-result:not(:empty),#protect-action-result:not(:empty){background:var(--tint);border-radius:22px;padding:22px 26px;margin-top:20px}
.protect-result h3,#url-result h4,#account-result h4,#protect-action-result h4{font:600 20px/1.3 var(--serif);margin:0 0 10px}
.protect-result ul,#url-result ul,#account-result ul,#protect-action-result ul{padding-left:20px;margin:10px 0}
.protect-result li,#url-result li,#account-result li,#protect-action-result li{margin:8px 0;font-size:16.5px}
.protect-result a{font-weight:700}
.action-options{display:flex;flex-wrap:wrap;gap:12px}
.action-options button{min-height:52px;padding:0 24px;border-radius:999px;border:2px solid var(--green);background:#fff;color:var(--green-dark);font:700 16px var(--sans);cursor:pointer}
.action-options button:hover{background:rgba(23,106,77,.08)}
.action-options button[aria-pressed="true"]{background:var(--green);color:#fff}
.choices{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.choices label{margin:0;padding:10px 18px;border:2px solid var(--line);border-radius:999px;font-weight:600}
.choices label:has(input:checked){border-color:var(--green);background:var(--tint)}
#protect-questions fieldset{margin:22px 0}
#protect-questions legend{margin-bottom:6px}
.protect-reset{min-height:48px;padding:0 22px;border-radius:999px;border:2px solid var(--line);background:#fff;color:var(--text);font:700 15.5px var(--sans);cursor:pointer;margin:14px 0 0 10px}
#protect-check .btn{margin-top:18px}
#url-check .btn,#account-check .btn,#password-generate{margin-top:16px}
.tool-panel .btn--primary{background:var(--green);color:#fff}
#password-output{font-family:ui-monospace,Menlo,Consolas,monospace}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{background:var(--tint);border-radius:22px;padding:24px}
.card h3{font-size:20px;margin-bottom:10px}
.card p{font-size:16px;color:var(--muted)}
.card a{display:block;font-weight:700;margin-top:8px}
.protect-source{font-size:14.5px;color:var(--muted);max-width:900px}

/* ---------- Texto largo (legal) ---------- */
.prose{max-width:760px}
.prose h2{font-size:clamp(26px,3vw,34px);margin:56px 0 16px}
.prose h2:first-child{margin-top:0}
.prose p{color:var(--muted);font-size:17.5px}
.prose p strong{color:var(--text)}

/* ---------- Pie ---------- */
footer{background:var(--deeper);color:var(--muted-dark);padding:72px 0 40px;font-size:16px}
.foot{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:48px}
.foot h3{font:700 16px var(--sans);color:#fff;margin-bottom:16px;letter-spacing:0}
.foot ul{list-style:none;margin:0;padding:0}
.foot li{margin:10px 0}
.foot a{text-decoration:none}
.foot a:hover{color:var(--mint);text-decoration:underline}
.foot .brand-name{color:#fff}
.foot-brand p{margin:16px 0 0;max-width:22em}
.social{display:flex;gap:12px;margin-top:22px}
.social a{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.08);color:#fff}
.social a:hover{background:var(--mint);color:var(--deep);text-decoration:none}
.social svg{width:22px;height:22px;fill:currentColor}
.legalbar{margin-top:52px;padding-top:26px;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:14.5px}

/* ---------- Botones flotantes ---------- */
.dock{position:fixed;right:22px;bottom:22px;z-index:60;display:flex;gap:10px}
.dock .btn{box-shadow:0 10px 30px rgba(0,0,0,.28)}
.dock .btn--book{display:none}

/* ---------- Responsive ---------- */
@media(max-width:980px){
  .hero__grid,.split,.cols2,.protect-tools{grid-template-columns:1fr}
  .trio,.flow,.cards{grid-template-columns:1fr}
  .flow::before{display:none}
  .flow>div{padding:0 0 0 46px}
  .flow>div::before{box-shadow:none;top:4px}
  .foot{grid-template-columns:1fr 1fr}
  .foot-brand{grid-column:1/-1}
}
@media(max-width:900px){
  .menu{display:inline-block}
  .links{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:4px;padding:16px 20px 24px;background:var(--deep);border-bottom:1px solid rgba(255,255,255,.1)}
  .links.open{display:flex}
  .links a:not(.btn){padding:16px 18px;font-size:18px}
  .links .btn{margin:10px 0 0}
  header{position:sticky}
  .nav{position:relative}
}
@media(max-width:680px){
  body{font-size:17px;padding-bottom:88px}
  .wrap{padding:0 20px}
  .sec{padding:68px 0}
  .hero{padding:56px 0 64px}
  .hero--page{padding:52px 0 60px}
  .sec-head{margin-bottom:38px}
  .actions .btn{width:100%}
  .note,.panel,.book-card{padding:28px 24px}
  .foot{grid-template-columns:1fr}
  .brand-tag{display:none}
  .dock{left:0;right:0;bottom:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));background:rgba(10,31,32,.97);gap:8px}
  .dock .btn{flex:1;min-height:52px;padding:0 12px;box-shadow:none;font-size:16px}
  .dock .btn--book{display:inline-flex}
  details.row>summary{padding:20px 22px}
  details.row>:not(summary){padding:0 22px}
}

/* Paneles claros dentro de secciones oscuras: restaurar contraste */
.sec--dark .panel .checks li::before,.sec--dark2 .panel .checks li::before,.panel .checks li::before{background-color:var(--green);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")}
.sec--dark .panel .checks span,.sec--dark2 .panel .checks span{color:var(--muted)}
.sec--dark .panel .muted{color:var(--muted)}

.lang-switch{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;white-space:nowrap}.lang-switch a{color:inherit;text-decoration:none;padding:7px 8px;border:1px solid currentColor;border-radius:999px}.lang-switch a[aria-current="page"]{background:#7ef0bc;color:#102b2d;border-color:#7ef0bc}.reviews-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.review-card{margin:0;padding:18px;border:1px solid #ffffff30;border-radius:14px;background:#ffffff0d}.review-card blockquote{margin:0 0 12px;font-size:17px;line-height:1.5}.review-card figcaption{font-size:14px;opacity:.82}.guarantee-note{margin-top:30px;padding:18px 20px;border-left:4px solid #7ef0bc;background:#7ef0bc12;border-radius:8px}.guarantee-note a{color:inherit;text-decoration:underline}@media(max-width:760px){.reviews-grid{grid-template-columns:1fr}.lang-switch{font-size:13px;gap:3px}.lang-switch a{padding:6px}}



@media(max-width:900px){.nav{gap:10px}.lang-switch{flex:none}.brand{gap:8px}}@media(max-width:380px){.nav{gap:6px}.brand-mark{width:28px;height:34px}.brand-name{font-size:22px}.brand-tag{display:none}.menu{min-height:40px;padding:0 12px;font-size:14px}.lang-switch{font-size:12px;gap:2px}.lang-switch a{padding:5px}}

/* Visit summary image and responsive Calendly booking */
.visit-photo{margin:0 0 22px;overflow:hidden;border-radius:20px;background:#e7efe9}.visit-photo img{display:block;width:100%;height:clamp(170px,20vw,230px);object-fit:cover}.visit-photo figcaption{padding:9px 12px;color:var(--muted);font-size:12.5px;line-height:1.35}.calendly-shell{width:100%;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:24px;background:var(--tint);box-shadow:0 16px 38px rgba(14,42,43,.12);padding:12px}.calendly-inline-widget{width:100%!important;min-width:0!important;height:850px!important;border-radius:18px;overflow:hidden}.booking-privacy{font-size:14px;color:var(--muted);margin:16px 0 0}.hero--page+.calendly-shell{margin:-18px auto 48px;max-width:1104px}.sec--dark .calendly-shell{margin-top:24px}@media(max-width:680px){.visit-photo img{height:190px}.calendly-shell{padding:6px;border-radius:18px}.calendly-inline-widget{height:1020px!important;border-radius:14px}}@media(max-width:380px){.calendly-inline-widget{height:1080px!important}}



/* Subtle home banner video with a readable brand gradient and reduced-motion fallback */
.hero--video{position:relative;isolation:isolate;overflow:hidden;background-color:var(--deep);background-image:url("videoLoop_mecanografia-poster.jpg");background-size:cover;background-position:center}
.hero--video::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(14,42,43,.97) 0%,rgba(14,42,43,.91) 44%,rgba(14,42,43,.74) 100%),linear-gradient(0deg,rgba(14,42,43,.32),transparent 62%)}
.hero--video .hero__video{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;object-position:center 48%;opacity:.5;pointer-events:none}
.hero--video>.wrap{position:relative;z-index:2}
@media(max-width:680px){.hero--video::before{background:linear-gradient(90deg,rgba(14,42,43,.94),rgba(14,42,43,.82)),linear-gradient(0deg,rgba(14,42,43,.35),transparent)}.hero--video .hero__video{opacity:.36}}
@media(prefers-reduced-motion:reduce){.hero--video .hero__video{display:none!important}}

/* Small-screen navigation: keep the brand, menu and all language links visible */
@media(max-width:900px){
  .nav{min-width:0}
  .brand{min-width:0}
  .brand>span{min-width:0}
}
@media(max-width:480px){
  .nav{justify-content:flex-start;gap:5px;padding-left:12px;padding-right:12px}
  .brand{flex:1 1 auto;gap:6px;min-width:0}
  .brand-mark{width:clamp(24px,7.5vw,30px);height:auto}
  .brand-name{font-size:clamp(17px,5vw,20px);white-space:nowrap}
  .menu{flex:0 0 auto;min-height:38px;padding:0 9px;font-size:13px;white-space:nowrap}
  .lang-switch{flex:0 0 auto;margin-left:auto;gap:0;font-size:11px}
  .lang-switch a{min-width:26px;padding:5px 3px;text-align:center}
}
@media(max-width:340px){
  .nav{flex-wrap:wrap;min-height:0;padding-top:8px;padding-bottom:8px}
  .brand{flex:1 1 60%}
  .lang-switch{order:3;flex:1 0 100%;justify-content:center;margin:3px 0 0}
}

/* More legible video treatment: stronger dark veil over copy, while the footage stays visible */
.hero--video::before{background:linear-gradient(90deg,rgba(14,42,43,.96) 0%,rgba(14,42,43,.91) 40%,rgba(14,42,43,.78) 66%,rgba(14,42,43,.62) 100%),linear-gradient(0deg,rgba(14,42,43,.34),transparent 62%)}
.hero--video .hero__video{opacity:.58}
@media(max-width:980px){.hero--video::before{background:linear-gradient(180deg,rgba(14,42,43,.93),rgba(14,42,43,.85))}.hero--video .hero__video{opacity:.48}}
@media(max-width:680px){.hero--video::before{background:linear-gradient(180deg,rgba(14,42,43,.92),rgba(14,42,43,.83))}.hero--video .hero__video{opacity:.46}}

/* Width guardrails used consistently across old phones, modern mobiles, tablets and laptops */
img,svg,video,iframe{max-width:100%}
.wrap,.hero__grid>*,.split>*,.cols2>*,.trio>*,.flow>*,.cards>*,.protect-tools>*,.foot>*{min-width:0}
input[type=text],input[type=email],select,textarea{min-width:0;max-width:100%}
p,dd,dt,.prose a,.foot a,.legalbar a,.protect-result,.tool-panel{overflow-wrap:anywhere}
.hero-video-context{display:flex;align-items:center;gap:10px;margin:15px 0 0;max-width:36em;color:var(--mint-soft);font-size:clamp(16px,1.5vw,18px);font-weight:650;line-height:1.45}
.hero-video-context::before{content:"";width:9px;height:9px;flex:none;border-radius:50%;background:var(--mint);box-shadow:0 0 0 5px rgba(143,240,194,.14)}
@media(max-width:360px){
  .wrap{padding-left:16px;padding-right:16px}
  .note,.panel,.book-card{padding:22px 18px}
  .form-panel{padding:22px 18px}
  .dock{gap:6px;padding-left:8px;padding-right:8px}
  .dock .btn{min-height:48px;padding-left:8px;padding-right:8px;font-size:14px}
  .dock .btn svg{width:19px;height:19px}
}

/* Keep both home CTAs immediately after their related promise lists. */
.actions--after-list{grid-column:2;grid-row:2;margin-top:0}
@media(max-width:980px){.actions--after-list{grid-column:1;grid-row:3;margin-top:8px}}
/* The background footage stays crisp and visible; the gradient protects text contrast. */
.hero--video::before{background:linear-gradient(90deg,rgba(14,42,43,.96) 0%,rgba(14,42,43,.88) 38%,rgba(14,42,43,.58) 68%,rgba(14,42,43,.24) 100%),linear-gradient(0deg,rgba(14,42,43,.24),transparent 62%)}
.hero--video .hero__video{opacity:.96;filter:contrast(1.1) saturate(1.06)}
@media(max-width:980px){.hero--video::before{background:linear-gradient(180deg,rgba(14,42,43,.95) 0%,rgba(14,42,43,.83) 48%,rgba(14,42,43,.42) 100%)}.hero--video .hero__video{opacity:.96}}
@media(max-width:680px){.hero--video::before{background:linear-gradient(180deg,rgba(14,42,43,.95) 0%,rgba(14,42,43,.85) 48%,rgba(14,42,43,.48) 100%)}}

/* Tighter rhythm between sections across large screens and phones. */
.sec{padding:64px 0}
.sec-head{margin-bottom:42px}
@media(max-width:680px){.sec{padding:42px 0}.sec-head{margin-bottom:28px}}
/* Booking steps: compact cards, readable type and clear separation of each decision. */
.booking-how .booking-intro{margin:14px 0 22px;color:var(--muted);font-size:17px;line-height:1.65;max-width:54ch}
.booking-how .steps-list{display:grid;gap:12px;counter-reset:s}
.booking-how .steps-list li{min-height:84px;margin:0;padding:15px 18px 16px 68px;border:1px solid var(--line);border-radius:16px;background:#fff;counter-increment:s}
.booking-how .steps-list li::before{left:14px;top:16px;width:38px;height:38px;font:700 16px/1 var(--sans)}
.booking-how .steps-list strong{margin:0 0 5px;font:700 17px/1.4 var(--sans);color:var(--text)}
.booking-how .steps-list span{display:block;font:400 15.5px/1.55 var(--sans);color:var(--muted)}
@media(max-width:680px){.booking-how .steps-list li{padding:14px 14px 15px 62px}.booking-how .steps-list span{font-size:15px}}
.plan-recommendation{margin-top:20px;padding:16px 18px;border-left:4px solid var(--mint);border-radius:0 12px 12px 0;background:rgba(126,240,188,.09)}
.plan-recommendation strong{display:block;margin-bottom:6px;color:var(--mint);font-size:15px}
.plan-recommendation p{margin:0;color:var(--muted-dark);font-size:15.5px;line-height:1.6}
