/* GasfiterOnline.cl — main.css v1.0 | Azul + Cobre · SEO-first */
:root {
  --ink:         oklch(0.18 0.012 250);
  --ink-soft:    oklch(0.40 0.015 250);
  --ink-muted:   oklch(0.56 0.012 250);
  --line:        oklch(0.92 0.004 250);
  --line-strong: oklch(0.86 0.006 250);
  --paper:       oklch(1 0 0);
  --paper-tint:  oklch(0.975 0.003 250);

  --brand:       oklch(0.42 0.14 252);
  --brand-deep:  oklch(0.30 0.12 252);
  --brand-soft:  oklch(0.96 0.025 252);

  --accent:      oklch(0.62 0.14 48);
  --accent-deep: oklch(0.52 0.14 42);
  --accent-soft: oklch(0.96 0.025 55);

  --wa:          oklch(0.62 0.15 145);
  --wa-deep:     oklch(0.50 0.14 145);
  --ok:          oklch(0.62 0.13 150);

  --r-sm: 6px; --r: 10px; --r-lg: 16px; --r-xl: 22px;

  --shadow-sm: 0 1px 2px rgba(20,24,40,.05);
  --shadow:    0 6px 18px -8px rgba(20,24,40,.18), 0 2px 4px rgba(20,24,40,.04);
  --shadow-lg: 0 24px 48px -20px rgba(20,24,40,.30), 0 6px 12px -8px rgba(20,24,40,.10);

  --font-sans:  "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono:  "JetBrains Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ======== LAYOUT ======== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.bg-tint { background: var(--paper-tint); }
.bg-dark { background: oklch(0.20 0.018 252); color: white; }
.border-block { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ======== URGENCY BAR ======== */
.urgbar {
  background: var(--brand); color: white; font-size: 13px; font-weight: 500;
  padding: 8px 20px; display: flex; align-items: center; gap: 10px; justify-content: center;
  position: relative;
}
.urgbar a { color: white; font-weight: 700; text-decoration: underline; }
.urgbar-close { position: absolute; right: 14px; background: transparent; border: none; color: white; font-size: 16px; cursor: pointer; opacity: .7; }
.urgbar-close:hover { opacity: 1; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(98,200,130,.6); animation: pulse 1.8s infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(98,200,130,.6)} 70%{box-shadow:0 0 0 8px rgba(98,200,130,0)} }

/* ======== NAV ======== */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--brand); letter-spacing: -.01em; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; color: white; }
.logo-text { font-size: 18px; color: var(--brand); }
.logo-text strong { font-weight: 800; }
.logo-text .tld { color: var(--ink-muted); font-weight: 500; }
.nav-links { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; margin-left: auto; }
.nav-link { padding: 8px 14px; border-radius: var(--r); font-size: 14px; font-weight: 500; color: var(--ink-soft); transition: color .15s, background .15s; display: flex; align-items: center; gap: 4px; }
.nav-link:hover, .nav-link.active { color: var(--brand); background: var(--brand-soft); }
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: 100%; left: 0; background: white; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px; min-width: 260px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity .15s, transform .15s; z-index: 100; list-style: none; margin: 0; }
.has-dropdown:hover .dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown a { display: block; padding: 8px 12px; border-radius: var(--r); font-size: 13px; color: var(--ink); }
.dropdown a:hover { background: var(--brand-soft); color: var(--brand); }
.dropdown a small { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--ink-muted); }
.nav-cta { display: flex; gap: 8px; margin-left: 16px; }
.nav-hamburger { display: none; flex-direction: column; gap: 4px; background: transparent; border: none; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ======== BUTTONS ======== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: var(--r); font-weight: 600; font-size: 14px; border: none; cursor: pointer; transition: background .15s, transform .1s, box-shadow .15s; text-decoration: none; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-wa { background: var(--wa); color: white; }
.btn-wa:hover { background: var(--wa-deep); }
.btn-ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--paper-tint); }
.btn-ghost-light { background: transparent; border: 1px solid rgba(255,255,255,.3); color: white; }
.btn-ghost-light:hover { border-color: white; }

/* ======== HERO ======== */
.hero { padding: 88px 0 96px; background: linear-gradient(rgba(15,30,60,0.78), rgba(15,30,60,0.78)), url('https://images.pexels.com/photos/1251175/pexels-photo-1251175.jpeg?auto=compress&cs=tinysrgb&w=1400') center/cover no-repeat; color: white; }
.hero h1, .hero h1 em { color: white; }
.hero-lede, .hero-lede strong { color: rgba(255,255,255,0.92); }
.hero-eyebrow { color: rgba(255,255,255,0.9); }
.hero-meta, .hero-meta div { color: rgba(255,255,255,0.85); }
.hero-meta .num { color: white; }
.hero-compact { padding: 52px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center; justify-content: space-between; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; }
.spark-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(98,200,130,.2); animation: pulse 1.8s infinite; }
h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 20px; }
h1 em { font-style: italic; font-family: var(--font-serif); font-weight: 500; color: var(--accent); }
.hero-lede { font-size: 17px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 28px; max-width: 560px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.hero-meta > div { font-size: 13px; color: var(--ink-muted); }
.num { display: block; font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; font-family: var(--font-serif); }

/* ======== HERO CARD / FORM ======== */
.hero-card { background: white; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-lg);  justify-self: end; }
.hero-card-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; background: oklch(0.96 0.04 145); color: oklch(0.42 0.13 145); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.hero-card h3 { font-size: 20px; font-weight: 700; margin: 0 0 6px; }
.hero-card .muted { color: var(--ink-muted); font-size: 14px; margin: 0 0 20px; }

/* ======== FORM ======== */
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; font-family: var(--font-sans); font-size: 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r); outline: none;
  background: var(--paper); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(60,90,200,.12); }
.form-privacy { text-align: center; font-size: 12px; color: var(--ink-muted); margin: 4px 0 0; display: flex; align-items: center; justify-content: center; gap: 4px; }
.lead-success { text-align: center; padding: 24px 0; }
.success-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--ok); color: white; font-size: 22px; display: grid; place-items: center; margin: 0 auto 14px; }
.lead-success h4 { font-size: 20px; font-weight: 700; margin: 0 0 8px; }

/* ======== TRUST STRIP ======== */
.trust { background: var(--paper-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 24px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.trust-inline { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; font-size: 13px; color: var(--ink-muted); }
.trust-inline span::before { content: '✓ '; color: var(--ok); font-weight: 700; }

/* ======== SECTION HEADINGS ======== */
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head.left-align { text-align: left; }
.kicker { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.kicker-light { color: rgba(255,255,255,.65); }
h2 { font-size: clamp(22px, 3vw, 36px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 16px; }
.sec-head p { font-size: 16px; color: var(--ink-soft); max-width: 600px; margin: 0 auto; }

/* ======== SERVICES GRID ======== */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.svc-card { background: white; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; transition: box-shadow .2s, transform .2s; cursor: pointer; }
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-card.featured { border-color: var(--accent); border-width: 2px; position: relative; }
.svc-card.featured::before { content: "Más solicitado"; position: absolute; top: -1px; right: 20px; font-size: 11px; font-weight: 700; background: var(--accent); color: white; padding: 3px 10px; border-radius: 0 0 8px 8px; }
.svc-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.svc-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.svc-card h3 a { color: inherit; }
.svc-card p { font-size: 14px; color: var(--ink-soft); margin: 0 0 16px; line-height: 1.5; }
.svc-price { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.svc-link { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--brand); margin-top: auto; }
.svc-link:hover { color: var(--accent); }

/* ======== WHY US ======== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.why-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: white; }
.why-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.why-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.why-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ======== SPLIT GRID ======== */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.urgency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.urgency-card { padding: 18px; background: white; border: 1px solid var(--line); border-radius: 12px; display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 14px; }
.cta-pair { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ======== COMUNAS ======== */
.comunas-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.comuna-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500; transition: background .15s, border-color .15s; }
.bg-tint .comuna-chip { border-color: var(--line-strong); color: var(--ink-soft); }
.comuna-chip:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.5); color: white; }
.bg-tint .comuna-chip:hover { background: var(--brand); color: white; border-color: var(--brand); }

/* ======== TESTIMONIALS ======== */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testi { background: white; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.testi-stars { font-size: 15px; color: #f59e0b; margin-bottom: 12px; }
.testi-body { font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 18px; font-style: italic; }
.testi-meta { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; display: grid; place-items: center; font-size: 15px; flex-shrink: 0; }
.testi-meta strong { font-size: 14px; }
.testi-meta small { font-size: 12px; color: var(--ink-muted); }

/* ======== FAQ ======== */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-max { max-width: 900px; margin-left: auto; margin-right: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: transparent; border: none; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 16px; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer; }
.faq-q:hover { color: var(--brand); }
.chev { flex-shrink: 0; transition: transform .2s; color: var(--ink-muted); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { padding: 0 0 20px; font-size: 15px; color: var(--ink-soft); line-height: 1.65; }
.faq-a[hidden] { display: none; }

/* ======== CTA STRIP ======== */
.cta-strip { background: var(--brand); color: white; border-radius: var(--r-xl); padding: 40px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-strip h3 { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.cta-strip p { margin: 0; opacity: .8; font-size: 15px; }
.cta-strip-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.cta-strip .btn-primary { background: var(--accent); }
.cta-strip .btn-wa { background: var(--wa); }

/* ======== CONTENT COLUMNS ======== */
.content-cols { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.main-content h2 { font-size: 24px; margin: 0 0 16px; }
.main-content p { color: var(--ink-soft); line-height: 1.7; margin: 0 0 16px; }
.main-content ul { color: var(--ink-soft); line-height: 1.7; padding-left: 20px; }
.main-content li { margin-bottom: 8px; }
.sidebar-card { background: white; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.sidebar-card h4 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.sidebar-card h5 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); margin: 0 0 12px; }
.sidebar-card p { font-size: 14px; color: var(--ink-muted); margin: 0 0 16px; }
.sidebar-link { display: block; font-size: 14px; color: var(--brand); padding: 6px 0; border-bottom: 1px solid var(--line); }
.sidebar-link:last-child { border-bottom: none; }
.sticky-cta { position: sticky; top: 100px; }
.btn-full + .btn-full { margin-top: 8px; }

/* ======== SERVICE HERO ======== */
.svc-hero { padding: 56px 0 64px; background: linear-gradient(160deg, var(--paper) 60%, var(--brand-soft)); }
.svc-hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; }
.svc-hero-price { font-size: 15px; font-weight: 600; color: var(--accent); margin: 0 0 20px; }

/* ======== BREADCRUMB ======== */
.breadcrumb { padding: 12px 0; border-bottom: 1px solid var(--line); }
.breadcrumb .container { font-size: 13px; color: var(--ink-muted); }
.breadcrumb a { color: var(--brand); }
.breadcrumb a:hover { text-decoration: underline; }

/* ======== BLOG ======== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.post-card { background: white; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .2s; }
.post-card:hover { box-shadow: var(--shadow); }
.post-card-img { aspect-ratio: 16/9; background: var(--paper-tint); overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 24px; }
.post-card-cat { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.post-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; line-height: 1.3; }
.post-card h3 a { color: inherit; }
.post-card p { font-size: 14px; color: var(--ink-soft); margin: 0 0 16px; }
.post-card-meta { font-size: 12px; color: var(--ink-muted); }

/* ======== FOOTER ======== */
.footer { background: oklch(0.16 0.018 252); color: rgba(255,255,255,.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; line-height: 1.6; margin: 14px 0 20px; }
.footer-ctas { display: flex; gap: 10px; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.badge-sec { font-size: 11px; font-weight: 600; background: rgba(255,255,255,.1); padding: 4px 10px; border-radius: 999px; }
.footer h5 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); margin: 0 0 16px; }
.footer a { display: block; font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 8px; transition: color .15s; }
.footer a:hover { color: white; }
.footer-phone { font-size: 18px !important; font-weight: 700; color: white !important; }
.footer-address { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; line-height: 1.6; }
.footer-address address { font-style: normal; }
.footer-secondary-nav { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-secondary-nav a { display: inline; margin-right: 12px; font-size: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: rgba(255,255,255,.35); }
.footer-bottom a { display: inline; font-size: 12px; color: rgba(255,255,255,.35); margin-bottom: 0; }
.footer-bottom a:hover { color: rgba(255,255,255,.6); }
.footer-bottom p { margin: 0; }

/* ======== FAB WhatsApp ======== */
.fab-wa { position: fixed; bottom: 24px; right: 24px; z-index: 999; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: white; display: grid; place-items: center; box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: transform .2s, box-shadow .2s; }
.fab-wa:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.55); }

/* ======== PROSE ======== */
.prose-max { max-width: 780px; margin-left: auto; margin-right: auto; }
.page-content p { color: var(--ink-soft); line-height: 1.7; margin: 0 0 16px; }
.page-content ul { color: var(--ink-soft); line-height: 1.7; padding-left: 20px; }
.page-content li { margin-bottom: 8px; }
.page-content h2, .page-content h3 { margin: 32px 0 14px; }

/* ======== MOBILE ======== */
@media (max-width: 900px) {
  .hero-grid, .svc-hero-grid, .split-grid, .content-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--line); padding: 12px; flex-direction: column; }
  .nav-links.open { display: flex; }
  .dropdown { position: static; opacity: 1; pointer-events: all; transform: none; box-shadow: none; border: none; padding-left: 12px; }
  .nav-hamburger { display: flex; margin-left: auto; }
  .nav-cta .nav-phone span { display: none; }
}
@media (max-width: 640px) {
  section { padding: 48px 0; }
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  .cta-strip { padding: 28px 24px; flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .testi-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 16px; }
  .field.row { grid-template-columns: 1fr; }
  .split-grid { gap: 32px; }
  .urgency-grid { grid-template-columns: 1fr; }
  .cta-strip-actions { width: 100%; }
  .cta-strip-actions .btn { flex: 1; justify-content: center; }
}

/* ======== ADMIN / WP ======== */
.wp-block img { max-width: 100%; }


/* Hero text contrast over image bg */
.hero h1, .hero .hero-lede { color: #fff; }
.hero .hero-eyebrow { color: #fff; }
.hero h1 em { color: #ffd089; }
.hero .hero-lede strong { color: #fff; }
.hero-meta, .hero-meta div, .hero-meta .num { color: #fff !important; }

/* === HERO LAYOUT OVERRIDE FORM A LA DERECHA === */
.hero .hero-grid { 
  display: grid !important; 
  grid-template-columns: 1.2fr 440px !important; 
  gap: 60px !important; 
  align-items: start !important; 
}
.hero .hero-content { grid-column: 1 !important; }
.hero .hero-card { 
  grid-column: 2 !important; 
  justify-self: end !important; 
  width: 100% !important; 
  max-width: 440px !important;
  background: #fff !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18) !important;
}
@media (max-width: 900px) {
  .hero .hero-grid { grid-template-columns: 1fr !important; }
  .hero .hero-card { justify-self: stretch !important; max-width: 100% !important; }
}


/* ====== INTERLINKS SECTION ====== */
.interlinks-section { background: var(--ink, #0a1628); padding: 60px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.interlinks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.interlinks-col h3 { color: white; font-size: 16px; font-weight: 700; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--accent, #c87533); }
.interlinks-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.interlinks-list a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 14px; transition: color .2s; }
.interlinks-list a:hover { color: var(--accent, #c87533); }
@media (max-width: 640px) { .interlinks-grid { grid-template-columns: 1fr; gap: 32px; } }