@import url('https://fonts.googleapis.com/css2?family=Cardo:wght@400;700&family=Nunito+Sans:wght@400;600;700;800&display=swap');
:root{--dark:#181008;--ink:#100c04;--paper:#faf6ee;--white:#fff;--gold:#d09040;--brown:#704010;--cream:#eee0c0;--line:#604010}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.7 'Nunito Sans',sans-serif}h1,h2{font-family:Cardo,serif;line-height:1.15}h1{font-size:clamp(2.5rem,6vw,4.2rem)}h2{font-size:clamp(2rem,4vw,3rem)}h3{line-height:1.25}.wrap{width:min(1160px,calc(100% - 96px));margin:auto}.site-header{background:var(--dark);color:#fff}.nav-wrap{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:30px}.logo{font:700 2rem Cardo,serif;color:#fff;text-decoration:none}.site-header nav{display:flex;gap:22px;align-items:center}.site-header nav a,.site-footer a{color:#fff;text-decoration:none;text-transform:uppercase;font-size:.78rem;letter-spacing:.08em}.site-header nav a:hover,.site-footer a:hover{color:var(--gold)}.nav-cta{border:1px solid var(--gold);padding:8px 14px}.menu-toggle{display:none;background:none;border:0;color:var(--gold);font-size:1.6rem}.hero{min-height:85vh;display:flex;align-items:center;position:relative;background:var(--dark);overflow:visible;color:#fff}.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.75),rgba(0,0,0,.3))}.hero .wrap{position:relative;z-index:1}.hero h1,.hero p{color:#fff;max-width:850px}.hero p{font-size:1.2rem;color:var(--cream)}.buttons{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}.button{display:inline-block;padding:13px 22px;text-decoration:none;background:var(--brown);color:#fff;border:1px solid var(--brown)}.button.gold{background:var(--gold);border-color:var(--gold)}.button.outline{background:transparent;border-color:#fff}.section{padding:88px 0}.dark{background:var(--dark);color:#fff}.dark h2,.dark h3,.dark p{color:#fff}.dark h3{color:var(--gold)}.section h2{color:var(--ink);max-width:800px}.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:28px;border:1px solid var(--brown);background:#fff}.dark .card{background:#241808;border-color:var(--gold)}.card h3{color:var(--brown)}.dark .card h3{color:var(--gold)}.split{display:grid;grid-template-columns:1.05fr .95fr;gap:45px;align-items:center}.split img,.content-image{width:100%;height:360px;object-fit:cover}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center}.stats strong{display:block;font:3rem Cardo;color:var(--gold)}.quote{border-left:3px solid var(--gold);padding:25px 35px;font:italic 1.4rem Cardo;color:var(--gold)}.steps{counter-reset:step}.steps .card:before{counter-increment:step;content:'0' counter(step);font:2.5rem Cardo;color:var(--gold)}.page-hero{background:var(--dark);padding:78px 0;color:#fff}.page-hero h1,.page-hero p{color:#fff}.layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:42px}.sidebar{background:var(--dark);padding:25px;color:#fff;height:max-content;position:sticky;top:20px}.sidebar h3{color:var(--gold);font-size:.8rem;text-transform:uppercase}.sidebar a{display:block;color:var(--cream);padding:7px 0;text-decoration:none}.sidebar a:hover{color:var(--gold)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;background:#fff}th,td{padding:14px;border:1px solid #cdbb9b;text-align:left}th{background:var(--brown);color:#fff}.callout{border:1px solid var(--gold);padding:26px;background:#fff4dc}.site-footer{background:var(--ink);color:#b09060;padding:60px 0 20px}.site-footer .logo{color:#fff}.site-footer p{max-width:460px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer-grid h3{color:var(--gold);font-size:.8rem;text-transform:uppercase}.footer-grid a{display:block;color:#b09060;text-transform:none;letter-spacing:0;margin:7px 0}.disclaimer{font-style:italic;color:#b09060}.copyright{text-align:center;color:#483818;text-transform:uppercase;font-size:.7rem;margin-top:35px}.cookie-banner{position:fixed;bottom:0;left:0;right:0;background:var(--dark);border:2px solid var(--gold);color:#fff;padding:15px 5%;display:flex;gap:14px;align-items:center;z-index:5}.cookie-banner p{margin:0;flex:1}.cookie-banner button{background:var(--gold);color:#fff;border:0;padding:10px 16px}.cookie-banner .plain{background:none;color:var(--cream)}form{display:grid;gap:15px}input,textarea{padding:13px;border:1px solid var(--line);font:inherit}textarea{min-height:140px}.success{background:#1a5c2a;color:#fff;padding:14px;display:none}@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:25px;z-index:4;flex-direction:column;align-items:flex-start}.site-header nav.open{display:flex}.grid-2,.grid-3,.grid-4,.split,.layout,.footer-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.hero{min-height:60vh}.cookie-banner{flex-wrap:wrap}.cookie-banner p{flex-basis:100%}.sidebar{position:static}}

/* 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}