@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Playfair+Display:wght@600;700&display=swap');
:root{--dark:#1A1408;--ink:#100C04;--cream:#FAF8EC;--gold:#E8C838;--brown:#685808;--warm:#EEE0B0;--card:#282008}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.7 'Open Sans',sans-serif}h1,h2{font-family:'Playfair Display',serif;line-height:1.15}a{color:inherit;text-decoration:none}.wrap{width:min(1180px,calc(100% - 96px));margin:auto}.site-header{background:var(--dark);color:#fff;position:relative;z-index:5}.nav-wrap{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:28px}.logo{font:700 29px 'Playfair Display',serif;color:#fff}.site-header nav{display:flex;align-items:center;gap:20px;text-transform:uppercase;font-size:12px;letter-spacing:.08em}.site-header nav a:hover{color:var(--gold)}.nav-cta{border:1px solid var(--gold);color:var(--gold);padding:9px 14px}.menu-toggle{display:none;background:none;color:var(--gold);border:0;font-size:24px}.hero{min-height:72vh;display:flex;align-items:center;background:linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.35)),url('../../images/hero.jpg') center/cover;color:#fff}.hero .wrap{max-width:850px}.hero h1{font-size:clamp(38px,6vw,62px);color:#fff}.hero p{color:#fff;font-size:19px;max-width:720px}.button{display:inline-block;background:var(--gold);color:var(--dark);padding:13px 21px;font-weight:700;border:1px solid var(--gold);margin:8px 8px 8px 0}.button.dark{background:var(--brown);color:#fff;border-color:var(--brown)}.button.outline{background:transparent;color:var(--gold)}section{padding:82px 0}section h2{font-size:clamp(30px,4vw,46px);color:var(--brown)}.dark-section{background:var(--dark);color:#fff}.dark-section h2,.dark-section h3,.dark-section p{color:#fff}.grid-2,.grid-3,.grid-4{display:grid;gap:28px}.grid-2{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}.card{padding:30px;background:#fff;border:1px solid var(--brown)}.dark-section .card{background:var(--card);border-color:var(--gold)}.card h3{color:var(--brown)}.dark-section .card h3{color:var(--gold)}img.content-image{width:100%;max-height:390px;object-fit:cover;display:block}.split{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center}.stat strong{display:block;font:700 48px 'Playfair Display';color:var(--gold)}.quote{border-left:3px solid var(--gold);font:italic 23px 'Playfair Display';color:var(--gold);padding:20px 28px}.steps{counter-reset:step;display:grid;gap:18px}.step{display:flex;gap:20px}.step:before{counter-increment:step;content:counter(step);font:700 42px 'Playfair Display';color:var(--gold)}.page-hero{background:var(--dark);color:#fff;padding:72px 0}.page-hero h1{color:#fff}.page-hero p{color:var(--warm);max-width:760px}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:42px}.sidebar{background:var(--dark);color:#fff;padding:24px;height:max-content;position:sticky;top:20px}.sidebar h3{color:var(--gold);font-size:12px;text-transform:uppercase}.sidebar a{display:block;color:var(--warm);padding:7px 0}.sidebar a:hover{color:var(--gold)}table{border-collapse:collapse;width:100%;background:#fff}th,td{border:1px solid #b9aa62;padding:13px;text-align:left}th{background:var(--brown);color:#fff}.callout{background:var(--gold);padding:24px;color:var(--dark)}form{display:grid;gap:14px;max-width:650px}input,textarea,select{padding:13px;border:1px solid #585008;background:#fff;color:var(--ink);font:inherit}textarea{min-height:150px}.site-footer{background:#100E04;color:#B0A060;padding:60px 0 20px}.site-footer .logo,.site-footer h3{color:var(--gold)}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:30px}.site-footer a{display:block;padding:3px 0}.site-footer a:hover{color:var(--gold)}.disclaimer{font-style:italic;color:#B0A060}.copyright{border-top:1px solid #484010;margin-top:40px;padding-top:18px;text-align:center;color:#B0A060;font-size:11px;text-transform:uppercase}.cookie-banner{position:fixed;bottom:18px;left:18px;right:18px;background:var(--dark);border:2px solid var(--gold);color:#fff;padding:16px;display:flex;align-items:center;gap:12px;justify-content:center;z-index:10}.cookie-banner p{margin:0}.cookie-banner a:last-child{color:var(--warm)}@media(max-width:768px){.wrap{width:min(100% - 48px,600px)}.menu-toggle{display:block}.site-header nav{display:none;position:absolute;top:82px;left:0;right:0;background:var(--dark);padding:24px;flex-direction:column;align-items:stretch}.site-header nav.open{display:flex}.hero{min-height:60vh}.grid-2,.grid-3,.grid-4,.split,.content-layout,.footer-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.sidebar{position:static}.cookie-banner{flex-wrap:wrap;font-size:13px}}

/* BUG-IMG-FIX: Restore normal sizing for non-hero images */
/* All images outside .hero get normal positioning and sizing */
.card img,.article-card img,.info-card img,.blog-card img,.content img,
article img,.section img,.policy img,.about img,.split img,.feature img,
.grid img,.col img,.column img,.texto img,.intro img,.wrap > img,
.container > img,.text-block img,.datos img,.context img{
  position:static !important;inset:auto !important;
  width:100%;max-height:340px;height:auto;
  object-fit:cover;display:block;opacity:1 !important;z-index:auto !important}
.card,.article-card,.info-card,.blog-card{overflow:hidden;position:relative}
/* Tables: ensure readable text color */
th,td{color:#172033 !important}
thead th{background:#1e3a5f;color:#fff !important}
tbody tr:nth-child(even) td{background:#f0f4f8;color:#172033 !important;background:#f9fafb !important;color:#172033 !important}
tbody tr:nth-child(odd) td{background:#fff;color:#172033 !important;background:#ffffff !important;color:#172033 !important}
/* BUG2: paragraph link blue highlight */
.section p a,.content p a,.policy p a,.prose p a,.article p a,.legal p a,
.wrap p a,.page-content p a,.container p a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.dark p a,.hero p a,.stats p a,.cta p a,.callout p a,.site-footer p a,.footer p a{color:#fff;text-decoration:underline}
/* BUG3: prevent double-grid section+wrap */
section.split,section.grid-2,section.grid-3,section.grid-4,
section.timeline,section.stats,section.stat-grid,section.articles,
section.features,section.collection,section.showcase{display:block}
.split > div,.grid-2 > div,.grid-3 > div{min-width:0}
/* TABLE-DARK-SECTION-FIX */
.dark table td,.dark table th,
.section.dark table td,.section.dark table th,
[class*="dark"] table td,[class*="dark"] table th {
  background:#1e3a5f !important;color:#fff !important;border-color:#2d4a6f !important}
.dark tbody tr:nth-child(even) td,[class*="dark"] tbody tr:nth-child(even) td {
  background:#162d4a !important;color:#fff !important}
.dark tbody tr:nth-child(odd) td,[class*="dark"] tbody tr:nth-child(odd) td {
  background:#1e3a5f !important;color:#fff !important}
.dark thead th,[class*="dark"] thead th {
  background:#0f2138 !important;color:#fff !important}
tbody tr:nth-child(even) td{background:#f9fafb !important;color:#172033 !important}
tbody tr:nth-child(odd) td{background:#ffffff !important;color:#172033 !important}

/* CARD-IN-DARK-FIX */
/* Cards with LIGHT backgrounds inside dark sections → dark text */
.dark .card,.dark article,.dark .step,.dark .feature,.dark .box {
  color:#172033 !important}
.dark .card h1,.dark .card h2,.dark .card h3,.dark .card h4,
.dark .card p,.dark .card span,.dark .card li,.dark article h3,.dark article p,
.dark .step h3,.dark .step p,.dark .feature h3,.dark .feature p {
  color:#172033 !important}
/* Cards with DARK backgrounds (e.g. dark-section, process-section) → light text */
[class*="dark-section"] .card,[class*="dark-section"] article,
[class*="process-section"] .card,[class*="stats-row"] .card,
[class*="quote-section"] .card,[class*="final-cta"] .card {
  color:#fff !important;background:rgba(255,255,255,0.08) !important}
[class*="dark-section"] .card h1,[class*="dark-section"] .card h2,
[class*="dark-section"] .card h3,[class*="dark-section"] .card h4,
[class*="dark-section"] .card p,[class*="dark-section"] .card span,
[class*="dark-section"] article h3,[class*="dark-section"] article p,
[class*="stats-row"] .card h3,[class*="stats-row"] .card p,
[class*="process-section"] .card h3,[class*="process-section"] .card p {
  color:#fff !important}
/* Site-specific dark class cards */
.dark-section .card,.dark-section article {
  color:#fff !important;background:rgba(255,255,255,0.08) !important}
.dark-section .card,.dark-section article h3,.dark-section .card,.dark-section article p {
  color:#fff !important}