/* ==========================================================
   Hoja de estilos pública
   Colores y tipografía se inyectan desde Ajustes > Apariencia
   ========================================================== */

:root {
    --primary: #ff6b1e;
    --primary-rgb: 255, 107, 30;
    --bg: #0d0d0d;
    --surface: #151515;
    --surface-2: #1c1c1c;
    --text: #9a9a9a;
    --heading: #ffffff;
    --line: rgba(255, 255, 255, .1);
    --line-strong: rgba(255, 255, 255, .2);
    --font: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --radius: 20px;
    --radius-lg: 30px;
    --container: 1320px;
    --pad: clamp(80px, 10vw, 130px);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--primary); }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { color: var(--heading); font-family: var(--font); margin: 0 0 .5em; line-height: 1.2; font-weight: 500; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
::selection { background: var(--primary); color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.container.narrow, .narrow { max-width: 900px; margin-left: auto; margin-right: auto; }
.section-pad { padding: var(--pad) 0; position: relative; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.mb-60 { margin-bottom: 60px; }
.mt-80 { margin-top: 80px; }
.center { text-align: center; }
.muted { opacity: .7; }
.hl { color: var(--primary); }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { top: 12px; color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.ico { width: 1em; height: 1em; flex: none; }

/* ---------- Revelado al hacer scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Botones ---------- */
.btn-pill {
    display: inline-flex; align-items: center; gap: 16px;
    background: var(--primary); color: #fff;
    padding: 6px 6px 6px 28px; border-radius: 60px;
    font-weight: 500; font-size: 16px; line-height: 1;
    transition: background .4s var(--ease), color .4s var(--ease);
    white-space: nowrap;
}
.btn-pill .btn-icon {
    width: 46px; height: 46px; border-radius: 50%;
    background: #fff; color: #111;
    display: grid; place-items: center; font-size: 20px;
    transition: transform .5s var(--ease), background .4s, color .4s;
}
.btn-pill:hover { background: #fff; color: #111; }
.btn-pill:hover .btn-icon { background: var(--primary); color: #fff; transform: rotate(45deg); }
.btn-pill.light { background: #fff; color: #111; }
.btn-pill.light .btn-icon { background: var(--primary); color: #fff; }
.btn-pill.light:hover { background: #111; color: #fff; }

.btn-small {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--primary); color: #fff; font-size: 15px; font-weight: 500;
    padding: 10px 22px; border-radius: 40px; line-height: 1.2;
    transition: background .3s, color .3s;
}
.btn-small:hover { background: #fff; color: #111; }
.btn-ghost { padding: 10px 20px; border: 1px solid var(--line-strong); border-radius: 40px; color: #fff; font-size: 14px; }
.btn-ghost:hover { border-color: #fff; }

.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: #fff; transition: background .3s, color .3s; }
.circle-btn {
    width: 54px; height: 54px; border-radius: 50%; flex: none;
    display: inline-grid; place-items: center; font-size: 22px;
    background: var(--primary); color: #fff; transition: background .3s, color .3s, transform .4s var(--ease);
}
.circle-btn:hover { background: #fff; color: #111; transform: rotate(45deg); }
.circle-btn.ghost { background: transparent; border: 1px solid var(--line-strong); }
.circle-btn.ghost:hover { background: #fff; transform: none; }
.center-btn { text-align: center; margin-top: 60px; }

/* ---------- Encabezados de sección ---------- */
.sub-title {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 16px; line-height: 1; color: var(--text); margin-bottom: 18px;
}
.sub-title .ico { color: var(--primary); font-size: 14px; }
.sec-title { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.12; font-weight: 500; letter-spacing: -.02em; margin: 0; }
.sec-head { max-width: 760px; }
.sec-head.center { margin: 0 auto 60px; text-align: center; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 60px; flex-wrap: wrap; }
.sec-head-row .sec-head { flex: 1 1 520px; }
.sec-head-text { max-width: 420px; margin: 0; }
.sec-head-center { text-align: center; margin-bottom: 60px; }
.sec-head-center .sec-head { margin-bottom: 20px; }
.lead { font-size: 17px; line-height: 1.8; margin-top: 24px; }
.lead.center { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Precarga y cursor ---------- */
.preloader { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: grid; place-items: center; transition: opacity .6s, visibility .6s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { display: grid; justify-items: center; gap: 22px; }
.preloader-logo { font-size: 58px; color: var(--primary); animation: pulse 1.4s ease-in-out infinite; }
.preloader-bar { width: 140px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.preloader-bar span { display: block; height: 100%; width: 40%; background: var(--primary); animation: loadbar 1.1s var(--ease) infinite; }
@keyframes loadbar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes pulse { 50% { transform: scale(.88); opacity: .7; } }

.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor-dot { width: 8px; height: 8px; background: var(--primary); margin: -4px 0 0 -4px; }
.cursor-ring { width: 36px; height: 36px; border: 1px solid rgba(var(--primary-rgb), .6); margin: -18px 0 0 -18px; transition: width .3s, height .3s, margin .3s, background .3s, opacity .3s; }
.cursor-ring.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(var(--primary-rgb), .12); border-color: transparent; }
body.has-cursor .cursor-dot, body.has-cursor .cursor-ring { opacity: 1; }
@media (hover: none), (max-width: 991px) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Cabecera ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 100; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 30px; padding: 0 clamp(20px, 3vw, 50px); height: 94px; }
.site-header.sticky { position: fixed; background: rgba(13, 13, 13, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: slideDown .6s var(--ease); }
.site-header.sticky .header-inner { height: 80px; }
body:not(.home) .site-header { position: absolute; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }

.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; flex: none; }
.logo:hover { color: #fff; }
.logo-mark { font-size: 38px; color: var(--primary); display: flex; }
.logo-text { font-size: 30px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }

.main-nav { margin: 0 auto; }
.main-nav > ul { display: flex; list-style: none; gap: 6px; }
.main-nav li { position: relative; list-style: none; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 32px 14px; color: #fff; font-size: 16px; }
.site-header.sticky .main-nav > ul > li > a { padding: 25px 14px; }
.main-nav > ul > li.active > a, .main-nav > ul > li > a:hover { color: var(--primary); }
.sub-caret { font-size: 14px; transition: transform .3s; }
.main-nav li:hover > a .sub-caret { transform: rotate(180deg); }
.sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 0;
    opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .35s var(--ease);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 8px 24px; color: #cfcfcf; font-size: 15px; position: relative; transition: padding .3s, color .3s; }
.sub-menu a::before { content: ''; position: absolute; left: 22px; top: 50%; width: 0; height: 1px; background: var(--primary); transition: width .3s; }
.sub-menu a:hover, .sub-menu li.active a { color: var(--primary); padding-left: 40px; }
.sub-menu a:hover::before, .sub-menu li.active a::before { width: 10px; }

.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.search-toggle { background: var(--primary); width: 42px; height: 42px; font-size: 18px; }
.search-toggle:hover { background: #fff; color: #111; }
.burger { width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; }
.burger span { display: block; height: 2px; width: 28px; background: #fff; border-radius: 2px; transition: width .3s; }
.burger span:nth-child(2) { width: 20px; }
.burger span:nth-child(3) { width: 14px; }
.burger:hover span { width: 28px; background: var(--primary); }

@media (max-width: 1199px) {
    .main-nav { display: none; }
    .header-actions .btn-small { display: none; }
    .header-inner { height: 80px; }
}
@media (max-width: 480px) { .logo-text { font-size: 24px; } .logo-mark { font-size: 32px; } }

/* ---------- Panel lateral, búsqueda y superposiciones ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 150; opacity: 0; visibility: hidden; transition: all .4s; }
.overlay.show { opacity: 1; visibility: visible; }
.offcanvas {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 160;
    background: var(--surface); padding: 36px 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .55s var(--ease);
    display: flex; flex-direction: column; gap: 32px;
}
.offcanvas.open { transform: none; }
.offcanvas-top { display: flex; align-items: center; justify-content: space-between; }
.offcanvas-top .icon-btn { background: var(--primary); }
.offcanvas-about p { margin: 0; }
.offcanvas-contact { list-style: none; display: grid; gap: 14px; }
.offcanvas-contact li { display: flex; gap: 14px; align-items: flex-start; color: #ddd; }
.offcanvas-contact .ico { color: var(--primary); font-size: 20px; margin-top: 4px; }
.mobile-nav ul { list-style: none; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
.mn-row { display: flex; align-items: center; justify-content: space-between; }
.mn-row a { display: block; padding: 12px 0; color: #fff; font-size: 18px; flex: 1; }
.mn-toggle { width: 36px; height: 36px; display: grid; place-items: center; font-size: 18px; color: #fff; transition: transform .3s; }
.mn-toggle[aria-expanded="true"] { transform: rotate(45deg); color: var(--primary); }
.mn-sub { display: none; padding: 0 0 12px 16px; }
.mn-sub.open { display: block; }
.mn-sub a { display: block; padding: 6px 0; color: #bbb; }
@media (min-width: 1200px) { .mobile-nav { display: none; } }

.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 18px; color: #fff; transition: all .3s; }
.socials a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.socials.big a { width: 50px; height: 50px; font-size: 20px; }

.search-popup { position: fixed; inset: 0; z-index: 200; background: rgba(13, 13, 13, .96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: all .4s; padding: 24px; }
.search-popup.open { opacity: 1; visibility: visible; }
.search-close { position: absolute; top: 30px; right: 30px; background: var(--primary); }
.search-form { width: min(760px, 100%); position: relative; transform: translateY(30px); transition: transform .5s var(--ease); }
.search-popup.open .search-form { transform: none; }
.search-form input { width: 100%; background: transparent; border: 0; border-bottom: 2px solid var(--line-strong); padding: 18px 70px 18px 0; font-size: clamp(22px, 3vw, 36px); color: #fff; outline: none; }
.search-form input:focus { border-color: var(--primary); }
.search-form button { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 30px; color: var(--primary); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(760px, 100vh); display: flex; align-items: flex-end; overflow: hidden; padding: 170px 0 90px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 70% 45%, rgba(var(--primary-rgb), .18), transparent 60%), #050505; }
.hero-img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 5, 5, .85) 0%, rgba(5, 5, 5, .35) 55%, rgba(5, 5, 5, .15) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero-inner { position: relative; }
.hero-title { font-size: clamp(46px, 7.4vw, 108px); line-height: 1; letter-spacing: -.035em; font-weight: 700; margin: 0 0 60px; }
.hero-title .line { display: block; }
.hero-title .line.light { font-weight: 300; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.hero-badge { position: relative; width: 170px; height: 170px; display: grid; place-items: center; margin-left: clamp(0px, 8vw, 150px); color: #fff; }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-ring text { fill: #fff; font-size: 15px; letter-spacing: 2px; font-weight: 500; text-transform: uppercase; }
.badge-core { width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 26px; color: var(--primary); transition: background .3s, color .3s; }
.hero-badge:hover .badge-core { background: var(--primary); color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-content { max-width: 440px; }
.hero-content p { color: #d7d7d7; font-size: 17px; margin-bottom: 30px; }
@media (max-width: 767px) {
    .hero { padding: 140px 0 70px; min-height: 680px; }
    .hero-badge { display: none; }
    .hero-title { margin-bottom: 36px; }
}

/* ---------- Cinta ---------- */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; background: var(--bg); }
.ticker-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; }
.tk-word { font-size: clamp(30px, 4vw, 56px); font-weight: 600; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .45); padding: 0 34px; white-space: nowrap; line-height: 1.2; transition: color .3s; }
.tk-word:hover { color: #fff; }
.tk-sep { color: var(--primary); font-size: 30px; display: flex; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Destacados ---------- */
.highlights { position: relative; z-index: 2; }
.highlights-box {
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: #080808; border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden;
}
.hl-card { padding: 60px 48px; position: relative; transition: background .5s var(--ease); }
.hl-card + .hl-card { border-left: 1px solid var(--line); }
.hl-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.hl-card:hover { background: var(--surface); }
.hl-card:hover::before { transform: scaleX(1); }
.hl-icon { font-size: 60px; color: var(--primary); margin-bottom: 34px; }
.hl-icon .ico { stroke-width: 1.1; }
.hl-card h3 { font-size: 24px; margin-bottom: 14px; }
.hl-card p { margin-bottom: 26px; }
.hl-link { display: inline-grid; place-items: center; font-size: 22px; color: var(--primary); transition: transform .3s; }
.hl-link:hover { transform: translateX(6px); }
@media (max-width: 991px) {
    .highlights-box { grid-template-columns: 1fr; }
    .hl-card + .hl-card { border-left: 0; border-top: 1px solid var(--line); }
    .hl-card { padding: 44px 32px; }
}

/* ---------- Sobre nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-media { position: relative; padding: 0 70px 80px 0; }
.am-main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.6; }
.am-main img, .am-small img { width: 100%; height: 100%; object-fit: cover; }
.am-small { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; border: 8px solid var(--bg); }
.am-stat {
    position: absolute; left: -24px; top: 44px; width: 150px; height: 150px; border-radius: 50%;
    background: var(--primary); color: #fff; display: grid; place-content: center; text-align: center; padding: 12px;
    animation: floaty 5s ease-in-out infinite;
}
.am-stat strong { font-size: 40px; line-height: 1; font-weight: 700; }
.am-stat span { font-size: 13px; line-height: 1.3; margin-top: 6px; display: block; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
.check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 30px 0 40px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: #e6e6e6; line-height: 1.5; }
.check-list .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(var(--primary-rgb), .15); color: var(--primary); stroke-width: 2.4; }
.about-foot { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; padding-top: 34px; border-top: 1px solid var(--line); }
.exp-box { display: flex; align-items: center; gap: 14px; }
.exp-box strong { font-size: 52px; line-height: 1; color: #fff; font-weight: 600; }
.exp-box span { max-width: 110px; line-height: 1.3; }
@media (max-width: 991px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-media { max-width: 560px; }
}
@media (max-width: 575px) { .check-list { grid-template-columns: 1fr; } .am-stat { left: 10px; width: 120px; height: 120px; } .am-stat strong { font-size: 30px; } }

/* ---------- Servicios ---------- */
.services { overflow: hidden; }
.services-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .12; mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.services .container { position: relative; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    position: relative; display: block; padding: 34px 38px 40px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--line); overflow: hidden; color: var(--text);
    transition: transform .5s var(--ease), border-color .5s, background .5s;
}
.service-card::after { content: ''; position: absolute; inset: auto -40% -80% auto; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--primary-rgb), .35), transparent 70%); opacity: 0; transition: opacity .6s; pointer-events: none; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(var(--primary-rgb), .5); color: var(--text); }
.service-card:hover::after { opacity: 1; }
.sc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.sc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); margin-top: 14px; box-shadow: 0 0 0 6px rgba(var(--primary-rgb), .15); }
.sc-num { font-size: 58px; line-height: 1; font-weight: 500; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .18); transition: -webkit-text-stroke-color .4s, color .4s; }
.service-card:hover .sc-num { color: rgba(var(--primary-rgb), .15); -webkit-text-stroke-color: var(--primary); }
.sc-icon { font-size: 62px; color: var(--primary); margin-bottom: 26px; }
.sc-icon .ico { stroke-width: 1.1; }
.sc-title { font-size: 26px; margin-bottom: 14px; }
.sc-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: #fff; font-weight: 500; }
.sc-more .ico { color: var(--primary); transition: transform .4s var(--ease); }
.service-card:hover .sc-more .ico { transform: rotate(45deg); }
@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Proyectos (tarjetas apiladas) ---------- */
.project-stack { display: grid; gap: 40px; }
.project-card {
    position: sticky; top: calc(110px + var(--i) * 26px);
    display: grid; grid-template-columns: 1.35fr 1fr; min-height: 480px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, .45);
}
.pc-media { display: block; overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project-card:hover .pc-media img { transform: scale(1.05); }
.pc-body { padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; position: relative; }
.pc-num { position: absolute; right: 40px; top: 30px; font-size: 90px; line-height: 1; font-weight: 600; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .12); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tags span { font-size: 13px; line-height: 1; padding: 9px 14px; border-radius: 30px; border: 1px solid var(--line-strong); color: #ddd; }
.pc-body h3 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.15; margin-bottom: 18px; max-width: 90%; }
.pc-foot { margin-top: auto; padding-top: 30px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.pc-foot small { display: block; font-size: 13px; }
.pc-foot span { color: #fff; line-height: 1.4; }
@media (max-width: 991px) {
    .project-card { grid-template-columns: 1fr; position: relative; top: 0; min-height: 0; }
    .pc-media { aspect-ratio: 16 / 10; }
}

/* ---------- Rejilla de proyectos ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 50px; }
.filter-bar button { padding: 11px 24px; border-radius: 40px; border: 1px solid var(--line-strong); color: #ddd; font-size: 15px; transition: all .3s; }
.filter-bar button:hover, .filter-bar button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.project-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.project-tile.hide { display: none; }
.pt-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.pt-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project-tile:hover .pt-media img { transform: scale(1.06); }
.pt-body { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 26px 28px; border-radius: var(--radius); background: rgba(13, 13, 13, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: end; }
.pt-body .tags { grid-column: 1 / -1; margin-bottom: 8px; }
.pt-body h3 { font-size: 24px; margin: 0; }
@media (max-width: 767px) { .project-grid { grid-template-columns: 1fr; } }

/* ---------- Proceso ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-card { padding: 34px 30px 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; transition: background .5s var(--ease), transform .5s var(--ease); }
.process-card:hover { background: var(--primary); transform: translateY(-8px); }
.process-card:hover, .process-card:hover h3, .process-card:hover .prc-step, .process-card:hover .prc-icon { color: #fff; }
.process-card:hover .prc-icon { background: rgba(255, 255, 255, .15); border-color: transparent; }
.prc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 70px; }
.prc-step { font-size: 15px; color: var(--text); }
.prc-step b { color: #fff; font-weight: 600; }
.prc-icon { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 28px; color: var(--primary); transition: all .4s; }
.process-card h3 { font-size: 24px; margin-bottom: 12px; }
.process-card p { margin: 0; transition: color .4s; }
.process-card:not(:last-child)::after { content: ''; position: absolute; top: 66px; right: -24px; width: 24px; height: 1px; background: var(--line-strong); }
@media (max-width: 1100px) { .process-grid { grid-template-columns: repeat(2, 1fr); } .process-card::after { display: none; } }
@media (max-width: 575px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- Vídeo ---------- */
.video-box { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 600px; display: flex; align-items: flex-end; padding: clamp(30px, 5vw, 70px); }
.video-box > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .15) 70%); }
.video-title { position: relative; font-size: clamp(28px, 3.4vw, 46px); max-width: 720px; margin: 0; }
.play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 120px; height: 120px; border-radius: 50%; background: var(--primary); color: #fff;
    display: grid; place-items: center; font-size: 34px; transition: background .3s, color .3s;
}
.play-btn::before, .play-btn::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(var(--primary-rgb), .7); animation: ripple 2.4s ease-out infinite; }
.play-btn::after { animation-delay: 1.2s; }
.play-btn:hover { background: #fff; color: var(--primary); }
@keyframes ripple { from { transform: scale(1); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
@media (max-width: 767px) { .video-box { min-height: 440px; } .play-btn { width: 86px; height: 86px; top: 38%; } }

.video-modal { position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .9); display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: all .35s; }
.video-modal.open { opacity: 1; visibility: visible; }
.video-frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; }
.video-frame iframe, .video-frame img { width: 100%; height: 100%; border: 0; object-fit: contain; }
.video-close { position: absolute; top: 24px; right: 24px; background: var(--primary); }

/* ---------- Por qué elegirnos ---------- */
.why-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.why-points { display: grid; gap: 26px; margin: 40px 0; }
.why-point { display: flex; gap: 22px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.wp-icon { width: 70px; height: 70px; flex: none; border-radius: 18px; background: rgba(var(--primary-rgb), .12); color: var(--primary); display: grid; place-items: center; font-size: 32px; }
.why-point h3 { font-size: 22px; margin-bottom: 6px; }
.why-point p { margin: 0; }
.bars { display: grid; gap: 22px; }
.bar-top { display: flex; justify-content: space-between; color: #fff; margin-bottom: 8px; line-height: 1.3; }
.bar-track { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; }
.bar-track span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, rgba(var(--primary-rgb), .5), var(--primary)); border-radius: 6px; transition: width 1.6s var(--ease) .2s; }
.bars.in .bar-track span { width: var(--w); }
.why-media { position: relative; }
.why-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 9 / 10; object-fit: cover; }
.why-stat { position: absolute; left: -30px; bottom: 50px; background: var(--primary); color: #fff; padding: 26px 32px; border-radius: var(--radius); display: grid; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.why-stat strong { font-size: 48px; line-height: 1; font-weight: 700; }
.why-stat span { font-size: 15px; }
@media (max-width: 991px) { .why-grid { grid-template-columns: 1fr; } .why-stat { left: 20px; } }

/* ---------- Testimonios ---------- */
.testi-layout { display: grid; grid-template-columns: 340px 1fr; gap: 30px; align-items: stretch; }
.testi-rating { background: var(--primary); color: #fff; border-radius: var(--radius-lg); padding: 44px 38px; display: flex; flex-direction: column; }
.testi-rating .stars .ico { color: #fff; fill: #fff; }
.tr-title { font-size: 28px; line-height: 1.25; color: #fff; margin: 26px 0 auto; font-weight: 500; }
.tr-title .hl { color: #111; }
.tr-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.tr-platform { background: rgba(0, 0, 0, .14); border-radius: 14px; padding: 16px 18px; display: grid; }
.tr-platform strong { font-size: 32px; line-height: 1; }
.tr-platform span { font-size: 14px; opacity: .9; }
.testi-slider { overflow: hidden; }
.testi-track { display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; height: 100%; }
.testi-track::-webkit-scrollbar { display: none; }
.testi-track > .testi-card { flex: 0 0 calc(50% - 15px); scroll-snap-align: start; }
.testi-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 38px; display: flex; flex-direction: column; height: 100%; }
.tc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.tc-quote { font-size: 46px; color: var(--primary); opacity: .9; display: flex; }
.stars { display: inline-flex; gap: 3px; font-size: 18px; }
.stars .ico.on { color: var(--primary); fill: var(--primary); }
.stars .ico.off { color: #555; }
.tc-text { color: #e2e2e2; font-size: 18px; line-height: 1.7; margin-bottom: 32px; }
.tc-author { margin-top: auto; display: flex; align-items: center; gap: 16px; padding-top: 26px; border-top: 1px solid var(--line); }
.tc-author img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.tc-author h3 { font-size: 18px; margin: 0; }
.tc-author span { font-size: 14px; }
.slider-nav { display: flex; align-items: center; gap: 16px; }
.slider-count { color: var(--text); min-width: 50px; text-align: center; }
.slider-count b { color: #fff; font-weight: 500; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 1100px) { .testi-layout { grid-template-columns: 1fr; } .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .testi-track > .testi-card { flex-basis: 100%; } .testi-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq-side { position: sticky; top: 120px; }
.faq-img { position: relative; margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden; }
.faq-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.faq-contact { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 14px; background: var(--primary); color: #fff; padding: 14px 22px 14px 16px; border-radius: 50px; font-size: 26px; }
.faq-contact:hover { color: #fff; background: #111; }
.faq-contact span { font-size: 14px; line-height: 1.3; display: grid; }
.faq-contact b { font-size: 16px; }
.faq-list { display: grid; gap: 16px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s; }
.faq-item[open] { border-color: rgba(var(--primary-rgb), .5); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 28px; color: #fff; font-size: 19px; font-weight: 500; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--surface-2); color: #fff; font-size: 18px; transition: transform .4s var(--ease), background .3s; }
.faq-item[open] .faq-ico { transform: rotate(45deg); background: var(--primary); }
.faq-body { padding: 0 28px 24px; }
.faq-body p { margin: 0; }
.faq-page { max-width: 980px; }
@media (max-width: 991px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* ---------- Capacidades ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cap-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .5s var(--ease); }
.cap-card:hover { transform: translateY(-8px); }
.cap-img { aspect-ratio: 16 / 11; overflow: hidden; }
.cap-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); filter: grayscale(.3); }
.cap-card:hover .cap-img img { transform: scale(1.06); filter: none; }
.cap-body { padding: 0 34px 38px; position: relative; }
.cap-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 32px; margin-top: -38px; margin-bottom: 24px; border: 6px solid var(--surface); position: relative; }
.cap-body h3 { font-size: 24px; margin-bottom: 10px; }
.cap-body p { margin: 0; }
@media (max-width: 991px) { .cap-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Equipo ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.team-card { position: relative; }
.tm-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.tm-photo > a, .tm-photo img { display: block; width: 100%; height: 100%; }
.tm-photo img { object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: grayscale(1); }
.team-card:hover .tm-photo img { transform: scale(1.05); filter: none; }
.tm-social { position: absolute; right: 18px; top: 18px; display: grid; gap: 8px; }
.tm-social a { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 18px; opacity: 0; transform: translateX(20px); transition: all .4s var(--ease); }
.tm-social a:nth-child(2) { transition-delay: .06s; }
.tm-social a:nth-child(3) { transition-delay: .12s; }
.team-card:hover .tm-social a, .tm-social a:focus { opacity: 1; transform: none; }
.tm-social a:hover { background: #fff; color: #111; }
.tm-social.static { position: static; display: flex; margin-top: 30px; }
.tm-social.static a { opacity: 1; transform: none; }
.tm-info { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(13, 13, 13, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 16px; padding: 18px 22px; }
.tm-info h3 { font-size: 22px; margin: 0; }
.tm-info span { font-size: 15px; color: var(--primary); }
@media (max-width: 991px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- Premios ---------- */
.awards-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.awards-intro { display: flex; gap: 30px; align-items: center; }
.awards-intro p { margin: 0; }
.awards-stat { flex: none; width: 150px; height: 150px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-content: center; text-align: center; padding: 16px; }
.awards-stat strong { font-size: 44px; line-height: 1; color: var(--primary); font-weight: 600; }
.awards-stat span { font-size: 12px; line-height: 1.3; margin-top: 4px; }
.awards-list { position: relative; border-top: 1px solid var(--line); }
.award-row {
    display: grid; grid-template-columns: 120px 1.4fr 1fr 60px; align-items: center; gap: 20px;
    padding: 30px 10px; border-bottom: 1px solid var(--line); color: var(--text); position: relative;
    transition: padding .4s var(--ease), color .3s;
}
.award-row::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--primary-rgb), .12), transparent); opacity: 0; transition: opacity .4s; z-index: -1; }
.award-row:hover { padding-left: 30px; color: var(--text); }
.award-row:hover::before { opacity: 1; }
.aw-year { font-size: 18px; color: var(--primary); }
.aw-title { display: flex; align-items: center; gap: 14px; color: #fff; font-size: clamp(19px, 2vw, 26px); font-weight: 500; line-height: 1.3; }
.aw-title .ico { color: var(--primary); font-size: 26px; }
.aw-arrow { justify-self: end; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: #fff; font-size: 20px; transition: all .4s var(--ease); }
.award-row:hover .aw-arrow { background: var(--primary); border-color: var(--primary); transform: rotate(45deg); }
.award-preview { position: absolute; top: 0; left: 0; width: 260px; height: 190px; border-radius: 16px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.7); transition: opacity .35s, transform .35s var(--ease); z-index: 3; }
.award-preview.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.award-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 991px) {
    .awards-head { grid-template-columns: 1fr; gap: 30px; }
    .award-row { grid-template-columns: 70px 1fr 50px; }
    .aw-org { grid-column: 2; grid-row: 2; font-size: 14px; margin-top: -14px; }
    .aw-arrow { grid-row: 1 / 3; grid-column: 3; }
    .award-preview { display: none; }
}

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.ci-list { display: grid; gap: 18px; margin: 40px 0; }
.ci-item { display: flex; gap: 20px; align-items: center; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.ci-item h3 { font-size: 18px; margin: 0 0 2px; }
.ci-item p { margin: 0; color: #d8d8d8; line-height: 1.5; }
.ci-icon { width: 58px; height: 58px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 24px; }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 50px); }
.cf-title { font-size: 30px; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: #bdbdbd; }
.field input, .field select, .field textarea, .newsletter input[type=email], .widget-search input {
    width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; color: #fff; outline: none;
    transition: border-color .3s, box-shadow .3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #999 50%), linear-gradient(135deg, #999 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus, .newsletter input:focus, .widget-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; margin-bottom: 14px; cursor: pointer; }
.check input { accent-color: var(--primary); width: 17px; height: 17px; margin-top: 2px; flex: none; }
.check a { color: #fff; text-decoration: underline; }
.check.small { font-size: 12px; margin: 10px 0 0; }
.form-legal { font-size: 12px; line-height: 1.5; opacity: .7; margin-bottom: 24px; }
.form-alert { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 15px; line-height: 1.5; }
.form-alert.ok { background: rgba(46, 204, 113, .12); color: #7ee2a8; border: 1px solid rgba(46, 204, 113, .35); }
.form-alert.error { background: rgba(231, 76, 60, .12); color: #ff9c8f; border: 1px solid rgba(231, 76, 60, .35); }
.form-alert .ico { font-size: 22px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 34px; display: grid; justify-items: start; gap: 4px; transition: transform .5s var(--ease), border-color .4s; }
.contact-card:hover { transform: translateY(-6px); border-color: rgba(var(--primary-rgb), .5); }
.contact-card .ci-icon { margin-bottom: 20px; }
.contact-card h3 { font-size: 22px; }
.contact-card a, .contact-card p { color: #e0e0e0; margin: 0; }
.map-section { padding: 0 0 var(--pad); }
.map-consent { max-width: calc(var(--container)); margin: 0 auto; min-height: 420px; border-radius: var(--radius-lg); border: 1px dashed var(--line-strong); display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 30px; background: repeating-linear-gradient(45deg, var(--surface), var(--surface) 10px, #121212 10px, #121212 20px); }
.map-consent > .ico { font-size: 44px; color: var(--primary); }
.map-consent iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.map-consent.loaded { display: block; padding: 0; border: 0; overflow: hidden; }
@media (max-width: 991px) { .contact-grid { grid-template-columns: 1fr; } .contact-cards { grid-template-columns: 1fr; } }
@media (max-width: 575px) { .form-grid { grid-template-columns: 1fr; } .map-section { padding-left: 24px; padding-right: 24px; } }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.post-card:hover { transform: translateY(-8px); }
.post-img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; margin: 12px 12px 0; border-radius: var(--radius); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-img img { transform: scale(1.07); }
.post-date { position: absolute; left: 16px; top: 16px; width: 62px; padding: 8px 0; border-radius: 12px; background: #0d0d0d; color: #ccc; display: grid; text-align: center; font-size: 13px; line-height: 1.2; }
.post-date b { font-size: 24px; color: var(--primary); font-weight: 600; }
.post-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; margin-bottom: 12px; }
.post-meta span, .post-meta a { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .ico { color: var(--primary); }
.post-meta.big { font-size: 15px; margin: 30px 0 10px; }
.post-title { font-size: 22px; line-height: 1.35; margin-bottom: 14px; }
.post-body p { font-size: 15px; }
.read-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; padding-top: 18px; border-top: 1px solid var(--line); }
.read-more .ico { color: var(--primary); transition: transform .3s; }
.read-more:hover .ico { transform: translateX(5px); }
.results-note { margin-bottom: 40px; }
.results-note a { color: var(--primary); }
.empty { text-align: center; padding: 60px 0; }
@media (max-width: 1100px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .post-grid { grid-template-columns: 1fr; } }

.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 60px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 52px; height: 52px; padding: 0 10px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: #fff; font-size: 17px; }
.pagination .current, .pagination a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .dots { border: 0; }

/* ---------- Detalle (servicio, artículo, proyecto) ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 50px; align-items: start; }
.detail-img { border-radius: var(--radius-lg); overflow: hidden; }
.detail-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.detail-head { display: flex; align-items: center; gap: 20px; margin: 40px 0 0; }
.detail-head h2, .detail-title { font-size: clamp(30px, 3.4vw, 46px); margin: 0; letter-spacing: -.02em; }
.detail-title { margin: 6px 0 20px; }
.detail-icon { width: 72px; height: 72px; border-radius: 18px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 34px; flex: none; }
.detail-subtitle { font-size: 28px; margin: 60px 0 26px; }
.prose { color: #b5b5b5; font-size: 17px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 32px; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 26px; margin: 1.5em 0 .6em; }
.prose h4 { font-size: 21px; margin: 1.4em 0 .5em; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 0; margin: 0 0 1.4em; list-style: none; }
.prose ol { counter-reset: li; }
.prose li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--primary); }
.prose ol li::before { counter-increment: li; content: counter(li) '.'; position: absolute; left: 0; color: var(--primary); font-weight: 600; }
.prose blockquote { margin: 40px 0; padding: 36px 40px 36px 90px; background: var(--surface); border-radius: var(--radius); color: #fff; font-size: 21px; line-height: 1.6; position: relative; border-left: 3px solid var(--primary); }
.prose blockquote::before { content: '“'; position: absolute; left: 30px; top: 12px; font-size: 90px; line-height: 1; color: var(--primary); font-family: Georgia, serif; }
.prose img { border-radius: var(--radius); margin: 30px 0; }
.prose figure { margin: 30px 0; }
.prose figcaption { font-size: 14px; text-align: center; margin-top: 10px; }
.prose table { width: 100%; border-collapse: collapse; margin: 30px 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 16px; border: 1px solid var(--line); text-align: left; }
.prose th { color: #fff; background: var(--surface); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.prose strong { color: #fff; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.prose code { background: var(--surface); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose pre { background: var(--surface); padding: 20px; border-radius: 14px; overflow-x: auto; }

.sidebar { display: grid; gap: 30px; position: sticky; top: 110px; }
.widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 32px; }
.widget-title { font-size: 22px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); position: relative; }
.widget-title::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 50px; height: 2px; background: var(--primary); }
.widget-links { list-style: none; display: grid; gap: 10px; }
.widget-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 12px; background: var(--bg); color: #ddd; transition: all .3s; }
.widget-links a:hover, .widget-links li.active a { background: var(--primary); color: #fff; }
.widget-links .count { font-size: 14px; opacity: .7; }
.widget-search { position: relative; }
.widget-search input { padding-right: 56px; }
.widget-search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 10px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 18px; }
.widget-posts { list-style: none; display: grid; gap: 18px; }
.widget-posts li { display: flex; gap: 16px; align-items: center; }
.wp-thumb { width: 84px; height: 84px; flex: none; border-radius: 12px; overflow: hidden; }
.wp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-posts a { color: #fff; font-weight: 500; line-height: 1.35; font-size: 16px; }
.widget-posts a:hover { color: var(--primary); }
.wp-date { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.wp-date .ico { color: var(--primary); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag-cloud strong { color: #fff; margin-right: 6px; }
.tag-cloud a { padding: 7px 16px; border-radius: 30px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
.tag-cloud a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.widget-cta { background: linear-gradient(160deg, rgba(var(--primary-rgb), .95), rgba(var(--primary-rgb), .75)), var(--surface); color: #fff; text-align: center; border: 0; display: grid; justify-items: center; }
.widget-cta h3 { font-size: 26px; }
.wc-icon { width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; font-size: 34px; margin-bottom: 20px; }
.wc-phone { display: block; font-size: 24px; font-weight: 600; color: #fff; margin: 4px 0 22px; }
.wc-phone:hover { color: #111; }
@media (max-width: 1100px) { .detail-grid { grid-template-columns: 1fr; } .sidebar { position: static; } }

.post-footer { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 50px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share { display: flex; align-items: center; gap: 8px; }
.share strong { color: #fff; margin-right: 6px; }
.share a { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; color: #fff; font-size: 17px; }
.share a:hover { background: var(--primary); color: #fff; }
.comment { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.comment-avatar { width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 600; }
.comment h4 { font-size: 19px; margin-bottom: 4px; }
.comment h4 small { font-size: 13px; color: var(--text); font-weight: 400; margin-left: 8px; }
.comment p { margin: 0; }
.comment-form { margin-top: 20px; background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.comment-form .detail-subtitle { margin-top: 0; }

.project-hero-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 60px; }
.project-hero-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.project-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 60px; align-items: start; }
.project-info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 34px; position: sticky; top: 110px; }
.project-info h3 { font-size: 22px; margin-bottom: 20px; }
.project-info ul { list-style: none; margin-bottom: 26px; }
.project-info li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.project-info strong { color: #fff; font-weight: 500; text-align: right; }
.project-info strong a { display: inline-flex; gap: 6px; align-items: center; color: var(--primary); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; display: block; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.post-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--line); }
.post-nav a { display: flex; align-items: center; gap: 16px; color: #fff; font-weight: 500; line-height: 1.35; }
.post-nav a .ico { font-size: 24px; color: var(--primary); flex: none; }
.post-nav small { display: block; color: var(--text); font-weight: 400; }
.pn-next { justify-content: flex-end; text-align: right; }
.pn-grid { width: 60px; height: 60px; border-radius: 50%; background: var(--surface); justify-content: center; }
@media (max-width: 991px) { .project-detail-grid { grid-template-columns: 1fr; } .project-info { position: static; } .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .post-nav { grid-template-columns: 1fr 1fr; } .pn-grid { display: none !important; } .gallery-grid { grid-template-columns: 1fr; } }

.member-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.member-photo { border-radius: var(--radius-lg); overflow: hidden; }
.member-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.member-contact { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0; }
.member-contact li { display: flex; gap: 14px; align-items: center; background: var(--surface); padding: 16px; border-radius: var(--radius); }
.member-contact .ci-icon { width: 48px; height: 48px; font-size: 20px; }
.member-contact small { display: block; line-height: 1.2; }
.member-contact a { color: #fff; word-break: break-all; line-height: 1.4; }
@media (max-width: 991px) { .member-grid { grid-template-columns: 1fr; } .member-contact { grid-template-columns: 1fr; } }

/* ---------- Precios ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 46px 40px; display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.price-card:hover { transform: translateY(-8px); }
.price-card.featured { background: var(--primary); border-color: var(--primary); color: #fff; }
.price-card.featured h3, .price-card.featured .price-amount strong, .price-card.featured li { color: #fff; }
.price-badge { position: absolute; top: 24px; right: 24px; background: #111; color: #fff; font-size: 13px; padding: 6px 14px; border-radius: 30px; line-height: 1.3; }
.price-name { font-size: 26px; margin-bottom: 6px; }
.price-desc { font-size: 15px; margin-bottom: 26px; }
.price-amount { display: flex; align-items: baseline; gap: 8px; padding: 26px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); margin-bottom: 30px; }
.price-amount strong { font-size: 54px; line-height: 1; color: #fff; font-weight: 600; letter-spacing: -.03em; }
.price-features { list-style: none; display: grid; gap: 14px; margin-bottom: 40px; }
.price-features li { display: flex; gap: 12px; align-items: center; color: #e6e6e6; line-height: 1.4; }
.price-features .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(var(--primary-rgb), .15); color: var(--primary); stroke-width: 2.4; }
.price-card.featured .price-features .ico { background: rgba(255, 255, 255, .2); color: #fff; }
.price-features li.off { opacity: .45; text-decoration: line-through; }
.price-card .btn-pill { margin-top: auto; align-self: flex-start; }
@media (max-width: 991px) { .price-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ---------- Cabecera de página ---------- */
.page-banner { position: relative; min-height: 520px; display: flex; align-items: center; padding: 150px 0 90px; overflow: hidden; isolation: isolate; text-align: center; }
.pb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pb-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 0%, rgba(13, 13, 13, .55) 45%, rgba(13, 13, 13, .8) 100%), linear-gradient(90deg, rgba(var(--primary-rgb), .35), transparent 60%); }
.pb-title { font-size: clamp(40px, 6vw, 80px); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; margin-bottom: 12px; }
.pb-sub { color: #ddd; font-size: 18px; margin-bottom: 16px; }
.breadcrumb { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; padding: 10px 24px; border-radius: 40px; background: rgba(255, 255, 255, .08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 15px; line-height: 1.4; }
.breadcrumb .ico { color: var(--primary); font-size: 14px; }
.breadcrumb span { color: var(--primary); }
@media (max-width: 767px) { .page-banner { min-height: 400px; padding: 130px 0 60px; } }

/* ---------- 404 ---------- */
.error-404 { min-height: 100vh; display: grid; place-items: center; padding: 160px 0 100px; }
.e404-num { font-size: clamp(120px, 22vw, 280px); font-weight: 700; line-height: 1; color: #fff; display: flex; justify-content: center; align-items: center; letter-spacing: -.04em; }
.e404-num span { color: var(--primary); display: inline-flex; font-size: .8em; margin: 0 .04em; animation: spin 14s linear infinite; }
.e404-search { max-width: 520px; margin: 30px auto 40px; }

/* ---------- Pie ---------- */
.site-footer { position: relative; background: #080808; border-top: 1px solid var(--line); padding-top: 100px; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; left: 50%; top: -260px; width: 900px; height: 520px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(var(--primary-rgb), .18), transparent 65%); pointer-events: none; }
.footer-cta { text-align: center; margin-bottom: 50px; }
.footer-cta-link { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 34px; color: #fff; font-size: clamp(44px, 8.5vw, 130px); line-height: 1; letter-spacing: -.045em; }
.footer-cta-link:hover { color: #fff; }
.fc-light { font-weight: 300; }
.fc-bold { font-weight: 700; }
.fc-circle { width: clamp(80px, 11vw, 150px); height: clamp(80px, 11vw, 150px); border-radius: 50%; background: var(--primary); display: grid; place-items: center; font-size: .5em; transition: transform .6s var(--ease), background .4s, color .4s; }
.footer-cta-link:hover .fc-circle { transform: rotate(45deg); background: #fff; color: #111; }
.footer-contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; padding-bottom: 70px; border-bottom: 1px solid var(--line); }
.fcontact { display: inline-flex; align-items: center; gap: 14px; padding: 16px 30px; border-radius: 60px; border: 1px solid var(--line-strong); color: #fff; font-size: clamp(17px, 2vw, 24px); }
.fcontact .ico { color: var(--primary); }
.fcontact:hover { border-color: var(--primary); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1.3fr; gap: 50px; padding: 70px 0; }
.fcol h4 { font-size: 22px; margin-bottom: 26px; }
.fcol-brand p { margin: 24px 0 28px; max-width: 340px; }
.flinks { list-style: none; display: grid; gap: 10px; }
.flinks a { position: relative; display: inline-block; transition: color .3s, padding .3s; }
.flinks a::before { content: ''; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--primary); transition: width .3s; }
.flinks a:hover { padding-left: 18px; }
.flinks a:hover::before { width: 10px; }
.newsletter { position: relative; }
.newsletter input[type=email] { padding: 16px 64px 16px 20px; border-radius: 60px; background: var(--surface); }
.newsletter button[type=submit] { position: absolute; right: 6px; top: 6px; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 20px; }
.newsletter button[type=submit]:hover { background: #fff; color: #111; }
.faddress { display: flex; gap: 12px; margin-top: 24px; line-height: 1.6; }
.faddress .ico { color: var(--primary); font-size: 20px; margin-top: 3px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 26px 0; }
.fb-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.fb-inner p { margin: 0; }
.legal-links { list-style: none; display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } .fb-inner { justify-content: center; text-align: center; } }

/* ---------- Volver arriba y cookies ---------- */
.back-to-top { position: fixed; right: 26px; bottom: 26px; width: 52px; height: 52px; z-index: 90; border-radius: 50%; background: var(--surface); color: #fff; display: grid; place-items: center; font-size: 20px; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .4s var(--ease); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.back-to-top circle { fill: none; stroke-width: 2; }
.btt-track { stroke: var(--line); }
.btt-progress { stroke: var(--primary); stroke-dasharray: 138.2; stroke-dashoffset: 138.2; }
.back-to-top .ico { position: relative; }
.back-to-top:hover { background: var(--primary); }

.cookie-bar { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 400; max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; padding: 20px 24px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: 14px; line-height: 1.5; flex: 1 1 300px; }
.cookie-bar a { color: var(--primary); }
.cookie-actions { display: flex; gap: 10px; }

/* ---------- Lightbox ---------- */
.lightbox-open .video-frame { aspect-ratio: auto; background: transparent; max-height: 86vh; display: grid; place-items: center; }
.lightbox-open .video-frame img { max-height: 86vh; width: auto; border-radius: 16px; }
