/* =========================================================
   Traductor Jurado Holandés — Diseño moderno
   ========================================================= */

/* Fuentes alojadas en el propio sitio (más rápido y sin enviar datos a Google) */
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/poppins-400.woff') format('woff');}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/poppins-500.woff') format('woff');}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600 800;font-display:swap;src:url('/fonts/poppins-700.woff') format('woff');}
@font-face{font-family:'Lora';font-style:normal;font-weight:400 700;font-display:swap;src:url('/fonts/lora-var.woff') format('woff');}
@font-face{font-family:'Lora';font-style:italic;font-weight:400 700;font-display:swap;src:url('/fonts/lora-italic-var.woff') format('woff');}

:root {
  --primary: #0b1f3f;
  --primary-light: #16305c;
  --primary-dark: #071528;
  --accent: #d87c2b;
  --accent-light: #f0993f;
  --accent-dark: #b86923;
  --bg: #f8f7f4;
  --bg-alt: #ffffff;
  --ink: #22293b;
  --ink-soft: #5a6478;
  --line: #e6e3db;
  --success: #2e7d5b;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(11,31,63,0.06);
  --shadow-md: 0 10px 30px rgba(11,31,63,0.10);
  --shadow-lg: 0 20px 50px rgba(11,31,63,0.18);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Lora', 'Georgia', serif; color: var(--primary); line-height: 1.25; font-weight: 600; }
h1 { font-weight: 700; }
p { color: var(--ink-soft); }
a { text-decoration: none; color: var(--primary); transition: color .2s ease; }
a:hover { color: var(--accent); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Top info bar ---------- */
.topbar {
  background: var(--primary-dark);
  color: #cfd6e4;
  font-size: 13px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px; padding-bottom: 8px; gap: 16px; flex-wrap: wrap;
}
.topbar a { color: #e9edf5; font-weight: 500; }
.topbar a:hover { color: var(--accent-light); }
.topbar-badges { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-badges span { white-space: nowrap; }

/* ---------- Header ---------- */
header.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 1000;
}
.nav-container {
  display: flex; justify-content: space-between; align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: 10px 24px;
}
.logo-container a { display: flex; align-items: center; gap: 10px; }
.logo-container img { height: 58px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: 'Lora', serif; color: var(--primary); font-size: 1.05rem; }
.logo-text span { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn-cta) {
  font-weight: 600; font-size: 14.5px; color: var(--primary);
  padding: 10px 14px; border-radius: 8px; position: relative;
}
.nav-links a:not(.btn-cta):hover { background: #f1efe8; color: var(--primary); }
.nav-links a.active { color: var(--accent-dark); }

.btn-cta, .btn-cta:visited {
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  color: #fff !important; padding: 11px 22px; border-radius: 999px;
  font-weight: 700; font-size: 14.5px; box-shadow: 0 6px 16px rgba(216,124,43,0.35);
  margin-left: 8px; white-space: nowrap;
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(216,124,43,0.45); color:#fff !important; }
.btn-secondary { background: #fff; color: var(--primary) !important; border: 2px solid var(--primary); padding: 9px 20px; border-radius: 999px; font-weight: 700; }
.btn-secondary:hover { background: var(--primary); color: #fff !important; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 3px; background: var(--primary); border-radius: 3px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(216,124,43,0.28), transparent 45%),
    linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 55%, #14335e 100%);
  color: #fff; text-align: center; padding: 110px 20px 100px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 26px 26px;
}
.hero-inner { position: relative; max-width: 820px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  color: #f4e3cf; padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  letter-spacing: .03em; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); margin-bottom: 20px; color: #fff; }
.hero p.lead { font-size: 1.15rem; margin-bottom: 34px; color: #dbe1ee; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.hero-stats div { text-align: center; }
.hero-stats strong { display: block; font-size: 1.8rem; font-family: 'Lora', serif; color: var(--accent-light); }
.hero-stats span { font-size: .82rem; color: #b9c2d6; text-transform: uppercase; letter-spacing: .04em; }

.hero.hero-sm { padding: 64px 20px 60px; }
.hero.hero-sm h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }

.breadcrumb { position: relative; font-size: 13px; color: #c8d0e2; margin-bottom: 16px; }
.breadcrumb a { color: #c8d0e2; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 80px 20px; max-width: var(--maxw); margin: 0 auto; }
.section.tight { padding: 50px 20px; }
.section-tag { text-align: center; display: block; color: var(--accent-dark); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12.5px; margin-bottom: 10px; }
.section-title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--primary); margin-bottom: 16px; }
.section-sub { text-align: center; max-width: 680px; margin: 0 auto 46px; color: var(--ink-soft); }
.alt-bg { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }

.card {
  background: var(--bg-alt); padding: 32px 28px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon { font-size: 1.9rem; margin-bottom: 14px; display: inline-block; }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { font-size: .96rem; }

.card.center { text-align: center; }
.card.bordered-top { border-top: 4px solid var(--accent); }

.step-list { counter-reset: step; display: grid; gap: 22px; }
.step-item { display: flex; gap: 18px; align-items: flex-start; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.step-num {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: 'Lora', serif;
}
.step-item h4 { margin-bottom: 4px; font-size: 1.05rem; }
.step-item p { font-size: .95rem; margin: 0; }

/* Pricing */
.price-table { width: 100%; border-collapse: collapse; background: var(--bg-alt); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: .96rem; }
.price-table th { background: var(--primary); color: #fff; font-family: 'Lora', serif; font-weight: 600; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: #faf8f3; }
.price-table td strong { color: var(--primary); }

.pricing-note { background: #fbf3e8; border: 1px dashed var(--accent); border-radius: var(--radius-sm); padding: 18px 22px; margin-top: 22px; font-size: .93rem; color: var(--primary); }

/* Testimonials */
.testimonial { background: var(--bg-alt); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.testimonial .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial p.quote { color: var(--ink); font-style: italic; margin-bottom: 16px; }
.testimonial .author { font-weight: 700; color: var(--primary); font-size: .9rem; }
.testimonial .author span { color: var(--ink-soft); font-weight: 400; display: block; font-size: .82rem; }

/* Trust strip */
.trust-strip { display: flex; flex-wrap: wrap; gap: 34px; justify-content: center; align-items: center; padding: 30px 20px; color: var(--ink-soft); font-size: .88rem; font-weight: 600; }
.trust-strip span { display: flex; align-items: center; gap: 8px; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--primary);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); flex: none; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--ink-soft); font-size: .95rem; }

/* Province coverage grid */
.province-page-hero { padding-bottom: 70px; }
.coverage-search { max-width: 480px; margin: 34px auto 0; }
.coverage-search input {
  width: 100%; padding: 14px 18px; border-radius: 999px; border: none; font-size: .95rem;
  box-shadow: var(--shadow-md);
}
.provinces-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.provinces-grid a {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  background: var(--bg-alt); border: 1px solid var(--line); padding: 13px 16px;
  border-radius: var(--radius-sm); font-size: .92rem; font-weight: 600; color: var(--primary);
}
.provinces-grid a:hover { border-color: var(--accent); color: var(--accent-dark); background: #fff8f0; }
.provinces-grid a::after { content: "→"; opacity: .5; }
.region-block { margin-bottom: 38px; }
.region-block h3 { font-size: 1.05rem; margin-bottom: 16px; color: var(--primary); border-left: 4px solid var(--accent); padding-left: 12px; }

.province-intro-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.province-intro-card h2 { font-size: 1.5rem; margin-bottom: 14px; }
.province-intro-card h3 { font-size: 1.15rem; margin: 30px 0 12px; }
.province-intro-card p { margin-bottom: 8px; }
.province-intro-card ul.bullet { list-style: disc; padding-left: 22px; margin: 10px 0 18px; }
.province-intro-card ul.bullet li { margin-bottom: 6px; color: var(--ink-soft); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.tag-row span { background: #f1efe8; color: var(--primary); font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }

.side-cta-box {
  background: linear-gradient(150deg, var(--primary), var(--primary-light));
  color: #fff; border-radius: var(--radius); padding: 32px 28px; position: sticky; top: 100px;
}
.side-cta-box h4 { color: #fff; font-size: 1.15rem; margin-bottom: 10px; }
.side-cta-box p { color: #c9d2e4; font-size: .92rem; margin-bottom: 18px; }
.side-cta-box .btn-cta { display: block; text-align: center; }
.side-cta-box ul { margin-top: 20px; display: grid; gap: 8px; font-size: .88rem; color: #dfe5f1; }
.related-provinces { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); }
.related-provinces a { color: #dfe5f1; font-size: .85rem; display: block; padding: 4px 0; }
.related-provinces a:hover { color: var(--accent-light); }

/* Contact / form */
.contact-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; }
.contact-form { background: var(--bg-alt); padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row label { font-size: .85rem; font-weight: 600; color: var(--primary); }
.form-row input, .form-row textarea, .form-row select {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: inherit; font-size: .95rem; background: #fdfcfa;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.file-row { border: 1.5px dashed var(--line); border-radius: var(--radius-sm); padding: 16px; font-size: .88rem; color: var(--ink-soft); }
.contact-info-card { background: var(--primary); color: #fff; border-radius: var(--radius); padding: 34px; }
.contact-info-card h3 { color: #fff; margin-bottom: 14px; }
.contact-info-card ul { display: grid; gap: 16px; margin-top: 18px; }
.contact-info-card ul li { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: #d8deeb; }
.contact-info-card ul li strong { color: #fff; display: block; }

/* Blog */
.blog-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.blog-card .blog-card-body { padding: 26px; }
.blog-card .blog-tag { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-dark); }
.blog-card h3 { margin: 10px 0 12px; font-size: 1.2rem; }
.article-body { max-width: 760px; margin: 0 auto; background: var(--bg-alt); padding: 44px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.article-body h2 { margin: 30px 0 14px; font-size: 1.4rem; }
.article-body h3 { margin: 22px 0 10px; font-size: 1.15rem; }
.article-body p { margin-bottom: 14px; }
.article-body ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.article-body ul li { margin-bottom: 6px; color: var(--ink-soft); }

/* Floating CTA */
.floating-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 999;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  color: #fff; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  box-shadow: 0 10px 26px rgba(216,124,43,0.45); display: flex; align-items: center; gap: 8px;
}
.floating-cta:hover { color: #fff; transform: translateY(-2px); }

/* Footer */
footer.site-footer { background: var(--primary-dark); color: #b9c2d6; padding-top: 60px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 34px; max-width: var(--maxw); margin: 0 auto; padding: 0 24px 40px; }
.footer-brand img { height: 46px; margin-bottom: 14px; }
.footer-brand p { color: #93a0bb; font-size: .9rem; }
.footer-col h4 { color: #fff; margin-bottom: 16px; font-family: 'Lora', serif; font-size: 1.02rem; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { color: #a9b3cb; font-size: .9rem; }
.footer-col a:hover { color: var(--accent-light); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #fff; }
.footer-social a:hover { background: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 24px; text-align: center; font-size: .82rem; color: #7c88a6; }
.footer-bottom a { color: #9fabc7; }

/* Utility */
.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }

/* Responsive */
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links { position: fixed; top: 78px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 14px; gap: 4px; box-shadow: var(--shadow-md); transform: translateY(-130%);
    transition: transform .25s ease; border-bottom: 1px solid var(--line); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a:not(.btn-cta) { padding: 14px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links .btn-cta { margin: 8px 0 0; text-align: center; }
  .burger { display: flex; }
  .topbar .container { justify-content: center; text-align: center; }
  .footer-top { grid-template-columns: 1fr; }
  .province-layout { grid-template-columns: 1fr !important; }
  .side-cta-box { position: static; }
}

/* Province layout grid */
.province-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }

/* ---------- Mejoras formulario y contacto ---------- */
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 2px; }
.topbar a[href^="tel"], .footer-col a[href^="tel"] { color: inherit; font-weight: 600; }
.topbar a[href^="tel"]:hover, .footer-col a[href^="tel"]:hover { color: var(--accent-light); }

.contact-form h2 { font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-row .req, .consent .req { color: var(--accent-dark); }
.form-row input:not([type="file"]):hover, .form-row textarea:hover { border-color: #cfc9ba; }
.form-row input:focus, .form-row textarea:focus { outline: none; box-shadow: 0 0 0 3px rgba(216,124,43,.22); }
.form-row input.invalid, .form-row textarea.invalid { border-color: #c0392b; background: #fff7f6; }

.file-row { display: flex; flex-direction: column; gap: 8px; background: #fdfcfa; transition: border-color .2s, background .2s; }
.file-row:hover { border-color: var(--accent); background: #fff8f0; }
.file-row input[type="file"] { padding: 0; border: 0; background: transparent; font-size: .9rem; width: 100%; }
.file-row input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 9px 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--primary); color: #fff; font-family: inherit; font-weight: 600; font-size: .85rem; transition: background .2s;
}
.file-row input[type="file"]::file-selector-button:hover { background: var(--accent-dark); }
.file-row small { color: var(--ink-soft); font-size: .8rem; line-height: 1.5; }
.file-row small a { color: var(--accent-dark); font-weight: 600; text-decoration: underline; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--ink-soft); margin-bottom: 20px; cursor: pointer; line-height: 1.5; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent-dark); flex: none; }

.btn-submit { border: none; cursor: pointer; font-family: inherit; font-size: 1.05rem; padding: 15px; width: 100%; display: block; }
.btn-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.form-legal { font-size: .78rem; margin-top: 14px; color: var(--ink-soft); line-height: 1.5; }

.form-status { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; font-size: .95rem; font-weight: 500; border: 1px solid transparent; }
.form-status.ok { background: #eaf6f0; border-color: #b7dfc9; color: #1e6347; }
.form-status.err { background: #fdeeec; border-color: #f2c1bb; color: #96281b; }
.form-status a { text-decoration: underline; font-weight: 700; color: inherit; }

.contact-info-card a:not(.btn-cta) { color: #fff; font-weight: 600; }
.contact-info-card a:not(.btn-cta):hover { color: var(--accent-light); }
.contact-info-card { position: sticky; top: 100px; box-shadow: var(--shadow-md); }

@media (max-width: 900px) { .contact-info-card { position: static; } }
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .floating-cta { right: 14px; bottom: 14px; padding: 12px 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Iconos de línea (SVG) ---------- */
svg.i, svg.ic { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.i { width: 1.05em; height: 1.05em; stroke-width: 1.9; vertical-align: -.17em; margin-right: .5em; }
.topbar svg.i { color: var(--accent-light); width: 15px; height: 15px; vertical-align: -3px; margin-right: 7px; }
.province-intro-card li svg.i, .side-cta-box li svg.i { color: var(--accent-dark); }
.side-cta-box li svg.i { color: var(--accent-light); }
.floating-cta svg.i { width: 18px; height: 18px; margin-right: 8px; vertical-align: -4px; color: #fff; }
.pricing-note svg.i { color: var(--accent-dark); width: 1.2em; height: 1.2em; vertical-align: -.25em; }

.card .icon {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 18px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0;
  background: linear-gradient(145deg, #fbf3e8, #f6e6d0); color: var(--accent-dark);
  border: 1px solid #f0dcc0;
}
.card .icon svg.ic { width: 26px; height: 26px; stroke-width: 1.6; }
.card.bordered-top:hover .icon { background: linear-gradient(135deg, var(--accent-light), var(--accent-dark)); color: #fff; border-color: transparent; }
.card .icon { transition: background .25s, color .25s; }

.contact-info-card .ci {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: var(--accent-light);
}
.contact-info-card .ci svg.ic { width: 19px; height: 19px; stroke-width: 1.8; }

/* ---------- Blog ampliado ---------- */
.article-meta { position: relative; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 18px; font-size: .82rem; color: #c8d0e2; }
.article-meta span + span::before { content: "·"; margin-right: 18px; color: var(--accent-light); }
.article-body { max-width: 800px; font-size: 1.02rem; }
.article-body > p:first-of-type { font-size: 1.1rem; color: var(--ink); }
.article-body h2 { margin: 38px 0 14px; font-size: 1.5rem; scroll-margin-top: 100px; }
.article-body ol { padding-left: 22px; margin-bottom: 14px; }
.article-body ol li { margin-bottom: 8px; color: var(--ink-soft); }
.article-body ul li strong, .article-body ol li strong, .article-body p strong { color: var(--primary); }
.article-body a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.article-body a.btn-cta, .article-body a.btn-secondary { text-decoration: none; }
.article-body a.btn-cta { color: #fff; }
.toc { background: #fbf8f2; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 18px 24px; margin-bottom: 30px; }
.toc strong { display: block; font-family: 'Lora', serif; color: var(--primary); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; columns: 1; }
.toc li { margin-bottom: 4px; font-size: .93rem; }
.toc a { color: var(--primary); text-decoration: none; }
.toc a:hover { color: var(--accent-dark); text-decoration: underline; }
.callout { background: #fbf3e8; border: 1px solid #f0dcc0; border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 16px 20px; margin: 22px 0; }
.callout p { margin: 0; color: var(--primary); font-size: .96rem; }
.callout.info { background: #eef3fa; border-color: #d3dff0; border-left-color: var(--primary-light); }
.table-wrap { overflow-x: auto; margin: 20px 0 26px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.article-body table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.article-body th { background: var(--primary); color: #fff; text-align: left; padding: 12px 14px; font-weight: 600; }
.article-body td { padding: 11px 14px; border-top: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.article-body tbody tr:nth-child(even) td { background: #fbf9f4; }
.article-body td:first-child { color: var(--primary); font-weight: 600; }
.article-cta { background: linear-gradient(150deg, var(--primary), var(--primary-light)); border-radius: var(--radius); padding: 34px 30px; margin-top: 44px; text-align: center; }
.article-cta h2 { color: #fff; margin: 0 0 10px; font-size: 1.4rem; }
.article-cta p { color: #d3dbea; margin-bottom: 20px; }
.article-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.article-cta .btn-secondary { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.6); }
.article-cta .btn-secondary:hover { background: #fff; color: var(--primary) !important; }
.related-posts { max-width: var(--maxw); margin: 56px auto 0; }
.related-posts h2 { text-align: center; margin-bottom: 26px; font-size: 1.5rem; }

.blog-featured { background: linear-gradient(135deg, #fff, #fbf3e8); border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: var(--radius); padding: 38px 40px; box-shadow: var(--shadow-sm); margin-bottom: 34px; }
.blog-featured h2 { margin: 10px 0 12px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.blog-featured h2 a { color: var(--primary); }
.blog-featured h2 a:hover { color: var(--accent-dark); }
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.chip { font-family: inherit; font-size: .85rem; font-weight: 600; color: var(--primary); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--accent); color: var(--accent-dark); }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.blog-card { display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card .blog-card-body { display: flex; flex-direction: column; flex: 1; }
.blog-card h3 a { color: var(--primary); }
.blog-card h3 a:hover { color: var(--accent-dark); }
.blog-card p { font-size: .93rem; }
.blog-card-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.read-time { font-size: .8rem; color: var(--ink-soft); }
.read-more { font-weight: 700; font-size: .9rem; }
.blog-empty { text-align: center; color: var(--ink-soft); }
@media (max-width: 600px) { .article-body { padding: 26px 20px; } .blog-featured { padding: 26px 22px; } .article-cta { padding: 28px 20px; } }

/* =========================================================
   v3 — Rediseño: cabecera, portada, pie, legal, accesibilidad
   ========================================================= */
::selection { background: var(--accent); color: #fff; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 3000; }
.skip-link:focus { left: 12px; color: #fff; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Cabecera */
header.site-header { border-bottom: 1px solid rgba(11,31,63,.06); }
.nav-container { padding: 8px 24px; }
.logo-container img { height: 56px; width: 56px; border-radius: 50%; background: #fbf8f2; padding: 2px; box-shadow: 0 0 0 1px rgba(11,31,63,.08); }
.logo-container a { gap: 12px; }
.logo-text strong { font-size: 1.12rem; letter-spacing: -.005em; }
.topbar a:hover { color: var(--accent-light); }
.topbar svg.i { opacity: .9; }

/* Héroe general: sello de marca como marca de agua */
.hero::after {
  content: ""; position: absolute; right: -70px; bottom: -110px; width: 440px; height: 440px;
  background: url('/img/logo-white.png') center / contain no-repeat; opacity: .055; pointer-events: none;
}
.hero.hero-sm { padding: 58px 20px 54px; }
.hero.hero-sm .hero-inner { max-width: 860px; }

/* Héroe de portada (2 columnas) */
.hero.hero-home { text-align: left; padding: 84px 24px 120px; }
.hero.hero-home::after { display: none; }
.hero-grid { position: relative; max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero-home h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.12; letter-spacing: -.01em; }
.hero-home h1 em { font-style: normal; color: var(--accent-light); }
.hero-home p.lead { margin-left: 0; margin-right: 0; font-size: 1.1rem; max-width: 560px; }
.hero-home .hero-cta-row { justify-content: flex-start; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: .88rem; color: #c3cde0; }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { color: var(--accent-light); }
.btn-ghost { color: #fff !important; border: 2px solid rgba(255,255,255,.45); padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; }
.btn-ghost:hover { background: #fff; color: var(--primary) !important; border-color: #fff; }
.hero-home .btn-cta { font-size: 1.02rem; padding: 15px 30px; margin-left: 0; }

/* Ilustración: documento original + traducción sellada */
.hero-visual { position: relative; height: 440px; max-width: 470px; width: 100%; margin-left: auto; }
.doc { position: absolute; background: #fbf9f4; border-radius: 10px; box-shadow: 0 24px 50px rgba(0,0,0,.35); color: #22293b; }
.doc-back { width: 300px; height: 380px; left: 0; top: 30px; transform: rotate(-6deg); padding: 26px 24px; background: #e9e6dd; }
.doc-back .dk { font: 700 11px/1.3 'Poppins', sans-serif; letter-spacing: .12em; color: #6a7488; text-transform: uppercase; }
.doc-back .dt { font: 600 17px/1.25 'Lora', serif; color: #35405a; margin: 8px 0 16px; }
.doc-front { width: 310px; height: 400px; right: 0; top: 0; transform: rotate(3deg); padding: 28px 26px; }
.doc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.doc-lang { font: 700 12px/1 'Poppins', sans-serif; letter-spacing: .08em; padding: 6px 10px; border-radius: 6px; background: var(--primary); color: #fff; }
.doc-lang.es { background: var(--accent-dark); }
.doc-head svg { color: #8a93a6; }
.doc-title { font: 700 20px/1.2 'Lora', serif; color: var(--primary); margin-bottom: 4px; }
.doc-sub { font: 500 11px/1.4 'Poppins', sans-serif; color: #7a8497; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.doc i { display: block; height: 8px; border-radius: 4px; background: #dcd8cc; margin-bottom: 11px; }
.doc-back i { background: #d3cfc2; }
.doc i.s { width: 62%; } .doc i.m { width: 84%; }
.doc-cert { position: absolute; left: 26px; right: 26px; bottom: 26px; font: 500 11.5px/1.45 'Poppins', sans-serif; color: #5a6478; border-top: 1px dashed #cfc9b8; padding-top: 12px; }
.doc-cert strong { color: var(--primary); display: block; font-weight: 700; }
.doc-seal { position: absolute; right: -26px; bottom: 34px; width: 128px; height: 128px; transform: rotate(-14deg); filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); background: #fbf9f4; border-radius: 50%; padding: 4px; }
.hero-chip { position: absolute; display: inline-flex; align-items: center; gap: 9px; background: #fff; color: var(--primary); font: 600 12.5px/1.2 'Poppins', sans-serif; padding: 10px 14px; border-radius: 999px; box-shadow: 0 12px 28px rgba(0,0,0,.28); white-space: nowrap; }
.hero-chip svg { color: var(--accent-dark); }
.hero-chip.c1 { left: -14px; bottom: 40px; }
.hero-chip.c2 { right: 6px; top: -16px; }

/* Banda de cifras */
.stats-band { position: relative; z-index: 2; max-width: 1040px; margin: -62px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md); display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-band > div { padding: 24px 18px; text-align: center; border-right: 1px solid var(--line); }
.stats-band > div:last-child { border-right: 0; }
.stats-band strong { display: block; font: 700 1.9rem/1.1 'Lora', serif; color: var(--primary); }
.stats-band strong em { font-style: normal; color: var(--accent-dark); }
.stats-band span { font-size: .78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }

/* Cómo funciona: línea de tiempo */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; max-width: var(--maxw); margin: 0 auto; counter-reset: tl; }
.timeline::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, #e0c9ac 0 8px, transparent 8px 16px); }
.tl-item { position: relative; text-align: center; padding: 0 6px; }
.tl-num { position: relative; width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent-light), var(--accent-dark)); color: #fff; font: 700 1.25rem 'Lora', serif; box-shadow: 0 0 0 6px var(--bg-alt), 0 8px 18px rgba(216,124,43,.35); }
.tl-item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.tl-item p { font-size: .93rem; }

/* Documentos que traducimos */
.doc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.tile { display: flex; gap: 18px; align-items: flex-start; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .25s, box-shadow .25s, border-color .25s; color: inherit; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #e9c9a2; color: inherit; }
.tile .tile-ic { flex: none; width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(145deg, #fbf3e8, #f6e6d0); border: 1px solid #f0dcc0; color: var(--accent-dark); }
.tile h3 { font-size: 1.08rem; margin-bottom: 6px; }
.tile p { font-size: .92rem; line-height: 1.55; }

/* Sección con fondo azul para llamada final */
.cta-band { background: linear-gradient(120deg, var(--primary-dark), var(--primary) 60%, #14335e); color: #fff; text-align: center; padding: 70px 20px; position: relative; overflow: hidden; border: 0; }
.cta-band::after { content: ""; position: absolute; left: -80px; top: -90px; width: 360px; height: 360px; background: url('/img/logo-white.png') center / contain no-repeat; opacity: .05; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #cfd7e8; position: relative; max-width: 640px; margin: 0 auto 26px; }
.cta-band .btn-cta { position: relative; }

/* Botón flotante de WhatsApp */
.floating-cta { right: 18px; bottom: 18px; padding: 0; width: 58px; height: 58px; border-radius: 999px; background: #1fa855; box-shadow: 0 10px 26px rgba(15,110,55,.45); display: flex; align-items: center; justify-content: center; gap: 0; overflow: hidden; color: #fff !important; transition: width .3s ease, padding .3s ease; font-size: 14px; font-weight: 700; white-space: nowrap; }
.floating-cta svg.i { margin: 0; width: 26px; height: 26px; flex: none; color: #fff; }
.floating-cta span { max-width: 0; opacity: 0; overflow: hidden; transition: max-width .3s ease, opacity .2s ease, margin .3s ease; }
.floating-cta:hover, .floating-cta:focus-visible { width: 248px; background: #1b9a4e; }
.floating-cta:hover span, .floating-cta:focus-visible span { max-width: 190px; opacity: 1; margin-left: 10px; }

/* Pie */
.site-footer { background: var(--primary-dark); color: #aab4c8; }
.footer-top { display: grid; grid-template-columns: 1.35fr .9fr 1.2fr 1.35fr; gap: 44px; max-width: var(--maxw); margin: 0 auto; padding: 64px 24px 44px; }
.footer-brand .footer-logo img { width: 92px; height: 92px; margin-bottom: 14px; }
.footer-brand .footer-name { font: 700 1.2rem 'Lora', serif; color: #fff; margin-bottom: 10px; }
.footer-brand p { color: #aab4c8; font-size: .9rem; line-height: 1.65; margin-bottom: 14px; }
.footer-brand .footer-company { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer-brand .footer-company strong { color: #fff; }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; font-size: .9rem; }
.footer-col a { color: #aab4c8; }
.footer-col a:hover { color: var(--accent-light); }
.footer-contact li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.footer-contact strong { color: #fff; font-weight: 600; font-size: .85rem; }
.footer-contact a { color: #fff; font-weight: 500; overflow-wrap: anywhere; border-bottom: 1px solid rgba(255,255,255,.25); }
.footer-contact a:hover { color: var(--accent-light); border-color: var(--accent-light); }
.footer-contact span { color: #cfd6e4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); max-width: none; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .84rem; }
.footer-bottom p { color: #8f9ab0; max-width: var(--maxw); }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: #aab4c8; }
.footer-legal a:hover { color: var(--accent-light); }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; }
.site-footer .footer-wrap { border-top: 1px solid rgba(255,255,255,.09); }

/* Páginas legales */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 12px; }
.legal p, .legal li { font-size: .98rem; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal ul li { margin-bottom: 6px; color: var(--ink-soft); }
.legal .data-table { width: 100%; border-collapse: collapse; margin: 14px 0 24px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.legal .data-table th { width: 32%; text-align: left; background: #f6f3ec; color: var(--primary); font-weight: 600; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal .data-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.legal .updated { font-size: .85rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 30px; }
mark.pendiente { background: #fff1b8; color: #6b4a00; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

/* Provincias cercanas */
.related-provinces a { display: block; padding: 4px 0; font-size: .9rem; }

/* Responsive v3 */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero.hero-home { padding: 56px 20px 110px; }
  .hero-visual { margin: 10px auto 0; max-width: 420px; height: 410px; }
  .stats-band { grid-template-columns: repeat(2, 1fr); margin: -60px 16px 0; }
  .stats-band > div:nth-child(2) { border-right: 0; }
  .stats-band > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; padding-top: 48px; }
  .timeline { grid-template-columns: 1fr; gap: 6px; max-width: 520px; }
  .timeline::before { display: none; }
  .tl-item { display: grid; grid-template-columns: 54px 1fr; gap: 0 18px; text-align: left; padding-bottom: 18px; }
  .tl-item .tl-num { margin: 0; grid-row: span 2; }
}
@media (max-width: 600px) {
  .hero-visual { height: 370px; transform: scale(.9); transform-origin: top center; margin-bottom: -30px; }
  .doc-back { width: 250px; height: 330px; } .doc-front { width: 260px; height: 350px; }
  .hero-chip.c1 { left: 0; } .hero-chip.c2 { right: 0; }
  .logo-container img { height: 48px; width: 48px; }
  .logo-text strong { font-size: 1rem; }
  .logo-text span { font-size: .66rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .topbar-badges span:nth-child(n+2) { display: none; }
  .legal .data-table th { width: 40%; }
}
@media print { .topbar, .floating-cta, .site-header, .site-footer { display: none; } }

/* v3.1 — afinados */
.hero-grid { padding: 0 24px; }
.hero.hero-home { padding-left: 0; padding-right: 0; }
.alt-bg { border: 0; box-shadow: 0 0 0 100vmax var(--bg-alt); clip-path: inset(0 -100vmax); }
.doc-cert { right: 112px; }
.footer-contact li { flex-direction: column; align-items: flex-start; gap: 2px; margin-bottom: 14px; }
.footer-contact strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: #8f9ab0; font-weight: 600; }
.footer-contact a, .footer-contact span { font-size: .95rem; }
.footer-contact a { border-bottom: 0; }
.footer-contact a:hover { text-decoration: underline; }
.footer-top { padding-top: 56px; }
@media (min-width: 961px) { .footer-top { grid-template-columns: 1.3fr .85fr 1.1fr 1.45fr; } }
.province-intro-card h3 { margin-top: 26px; }
/* v3.2 — que ningún contenido desborde en móvil */
.contact-wrap > *, .province-layout > *, .hero-grid > * { min-width: 0; }
.file-row input[type="file"] { max-width: 100%; }
.legal .data-table, .legal .data-table td, .legal .data-table th { overflow-wrap: anywhere; word-break: normal; }
@media (max-width: 600px) {
  .legal .data-table th, .legal .data-table td { display: block; width: 100%; }
  .legal .data-table th { border-bottom: 0; padding-bottom: 2px; }
  .contact-form, .contact-info-card { padding: 24px 18px; }
  .province-intro-card { padding: 24px 18px; }
}
.article-body .data-table { min-width: 0; }
.legal .data-table { display: block; }
.legal .data-table tbody { display: block; }
.legal .data-table tr { display: grid; grid-template-columns: 32% 1fr; }
@media (max-width: 600px) { .legal .data-table tr { grid-template-columns: 1fr; border-bottom: 1px solid var(--line); } .legal .data-table th, .legal .data-table td { border-bottom: 0; } }
@media (max-width: 600px) { .doc-cert { display: none; } .doc-seal { bottom: 22px; } }
.legal .data-table tr { grid-template-columns: 220px 1fr; }
.legal .data-table th { width: auto; }
@media (max-width: 600px) { .legal .data-table tr { grid-template-columns: 1fr; } }
