/* =====================================================================
   proyecto3dvalencia.es · diseño «Estudio» (dic-2026)
   Editorial y claro: papel cálido, tinta, bronce del logo, titulares en Playfair Display.
   Se aplica encima de las plantillas (que llevan estilos en línea) con html.p26 y !important.
   ===================================================================== */
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:400 900;font-display:swap;src:url(/static/fonts/playfair-latin-normal.woff2) format('woff2')}
@font-face{font-family:'Playfair Display';font-style:italic;font-weight:400 900;font-display:swap;src:url(/static/fonts/playfair-latin-italic.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url(/static/fonts/inter-latin-400-800.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url(/static/fonts/inter-latin-ext-400-800.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

html.p26{
  --papel:#F3EEE6;--arena:#EAE2D5;--blanco:#FFFCF7;--tinta:#16130F;--tinta-2:#38322B;--gris:#6A6156;
  --linea:rgba(22,19,15,.12);--linea-2:rgba(22,19,15,.22);--bronce:#8A6639;--bronce-vivo:#B4824A;--oro:#D6A66B;--noche:#15120F;--noche-2:#211C17;
  --serif:'Playfair Display',Georgia,'Times New Roman',serif;--sans:Inter,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --sombra:0 1px 0 rgba(22,19,15,.04),0 22px 44px -30px rgba(22,19,15,.45);
  background:var(--papel)!important;color-scheme:light
}
html.p26 body{background:var(--papel)!important}
html.p26 [data-bg="base"]{background:var(--papel)!important;color:var(--tinta-2)!important;font-family:var(--sans)!important;font-size:17px!important;line-height:1.68!important;-webkit-font-smoothing:antialiased}
html.p26 ::selection{background:var(--oro);color:var(--tinta)}
html.p26 a{color:var(--bronce)}
html.p26 a:hover{color:var(--tinta)}

/* fuera la cuadrícula y los halos de fondo; la barra de progreso se queda, en bronce */
html.p26 [data-amb]{display:none!important}
html.p26 [data-progress]{background:var(--bronce-vivo)!important;height:3px!important}

/* ---------- tipografía ---------- */
html.p26 h1,html.p26 h2,html.p26 h3,html.p26 [style*="font-family:Archivo"]{font-family:var(--serif)!important;text-transform:none!important;letter-spacing:-.012em!important;font-feature-settings:"lnum" 1,"kern" 1}
html.p26 h1{font-weight:600!important;line-height:1.02!important;text-wrap:balance}
html.p26 h2{font-weight:600!important;font-size:clamp(30px,3.5vw,54px)!important;line-height:1.07!important;color:var(--tinta)!important;text-wrap:balance;max-width:22ch}
html.p26 h3{font-weight:600!important;line-height:1.15!important;color:var(--tinta)!important}
html.p26 [style*="font-family:Archivo"]:not(h1):not(h2):not(h3){font-weight:600!important;line-height:1.15!important}
html.p26 [data-bg="base"] p,html.p26 [data-bg="base"] li,html.p26 [data-bg="base"] td,html.p26 [data-bg="base"] dd{color:var(--tinta-2)!important}
html.p26 [data-bg="base"] p{text-wrap:pretty}
html.p26 strong,html.p26 b{color:var(--tinta)}
/* rótulos pequeños en mayúsculas (antetítulos y migas) */
html.p26 [style*="letter-spacing:.22em"],html.p26 [style*="letter-spacing:.18em"],html.p26 [style*="letter-spacing:.2em"]{font-family:var(--sans)!important;font-size:12px!important;font-weight:600!important;letter-spacing:.16em!important;color:var(--bronce)!important}
html.p26 [style*="letter-spacing:.14em"]{font-family:var(--sans)!important;font-size:12.5px!important;letter-spacing:.12em!important}

/* ---------- marcas de color de las plantillas ---------- */
html.p26 [data-fg="text"]{color:var(--tinta)!important}
html.p26 [data-fg="muted"]{color:var(--gris)!important}
html.p26 [data-accent-fg]{color:var(--bronce)!important}
html.p26 [data-line]{border-color:var(--linea)!important}
html.p26 [data-accent-line]{border-color:var(--bronce-vivo)!important}
html.p26 section[data-bg="panel"]{background:var(--arena)!important}
html.p26 [data-bg="panel"]:not(section){background:var(--blanco)!important;border-color:var(--linea)!important;border-radius:16px!important;box-shadow:var(--sombra)}
/* colores claros escritos en línea que no llevan marca */
html.p26 [style*="color:#F4F1EC"],html.p26 [style*="color:#E9E2D6"],html.p26 [style*="color:#F5F2ED"]{color:var(--tinta)!important}
html.p26 [style*="color:#C9C2B6"],html.p26 [style*="color:#B9B3A9"],html.p26 [style*="color:#9C978F"],html.p26 [style*="color:#8F8B85"],html.p26 [style*="color:#7C7872"]{color:var(--gris)!important}
html.p26 [style*="background:#131315"],html.p26 [style*="background:#0E0E10"]{background:var(--blanco)!important}
html.p26 [style*="border:1px solid rgba(255,255,255"],html.p26 [style*="border-top:1px solid rgba(255,255,255"],html.p26 [style*="border-bottom:1px solid rgba(255,255,255"]{border-color:var(--linea)!important}

/* ---------- zonas oscuras: cabecera con imagen, bandas propias, pie ---------- */
html.p26 .p26-hero,html.p26 .p26-oscuro,html.p26 footer{color:#F2ECE2!important}
html.p26 .p26-hero h1,html.p26 .p26-hero h2,html.p26 .p26-oscuro h2,html.p26 .p26-oscuro h3,html.p26 footer h2,html.p26 footer h3,
html.p26 .p26-hero [data-fg="text"],html.p26 .p26-oscuro [data-fg="text"],html.p26 footer [data-fg="text"],
html.p26 .p26-hero [style*="color:#fff"],html.p26 .p26-hero [style*="color:#F4F1EC"],html.p26 .p26-hero [style*="color:#E9E2D6"],html.p26 .p26-oscuro [style*="color:#fff"],html.p26 .p26-oscuro h1,
html.p26 footer [style*="color:#F4F1EC"],html.p26 footer [style*="color:#E9E2D6"]{color:#FFFFFF!important}
html.p26 .p26-hero p,html.p26 .p26-hero li,html.p26 .p26-oscuro p,html.p26 .p26-oscuro li,html.p26 footer p,html.p26 footer li,
html.p26 .p26-hero [data-fg="muted"],html.p26 .p26-oscuro [data-fg="muted"],html.p26 footer [data-fg="muted"],
html.p26 .p26-hero [style*="color:#C9C2B6"],html.p26 .p26-hero [style*="color:#9C978F"],html.p26 .p26-oscuro [style*="color:#C9C2B6"],html.p26 .p26-oscuro [style*="color:#9C978F"],html.p26 .p26-oscuro [style*="color:#DCD6CC"],html.p26 footer [style*="color:#C9C2B6"],html.p26 footer [style*="color:#9C978F"],html.p26 footer [style*="color:#8F8B85"],html.p26 footer [style*="color:#7C7872"]{color:rgba(242,236,226,.80)!important}
html.p26 .p26-hero a:not([data-accent-bg]),html.p26 footer a:not([data-accent-bg]),html.p26 section.p26-oscuro a:not([data-accent-bg]):not(.p26-btn):not(.p26-nota){color:#F2ECE2!important}
html.p26 .p26-hero [data-accent-fg],html.p26 .p26-oscuro [data-accent-fg],html.p26 footer [data-accent-fg],
html.p26 .p26-hero [style*="letter-spacing:.22em"],html.p26 .p26-oscuro .p26-eti,html.p26 footer [style*="letter-spacing:.22em"]{color:var(--oro)!important}
html.p26 .p26-hero [data-line],html.p26 footer [data-line]{border-color:rgba(255,255,255,.16)!important}

/* cabecera de página con imagen: el render a todo color y un velo cálido solo a la izquierda */
html.p26 .p26-hero{background:var(--noche)!important}
html.p26 .p26-hero > div[style*="position:absolute;inset:0"] img{opacity:1!important}
html.p26 .p26-hero > div[style*="linear-gradient"]{background:linear-gradient(100deg,rgba(18,15,12,.94) 0%,rgba(18,15,12,.80) 38%,rgba(18,15,12,.40) 70%,rgba(18,15,12,.10) 100%)!important}
html.p26 .p26-hero h1{font-size:clamp(36px,5.2vw,82px)!important;max-width:16ch}
html.p26 .p26-hero p{font-size:clamp(17px,1.25vw,20px)!important;max-width:58ch!important;line-height:1.6!important}
/* cabecera sin imagen (páginas de ciudad y de Valencia por servicio) */
html.p26 .p26-hero-claro h1{color:var(--tinta)!important;font-size:clamp(36px,5vw,76px)!important;max-width:18ch}

/* ---------- botones (dorado ámbar, 2-dic) ---------- */
html.p26{--cta:linear-gradient(135deg,#F2C47A 0%,#E2A04A 48%,#C9822F 100%);--cta-hover:linear-gradient(135deg,#F7D394 0%,#EBAE5A 48%,#D58E38 100%);--cta-sombra:0 16px 34px -12px rgba(201,130,47,.75),0 0 0 1px rgba(150,95,30,.18) inset}
html.p26 a[data-accent-bg],html.p26 .p26-btn{
  background:var(--cta)!important;color:var(--tinta)!important;font-family:var(--sans)!important;font-size:15.5px!important;font-weight:700!important;
  letter-spacing:0!important;text-transform:none!important;line-height:1!important;padding:9px 9px 9px 24px!important;border-radius:999px!important;
  display:inline-flex!important;align-items:center!important;gap:16px!important;border:0!important;text-decoration:none!important;position:relative;overflow:hidden;isolation:isolate;
  box-shadow:var(--cta-sombra)!important;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s,filter .35s!important;white-space:nowrap
}
html.p26 a[data-accent-bg]::before,html.p26 .p26-btn::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.55) 50%,transparent 70%);transform:translateX(-120%);transition:transform .8s cubic-bezier(.2,.8,.2,1)}
html.p26 a[data-accent-bg]::after,html.p26 .p26-btn::after{
  content:"";flex:0 0 auto;width:38px;height:38px;border-radius:999px;background:var(--tinta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F0C27E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/17px no-repeat;
  transition:transform .35s cubic-bezier(.2,.8,.2,1)
}
html.p26 a[data-accent-bg]:hover,html.p26 .p26-btn:hover{background:var(--cta-hover)!important;color:var(--tinta)!important;transform:translateY(-2px)!important;box-shadow:0 22px 44px -14px rgba(201,130,47,.9),0 0 0 1px rgba(150,95,30,.2) inset!important}
html.p26 a[data-accent-bg]:hover::before,html.p26 .p26-btn:hover::before{transform:translateX(120%)}
html.p26 a[data-accent-bg]:hover::after,html.p26 .p26-btn:hover::after{transform:translateX(3px)}
html.p26 a[data-accent-bg]:focus-visible,html.p26 .p26-btn:focus-visible{outline:3px solid var(--tinta)!important;outline-offset:3px}
/* en zonas oscuras, el halo brilla más */
html.p26 .p26-hero a[data-accent-bg],html.p26 .p26-oscuro a[data-accent-bg],html.p26 .p26-oscuro .p26-btn,html.p26 footer a[data-accent-bg],html.p26 .p26-resenas .p26-btn,html.p26 .p26-cierre .p26-btn{box-shadow:0 0 0 1px rgba(255,220,160,.35) inset,0 18px 46px -10px rgba(226,160,74,.7)!important}
html.p26 .p26-hero a[data-accent-bg]:hover,html.p26 .p26-oscuro a[data-accent-bg]:hover,html.p26 .p26-oscuro .p26-btn:hover{background:var(--cta-hover)!important;color:var(--tinta)!important}
@media (prefers-reduced-motion:reduce){html.p26 a[data-accent-bg]::before,html.p26 .p26-btn::before{display:none}}
/* botón de la cabecera, más compacto */
html.p26 header .cta-cabecera{font-size:14px!important;padding:6px 6px 6px 18px!important;gap:12px!important}
html.p26 header .cta-cabecera::after{width:32px;height:32px;background-size:15px}
/* botones de contorno */
html.p26 a[style*="border-radius:999px"][style*="border:1px solid"]:not([data-accent-bg]){border:1.5px solid var(--tinta)!important;color:var(--tinta)!important;font-family:var(--sans)!important;text-transform:none!important;letter-spacing:0!important;font-weight:600!important;font-size:15px!important;background:transparent!important}
html.p26 a[style*="border-radius:999px"][style*="border:1px solid"]:not([data-accent-bg]):hover{background:var(--tinta)!important;color:#FFFCF7!important}
html.p26 .p26-hero a[style*="border-radius:999px"][style*="border:1px solid"]:not([data-accent-bg]),html.p26 .p26-oscuro a[style*="border-radius:999px"][style*="border:1px solid"]:not([data-accent-bg]){border-color:rgba(255,255,255,.7)!important;color:#fff!important}
html.p26 .p26-hero a[style*="border-radius:999px"][style*="border:1px solid"]:not([data-accent-bg]):hover{background:#fff!important;color:var(--tinta)!important}
html.p26 button[type=submit]{background:var(--cta)!important;color:var(--tinta)!important;box-shadow:var(--cta-sombra)!important;border-radius:999px!important;font-weight:650!important;letter-spacing:0!important;text-transform:none!important}
html.p26 button[type=submit]:hover{background:var(--cta-hover)!important;color:var(--tinta)!important}

/* ---------- cabecera fija ---------- */
html.p26 header[data-header]{background:rgba(243,238,230,.86)!important;border-bottom:1px solid var(--linea)!important;backdrop-filter:blur(16px) saturate(1.2)!important}
html.p26 header[data-header] nav a,html.p26 header[data-header] nav .nav-serv > a{font-family:var(--sans)!important;font-size:14.5px!important;letter-spacing:0!important;text-transform:none!important;font-weight:550!important;color:var(--tinta)!important}
html.p26 header[data-header] nav a:hover{color:var(--bronce)!important}
html.p26 .nav-menu{background:var(--blanco)!important;border:1px solid var(--linea)!important;box-shadow:var(--sombra)!important}
html.p26 .btn-hamb{color:var(--tinta)!important;border-color:var(--linea-2)!important}
html.p26 [data-tema],html.p26 .btn-tema{display:none!important}
@media (max-width:1180px){html.p26.menu-abierto header[data-header]{background:var(--papel)!important}}

/* ---------- pie ---------- */
html.p26 footer,html.p26 footer[data-bg="panel"]:not(section){background:var(--noche)!important;border-top:0!important;border-radius:0!important;box-shadow:none!important}
html.p26 footer img{filter:none}

/* ---------- bloques de contenido ---------- */
html.p26 .p26-ancho{max-width:1240px;margin:0 auto;padding:0 clamp(18px,4vw,48px)}
html.p26 .p26-eti{display:inline-flex;align-items:center;gap:12px;font:600 12px/1 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--bronce);margin:0 0 18px}
html.p26 .p26-eti::before{content:"";width:28px;height:1.5px;background:currentColor;opacity:.75}
html.p26 .p26-sec{padding:clamp(64px,8vw,120px) 0;position:relative;z-index:1}
html.p26 .p26-sec h2{margin:0 0 18px}
html.p26 .p26-entradilla{font-size:clamp(17px,1.3vw,20px);line-height:1.6;color:var(--tinta-2);max-width:60ch;margin:0}

/* título a la izquierda, texto a la derecha (secciones añadidas) */
html.p26 .p26-2col{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(28px,5vw,88px);align-items:start}
html.p26 .p26-2col > .p26-2col-tit{position:sticky;top:110px}
html.p26 .p26-2col > .p26-2col-tit h2{max-width:14ch}
html.p26 .p26-2col p{font-size:17.5px;line-height:1.72;max-width:66ch;margin:0 0 18px}
html.p26 .p26-2col > div:not(.p26-2col-tit) > p:first-of-type{font-size:clamp(18.5px,1.45vw,21px);line-height:1.6;color:var(--tinta)!important}
@media (max-width:960px){html.p26 .p26-2col{grid-template-columns:1fr;gap:18px}html.p26 .p26-2col > .p26-2col-tit{position:static}}

/* listas con marca de bronce */
html.p26 .p26-2col ul,html.p26 .lista-mejora{list-style:none!important;padding:0!important;margin:8px 0 24px!important;display:grid;gap:12px}
html.p26 .p26-2col ul li,html.p26 .lista-mejora li{position:relative;padding:14px 18px 14px 50px!important;background:var(--blanco);border:1px solid var(--linea);border-radius:12px;margin:0!important;line-height:1.55}
html.p26 .p26-2col ul li::before,html.p26 .lista-mejora li::before{content:"";position:absolute;left:16px;top:16px;width:20px;height:20px;border-radius:999px;background:var(--tinta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D6A66B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat}

/* «En resumen» */
html.p26 .resumen-ia{background:var(--blanco)!important;border:1px solid var(--linea)!important;border-left:0!important;border-radius:20px!important;padding:clamp(26px,3vw,40px) clamp(24px,3vw,44px) clamp(26px,3vw,40px) clamp(64px,6vw,96px)!important;position:relative;box-shadow:var(--sombra);max-width:980px!important}
html.p26 .resumen-ia::before{content:"“";position:absolute;left:clamp(18px,2vw,30px);top:clamp(6px,1vw,14px);font:italic 600 clamp(64px,6vw,96px)/1 var(--serif);color:var(--oro)}
html.p26 .resumen-ia p{font-family:var(--serif)!important;font-size:clamp(19px,1.6vw,24px)!important;line-height:1.5!important;color:var(--tinta)!important}

/* preguntas frecuentes */
html.p26 details{background:var(--blanco)!important;border:1px solid var(--linea)!important;border-radius:14px!important;padding:20px 24px!important;margin:0 0 12px!important;transition:box-shadow .3s}
html.p26 details[open]{box-shadow:var(--sombra)}
html.p26 details summary{font-family:var(--serif)!important;text-transform:none!important;letter-spacing:0!important;font-size:clamp(17px,1.4vw,21px)!important;font-weight:600!important;color:var(--tinta)!important}
html.p26 details summary span{color:var(--bronce)!important;transition:transform .3s}
html.p26 details[open] summary span{transform:rotate(45deg)}
html.p26 details p{margin-top:12px!important;font-size:16.5px!important;line-height:1.7!important}

/* tarjetas y galerías */
html.p26 .hv6,html.p26 .hv11,html.p26 .hv-post{transition:transform .5s cubic-bezier(.2,.8,.2,1),box-shadow .5s!important}
html.p26 .hv6:hover,html.p26 .hv11:hover,html.p26 .hv-post:hover{transform:translateY(-6px)!important;box-shadow:0 30px 60px -34px rgba(22,19,15,.55)!important;border-color:var(--bronce-vivo)!important}
html.p26 .galeria-item img{border-radius:12px}
/* tarjetas con imagen de fondo: texto claro */
html.p26 [data-bg="panel"]:has(> .tarjeta-fondo){background:var(--noche)!important}
html.p26 [data-bg="panel"]:has(> .tarjeta-fondo) [data-fg="text"],html.p26 [data-bg="panel"]:has(> .tarjeta-fondo) [style*="color:#F4F1EC"]{color:#fff!important}
html.p26 [data-bg="panel"]:has(> .tarjeta-fondo) [data-fg="muted"],html.p26 [data-bg="panel"]:has(> .tarjeta-fondo) p{color:rgba(255,255,255,.82)!important}
html.p26 [data-bg="panel"]:has(> .tarjeta-fondo) [data-accent-fg]{color:var(--oro)!important}

/* formularios */
html.p26 .form-pro input,html.p26 .form-pro select,html.p26 .form-pro textarea{background:var(--blanco)!important;color:var(--tinta)!important;border:1px solid var(--linea-2)!important;border-radius:12px!important}
html.p26 .form-pro label{color:var(--tinta-2)!important}

/* mapa y ficha de contacto */
html.p26 .mapa-fondo{background:radial-gradient(circle at 62% 45%,rgba(180,130,74,.22),rgba(180,130,74,0) 30%),var(--arena)!important}
html.p26 .mapa-tarjeta{background:var(--blanco)!important;box-shadow:var(--sombra)}
html.p26 .zonas-lista .zona{border-color:var(--linea)!important}

/* cookies y WhatsApp */
html.p26 .cookies{background:var(--blanco)!important;color:var(--tinta-2)!important;border:1px solid var(--linea)!important;box-shadow:var(--sombra)!important}
html.p26 .cookies strong{color:var(--tinta)!important}
html.p26 .cookies .acepta{background:var(--tinta)!important;color:#fff!important}
html.p26 .cookies .rechaza{background:transparent!important;color:var(--tinta)!important;border:1px solid var(--linea-2)!important}

/* =================== componentes nuevos =================== */
/* franja de confianza */
html.p26 .p26-franja{position:relative;z-index:2;background:var(--blanco);border-bottom:1px solid var(--linea)}
html.p26 .p26-franja .p26-ancho{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));grid-auto-flow:column}
html.p26 .p26-dato{display:flex;flex-direction:column;gap:6px;padding:26px clamp(12px,2vw,26px);border-left:1px solid var(--linea);color:var(--tinta)!important;text-decoration:none}
html.p26 .p26-dato:first-child{border-left:0}
html.p26 .p26-dato b{font:600 clamp(26px,2.4vw,36px)/1 var(--serif);color:var(--tinta)}
html.p26 .p26-dato b i{font-style:normal;color:var(--bronce-vivo);font-size:.8em;margin-left:4px}
html.p26 .p26-dato span{font-size:13.5px;line-height:1.35;color:var(--gris)}
html.p26 a.p26-dato:hover b{color:var(--bronce)}
@media (max-width:900px){html.p26 .p26-franja .p26-ancho{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;padding:0}html.p26 .p26-dato{border-left:0;border-top:1px solid var(--linea)}html.p26 .p26-dato:nth-child(even){border-left:1px solid var(--linea)}html.p26 .p26-dato:last-child{grid-column:1/-1}}

/* entradilla que antes se amontonaba sobre la imagen */
html.p26 .p26-intro{padding:clamp(56px,7vw,100px) 0 clamp(24px,3vw,40px)}
html.p26 .p26-intro-txt{max-width:900px}
html.p26 .p26-intro-txt p{font-size:17.5px;line-height:1.72;max-width:70ch;margin:0 0 16px}
html.p26 .p26-intro-txt p:first-of-type{font-family:var(--serif);font-size:clamp(22px,2.1vw,31px);line-height:1.42;color:var(--tinta)!important;max-width:none}

/* logos de clientes */
html.p26 .p26-logos{padding:clamp(40px,5vw,64px) 0;border-bottom:1px solid var(--linea);background:var(--papel);overflow:hidden}
html.p26 .p26-logos-cab{display:flex;align-items:baseline;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:26px}
html.p26 .p26-logos-cab p{margin:0;color:var(--gris)!important;font-size:15px}
html.p26 .p26-cinta{position:relative;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
html.p26 .p26-pista{display:flex;align-items:center;gap:clamp(48px,6vw,96px);width:max-content;animation:p26Cinta 70s linear infinite}
html.p26 .p26-cinta:hover .p26-pista{animation-play-state:paused}
html.p26 .p26-pista img{height:clamp(30px,2.6vw,40px);width:auto;max-width:170px;object-fit:contain;filter:brightness(0);opacity:.58;transition:opacity .3s,filter .3s}
html.p26 .p26-pista img:hover{opacity:1;filter:brightness(0) sepia(1) saturate(3) hue-rotate(-10deg) brightness(.55)}
@keyframes p26Cinta{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* reseñas */
html.p26 .p26-resenas{background:var(--noche);color:#F2ECE2;overflow:hidden}
html.p26 .p26-res-cab{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:end;margin-bottom:clamp(30px,4vw,52px)}
html.p26 .p26-resenas h2{color:#fff!important;max-width:16ch}
html.p26 .p26-nota{justify-self:end;display:flex;align-items:center;gap:22px;padding:22px 28px;border:1px solid rgba(255,255,255,.14);border-radius:20px;background:rgba(255,255,255,.03);text-decoration:none!important}
html.p26 .p26-nota b{font:600 clamp(54px,5vw,76px)/1 var(--serif);color:#fff}
html.p26 .p26-nota span{display:flex;flex-direction:column;gap:6px;color:rgba(242,236,226,.8);font-size:14px}
html.p26 .p26-nota i{font-style:normal;color:var(--oro);font-size:20px;letter-spacing:2px}
html.p26 .p26-carrusel{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(300px,380px);gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 18px;scrollbar-width:thin;scrollbar-color:rgba(214,166,107,.5) transparent}
html.p26 .p26-res{scroll-snap-align:start;margin:0;display:flex;flex-direction:column;gap:18px;justify-content:flex-start;padding:28px;border-radius:18px;background:linear-gradient(180deg,#221D17,#1A1612);border:1px solid rgba(255,255,255,.08)}
html.p26 .p26-res-est{color:var(--oro);letter-spacing:3px;font-size:15px}
html.p26 .p26-res blockquote{margin:0;font:400 17px/1.6 var(--sans);color:rgba(242,236,226,.9);flex:1}
html.p26 .p26-res figcaption{display:flex;align-items:center;gap:12px;border-top:1px solid rgba(255,255,255,.1);padding-top:16px}
html.p26 .p26-av{flex:0 0 auto;width:40px;height:40px;border-radius:999px;display:grid;place-items:center;background:var(--oro);color:var(--tinta);font:700 16px/1 var(--sans)}
html.p26 .p26-res figcaption b{display:block;color:#fff;font-size:15px;font-weight:600}
html.p26 .p26-res figcaption small{display:flex;align-items:center;gap:6px;color:rgba(242,236,226,.62);font-size:12.5px}
html.p26 .p26-g{width:13px;height:13px}
html.p26 .p26-res-pie{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:12px}
html.p26 .p26-flechas{display:flex;gap:10px}
html.p26 .p26-flechas button{width:48px;height:48px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:transparent;color:#fff;font-size:20px;cursor:pointer;transition:background .3s}
html.p26 .p26-flechas button:hover{background:rgba(255,255,255,.1)}
@media (max-width:860px){html.p26 .p26-res-cab{grid-template-columns:1fr}html.p26 .p26-nota{justify-self:start}}

/* trayectoria */
html.p26 .p26-tray{background:var(--blanco);border-top:1px solid var(--linea);border-bottom:1px solid var(--linea)}
html.p26 .p26-linea{list-style:none;margin:0;padding:0;position:relative}
html.p26 .p26-linea::before{content:"";position:absolute;left:84px;top:8px;bottom:8px;width:1.5px;background:var(--linea-2)}
html.p26 .p26-linea li{display:grid;grid-template-columns:84px minmax(0,1fr);gap:0 34px;padding:0 0 30px;position:relative}
html.p26 .p26-linea li::after{content:"";position:absolute;left:79px;top:9px;width:12px;height:12px;border-radius:999px;background:var(--blanco);border:2.5px solid var(--bronce-vivo)}
html.p26 .p26-linea time{font:600 22px/1.3 var(--serif);color:var(--bronce)}
html.p26 .p26-linea h3{font-size:clamp(19px,1.6vw,24px)!important;margin:0 0 6px!important;padding-left:34px}
html.p26 .p26-linea p{margin:0;padding-left:34px;color:var(--tinta-2);max-width:62ch}
html.p26 .p26-linea a{font-weight:600}

/* prensa y directorios */
html.p26 .p26-prensa{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px;margin:28px 0 0}
html.p26 .p26-art{display:flex;flex-direction:column;gap:10px;padding:24px;border-radius:16px;background:var(--blanco);border:1px solid var(--linea);text-decoration:none!important;color:var(--tinta)!important;transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s,border-color .4s}
html.p26 .p26-art:hover{transform:translateY(-4px);box-shadow:var(--sombra);border-color:var(--bronce-vivo)}
html.p26 .p26-art small{font:600 12px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--bronce)}
html.p26 .p26-art strong{font:600 19px/1.3 var(--serif);color:var(--tinta)}
html.p26 .p26-art span{font-size:14px;color:var(--gris)}
html.p26 .p26-dirs{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 0;padding:0;list-style:none}
html.p26 .p26-dirs a{display:inline-flex;align-items:center;gap:8px;padding:11px 18px;border-radius:999px;border:1px solid var(--linea-2);background:var(--blanco);color:var(--tinta)!important;font-weight:600;font-size:14.5px;text-decoration:none!important;transition:background .3s,color .3s}
html.p26 .p26-dirs a::after{content:"↗";color:var(--bronce)}
html.p26 .p26-dirs a:hover{background:var(--tinta);color:#fff!important}

/* equipo */
html.p26 .p26-equipo-fotos{display:grid;grid-template-columns:1.1fr 1fr;gap:14px}
html.p26 .p26-equipo-fotos figure{margin:0;position:relative;border-radius:18px;overflow:hidden;background:var(--arena)}
html.p26 .p26-equipo-fotos img{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:4/5}
html.p26 .p26-equipo-fotos figure:nth-child(2) img{aspect-ratio:auto}
html.p26 .p26-equipo-fotos figcaption{position:absolute;left:12px;right:12px;bottom:12px;padding:10px 14px;border-radius:12px;background:rgba(22,19,15,.72);color:#fff;font-size:13px;backdrop-filter:blur(6px)}
html.p26 .p26-firma{display:flex;align-items:center;gap:14px;margin:24px 0 28px}
html.p26 .p26-firma b{display:block;font:600 18px/1.2 var(--serif);color:var(--tinta)}
html.p26 .p26-firma span{font-size:14px;color:var(--gris)}
html.p26 .p26-videos{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px;margin-top:28px}

/* cierre con llamada a la acción */
html.p26 .p26-cierre{background:var(--noche);color:#fff;position:relative;overflow:hidden}
html.p26 .p26-cierre::before{content:"";position:absolute;right:-12%;top:-40%;width:60%;aspect-ratio:1;border-radius:999px;background:radial-gradient(circle,rgba(214,166,107,.22),rgba(214,166,107,0) 65%)}
html.p26 .p26-cierre .p26-ancho{position:relative;display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap}
html.p26 .p26-cierre h2{color:#fff!important;margin:0!important;max-width:18ch}
html.p26 .p26-cierre p{margin:10px 0 0;color:rgba(242,236,226,.8)}
html.p26 .p26-cierre-bot{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
html.p26 .p26-tel{color:#fff!important;font-weight:600;border-bottom:1px solid rgba(255,255,255,.4);padding:6px 2px;text-decoration:none!important}

/* barra fija en el móvil */
html.p26 .p26-barra{display:none}
@media (max-width:760px){
  html.p26 .p26-barra{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:8px;position:fixed;left:10px;right:10px;bottom:10px;z-index:90;padding:8px;border-radius:18px;background:rgba(22,19,15,.94);backdrop-filter:blur(12px);box-shadow:0 18px 40px -16px rgba(0,0,0,.6)}
  html.p26 .p26-barra a{display:flex;align-items:center;justify-content:center;gap:7px;height:48px;border-radius:12px;color:#fff!important;font:600 14px/1 var(--sans);text-decoration:none!important;background:rgba(255,255,255,.08)}
  html.p26 .p26-barra a.p26-barra-cta{background:var(--cta);color:var(--tinta)!important}
  html.p26 .wa-flotante{display:none!important}
  html.p26 body{padding-bottom:84px}
  html.p26 .cookies{bottom:84px!important}
}
/* aparición al bajar */
html.p26.js .p26-rv{opacity:0;transform:translateY(22px);transition:opacity .8s cubic-bezier(.2,.8,.2,1),transform .8s cubic-bezier(.2,.8,.2,1)}
html.p26.js .p26-rv.p26-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){html.p26 .p26-pista{animation:none}html.p26.js .p26-rv{opacity:1;transform:none}}

@media (max-width:760px){
  html.p26 .resumen-ia{padding:22px 20px 22px 20px!important}
  html.p26 .resumen-ia::before{position:static;display:block;font-size:56px;line-height:.6;margin:0 0 6px}
  html.p26 .p26-linea::before{left:56px}html.p26 .p26-linea li{grid-template-columns:56px minmax(0,1fr);gap:0 20px}html.p26 .p26-linea li::after{left:51px}
  html.p26 .p26-linea h3,html.p26 .p26-linea p{padding-left:20px}html.p26 .p26-linea time{font-size:18px}
  html.p26 .p26-equipo-fotos{grid-template-columns:1fr 1fr}
}

/* tarjetas claras dentro de zonas oscuras (formulario y ficha de Contacto, tarjetas sobre imagen): vuelven a tinta */
html.p26 .p26-hero [data-bg="panel"]:not(section),html.p26 .p26-oscuro [data-bg="panel"]:not(section):not(:has(> .tarjeta-fondo)){color:var(--tinta)!important}
html.p26 .p26-hero [data-bg="panel"] :is(h1,h2,h3,strong,b,[data-fg="text"],[style*="color:#fff"],[style*="color:#F4F1EC"],[style*="color:#E9E2D6"],.mapa-nombre),
html.p26 .p26-oscuro [data-bg="panel"]:not(:has(> .tarjeta-fondo)) :is(h1,h2,h3,strong,b,[data-fg="text"],[style*="color:#fff"],[style*="color:#F4F1EC"],.mapa-nombre){color:var(--tinta)!important}
html.p26 .p26-hero [data-bg="panel"] :is(p,li,label,span,small,[data-fg="muted"],[style*="color:#C9C2B6"],[style*="color:#9C978F"],[style*="color:#8F8B85"],.mapa-dir,.mapa-coord span),
html.p26 .p26-oscuro [data-bg="panel"]:not(:has(> .tarjeta-fondo)) :is(p,li,label,[data-fg="muted"],[style*="color:#C9C2B6"],[style*="color:#9C978F"]){color:var(--tinta-2)!important}
html.p26 .p26-hero [data-bg="panel"] a:not([data-accent-bg]){color:var(--bronce)!important}
html.p26 .p26-hero [data-bg="panel"] [data-accent-fg],html.p26 .p26-hero [data-bg="panel"] [style*="letter-spacing:.22em"],html.p26 .p26-hero [data-bg="panel"] [style*="letter-spacing:.18em"]{color:var(--bronce)!important}
html.p26 .p26-hero [data-bg="panel"] a[style*="border-radius:999px"][style*="border:1px solid"]:not([data-accent-bg]){border-color:var(--tinta)!important;color:var(--tinta)!important}
html.p26 .p26-hero [data-bg="panel"] [data-line]{border-color:var(--linea)!important}
html.p26 .mapa-nombre{font-family:var(--serif)!important;text-transform:none!important;letter-spacing:0!important;color:var(--tinta)!important}
html.p26 .horario .dia.abierto{background:var(--tinta)!important;color:#fff!important}
html.p26 .horario .dia.abierto span,html.p26 .horario .dia.abierto *{color:#fff!important}html.p26 .horario .dia.sabado{background:var(--oro)!important}html.p26 .horario .dia.sabado span{color:var(--tinta)!important}
/* móvil: el botón de la cabecera no cabe; la barra fija de abajo ya lleva «Pedir presupuesto» */
@media (max-width:560px){html.p26 header .cta-cabecera{display:none!important}}

/* =====================================================================
   ELEVACIÓN v2.1 (2-dic): cabecera cápsula flotante, menú con subrayado dorado, botones vivos
   ===================================================================== */
/* --- cabecera cápsula flotante --- */
html.p26 header[data-header]{top:12px!important;left:clamp(10px,2vw,28px)!important;right:clamp(10px,2vw,28px)!important;border-radius:22px!important;
  border:1px solid rgba(22,19,15,.08)!important;box-shadow:0 22px 50px -30px rgba(22,19,15,.5)!important;padding:9px 10px 9px clamp(16px,1.8vw,24px)!important;
  transition:background .45s ease,box-shadow .45s ease,border-color .45s ease!important}
html.p26 header[data-header] img{transition:filter .45s ease}
/* sobre la foto de portada: cristal oscuro, logo y menú en blanco */
html.p26.p26-con-hero:not(.p26-scroll):not(.menu-abierto) header[data-header]{background:rgba(16,13,10,.30)!important;border-color:rgba(255,255,255,.16)!important;box-shadow:0 20px 50px -30px rgba(0,0,0,.7)!important;backdrop-filter:blur(14px) saturate(1.3)!important}
html.p26.p26-con-hero:not(.p26-scroll):not(.menu-abierto) header[data-header] > a img{filter:brightness(0) invert(1)}
html.p26.p26-con-hero:not(.p26-scroll):not(.menu-abierto) header[data-header] nav > a,
html.p26.p26-con-hero:not(.p26-scroll):not(.menu-abierto) header[data-header] nav .nav-serv > a{color:#fff!important}
html.p26.p26-con-hero:not(.p26-scroll):not(.menu-abierto) .btn-hamb{color:#fff!important;border-color:rgba(255,255,255,.45)!important}
/* al bajar: papel con sombra marcada */
html.p26.p26-scroll header[data-header]{background:rgba(250,246,239,.92)!important;box-shadow:0 24px 60px -30px rgba(22,19,15,.55)!important}
/* menú: subrayado dorado animado y página actual marcada */
html.p26 header[data-header] nav > a,html.p26 header[data-header] nav .nav-serv > a{position:relative}
html.p26 header[data-header] nav > a::after,html.p26 header[data-header] nav .nav-serv > a::after{content:"";position:absolute;left:0;right:0;bottom:-7px;height:2px;border-radius:2px;background:linear-gradient(90deg,#F2C47A,#C9822F);transform:scaleX(0);transform-origin:center;transition:transform .4s cubic-bezier(.2,.8,.2,1)}
html.p26 header[data-header] nav > a:hover::after,html.p26 header[data-header] nav .nav-serv:hover > a::after,html.p26 header[data-header] nav > a[aria-current="page"]::after,html.p26 header[data-header] nav .nav-serv > a[aria-current="page"]::after{transform:scaleX(1)}
html.p26 header[data-header] nav .nav-serv > a::after{right:16px}
html.p26 .nav-menu{border-radius:16px!important;overflow:hidden}
html.p26 .nav-menu a{transition:color .25s,padding .25s!important}
html.p26 .nav-menu a:hover{color:var(--bronce)!important;padding-left:6px!important}
/* botón de la cabecera con brillo propio */
html.p26 header .cta-cabecera{box-shadow:0 10px 26px -10px rgba(201,130,47,.85),0 0 0 1px rgba(150,95,30,.18) inset!important}
/* cuando se abre el menú del móvil, la cabecera vuelve a ocupar todo el ancho */
@media (max-width:1180px){html.p26.menu-abierto header[data-header]{top:0!important;left:0!important;right:0!important;border-radius:0!important;box-shadow:none!important;border:0!important}
  html.p26 header[data-header] nav > a::after,html.p26 header[data-header] nav .nav-serv > a::after{display:none}}
@media (max-width:760px){html.p26 header[data-header]{top:8px!important;left:8px!important;right:8px!important;border-radius:18px!important;padding:7px 8px 7px 14px!important}}

/* --- botones vivos --- */
/* la flecha apunta en diagonal y se endereza al pasar el ratón */
html.p26 a[data-accent-bg]::after,html.p26 .p26-btn::after{transform:rotate(-45deg)}
html.p26 a[data-accent-bg]:hover::after,html.p26 .p26-btn:hover::after{transform:rotate(0) translateX(2px)}
/* botón principal de la portada: más grande y con un destello que lo recorre cada pocos segundos */
html.p26 .p26-hero a[data-accent-bg]:not(.cta-cabecera){font-size:16.5px!important;padding:11px 11px 11px 28px!important;gap:18px!important}
html.p26 .p26-hero a[data-accent-bg]:not(.cta-cabecera)::after{width:44px;height:44px;background-size:19px}
html.p26 .p26-hero a[data-accent-bg]::before,html.p26 .p26-cierre .p26-btn::before{animation:p26Destello 6s cubic-bezier(.4,0,.2,1) 1.8s infinite}
@keyframes p26Destello{0%{transform:translateX(-120%)}22%,100%{transform:translateX(120%)}}
/* secundarios sobre oscuro: cristal */
html.p26 .p26-hero a[style*="border-radius:999px"][style*="border:1px solid"]:not([data-accent-bg]),html.p26 .p26-oscuro a[style*="border-radius:999px"][style*="border:1px solid"]:not([data-accent-bg]){background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.38)!important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
html.p26 .p26-hero a[style*="border-radius:999px"][style*="border:1px solid"]:not([data-accent-bg]):hover,html.p26 .p26-oscuro a[style*="border-radius:999px"][style*="border:1px solid"]:not([data-accent-bg]):hover{background:#fff!important;color:var(--tinta)!important}
/* secundarios: suben un poco al pasar */
html.p26 a[style*="border-radius:999px"][style*="border:1px solid"]:not([data-accent-bg]){transition:background .3s,color .3s,border-color .3s,transform .35s cubic-bezier(.2,.8,.2,1)!important}
html.p26 a[style*="border-radius:999px"][style*="border:1px solid"]:not([data-accent-bg]):hover{transform:translateY(-2px)}
/* teléfonos de la portada: chip de cristal con icono */
html.p26 .p26-hero a[href^="tel:"][style*="border-bottom"]{display:inline-flex!important;align-items:center;gap:9px;padding:12px 18px!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:999px;background:rgba(255,255,255,.06);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);font-variant-numeric:tabular-nums;transition:background .3s,border-color .3s!important}
html.p26 .p26-hero a[href^="tel:"][style*="border-bottom"]::before{content:"";width:16px;height:16px;flex:0 0 auto;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F0C27E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center/contain no-repeat}
html.p26 .p26-hero a[href^="tel:"][style*="border-bottom"]:hover{background:rgba(255,255,255,.16);border-color:rgba(240,194,126,.6)!important}
@media (prefers-reduced-motion:reduce){html.p26 .p26-hero a[data-accent-bg]::before,html.p26 .p26-cierre .p26-btn::before{animation:none}}
/* menú del móvil abierto: titulares grandes en serif, submenú limpio */
@media (max-width:1180px){html.p26.menu-abierto header[data-header] nav{background:var(--papel)!important;gap:2px!important;overflow-y:auto}
  html.p26.menu-abierto header[data-header] nav > a,html.p26.menu-abierto header[data-header] nav .nav-serv > a{font-family:var(--serif)!important;font-size:clamp(28px,7.5vw,40px)!important;font-weight:600!important;letter-spacing:-.01em!important;text-transform:none!important;color:var(--tinta)!important;padding:6px 0!important}
  html.p26.menu-abierto header[data-header] nav > a[aria-current="page"]{color:var(--bronce)!important}
  html.p26.menu-abierto .nav-menu{background:transparent!important;border:0!important;border-left:2px solid var(--oro)!important;border-radius:0!important;box-shadow:none!important;margin:4px 0 10px 4px!important;padding:2px 0 2px 18px!important}
  html.p26.menu-abierto .nav-menu a{font-family:var(--sans)!important;font-size:16.5px!important;color:var(--tinta-2)!important;padding:7px 0!important}}

/* caja de autor al final de los artículos (2-dic) */
html.p26 .p26-autor{display:grid;grid-template-columns:120px minmax(0,1fr);gap:clamp(18px,2.4vw,30px);align-items:start;max-width:860px;margin:clamp(40px,5vw,64px) auto 0;padding:clamp(22px,2.6vw,32px);background:var(--blanco);border:1px solid var(--linea);border-radius:20px;box-shadow:0 24px 60px -40px rgba(22,19,15,.45)}
html.p26 .p26-autor img{width:120px;height:154px;object-fit:cover;border-radius:14px;display:block}
html.p26 .p26-autor .p26-eti{margin:0 0 8px}
html.p26 .p26-autor p{margin:0 0 10px;color:var(--tinta-2);font-size:15.5px;line-height:1.6}
html.p26 .p26-autor .p26-autor-nom{font:600 21px/1.3 var(--serif);color:var(--tinta)}
html.p26 .p26-autor .p26-autor-nom a{color:var(--tinta)!important;text-decoration:none}
html.p26 .p26-autor .p26-autor-links{margin:0;font-weight:600}
html.p26 .p26-autor .p26-autor-links a{color:var(--bronce)!important}
@media (max-width:560px){html.p26 .p26-autor{grid-template-columns:76px minmax(0,1fr)}html.p26 .p26-autor img{width:76px;height:98px}}
