:root {
  --bg: #0e1726;
  --bg-soft: #f4f7fb;
  --ink: #182432;
  --ink-soft: #556578;
  --line: #d8e0ea;
  --brand: #ff7f00;
  --brand-2: #0f8d7a;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(8, 32, 55, 0.12);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: 'Montserrat', sans-serif; font-weight: 400; color: var(--ink); background: var(--white); }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, 92%); margin: 0 auto; }
main { flex: 1 0 auto; }
.site-header { position: sticky; top: 0; z-index: 80; backdrop-filter: blur(10px); background: rgba(14, 23, 38, 0.86); border-bottom: 1px solid rgba(255,255,255,.1); transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.site-header.home-mode { position: fixed; top: 0; left: 0; right: 0; background: rgba(0,0,0,0); border-bottom-color: transparent; backdrop-filter: none; }
.site-header.home-mode.scrolled { background: rgba(16, 28, 45, 0.94); border-bottom-color: rgba(255,255,255,.18); box-shadow: 0 10px 30px rgba(4, 12, 24, 0.35); }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; min-height: 40px; }
.brand img { display: block; height: 46px; width: auto; }
.brand .logo-blue { display: none !important; }
.brand .logo-white { display: block; }
nav { display: flex; align-items: center; gap: 1.2rem; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem; }
nav ul li { position: relative; }
nav a { color: rgba(255,255,255,.88); font-weight: 600; font-size: .92rem; letter-spacing: .03em; padding: .55rem .8rem; border-radius: 999px; transition: .25s; }
nav a.active, nav a:hover { background: rgba(255,127,0,.18); color: #fff; }
.site-header.home-mode.scrolled nav a { color: rgba(255,255,255,.88); }
.dropdown { position: absolute; top: 100%; left: 0; background: #1c2a3c; min-width: 220px; display: none; border: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow); padding-top: .35rem; }
.dropdown a { display: block; padding: .72rem .9rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
li.has-dropdown:hover .dropdown { display: block; }
.menu-toggle { display: none; background: transparent; border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 8px; padding: .35rem .6rem; }
.hero { background: radial-gradient(circle at 20% 20%, #133764 0%, var(--bg) 60%); color: #fff; padding: 6.2rem 0 4.5rem; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: auto -20% -45% -20%; height: 380px; background: radial-gradient(circle, rgba(255,127,0,.35), transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 2rem; align-items: center; }
.hero h1 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.04; margin: 0 0 .8rem; }
.hero p { color: rgba(255,255,255,.86); max-width: 680px; font-size: 1.05rem; }
.hero-media { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transform: translateY(0); animation: float 6s ease-in-out infinite; }
.hero-media img { width: 100%; height: 280px; object-fit: cover; display: block; }
.hero-home { min-height: 100vh; display: flex; align-items: flex-start; padding: 9.2rem 0 3rem; background: none; isolation: isolate; }
.hero-home::before { content: ''; position: absolute; inset: 0; z-index: 0; background-image: var(--hero-image); background-size: cover; background-position: center; transform: scale(1); transform-origin: center center; animation: heroZoomInOut 18s ease-in-out infinite alternate; }
.hero-home::after { display: none; }
.hero-home-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,16,28,.45), rgba(7,16,28,.65)); }
.hero-home-content { position: relative; z-index: 2; text-align: left; }
.hero-home-content h1 { font-size: clamp(2.7rem, 5.2vw, 5.4rem); margin-bottom: 1rem; color: #fff; }
.hero-home-content p { color: rgba(255,255,255,.95); font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.5; margin: 0 0 1rem; max-width: 820px; text-align: left; }
@keyframes float { 50% { transform: translateY(-9px);} }
@keyframes heroZoomInOut { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }
.section { padding: 4rem 0; }
.section.light { background: var(--bg-soft); }
.section-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin: 0 0 1rem; letter-spacing: .01em; }
.content-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: clamp(1rem, 2vw, 2rem); }
.wp-content :is(h1,h2,h3,h4) { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.12; margin: 1.8rem 0 .8rem; }
.wp-content p { color: var(--ink-soft); line-height: 1.8; margin: .9rem 0; }
.wp-content ul { color: var(--ink-soft); padding-left: 1.2rem; }
.wp-content img { width: min(100%, 720px); height: auto; max-height: 420px; object-fit: cover; border-radius: 14px; margin: 1.1rem auto; display: block; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-media img { width: 100%; height: 165px; object-fit: cover; display: block; }
.card-body { padding: 1rem 1rem 1.2rem; }
.cards-flat .card { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.cards-flat .card-media { border-radius: 0; overflow: hidden; }
.cards-flat .card-media img { border-radius: 0; height: 190px; }
.cards-flat .card-body { padding: .8rem 0 1rem; }
.project-gallery { margin-top: .9rem; gap: .9rem; }
.project-gallery .card-media img { height: 230px; }
.badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .5rem; }
.badge { background: rgba(15,141,122,.12); color: #12685c; padding: .22rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.card h3 { margin: 0 0 .55rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--ink-soft); line-height: 1.6; }
.eyebrow { margin: 0 0 .65rem; color: var(--brand); font-size: .95rem; font-weight: 600; letter-spacing: .02em; }
.section-about { background: #f3f5f7; }
.about-grid { display: grid; grid-template-columns: minmax(320px, 1.2fr) minmax(280px, .95fr); gap: 2rem; align-items: center; }
.about-copy { font-size: 1.02rem; line-height: 1.7; color: #223346; }
.about-subtitle { margin: .35rem 0 1.4rem; font-size: clamp(1.5rem, 2.6vw, 3rem); font-weight: 500; color: #1a2a3d; }
.about-list { margin: .7rem 0 0; padding-left: 1.1rem; }
.about-list li { margin-bottom: .35rem; }
.about-media { margin: 0; align-self: center; border-radius: 12px; overflow: hidden; border: 1px solid #d7dee7; }
.about-media img { width: 100%; height: 100%; min-height: 320px; max-height: 520px; object-fit: cover; display: block; }
.process-layout { display: grid; grid-template-columns: minmax(280px, .95fr) minmax(320px, 1.25fr); gap: 2rem; align-items: start; }
.process-intro { background: linear-gradient(150deg, #eef2f7, #e9eef5); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.2rem, 2vw, 2rem); position: sticky; top: 94px; }
.process-title { font-size: clamp(2.1rem, 4vw, 3.8rem); line-height: .98; margin-bottom: .8rem; letter-spacing: -.01em; }
.process-lead { margin: 0; color: #203041; font-size: clamp(1.1rem, 1.8vw, 1.8rem); line-height: 1.25; max-width: 18ch; }
.process-stat { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid #cfd8e3; }
.process-counter { display: flex; align-items: baseline; gap: .12em; color: var(--brand); line-height: .9; }
.counter-number { font-size: clamp(3.2rem, 6.5vw, 6.8rem); font-weight: 900; letter-spacing: -.01em; }
.counter-plus { font-size: clamp(2.4rem, 5vw, 5rem); font-weight: 900; }
.process-stat span { color: #31445d; font-size: 1.2rem; font-weight: 600; }
.process-steps { position: relative; padding-left: .9rem; }
.process-step { position: relative; padding: .35rem 0 1.1rem 4.1rem; margin-bottom: 1.05rem; border-bottom: 1px solid #d5dde8; }
.process-step:last-child { margin-bottom: 0; border-bottom: 0; }
.process-step h3 { margin: 0 0 .45rem; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 2.05rem); line-height: 1.05; color: #15283c; }
.process-step p { margin: 0; color: var(--ink-soft); line-height: 1.6; }
.process-icon { position: absolute; left: 1rem; top: 1rem; width: 2.35rem; height: 2.35rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: #2e3fa4; color: #fff; font-size: .72rem; letter-spacing: .08em; font-weight: 800; }
.section-services { position: relative; overflow: hidden; }
.section-services::before { content: ''; position: absolute; width: 420px; height: 420px; background: radial-gradient(circle, rgba(255,127,0,.18), rgba(255,127,0,0)); top: -190px; right: -160px; pointer-events: none; }
.section-services .section-title { margin-bottom: 2rem; }
.service-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.3rem; row-gap: 2.35rem; margin-top: 0; }
.service-item { padding: 0 0 .9rem; border-bottom: 1px solid #ccd6e2; }
.service-item h3 { margin: 0 0 .6rem; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: clamp(1.45rem, 2.2vw, 2.25rem); line-height: 1.06; color: #16273a; }
.service-item p { margin: 0; color: var(--ink-soft); line-height: 1.65; }
.sectors-section { background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); }
.sectors-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; margin: 1rem 0 1.2rem; }
.sector-card { display: block; position: relative; border-radius: 10px; overflow: hidden; min-height: 260px; }
.sector-card img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; filter: saturate(.95); transition: transform .35s ease; }
.sector-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,35,.1), rgba(10,20,35,.42)); }
.sector-badge { position: absolute; left: .85rem; bottom: .8rem; z-index: 1; color: #fff; text-transform: uppercase; font-weight: 700; letter-spacing: .03em; font-size: .82rem; line-height: 1; background: #243b9c; border-radius: 999px; padding: .42rem .62rem; }
.sector-card:hover img { transform: scale(1.05); }
.sectors-copy { margin: 0; color: #3c4f63; line-height: 1.75; font-weight: 500; max-width: 980px; }
.section-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; padding: .62rem 1rem; border: 1px solid #243b9c; border-radius: 999px; color: #243b9c; font-weight: 700; font-size: .93rem; letter-spacing: .01em; transition: background .22s ease, color .22s ease, transform .22s ease; }
.section-link::after { content: '→'; font-size: 1.02rem; line-height: 1; }
.section-link:hover { background: #243b9c; color: #fff; transform: translateY(-1px); }
.logo-strip { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.logo-track { display: flex; gap: 2.4rem; width: max-content; padding: 1.3rem 1.2rem; animation: slide 35s linear infinite; }
.logo-track img { height: 42px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.site-footer { background: #0c1522; color: rgba(255,255,255,.85); padding: 3rem 0 1.5rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.3rem; }
.footer-brand { display: inline-flex; margin-bottom: .8rem; }
.footer-brand img { display: block; width: auto; height: 38px; }
.site-footer h3,.site-footer h4 { margin: 0 0 .6rem; color: #fff; }
.site-footer p { margin: .25rem 0; color: rgba(255,255,255,.76); }
.footer-copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.2rem; padding-top: 1.1rem; font-size: .9rem; color: rgba(255,255,255,.62); }
.meta { color: var(--ink-soft); font-size: .9rem; margin-bottom: .6rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.filter-btn { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: .45rem .7rem; border-radius: 999px; cursor: pointer; font-weight: 600; }
.filter-btn.active, .filter-btn:hover { background: var(--ink); color: #fff; }
.cookie-banner { position: fixed; bottom: 18px; left: 18px; right: 18px; z-index: 99; background: #0f1c2f; color: #fff; border-radius: 16px; padding: 1rem; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.15); }
.cookie-banner p { margin: 0 0 .8rem; font-size: .95rem; color: rgba(255,255,255,.88); }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-actions button { border: 0; border-radius: 10px; padding: .45rem .8rem; cursor: pointer; font-weight: 700; }
.cookie-accept { background: var(--brand); color: #fff; }
.cookie-reject { background: rgba(255,255,255,.15); color: #fff; }
.reveal { opacity: 1; transform: none; transition: .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.contact-stack { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(360px, 1.15fr); gap: 1rem; align-items: start; }
.contact-card { max-width: 100%; }
.contact-info-card { max-width: 100%; }
.contact-info-card,
.contact-card { padding: 1.2rem 1.3rem; }
.contact-intro { margin-top: 0; margin-bottom: .9rem; font-weight: 500; color: #31455d; }
.contact-details { color: #3b4f66; }
.contact-item { display: flex; align-items: center; gap: .6rem; font-size: clamp(1.02rem, 1.5vw, 1.2rem); font-weight: 700; line-height: 1.32; margin-bottom: .6rem; }
.contact-icon { width: 1.15em; text-align: center; color: #0c1626; flex-shrink: 0; }
.contact-hours-title { margin: 1.2rem 0 .3rem; font-size: clamp(1.15rem, 1.7vw, 1.35rem); color: #2f435a; font-weight: 800; }
.contact-hours-line { margin: 0 0 .18rem; font-size: clamp(1.02rem, 1.45vw, 1.16rem); color: #3a4f67; font-weight: 700; line-height: 1.32; }
.contact-form { display: grid; gap: 1rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-field { display: grid; gap: .45rem; }
.contact-field.full { grid-column: 1 / -1; }
.contact-field label { font-size: 1.08rem; font-weight: 600; color: #102843; }
.contact-required { color: #d41f33; }
.contact-input,
.contact-textarea { width: 100%; border: 1px solid #69778a; border-radius: 10px; background: #fff; color: #172a42; font: inherit; padding: .85rem .9rem; }
.contact-input { min-height: 50px; }
.contact-textarea { min-height: 190px; resize: vertical; }
.contact-input:focus,
.contact-textarea:focus { outline: 2px solid rgba(36,59,156,.25); border-color: #243b9c; }
.contact-privacy { display: inline-flex; gap: .55rem; align-items: center; color: #1a2e47; font-weight: 500; }
.contact-privacy input { width: 18px; height: 18px; margin: 0; accent-color: #1f57c3; }
.contact-privacy a { color: #243b9c; text-decoration: underline; text-underline-offset: .14em; }
.contact-submit { border: 0; border-radius: 10px; min-height: 56px; background: #030a14; color: #fff; font-size: 1.75rem; font-weight: 700; letter-spacing: .01em; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.contact-submit:hover { background: #0e1e35; transform: translateY(-1px); }
.contact-status { border-radius: 10px; padding: .75rem .9rem; font-weight: 600; margin-bottom: .2rem; }
.contact-status.ok { background: #e8f6ee; border: 1px solid #8ec9a6; color: #185d34; }
.contact-status.error { background: #fdebec; border: 1px solid #e6a7ad; color: #8a1f2d; }

/* Contacto: tarjeta de datos con look mas ligero */
.contact-info-card {
  border: 1px solid #d5dfeb;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.contact-info-card .contact-details {
  color: #44576d;
}
.contact-info-card .contact-item {
  gap: .55rem;
  margin-bottom: .46rem;
  font-size: clamp(.95rem, 1.24vw, 1.08rem);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: .004em;
}
.contact-info-card .contact-icon {
  color: #243f5a;
  opacity: .78;
  width: 1.1em;
}
.contact-info-card .contact-item a {
  font-weight: 500;
}
.contact-info-card .contact-hours-title {
  margin: .92rem 0 .25rem;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  font-weight: 600;
  color: #2f455d;
  letter-spacing: .006em;
}
.contact-info-card .contact-hours-line {
  margin: 0 0 .1rem;
  font-size: clamp(.94rem, 1.22vw, 1.03rem);
  font-weight: 500;
  color: #4b6077;
  line-height: 1.38;
}

/* Project detail cover header (estilo Alberta adaptado a NTNL) */
.project-cover {
  position: relative;
  min-height: clamp(420px, 58vh, 680px);
  display: flex;
  align-items: flex-end;
  padding: 7.2rem 0 3.2rem;
  color: #fff;
  background-image: var(--cover-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.project-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 14, 26, .86) 0%, rgba(6, 14, 26, .62) 42%, rgba(6, 14, 26, .38) 100%);
}
.project-cover::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(10, 20, 34, 0), rgba(10, 20, 34, .35));
}
.project-cover .container {
  position: relative;
  z-index: 2;
  width: min(1240px, 92%);
}
.project-cover-inner {
  max-width: min(760px, 100%);
}
.project-cover-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .95rem;
  padding: .48rem .82rem;
  border-radius: 999px;
  background: #ff7f00;
  color: #fff;
  font-size: .84rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 800;
}
.project-cover h1 {
  margin: 0;
  color: #fff;
  font-weight: 800;
  font-size: clamp(2rem, 5.1vw, 4.25rem);
  line-height: 1.05;
}
.project-cover .meta {
  margin-top: .85rem;
  color: rgba(255, 255, 255, .88);
  font-size: .98rem;
  font-weight: 600;
}

@media (max-width: 1020px){ .hero-grid,.cards,.footer-grid,.service-grid,.sectors-grid { grid-template-columns: 1fr 1fr; } .process-layout { grid-template-columns: 1fr; } .process-intro { position: static; } }
@media (max-width: 760px){
  .menu-toggle { display: inline-flex; }
  .site-header.home-mode .menu-toggle { color: #fff; border-color: rgba(255,255,255,.45); }
  nav { position: absolute; top: 74px; left: 0; right: 0; background: #111e31; padding: 1rem; display: none; flex-direction: column; align-items: stretch; }
  nav.open { display: flex; }
  nav ul { flex-direction: column; }
  .dropdown { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 .7rem; min-width: 0; background: transparent; }
  li.has-dropdown > a { margin-bottom: .2rem; }
  .hero { padding-top: 5.1rem; }
  .hero-home { min-height: 94vh; padding-top: 7.9rem; }
  .hero-home-content h1 { font-size: clamp(2.1rem, 10vw, 3.2rem); }
  .hero-home-content p { font-size: .98rem; }
  .hero-grid,.cards,.footer-grid,.service-grid,.sectors-grid { grid-template-columns: 1fr; }
  .service-grid { row-gap: 1.25rem; }
  .section-services .section-title { margin-bottom: 1.25rem; }
  .contact-stack { grid-template-columns: 1fr; }
  .contact-info-card,
  .contact-card { padding: 1rem; }
  .contact-item { font-size: 1rem; margin-bottom: .52rem; }
  .contact-hours-title { margin-top: .95rem; font-size: 1.1rem; }
  .contact-hours-line { font-size: .98rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-submit { font-size: 1.3rem; min-height: 52px; }
  .brand img { height: 40px; }
  .hero-media img { height: 210px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media img { min-height: 260px; }
  .process-title { font-size: clamp(1.95rem, 8vw, 2.9rem); }
  .process-step { padding-left: 3.65rem; }
  .process-icon { left: .85rem; top: .9rem; }
  .sector-card { min-height: 220px; }
  .sector-card img { min-height: 220px; }
  .project-cover {
    min-height: 420px;
    padding: 6.5rem 0 2.4rem;
    align-items: flex-end;
  }
  .project-cover h1 {
    font-size: clamp(1.75rem, 9.4vw, 2.9rem);
  }
  .project-cover-badge {
    font-size: .78rem;
    padding: .4rem .7rem;
  }
}

/* Cookie manager (modo completo: aceptar, denegar y configurar en cualquier momento) */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: linear-gradient(140deg, #13233a, #0f1b2d);
  color: #fff;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform .24s ease;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-content {
  width: min(1200px, 94%);
  margin: 0 auto;
  padding: .95rem 0;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner-text h3 {
  margin: 0 0 .35rem;
  font-size: 1rem;
  color: #fff;
}
.cookie-banner-text p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: .9rem;
  line-height: 1.45;
}
.cookie-legal-text { margin-top: .3rem; }
.cookie-link {
  color: #ffb56a;
  text-decoration: underline;
  text-underline-offset: .14em;
}
.cookie-banner-actions {
  display: flex;
  gap: .55rem;
  align-items: center;
  flex-shrink: 0;
}
.cookie-btn {
  border: 0;
  border-radius: 10px;
  padding: .5rem .8rem;
  font-weight: 700;
  cursor: pointer;
}
.cookie-btn-settings {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}
.cookie-btn-reject {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
}
.cookie-btn-accept {
  background: var(--brand);
  color: #fff;
}
.cookie-settings-panel {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 100%;
  width: min(560px, 94vw);
  background: #fff;
  color: var(--ink);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -12px 28px rgba(0, 0, 0, .24);
  opacity: 0;
  visibility: hidden;
  transition: .2s ease;
}
.cookie-settings-panel.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-8px);
}
.cookie-settings-header,
.cookie-settings-footer {
  padding: .85rem 1rem;
  border-bottom: 1px solid #e5ebf2;
}
.cookie-settings-footer { border-bottom: 0; border-top: 1px solid #e5ebf2; }
.cookie-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie-settings-header h4 {
  margin: 0;
  font-size: 1rem;
}
.cookie-settings-close {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #41556d;
}
.cookie-settings-body { padding: .3rem 1rem .8rem; }
.cookie-category { padding: .75rem 0; border-bottom: 1px solid #edf1f6; }
.cookie-category:last-child { border-bottom: 0; }
.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .8rem;
}
.cookie-category-info strong {
  display: block;
  margin-bottom: .2rem;
}
.cookie-category-info p {
  margin: 0;
  color: #54687d;
  font-size: .86rem;
  line-height: 1.4;
}
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  flex-shrink: 0;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #c9d3df;
  transition: .2s ease;
}
.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  transition: .2s ease;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--brand);
}
.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px);
}
.cookie-toggle.disabled { opacity: .8; }
.cookie-toggle.disabled .cookie-toggle-slider { background: #8798ab; }
.cookie-toggle.disabled .cookie-toggle-slider::before { transform: translateX(20px); }
.cookie-btn-save {
  width: 100%;
  background: var(--brand);
  color: #fff;
}
.cookie-preferences-btn {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 9998;
  border: 0;
  border-radius: 999px;
  background: #0f1b2d;
  color: #fff;
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .02em;
  padding: .52rem .75rem;
  box-shadow: 0 8px 18px rgba(5, 12, 22, .35);
  cursor: pointer;
}
@media (max-width: 760px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    padding: .9rem 0;
  }
  .cookie-banner-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }
  .cookie-btn { width: 100%; }
  .cookie-preferences-btn {
    left: 10px;
    bottom: 10px;
  }
}
