/* ════════════════════════════════════════════
   ANILLO VIAL PERIFÉRICO – Shared Stylesheet
   Para WordPress: copiar en Apariencia → Personalizar → CSS adicional
   ════════════════════════════════════════════ */

/* ─── PAGE TRANSITIONS (View Transitions API) ─── */
@view-transition { navigation: auto; }

/* Navbar stays persistent – no animation on it */
.navbar { view-transition-name: navbar; }
::view-transition-old(navbar),
::view-transition-new(navbar) { animation: none; mix-blend-mode: normal; }

/* Content: old page slides up + fades, new page slides up from below + fades in */
::view-transition-old(root) {
  animation: vt-out .28s cubic-bezier(.4,0,1,1) both;
}
::view-transition-new(root) {
  animation: vt-in .32s cubic-bezier(0,.6,.4,1) both;
}
@keyframes vt-out {
  from { opacity:1; transform:translateY(0) scale(1); }
  to   { opacity:0; transform:translateY(-12px) scale(.99); }
}
@keyframes vt-in {
  from { opacity:0; transform:translateY(16px) scale(.99); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: effra, sans-serif; color: #06070b; background: #fff; overflow-x: hidden; padding-top: 103px !important; }
p { font-size:16px; line-height:1.7; }

/* ─── VARIABLES ─── */
:root {
  --naranja: #ee3400;
  --amarillo: #ffbf41;
  --verde: #007179;
  --verde-dark: #008d92;
  --azul: #00b3e4;
  --gris: #5b6670;
  --gris-claro: #f2f7f9;
  --negro: #06070b;
  --border: #e8eef2;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.10),0 1px 2px rgba(0,0,0,.10);
  --shadow-md: 0 4px 6px rgba(0,0,0,.10),0 2px 4px rgba(0,0,0,.10);
  --shadow-lg: 0 27px 54px -13px rgba(0,0,0,.25);
}

/* ─── EYEBROW ─── */
.eyebrow { display:flex; align-items:center; gap:8px; font-size:12px; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; }
.eyebrow::before { content:''; display:inline-block; width:32px; height:3px; border-radius:99px; background:currentColor; flex-shrink:0; }
.eyebrow--verde { color:var(--verde); margin-bottom:20px; }
.section-title { font-size:36px; font-weight:700; color:var(--negro); margin-bottom:32px; }
.text-verde { color:var(--verde); }
.mt-section { margin-top:64px; }

/* ─── TICKER BAR ─── */
.ticker-bar { background:var(--amarillo); height:32px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.ticker-bar span { font-size:13px; font-weight:600; letter-spacing:3.5px; text-transform:uppercase; color:var(--negro); white-space:nowrap; }

/* ─── NAVBAR ─── */
.navbar { position:fixed; top:0; left:0; right:0; z-index:1000; background:rgba(255,255,255,.95); backdrop-filter:blur(10px); border-bottom:1px solid rgba(185,191,195,.3); padding:0 61px; height:103px; transition:box-shadow .25s,height .25s; }
.navbar.scrolled { box-shadow:0 4px 20px rgba(15,23,42,.08); border-bottom-color:rgba(185,191,195,.2); height:72px; }
.navbar-inner { display:flex; align-items:center; justify-content:space-between; height:100%; }
.logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.logo-icon { width:42px; height:42px; background:var(--verde); border-radius:6px; display:flex; align-items:center; justify-content:center; }
.logo-icon svg { width:26px; height:26px; fill:#fff; }
.logo-text strong { display:block; font-size:17px; font-weight:700; letter-spacing:-.3px; color:var(--negro); line-height:1.1; }
.logo-text span { font-size:11px; color:var(--gris); letter-spacing:.5px; }
.nav-links { display:flex; align-items:center; gap:4px; }
.nav-links a { padding:10px 14px; border-radius:6px; font-size:13px; font-weight:500; letter-spacing:.46px; text-transform:uppercase; color:rgba(91,102,112,.8); text-decoration:none; transition:all .2s ease; display:flex; align-items:center; gap:3px; }
.nav-links a:hover, .nav-links a.active { background:rgba(91,102,112,.1); color:var(--verde); font-weight:600; }
/* Dropdowns */
.nav-dropdown { position:relative; }
.has-drop { display:inline-flex; align-items:center; gap:.35rem; cursor:pointer; border:none; background:none; font:inherit; color:rgba(91,102,112,.8); padding:10px 14px; border-radius:6px; font-size:13px; font-weight:500; letter-spacing:.46px; text-transform:uppercase; transition:all .2s ease; }
.has-drop:hover, .has-drop.active { background:rgba(91,102,112,.1); color:var(--verde); font-weight:600; }
.dropdown-menu { display:none; position:absolute; top:calc(100% + 0.5rem); left:0; min-width:220px; background:#ffffff; border:1px solid rgba(15,23,42,0.12); border-radius:12px; box-shadow:0 16px 32px rgba(15,23,42,0.12); z-index:20; overflow:hidden; }
.dropdown-menu a { display:block; padding:.75rem 1rem; color:var(--negro); text-decoration:none; font-size:13px; transition:background .15s; text-transform:uppercase; }
.dropdown-menu a:hover { background:var(--gris-claro); }
.dropdown-menu a.active { font-weight:600; color:var(--verde); }
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:4px; }
.hamburger span { width:24px; height:2px; background:var(--negro); border-radius:2px; }

/* ─── MOBILE MENU ─── */
.mobile-menu { display:flex; visibility:hidden; pointer-events:none; position:fixed; top:0; right:0; bottom:0; width:82%; max-width:340px; background:#fff; z-index:1100; flex-direction:column; padding:0; box-shadow:-4px 0 32px rgba(0,0,0,.18); overflow-y:auto; transform:translateX(102%); transition:transform .38s cubic-bezier(.4,0,.2,1), visibility 0s .38s; }
.mobile-menu.open { visibility:visible; pointer-events:auto; transform:translateX(0); transition:transform .38s cubic-bezier(.4,0,.2,1), visibility 0s; }
.mobile-menu-header { display:flex; justify-content:flex-end; padding:8px 8px 0; }
.mobile-menu-close { background:none; border:none; cursor:pointer; color:var(--negro); padding:12px; line-height:1; transition:transform .2s ease; }
.mobile-menu-close:active { transform:scale(.9); }
.mobile-menu a { padding:16px 28px; font-size:15px; font-weight:500; color:var(--negro); text-decoration:none; border-bottom:1px solid var(--border); text-transform:uppercase; letter-spacing:.5px; transition:color .25s ease, font-weight .25s ease, background .2s ease; display:block; }
.mobile-menu a:hover { color:var(--verde); font-weight:600; background:rgba(91,102,112,.1); }
.mobile-menu a.active { color:var(--verde); font-weight:700; background:rgba(91,102,112,.08); animation:link-pulse .6s ease-out 1; }
/* Override inline-style padding with higher specificity */
.mobile-menu .mobile-menu-list { padding:0; list-style:none; }
.mobile-menu .mobile-menu-list > li { margin-bottom:0; }
.mobile-menu .mobile-menu-list a { padding:16px 28px; border-radius:0; }
.mobile-menu .mobile-menu-list a:hover { background:rgba(91,102,112,.1); }
/* Submenu toggle – prefixed with .mobile-menu for specificity (0,2,0) > inline (0,1,0) */
.mobile-menu .mobile-submenu-toggle { font:inherit; font-size:15px; font-weight:500; color:var(--negro); letter-spacing:.5px; text-transform:uppercase; padding:16px 28px; width:100%; border-radius:0; background:none; transition:color .2s ease, background .2s ease; border-bottom:1px solid var(--border); text-align:left; cursor:pointer; border-top:none; border-left:none; border-right:none; }
.mobile-menu .mobile-submenu-toggle:hover { color:var(--verde); background:rgba(91,102,112,.1); }
.mobile-menu .mobile-submenu-toggle:focus { outline:none; }
.mobile-menu .mobile-submenu-toggle[aria-expanded="true"] { color:var(--negro); background:none; }
/* Submenu items – no bullets, indented */
.mobile-submenu-links { list-style:none; overflow:hidden; max-height:0; opacity:0; transition:max-height .38s cubic-bezier(.4,0,.2,1), opacity .28s ease; }
.mobile-submenu-links.is-open { max-height:320px; opacity:1; }
.mobile-menu .mobile-submenu-links a { padding:13px 28px 13px 44px; font-size:14px; }
@keyframes link-pulse { 0% { color:var(--negro); opacity:.5; } 50% { opacity:1; } 100% { color:var(--verde); opacity:1; } }

/* ─── PAGE HERO (interior pages) ─── */
.page-hero { background:var(--verde); padding:80px 61px 60px; }
.page-hero .ph-eyebrow { font-size:12px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:rgba(255,255,255,.7); margin-bottom:16px; }
.page-hero h1 { font-size:52px; font-weight:700; color:#fff; line-height:1.15; letter-spacing:-.5px; }
.page-hero h1 em { color:var(--amarillo); font-style:normal; }
.page-hero .ph-desc { font-size:17px; color:rgba(255,255,255,.8); line-height:1.6; max-width:680px; margin-top:20px; }
.breadcrumb { display:flex; align-items:center; gap:8px; font-size:13px; color:rgba(255,255,255,.5); margin-bottom:20px; }
.breadcrumb a { color:rgba(255,255,255,.7); text-decoration:none; }
.breadcrumb a:hover { color:#fff; }
.breadcrumb span { color:rgba(255,255,255,.4); }

/* ─── BUTTONS ─── */
.btn-primary { display:inline-flex; align-items:center; align-self:flex-start; gap:8px; background:#FFC658; color:#06070b; padding:10px 22px; border-radius:4px; font-size:15px; font-weight:700; letter-spacing:.46px; text-transform:uppercase; text-decoration:none; border:none; cursor:pointer; transition:background .2s,transform .15s; }
.btn-primary:hover { background:#f5b83d; transform:translateY(-1px); }
.btn-primary svg { width:18px; height:18px; fill:#06070b; }
.btn-secondary { display:inline-flex; align-items:center; gap:8px; background:transparent; color:var(--verde); padding:10px 22px; border-radius:4px; font-size:15px; font-weight:500; letter-spacing:.46px; text-transform:uppercase; text-decoration:none; border:2px solid var(--verde); cursor:pointer; transition:background .2s,color .2s; }
.btn-secondary:hover { background:var(--verde); color:#fff; }

/* ─── TRAMOS (home + recorrido) ─── */
.tramos-section { background:var(--gris-claro); padding:96px 61px; }
.tramos-header { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:48px; }
.tramos-title { font-size:48px; font-weight:600; line-height:1.17; color:var(--negro); }
.tramos-title em { color:var(--verde); font-style:normal; }
.tramos-desc { font-size:16px; color:var(--gris); line-height:1.5; max-width:340px; }
.tramos-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.tramo-card { background:#fff; border-radius:16px; overflow:hidden; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; transition:transform .2s,box-shadow .2s; }
.tramo-card:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(0,0,0,.12); }
.tramo-image { height:260px; position:relative; overflow:hidden; }
.tramo-image img { width:100%; height:100%; object-fit:cover; display:block; }
.tramo-gradient { position:absolute; inset:0; pointer-events:none; }
.tramo-number-badge { position:absolute; top:16px; left:16px; border-radius:14px; padding:6px 12px; color:#fff; }
.tramo-label { font-size:11px; font-weight:600; letter-spacing:1px; text-transform:uppercase; display:block; }
.tramo-num { font-size:28px; font-weight:700; line-height:1; }
.tramo-body { padding:24px; flex:1; display:flex; flex-direction:column; gap:12px; }
.tramo-meta { display:flex; align-items:center; justify-content:space-between; }
.tramo-status { display:inline-flex; align-items:center; gap:6px; border-radius:99px; padding:4px 10px; font-size:11px; font-weight:600; letter-spacing:.5px; }
.tramo-status::before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; }
.tramo-km { font-size:14px; color:var(--gris); }
.tramo-name { font-size:20px; font-weight:500; color:var(--negro); line-height:1.4; }
.tramo-route { display:flex; flex-direction:column; gap:4px; }
.tramo-route-item { display:flex; gap:8px; font-size:14px; color:var(--gris); }
.tramo-route-item strong { font-weight:600; flex-shrink:0; }
.tramo-desc { font-size:14px; color:var(--gris); line-height:1.6; margin:0; }
.tramo-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:4px; }
.tramo-tag { background:var(--gris-claro); border-radius:99px; padding:4px 10px; font-size:11px; color:var(--gris); }

/* ─── COMPONENTES LIST ─── */
.componentes-list { display:flex; flex-direction:column; gap:14px; list-style:none; padding:0; margin:0; }
.componentes-list li { display:flex; align-items:flex-start; gap:12px; font-size:16px; color:var(--gris); line-height:1.6; }
.componentes-list li svg { flex-shrink:0; margin-top:3px; }

/* ─── INTERIOR PAGE CONTENT ─── */
.page-content { padding:72px 61px; max-width:1320px; margin:0 auto; }
.page-content.narrow { max-width:860px; }

/* Prose / Article */
.article-body { font-size:16px; line-height:1.75; color:var(--gris); }
.article-body h2 { font-size:28px; font-weight:700; color:var(--negro); margin:40px 0 16px; line-height:1.25; }
.article-body h3 { font-size:20px; font-weight:600; color:var(--negro); margin:32px 0 12px; }
.article-body p { margin-bottom:18px; }
.article-body ul, .article-body ol { padding-left:20px; margin-bottom:18px; }
.article-body li { margin-bottom:8px; }
.article-body strong { font-weight:700; color:var(--negro); }
.article-body a { color:var(--verde); text-decoration:underline; }

/* Two-column layout */
.two-col { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
.two-col-3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:32px; }

/* Info cards */
.info-card { background:var(--gris-claro); border-radius:16px; padding:28px; }
.info-card .ic-icon { width:40px; height:40px; color:var(--verde); margin-bottom:16px; }
.info-card .ic-icon svg { width:100%; height:100%; }
.info-card h3 { font-size:18px; font-weight:600; color:var(--negro); margin-bottom:10px; }
.info-card p { font-size:14px; color:var(--gris); line-height:1.65; }

/* Stats row */
.stats-row { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; background:var(--negro); border-radius:16px; padding:40px; margin:48px 0; }
.stats-row .sr-item { text-align:center; }
.stats-row .sr-value { font-size:36px; font-weight:700; color:var(--amarillo); display:block; }
.stats-row .sr-label { font-size:14px; color:rgba(255,255,255,.7); margin-top:4px; }

/* Partners / Logos */
.partners-row { display:flex; align-items:center; justify-content:center; gap:48px; padding:48px 0; flex-wrap:wrap; }
.partner-logo { display:flex; flex-direction:column; align-items:center; gap:12px; }
.partner-logo img { height:60px; object-fit:contain; filter:grayscale(20%); transition:filter .2s; }
.partner-logo img:hover { filter:none; }
.partner-logo span { font-size:11px; color:var(--gris); font-weight:600; letter-spacing:.5px; text-transform:uppercase; }

/* Timeline */
.timeline { position:relative; padding-left:32px; margin:32px 0; }
.timeline::before { content:''; position:absolute; left:8px; top:8px; bottom:8px; width:2px; background:var(--border); }
.tl-item { position:relative; margin-bottom:32px; }
.tl-item::before { content:''; position:absolute; left:-28px; top:6px; width:12px; height:12px; border-radius:50%; background:var(--verde); border:2px solid #fff; box-shadow:0 0 0 3px var(--verde); }
.tl-item .tl-year { font-size:12px; font-weight:700; color:var(--verde); letter-spacing:1px; text-transform:uppercase; margin-bottom:4px; }
.tl-item h3 { font-size:18px; font-weight:600; color:var(--negro); margin-bottom:8px; }
.tl-item p { font-size:14px; color:var(--gris); line-height:1.65; }

/* Alert box */
.avp-alert { display:flex; gap:16px; align-items:flex-start; padding:20px; border-radius:12px; }
.avp-alert.info { background:rgba(0,113,121,.08); border:1px solid rgba(0,113,121,.2); }
.avp-alert.warning { background:rgba(255,191,65,.12); border:1px solid rgba(255,191,65,.4); }
.avp-alert svg { width:20px; height:20px; flex-shrink:0; margin-top:1px; }
.avp-alert.info svg { color:var(--verde); }
.avp-alert.warning svg { color:#b8860b; }
.avp-alert p { font-size:14px; line-height:1.65; color:var(--negro); }

/* Section divider */
.section-divider { height:1px; background:var(--border); margin:48px 0; }

/* ─── TRICOLOR + FOOTER ─── */
.tricolor-bar { display:flex; height:4px; }
.tricolor-bar span { flex:1; }
.tricolor-bar .t1 { background:var(--amarillo); }
.tricolor-bar .t2 { background:var(--naranja); }
.tricolor-bar .t3 { background:var(--azul); }
footer { background:var(--negro); padding:0 61px; }
.footer-inner { max-width:1320px; margin:0 auto; display:flex; gap:40px; padding:40px 0 28px; flex-wrap:wrap; align-items:flex-start; }
.footer-brand { flex:0 0 260px; display:flex; flex-direction:column; gap:14px; }
.footer-logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.footer-logo img { max-width:180px; height:auto; display:block; }
.footer-logo-icon { width:36px; height:36px; background:var(--verde); border-radius:6px; display:flex; align-items:center; justify-content:center; }
.footer-logo-icon svg { width:22px; height:22px; fill:#fff; }
.footer-logo-text strong { font-size:15px; font-weight:700; color:#fff; letter-spacing:-.2px; display:block; }
.footer-logo-text span { font-size:10px; color:rgba(255,255,255,.4); display:block; }
.footer-desc { font-size:13px; color:rgba(255,255,255,.4); line-height:1.65; }
.footer-contact { display:flex; flex-direction:column; gap:8px; }
.footer-contact a { display:flex; align-items:center; gap:8px; font-size:14px; color:rgba(255,255,255,.5); text-decoration:none; transition:color .2s; }
.footer-contact a:hover { color:rgba(255,255,255,.9); }
.footer-contact svg { width:14px; height:14px; flex-shrink:0; }
.footer-social { display:flex; gap:10px; margin-top:8px; }
.footer-social a { width:36px; height:36px; background:rgba(255,255,255,.1); border-radius:10px; display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.7); text-decoration:none; transition:background .2s,color .2s; }
.footer-social a:hover { background:rgba(255,255,255,.2); color:#fff; }
.footer-social svg { width:16px; height:16px; }
.footer-nav { display:flex; gap:48px; flex:1; flex-wrap:wrap; }
.footer-col { display:flex; flex-direction:column; gap:12px; }
.footer-col h4 { font-size:14px; font-weight:700; color:#fff; letter-spacing:.04em; text-transform:uppercase; margin-bottom:4px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:8px; }
.footer-col ul li a { font-size:13px; color:rgba(255,255,255,.5); text-decoration:none; transition:color .2s; line-height:1.5; }
.footer-col ul li a:hover { color:rgba(255,255,255,.9); }
/* Columna Síguenos */
.footer-col--social { flex:0 0 140px; }
.footer-social-list { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-social-list li a { display:flex; align-items:center; gap:10px; font-size:13px; color:rgba(255,255,255,.5); text-decoration:none; transition:color .2s; }
.footer-social-list li a:hover { color:#fff; }
.footer-social-list li a svg { width:16px; height:16px; flex-shrink:0; }
/* Columna Contáctanos */
.footer-col--contact { flex:0 0 280px; }
.footer-contact-block { display:flex; flex-direction:column; gap:6px; padding-bottom:12px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-contact-block:last-child { border-bottom:none; padding-bottom:0; }
.footer-contact-label { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--verde); margin:0 0 4px; }
.footer-contact-block ul { list-style:none; display:flex; flex-direction:column; gap:8px; }
.footer-contact-block ul li { display:flex; align-items:flex-start; gap:8px; font-size:13px; color:rgba(255,255,255,.5); line-height:1.5; }
.footer-contact-block ul li svg { width:14px; height:14px; flex-shrink:0; margin-top:2px; }
.footer-contact-block ul li span { color:rgba(255,255,255,.35); font-size:12px; display:block; }
.footer-contact-block ul li a { font-size:13px; color:rgba(255,255,255,.65); text-decoration:none; transition:color .2s; }
.footer-contact-block ul li a:hover { color:#fff; }
/* ── SECCIÓN CONTÁCTANOS ── */
.contact-section { background:#0f172a; padding:72px 61px; }
.contact-inner { max-width:1320px; margin:0 auto; }
.contact-heading { margin-bottom:48px; }
.contact-heading .eyebrow { color:var(--verde); }
.contact-heading h2 { font-size:36px; font-weight:700; color:#fff; margin:12px 0 0; }
.contact-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.contact-card { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:16px; padding:32px; display:flex; flex-direction:column; gap:16px; }
.contact-card-icon { width:44px; height:44px; background:rgba(var(--verde-rgb,.18),.18); border-radius:12px; display:flex; align-items:center; justify-content:center; background:rgba(0,127,115,.18); }
.contact-card-icon svg { width:22px; height:22px; stroke:var(--verde); }
.contact-card h3 { font-size:16px; font-weight:700; color:#fff; margin:0; }
.contact-list { list-style:none; display:flex; flex-direction:column; gap:12px; }
.contact-list li { display:flex; align-items:flex-start; gap:10px; font-size:14px; color:rgba(255,255,255,.55); line-height:1.6; }
.contact-list li svg { width:15px; height:15px; flex-shrink:0; margin-top:3px; stroke:var(--verde); opacity:.7; }
.contact-list li a { color:rgba(255,255,255,.75); text-decoration:none; transition:color .2s; }
.contact-list li a:hover { color:#fff; }
@media (max-width:900px) { .contact-grid { grid-template-columns:1fr; } .contact-section { padding:48px 24px; } }
/* ── */
.footer-bottom { max-width:1320px; margin:0 auto; border-top:1px solid rgba(255,255,255,.07); padding:18px 0; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.footer-copy { font-size:12px; color:rgba(255,255,255,.25); flex:1; }
.footer-legal { display:flex; gap:20px; }
.footer-legal a { font-size:11px; color:rgba(255,255,255,.25); text-decoration:none; letter-spacing:.02em; }
.footer-legal a:hover { color:rgba(255,255,255,.55); }

/* ─── SCROLL ANIMATIONS ─── */
.fade-up { opacity:0; transform:translateY(30px); transition:opacity .6s ease,transform .6s ease; backface-visibility:hidden; }
.fade-up.visible { opacity:1; transform:none; }

/* ─── RESPONSIVE ─── */
@media(max-width:1100px) {
  .navbar,.tramos-section,footer,.page-content { padding-left:32px; padding-right:32px; }
  .section-padded { padding-left:32px !important; padding-right:32px !important; }
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .logo img { height:38px; max-width:calc(100vw - 120px); }
  .tramos-header { flex-direction:column; align-items:flex-start; gap:16px; }
  .tramos-title { font-size:36px; }
  .two-col, .two-col-3 { grid-template-columns:1fr; }
  .stats-row { grid-template-columns:repeat(2,1fr); }
  .page-hero { padding:60px 32px 40px; }
  .page-hero h1 { font-size:52px; }
}
@media(max-width:900px) {
  .tramos-grid { grid-template-columns:1fr; }
  .two-col-3 { grid-template-columns:1fr; }
}
@media(max-width:700px) {
  p { font-size:14px; line-height:1.65; }
  .footer-desc, .tramo-desc { font-size:13px; line-height:1.65; }
  .section-padded { padding:48px 24px !important; }
  .page-content { padding-left:24px !important; padding-right:24px !important; }
  .article-body { font-size:14px; line-height:1.7; }
  .article-body h2 { font-size:20px; margin:28px 0 12px; }
  .article-body h3 { font-size:16px; margin:20px 0 8px; }
  .article-body ul, .article-body ol { padding-left:16px; }
  .article-body li { margin-bottom:6px; }
  .footer-inner { flex-direction:column; }
  .footer-nav { flex-direction:column; gap:24px; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .footer-legal { justify-content:center; }
  .stats-row { grid-template-columns:repeat(3,1fr); gap:10px; padding:20px 16px; }
  .stats-row .sr-value { font-size:20px; }
  .stats-row .sr-label { font-size:11px; }
  .partners-row { gap:28px; }
}

/* ─── COOKIE BANNER ─── */
.cookie-banner { position:fixed; bottom:0; left:0; right:0; z-index:2000; background:#111; color:#fff; padding:16px 61px; transform:translateY(100%); transition:transform .35s cubic-bezier(.4,0,.2,1); }
.cookie-banner--visible { transform:translateY(0); }
.cookie-banner--hidden { transform:translateY(100%); }
.cookie-banner-inner { max-width:1200px; margin:0 auto; display:flex; align-items:center; gap:24px; justify-content:space-between; flex-wrap:wrap; }
.cookie-text { font-size:13px; color:#b0b8c1; margin:0; flex:1; min-width:200px; line-height:1.6; }
.cookie-text a { color:var(--verde); text-decoration:underline; }
.cookie-actions { display:flex; gap:10px; flex-shrink:0; }
.cookie-btn-accept { background:var(--verde); color:#fff; border:none; padding:10px 22px; border-radius:6px; font-size:13px; font-weight:700; cursor:pointer; font-family:inherit; transition:background .2s; }
.cookie-btn-accept:hover { background:var(--verde-dark); }
.cookie-btn-reject { background:transparent; color:#b0b8c1; border:1.5px solid #333; padding:10px 22px; border-radius:6px; font-size:13px; font-weight:600; cursor:pointer; font-family:inherit; transition:border-color .2s,color .2s; }
.cookie-btn-reject:hover { border-color:#888; color:#fff; }
@media(max-width:768px) {
  .cookie-banner { padding:16px 20px; }
  .cookie-banner-inner { flex-direction:column; gap:14px; }
  .cookie-actions { width:100%; }
  .cookie-btn-accept,.cookie-btn-reject { flex:1; justify-content:center; }
}
