/* Base común de las demos de rediseño · ideasSEM · página /agencia-marketing-dental/ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
:root{--ink:#14161c;--ink2:#4a4d54;--mute:#6f737b;--gold:#DD9933;--gold-d:#b87a1f;--cream:#F7F4EC;--sand:#ECE4D2;--line:#e8e4da;--white:#fff;--r:16px}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Montserrat,system-ui,sans-serif;color:var(--ink);background:#fff;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.wrap{width:min(1180px,100% - 40px);margin-inline:auto}
.tag{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-d)}
h1,h2,h3{line-height:1.15;letter-spacing:-.01em}
h2{font-size:clamp(26px,3.2vw,38px);font-weight:800}
h3{font-size:19px;font-weight:700}
p.lead{font-size:18px;color:var(--ink2)}
.btn{display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 26px;border-radius:30px;font-weight:700;font-size:15px;border:2px solid var(--ink);background:var(--ink);color:#fff;cursor:pointer;transition:transform .15s,box-shadow .15s}
.btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px -10px rgba(20,22,28,.7)}
.btn.ghost{background:transparent;color:var(--ink)}
.btn.gold{background:var(--gold);border-color:var(--gold);color:var(--ink)}
.btn.sm{height:42px;padding:0 20px;font-size:14px}
.demo-badge{position:fixed;bottom:14px;left:14px;z-index:99;background:#14161c;color:#fff;font:700 11px/1 Montserrat,sans-serif;letter-spacing:.08em;padding:8px 12px;border-radius:20px;opacity:.85}
.hdr{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.hdr .wrap{display:flex;align-items:center;justify-content:space-between;height:68px;gap:24px}
.hdr img{height:36px;width:auto}
.hdr nav{display:flex;gap:28px;font-size:14px;font-weight:600}
.hdr nav a{padding:6px 0;border-bottom:2px solid transparent}
.hdr nav a.on,.hdr nav a:hover{border-color:var(--gold)}
.hdr.dark{background:rgba(20,22,28,.9);border-color:#2a2d36;color:#fff}
@media(max-width:860px){.hdr nav{display:none}.hdr .wrap{height:60px}}
details.faq{border-bottom:1px solid var(--line)}
details.faq summary{list-style:none;cursor:pointer;padding:20px 4px;font-weight:600;font-size:16px;display:flex;justify-content:space-between;gap:16px;align-items:center}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary::after{content:"+";font-size:24px;font-weight:400;color:var(--gold-d);transition:transform .2s}
details.faq[open] summary::after{transform:rotate(45deg)}
details.faq p{padding:0 4px 22px;color:var(--ink2);max-width:70ch}
form.f{display:grid;gap:12px}
form.f input{height:52px;border-radius:26px;border:1.5px solid #cfcabd;padding:0 20px;font:500 15px Montserrat,sans-serif;background:#fff;color:var(--ink)}
form.f input::placeholder{color:#8a8d94}
form.f label{display:flex;gap:10px;align-items:center;font-size:13px;color:var(--ink2)}
.logos{display:flex;gap:34px;flex-wrap:wrap;align-items:center;justify-content:center}
.logos img{height:46px;width:auto;mix-blend-mode:multiply;filter:grayscale(1);opacity:.75}
.sticky-bar{display:none}
@media(max-width:700px){
  body{padding-bottom:76px}
  .sticky-bar{display:flex;position:fixed;inset:auto 0 0 0;z-index:60;gap:10px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);box-shadow:0 -10px 24px -16px rgba(0,0,0,.35)}
  .sticky-bar .btn{flex:1;justify-content:center;height:48px;padding:0 14px;font-size:14px}
  .sticky-bar .btn.sq{flex:0 0 52px;padding:0}
  .btn{height:50px}
  p.lead{font-size:16px}
}
.foot{background:var(--ink);color:#cfd1d6;font-size:14px;padding:46px 0 30px;margin-top:0}
.foot .wrap{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:30px}
.foot h4{color:#fff;font-size:14px;margin-bottom:12px}
.foot a{display:block;padding:4px 0}
.foot .copy{grid-column:1/-1;border-top:1px solid #2a2d36;padding-top:18px;margin-top:10px;font-size:12px;color:#8c8f97}
@media(max-width:800px){.foot .wrap{grid-template-columns:1fr 1fr}}

/* ===== Marca de agua de diseño en el primer bloque (decorativa, solo CSS, sin texto en el HTML) =====
   Home: «We Are Digital» en gris cálido muy claro. Resto de páginas con hero: motivo por servicio (lupa SEO, diana SEM, ventana web, círculo 360); lupa por defecto. */
.hero{position:relative;overflow:hidden}
.hero>.wrap{position:relative;z-index:1}
body:not(.home) .hero::before{content:"";position:absolute;z-index:0;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 400%22%3E%3Ccircle cx=%22165%22 cy=%22165%22 r=%22118%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%225%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M120 105a70 70 0 0 1 55-22%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%225%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M252 252l112 112%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%2222%22 stroke-linecap=%22round%22/%3E%3Ccircle cx=%22165%22 cy=%22165%22 r=%22140%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E") no-repeat center/contain;width:600px;height:600px;right:300px;top:-70px}
body:not(.home) .hero.wm-sem::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 400%22%3E%3Ccircle cx=%22190%22 cy=%22210%22 r=%22140%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%225%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Ccircle cx=%22190%22 cy=%22210%22 r=%2296%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%225%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Ccircle cx=%22190%22 cy=%22210%22 r=%2252%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%225%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Ccircle cx=%22190%22 cy=%22210%22 r=%2214%22 fill=%22%23f5f3ef%22/%3E%3Ccircle cx=%22190%22 cy=%22210%22 r=%22162%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M190 210L330 70M330 70l4-36M330 70l36-4M300 100l4-30M300 100l30-4%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%225%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E")}
body:not(.home) .hero.wm-web::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 400%22%3E%3Crect x=%2244%22 y=%2270%22 width=%22312%22 height=%22250%22 rx=%2226%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%225%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Crect x=%2230%22 y=%2256%22 width=%22340%22 height=%22278%22 rx=%2234%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M44 126h312%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%225%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Ccircle cx=%2282%22 cy=%2298%22 r=%227%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%224%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Ccircle cx=%22110%22 cy=%2298%22 r=%227%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%224%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Ccircle cx=%22138%22 cy=%2298%22 r=%227%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%224%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Crect x=%2274%22 y=%22156%22 width=%22130%22 height=%2290%22 rx=%2210%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%224%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M74 156l130 90M204 156L74 246%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M232 176h92M232 206h92M232 236h60%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%224%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E")}
body:not(.home) .hero.wm-360::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 400%22%3E%3Ccircle cx=%22200%22 cy=%22200%22 r=%22150%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M200 50a150 150 0 1 1-106 44%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%225%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M70 70l24 24-34 8%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%225%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Ccircle cx=%22200%22 cy=%22200%22 r=%22104%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%223%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Ccircle cx=%22200%22 cy=%22200%22 r=%2258%22 fill=%22none%22 stroke=%22%23f5f3ef%22 stroke-width=%223%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E")}
body.home .hero::after{content:"We Are Digital";position:absolute;z-index:0;pointer-events:none;left:0;right:0;text-align:center;bottom:-.14em;white-space:nowrap;font:700 13.2vw/1 Montserrat,sans-serif;letter-spacing:-.02em;color:#faf9f7;user-select:none;overflow:hidden}
@media(max-width:900px){body:not(.home) .hero::before{width:400px;height:400px;top:auto;bottom:-70px;right:-60px;transform:none}}
@media print{.hero::before,.hero::after{display:none}}

/* Pie: línea de copyright centrada */
.foot .copy{text-align:center}

/* Hero: menos espacio superior (con migas encima, casi nada; sin migas, un poco más) */
section.hero{padding-top:28px}
.mg+section.hero{padding-top:12px}
@media(max-width:700px){section.hero{padding-top:20px}.mg+section.hero{padding-top:6px}}

/* Pie: arranque centrado, 5 columnas y contacto con iconos de línea fina */
.foot.fx .wrap{display:block}
.fx-an{text-align:center;padding:6px 0 30px;margin-bottom:30px;border-bottom:1px solid rgba(250,247,241,.14)}
.fx-an b{display:inline-block;font-size:24px;font-weight:600;color:#faf7f1;letter-spacing:-.01em}
.fx-an b::before,.fx-an b::after{content:"";display:inline-block;width:34px;height:1px;background:#DD9933;vertical-align:middle;margin:0 16px}
.fx-t2{margin:12px auto 0;max-width:62ch;font-size:15px;line-height:1.6;color:#e6e2d8}
.fx-g{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr 1.3fr;gap:30px}
.foot.fx .copy{text-align:center;grid-column:auto;margin-top:34px}
.fx-d{margin:14px 0 0;font-size:13px;letter-spacing:.04em;opacity:.8}
.foot .fx-ic{display:flex;gap:10px}
.foot a.fx-i{display:grid!important;place-items:center;width:42px;height:42px;padding:0!important;border-radius:50%!important;border:1px solid rgba(250,247,241,.35);color:#faf7f1!important;text-decoration:none!important;line-height:1;transition:border-color .2s,color .2s,transform .2s}
.foot a.fx-i span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.foot a.fx-i svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.foot a.fx-i:hover{border-color:#DD9933;color:#DD9933!important;transform:translateY(-2px)}
@media(max-width:900px){.fx-g{grid-template-columns:1fr 1fr}.fx-an b{font-size:19px}.fx-an b::before,.fx-an b::after{width:18px;margin:0 10px}}

/* Formulario: la casilla de privacidad ocupa todo el ancho y va en una línea */
.ids-cf7 .row>.wpcf7-form-control-wrap{grid-column:1/-1}
.ids-cf7 .wpcf7-acceptance .wpcf7-list-item-label{white-space:normal}

/* Pie en móvil: logo y contacto centrados, Servicios y De interés en dos columnas, Legal en una fila; más margen lateral */
@media(max-width:600px){
.foot.fx .wrap{padding-left:0;padding-right:0}.foot.fx{padding-bottom:104px}
.fx-an b{display:block;font-size:18px;line-height:1.3;text-wrap:balance}.fx-an b::before{display:none}.fx-an b::after{display:block;width:34px;height:1px;margin:12px auto 0}
.fx-g{grid-template-columns:1fr 1fr;gap:26px 22px}
.fx-g>div:first-child,.fx-g>div:last-child,.fx-g>div:nth-child(4){grid-column:1/-1;text-align:center}
.fx-g>div:first-child img{margin:0 auto 18px;display:block}
.fx-g>div:nth-child(4){display:flex;flex-wrap:wrap;justify-content:center;gap:4px 20px}.fx-g>div:nth-child(4) h4{flex:1 0 100%;margin-bottom:6px}
.fx-ic{justify-content:center}
.fx-an{padding-bottom:22px;margin-bottom:24px}.fx-t2{font-size:14px}
}
/* Página /sectores/ */
.sx-g{margin-top:34px}.sx-gh{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;border-bottom:1px solid #ece4d2;padding-bottom:10px;margin-bottom:16px}.sx-gh h3{margin:0;font-size:20px}.sx-gh p{margin:0;color:#6d6659;font-size:15px}
  .sx-cs{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.sx-c{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:12px;text-align:center;background:#fff;border:1px solid #ece4d2;border-radius:16px!important;padding:22px 12px 18px;text-decoration:none;color:#3f3e3c;transition:border-color .15s,transform .15s}
.sx-c:hover{border-color:#DD9933;transform:translateY(-2px)}.sx-c h3{margin:0;font-size:15px;line-height:1.3}
.sx-ic{display:grid;place-items:center;width:52px;height:52px;border-radius:50%!important;background:#f6f1e6}.sx-ic svg{width:26px;height:26px;fill:none;stroke:#c9a15a;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sx-p{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}.sx-pc{background:#faf7f1;border-radius:16px!important;padding:24px}.sx-pc h3{margin:10px 0 6px;font-size:18px}.sx-pc p{margin:0;font-size:15px;line-height:1.55;color:#4b4a47}
.sx-n{display:grid;place-items:center;width:34px;height:34px;border-radius:50%!important;background:#ece4d2;font-weight:700}
@media(max-width:1000px){.sx-cs{grid-template-columns:repeat(3,1fr)}.sx-p{grid-template-columns:1fr}}@media(max-width:560px){.sx-cs{grid-template-columns:repeat(2,1fr);gap:10px}.sx-c{padding:18px 8px 14px}}

/* Pie: columna «Agencia de marketing», fila de sectores y enlaces legales en el copyright */
.foot.fx h4 a{color:inherit!important;text-decoration:none!important}.foot.fx h4 a:hover{color:#DD9933!important}
.fx-s{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 0;margin-top:30px;padding-top:22px;border-top:1px solid rgba(250,247,241,.14);font-size:13px;line-height:1.5}
.fx-s b{flex:1 0 100%;text-align:center;margin-bottom:6px;font-size:12px;letter-spacing:.08em!important;text-transform:uppercase!important;font-weight:600}.fx-s b a{color:#faf7f1!important;text-decoration:none!important}.fx-s b a:hover{color:#DD9933!important}
.fx-s>a{flex:0 0 auto;color:#e6e2d8!important;text-decoration:none;padding:2px 0}.fx-s>a:hover{color:#DD9933!important}.fx-s>a:not(:last-child)::after{content:"·";margin:0 12px;color:#DD9933;font-weight:700}
.fx-s>a.fx-all{color:#DD9933!important;font-weight:600}.fx-s>a.fx-all:hover{color:#faf7f1!important}
.foot.fx .fx-lg{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 22px;margin-top:20px;padding-top:18px;border-top:1px solid rgba(250,247,241,.14);font-size:13px}.foot.fx .fx-lg b{flex:1 0 100%;text-align:center;margin-bottom:2px;font-size:12px;letter-spacing:.08em!important;text-transform:uppercase!important;font-weight:600;color:#faf7f1}.foot.fx .fx-lg a{color:#e6e2d8!important;text-decoration:none}.foot.fx .fx-lg a:hover{color:#DD9933!important}
@media(max-width:600px){.fx-s>a:not(:last-child)::after{margin:0 9px}}

/* Enlace «Ver todos los sectores» junto al botón del bloque de sectores */
.s2-fl .sv-go.s2-all{display:inline-block;margin:16px 0 0 18px;font-weight:600}@media(max-width:600px){.s2-fl .sv-go.s2-all{display:block;margin:14px 0 0}}

/* Botón «Pídenos presupuesto» bajo un bloque de tarjetas: separación para que no se pegue */
.sd-intro.sd-cta{margin-top:34px}@media(max-width:600px){.sd-intro.sd-cta{margin-top:26px}}

/* Rueda 360: fondo crema claro y panel blanco con sombra */
#rueda.wh-s{background:#faf7f1}
#rueda .wh-ds{background:#fff;box-shadow:0 22px 44px -26px rgba(63,62,60,.45),0 2px 8px rgba(63,62,60,.07)!important}

/* Tarjetas de sector bajo un H2 (páginas paraguas): separación con el título */
h2+.sx-cs{margin-top:32px!important}
@media(max-width:700px){h2+.sx-cs{margin-top:24px!important}}

/* «Qué hacemos» en formato de fichas antiguo (salud, turismo): ficha blanca con sombra como el resto de la web */
.sd-inc .sd-fgrid .fz{background:#fff;border-radius:20px!important;padding:16px 16px 22px;box-shadow:0 22px 44px -26px rgba(63,62,60,.45),0 3px 8px rgba(63,62,60,.06)!important}
.sd-inc .sd-fgrid .fz .ft{padding:0 6px}
.nos-360 .sd-fgrid .fz{background:#fff!important;border-radius:20px!important;padding:16px 16px 22px;box-shadow:0 22px 44px -26px rgba(63,62,60,.45),0 3px 8px rgba(63,62,60,.06)!important}
.nos-360 .sd-fgrid .fz .ft{padding:0 6px}

/* Blog: índice generado, caja «También te interesa» y cita (sustituyen a [toc], [su_box] y [bctt]) */
.bl-toc{background:#faf7f1;border-radius:20px;padding:22px 26px;margin:0 0 28px;box-shadow:0 18px 38px -26px rgba(63,62,60,.4)}
.bl-toc b{display:block;font-size:16px;margin-bottom:10px;color:#2b2e36}
.bl-toc ol{margin:0;padding-left:20px}.bl-toc li{margin:6px 0;font-size:15px;line-height:1.5}.bl-toc a{color:#2b2e36;text-decoration:underline;text-decoration-color:#E4B665;text-underline-offset:3px}
.bl-box{background:#faf7f1;border-left:4px solid #DD9933;border-radius:0 16px 16px 0;padding:16px 22px;margin:22px 0}.bl-box b{display:block;margin-bottom:6px}
.bl-q{border-left:4px solid #DD9933;margin:24px 0;padding:6px 0 6px 20px;font-size:18px;line-height:1.55;color:#2b2e36}
.bl-body h2[id]{scroll-margin-top:110px}

/* POPUP MÓVIL (3-dic): hoja inferior, botón Enviar fijo, menos campos y táctil. Solo ≤640 px y solo dentro del popup #contacto */
@media(max-width:640px){
.ids-modal{align-items:flex-end!important;padding:0!important;overflow:hidden!important}
.ids-modal .ids-modal-box{max-width:none!important;width:100%!important;max-height:92vh!important;max-height:92dvh!important;border-radius:24px 24px 0 0!important;padding:22px 18px 0!important;display:flex!important;flex-direction:column;gap:12px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.ids-modal .ids-modal-x{top:6px!important;right:6px!important;width:44px;height:44px;font-size:30px!important;display:flex;align-items:center;justify-content:center;z-index:3}
.ids-modal .ids-modal-box h2{font-size:20px!important;margin:0!important;padding-right:40px}
.ids-modal .ids-modal-box>p{margin:0!important;font-size:14px;line-height:1.45}
.ids-modal .ids-cf7,.ids-modal .ids-cf7 .wpcf7,.ids-modal .ids-cf7 .wpcf7-form,.ids-modal .ids-cf7 .row,.ids-modal .ids-cf7 .col-lg-12:has(.wpcf7-submit),.ids-modal .ids-cf7 .form-group:has(.wpcf7-submit){display:contents}
.ids-modal .ids-cf7 .col-lg-12:has(#contact-subject){display:none}
.ids-modal .ids-cf7 .form-group>label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.ids-modal .ids-cf7 input[type=text],.ids-modal .ids-cf7 input[type=email],.ids-modal .ids-cf7 input[type=tel]{padding:13px 16px;min-height:48px}
.ids-modal .ids-cf7 textarea{padding:13px 16px;height:72px;min-height:72px}
.ids-modal .ids-cf7 .wpcf7-acceptance{margin:0;font-size:12px;line-height:1.3}
.ids-modal .ids-cf7 .wpcf7-acceptance label{display:flex;gap:10px;align-items:center;min-height:44px;font-size:12px}
.ids-modal .ids-cf7 input[type=checkbox]{width:22px;height:22px;flex:none;accent-color:#DD9933}
.ids-modal .ids-cf7 input[type=submit]{position:sticky;bottom:0;width:100%;justify-content:center;min-height:52px;margin:6px 0 0;box-shadow:0 -14px 14px -6px #fff;z-index:2}
.ids-modal .ids-modal-box::after{content:"";flex:none;height:max(14px,env(safe-area-inset-bottom))}
.ids-modal .ids-cf7 .wpcf7-response-output{margin:0!important;font-size:13px}
.ids-modal .ids-cf7 .wpcf7-spinner{position:absolute;right:26px;bottom:26px;margin:0}
}
/* reCAPTCHA v3: insignia oculta + aviso legal de Google en el formulario */
.grecaptcha-badge{visibility:hidden!important}
.ids-cf7 .wpcf7-form p.ids-gr{font-size:10px!important;line-height:1.3!important;color:#9aa0a6;margin:2px 0 6px!important;width:100%;padding:0 15px;white-space:nowrap}
.ids-cf7 p.ids-gr a{color:inherit;text-decoration:underline}
/* Confirmación y errores del formulario */
.ids-cf7 .ids-ok{display:none}
.ids-cf7.ids-sent form.wpcf7-form{display:none!important}
.ids-cf7.ids-sent .ids-ok{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:34px 22px 26px;animation:idsok .35s ease both}
.ids-ok-ic{width:68px;height:68px;border-radius:50%;background:#F7F4EC;border:1px solid #ECE4D2;display:flex;align-items:center;justify-content:center;margin-bottom:4px}
.ids-ok-ic svg{width:34px;height:34px;stroke:#DD9933;fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.ids-ok-ic path{stroke-dasharray:30;stroke-dashoffset:30;animation:idsck .5s .15s ease forwards}
.ids-ok h3{margin:0;font:700 22px/1.25 Montserrat,sans-serif;color:#14161c;outline:0}
.ids-ok p{margin:0;max-width:420px;font-size:15px;line-height:1.5;color:#4a4d54}
.ids-ok-a{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:8px;width:100%}
.ids-ok-a a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 20px;border-radius:14px;font:600 15px Montserrat,sans-serif;text-decoration:none;color:#2b2e36;background:#faf7f1;border:1px solid #ece4d2}
.ids-ok-a a svg{width:18px;height:18px;flex:none;stroke:#DD9933;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ids-ok-n{margin-top:6px;background:none;border:0;color:#6f737b;font:500 13px Montserrat,sans-serif;text-decoration:underline;cursor:pointer;padding:8px}
.ids-modal-box.ids-sent>:not(.ids-cf7):not(.ids-modal-x){display:none!important}
.ids-modal .ids-cf7.ids-sent .ids-ok{padding:26px 6px 22px}
.ids-cf7 .wpcf7 form.sent .wpcf7-response-output{display:none}
.ids-cf7 .wpcf7 form.invalid .wpcf7-response-output,.ids-cf7 .wpcf7 form.failed .wpcf7-response-output,.ids-cf7 .wpcf7 form.spam .wpcf7-response-output,.ids-cf7 .wpcf7 form.unaccepted .wpcf7-response-output,.ids-cf7 .wpcf7 form.aborted .wpcf7-response-output{margin:12px 0 0!important;padding:11px 14px!important;border:1px solid #f0c4bb!important;border-radius:12px;background:#fdf1ef;color:#8a2d20;font-size:13.5px;line-height:1.4}
.ids-cf7 .wpcf7-not-valid-tip{color:#b3382a;font-size:12px;margin-top:4px}
.ids-cf7 .wpcf7-not-valid{border-color:#d9776a!important;background:#fffafa}
@keyframes idsok{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes idsck{to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){.ids-cf7.ids-sent .ids-ok,.ids-ok-ic path{animation:none;stroke-dashoffset:0}}
/* Banner de cookies (Complianz) */
#cmplz-cookiebanner-container .cmplz-cookiebanner{font-family:Montserrat,system-ui,sans-serif!important;color:#2b2e36!important;border:0!important;border-radius:20px!important;box-sizing:border-box;padding:22px 24px!important;gap:0!important;animation:none!important;transform:none!important;margin:0!important;display:flex!important;flex-direction:column;grid-template-columns:none!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-hidden,#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-dismissed{display:none!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner>*{width:auto!important;max-width:none!important;margin-left:0!important;margin-right:0!important;min-width:0!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header{padding:0!important;margin:0 0 8px!important;display:flex!important;align-items:center;justify-content:space-between}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-logo,#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-divider{display:none!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-title{font-size:16px!important;font-weight:700!important;color:#2b2e36!important;margin:0!important;line-height:1.3!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close{opacity:.45}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-body{padding:0!important;margin:0!important;max-height:none!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message{font-size:13.5px!important;line-height:1.55!important;color:#6f737b!important;margin:0 0 14px!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories{margin:0 0 12px!important;max-height:34vh;overflow:auto}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category{border:0!important;border-top:1px solid #ece4d2!important;border-radius:0!important;background:transparent!important;padding:10px 0!important;margin:0!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category summary,#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category-title{font-size:13.5px!important;font-weight:600!important;color:#2b2e36!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-description,#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-description span{font-size:12.5px!important;line-height:1.5!important;color:#6f737b!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links.cmplz-information{display:none!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons{display:flex!important;flex-direction:row!important;flex-wrap:wrap;width:auto!important;gap:10px!important;padding:0!important;margin:0!important;align-items:center}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn{font-family:inherit!important;font-size:14px!important;font-weight:600!important;line-height:1!important;height:44px!important;padding:0 20px!important;border-radius:12px!important;cursor:pointer;transition:background .15s,color .15s,border-color .15s;margin:0!important;box-shadow:none!important;min-width:0!important;max-width:none!important;width:auto!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-accept{background:#2b2e36!important;border:2px solid #2b2e36!important;color:#fff!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover{background:#14161c!important;border-color:#14161c!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-deny{background:transparent!important;border:2px solid #2b2e36!important;color:#2b2e36!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-deny:hover{background:#f3ecda!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences,#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences{background:transparent!important;border:0!important;color:#b87a1f!important;height:auto!important;padding:6px 4px!important;text-decoration:underline;text-underline-offset:3px;font-weight:400!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences{background:#2b2e36!important;color:#fff!important;text-decoration:none;height:44px!important;padding:0 20px!important;border:2px solid #2b2e36!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-documents{display:block!important;margin:14px 0 0!important;padding:0!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-documents ul{display:flex!important;gap:14px;flex-wrap:wrap;margin:0!important;padding:0!important;list-style:none!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-documents li{margin:0!important;padding:0!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-documents a{font-size:12px!important;color:#6f737b!important;text-decoration:underline;text-underline-offset:2px}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-manage-options{display:none!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner{background:#faf7f1!important;border:1px solid #ece4d2!important;box-shadow:0 22px 44px -18px rgba(63,62,60,.45),0 3px 10px rgba(63,62,60,.08)!important;width:min(400px,calc(100vw - 24px))!important;max-width:none!important;right:20px!important;left:auto!important;bottom:20px!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-accept,#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences{background:#f0e6cc!important;border:2px solid #e0d2ab!important;color:#2b2e36!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover,#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences:hover{background:#e8dbb8!important;border-color:#d6c8a2!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-deny{background:#faf7f1!important;border:2px solid #e6dcc3!important;color:#2b2e36!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-deny:hover{background:#f3ecda!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-accept,#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-deny{flex:1 1 0}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-view-preferences{flex:1 1 100%;text-align:center}
@media(max-width:600px){#cmplz-cookiebanner-container .cmplz-cookiebanner{left:12px!important;right:12px!important;width:auto!important;bottom:12px!important;padding:16px!important}#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-title{font-size:15px!important}#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message{font-size:13px!important;margin-bottom:12px!important}#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-documents{margin-top:10px!important}#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn{height:42px!important}}
/* Sectores: tarjetas de subniveles SEO igual que en la principal; botón Estrategia 360 sin descuadre; logo completo en el panel móvil */
.sx-sv{display:flex;flex-direction:column;text-decoration:none!important;color:inherit}
.sx-sv p{flex:1}
.sx-sv .sv-go{align-self:flex-start;margin-top:14px;font-size:14px!important;font-weight:600;color:#2b2e36!important;text-decoration:underline;text-decoration-color:#E4B665;text-underline-offset:5px}
.sx-sv:hover .sv-go{text-decoration-color:#2b2e36}
.c360 a.c360-btn{height:auto!important;min-height:48px;padding:12px 24px!important;line-height:1.3;text-align:left;border-radius:28px!important}
.c360 a.c360-btn svg{flex:none}
.ids-brand img{border-radius:0!important;height:40px;width:auto;object-fit:contain}
@media(max-width:600px){.c360 a.c360-btn{display:flex!important;width:100%;justify-content:center;text-align:center;text-wrap:balance}}
