@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --navy: #152747;
  --navy-deep: #0f1d35;
  --ink: #152238;
  --cream: #fbf8f0;
  --paper: #fffdf8;
  --sand: #eee7d8;
  --gold: #c59328;
  --gold-light: #e1bc68;
  --muted: #596477;
  --line: #d8cdb8;
  --green: #7fdfa1;
  --shadow: 0 18px 50px rgba(15, 29, 53, .09);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-bottom: 54px;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 8% 4%, rgba(197, 147, 40, .09), transparent 25rem),
    radial-gradient(circle at 96% 24%, rgba(21, 39, 71, .06), transparent 32rem),
    repeating-linear-gradient(135deg, rgba(21, 34, 56, .018) 0 1px, transparent 1px 12px);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(197, 147, 40, .5);
  outline-offset: 3px;
}

::selection { color: var(--ink); background: rgba(197, 147, 40, .3); }

.wrap { width: min(100% - 40px, 1380px); margin-inline: auto; }
.wrap-reading { width: min(100% - 40px, 1040px); margin-inline: auto; }
.serif { font-family: "Fraunces", Georgia, serif; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(197, 147, 40, .35);
  background: rgba(251, 248, 240, .94);
  box-shadow: 0 12px 34px rgba(21, 34, 56, .06);
  backdrop-filter: blur(14px);
}

.header-row { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  color: var(--cream);
  background: linear-gradient(145deg, var(--navy), #203c6b);
  box-shadow: inset 0 0 0 1px rgba(225, 188, 104, .3);
  font-family: "Fraunces", Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

.brand-copy { line-height: 1.14; }
.brand-name { display: block; font-family: "Fraunces", Georgia, serif; font-size: 15px; font-weight: 700; }
.brand-role { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }

.desktop-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.desktop-nav a { padding: 9px 10px; border-radius: 8px; color: var(--muted); font-size: 13px; transition: background .18s ease, color .18s ease; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--ink); background: var(--sand); }
.header-cta { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 9px; color: var(--cream); background: var(--navy); font-size: 13px; font-weight: 700; }
.menu-toggle { display: none; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--paper); cursor: pointer; }
.mobile-nav { display: none; padding: 8px 20px 16px; border-top: 1px solid var(--line); }
.mobile-nav.open { display: grid; }
.mobile-nav a { padding: 10px 2px; border-bottom: 1px solid rgba(216, 205, 184, .65); color: var(--muted); font-size: 14px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
  background: var(--navy);
}

.hero-image, .page-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after, .page-hero::after, .topic-image-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 29, 53, .97) 12%, rgba(21, 39, 71, .88) 58%, rgba(15, 29, 53, .52)), linear-gradient(0deg, rgba(15, 29, 53, .76), transparent 55%);
}

.hero-content { position: relative; z-index: 1; width: min(100% - 40px, 1150px); margin: 0 auto; padding: 92px 0 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border: 1px solid rgba(251, 248, 240, .28); border-radius: 999px; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.hero h1, .page-hero h1, .topic-image-hero h1 { max-width: 900px; margin: 24px 0 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(39px, 6vw, 68px); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.hero p { max-width: 760px; margin: 20px 0 0; color: rgba(251, 248, 240, .8); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 19px; border: 1px solid var(--navy); border-radius: 9px; color: var(--cream); background: var(--navy); font-size: 14px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(15, 29, 53, .14); }
.button-light { border-color: var(--cream); color: var(--navy); background: var(--cream); }
.button-outline { border-color: rgba(251, 248, 240, .38); color: var(--cream); background: rgba(251, 248, 240, .06); }
.button-gold { border-color: var(--gold); color: var(--navy-deep); background: var(--gold-light); }

.section { padding: 78px 0; }
.section-tight { padding: 48px 0; }
.section-border { border-block: 1px solid var(--line); background: rgba(238, 231, 216, .46); }
.section-heading { max-width: 760px; margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(28px, 4vw, 38px); line-height: 1.18; letter-spacing: -.015em; text-wrap: balance; }
.section-intro { max-width: 760px; margin: 13px 0 0; color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.card {
  display: block;
  height: 100%;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .92);
  box-shadow: 0 10px 30px rgba(21, 34, 56, .045), inset 0 1px 0 rgba(255, 255, 255, .8);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(197, 147, 40, .65); box-shadow: var(--shadow); }
.card-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 11px; color: var(--cream); background: var(--navy); font-family: "Fraunces", Georgia, serif; font-weight: 700; }
.card h2, .card h3 { margin: 16px 0 0; font-family: "Fraunces", Georgia, serif; font-size: 21px; line-height: 1.22; }
.card p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.keyword-line { margin-top: 16px !important; font-size: 11px !important; }
.read-link { display: inline-block; margin-top: 15px; font-size: 13px; font-weight: 700; }

.trust-grid { display: grid; grid-template-columns: .8fr 2.2fr; gap: 48px; align-items: start; }
.label { margin-bottom: 12px; color: var(--muted); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.pill-list { display: flex; flex-wrap: wrap; gap: 9px; }
.pill { display: inline-flex; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--paper); font-size: 12px; }

.faq-list { margin-top: 28px; border-block: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { position: relative; padding: 20px 40px 20px 0; cursor: pointer; font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 19px; right: 4px; color: var(--gold); font-size: 20px; font-weight: 500; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: -5px 0 20px; color: var(--muted); font-size: 14px; }

.page-hero { position: relative; overflow: hidden; min-height: 355px; display: flex; align-items: center; color: var(--cream); background: var(--navy); }
.page-hero-content { position: relative; z-index: 1; padding: 70px 0 62px; }
.page-hero h1 { margin-top: 18px; font-size: clamp(37px, 5vw, 56px); }
.page-hero p { max-width: 720px; margin: 13px 0 0; color: rgba(251, 248, 240, .8); }
.hub-mark { display: grid; width: 52px; height: 52px; margin-top: 24px; place-items: center; border-radius: 12px; background: rgba(251, 248, 240, .13); font-family: "Fraunces", Georgia, serif; font-weight: 700; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.breadcrumbs a:hover { color: var(--ink); }
.page-hero .breadcrumbs { color: rgba(251, 248, 240, .7); }
.page-hero .breadcrumbs a:hover { color: var(--cream); }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
.lead { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.topic-card { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); transition: border-color .18s ease, transform .18s ease; }
.topic-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.topic-card small { color: var(--muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.topic-card h3 { margin: 7px 0 0; font-size: 15px; line-height: 1.42; }
.sidebar { display: grid; gap: 24px; }
.panel { padding: 21px; border: 1px solid var(--line); border-radius: 12px; background: rgba(238, 231, 216, .52); }
.panel h3 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: 18px; }
.panel a { color: var(--muted); }
.panel a:hover { color: var(--ink); }
.simple-list { margin: 0; padding: 0; list-style: none; }
.simple-list li { margin-top: 8px; color: var(--muted); font-size: 13px; }

.topic-image-hero { position: relative; overflow: hidden; min-height: 360px; display: flex; align-items: end; color: var(--cream); background: var(--navy); }
.topic-image-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.topic-image-hero-inner { position: relative; z-index: 1; width: min(100% - 40px, 1040px); margin: 0 auto; padding: 70px 0 42px; }
.topic-image-hero h1 { max-width: 880px; margin-top: 7px; font-size: clamp(35px, 5vw, 50px); }
.article-head { padding-top: 38px; }
.article-title { margin: 20px 0 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(35px, 5vw, 50px); line-height: 1.1; text-wrap: balance; }
.article-deck { margin: 22px 0 0; color: var(--muted); font-size: 18px; }
.article { margin-top: 38px; }
.article section { margin-top: 38px; }
.article h2 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: 24px; line-height: 1.25; }
.article p { margin: 12px 0 0; font-size: 16px; line-height: 1.8; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 42px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(238, 231, 216, .55); }
.article-cta h3 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: 20px; }
.article-cta p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }

.disclaimer { margin-top: 42px; padding-left: 16px; border-left: 3px solid var(--gold); color: var(--muted); font-size: 12px; }
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.contact-list { display: grid; gap: 14px; margin-top: 22px; }
.contact-item { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.contact-item:last-child { padding-bottom: 0; border-bottom: 0; }
.contact-item strong { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

.site-footer { margin-top: 78px; border-top: 3px solid var(--gold); color: var(--cream); background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.2fr; gap: 40px; padding: 52px 0; }
.footer-title { font-family: "Fraunces", Georgia, serif; font-size: 19px; font-weight: 700; }
.footer-copy { margin: 10px 0 0; color: #b8c0cc; font-size: 13px; }
.footer-heading { margin-bottom: 12px; color: #b8c0cc; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.footer-links { display: grid; gap: 8px; }
.footer-links a, .footer-contact { color: #b8c0cc; font-size: 13px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--cream); }
.footer-contact address { font-style: normal; }
.footer-bottom { padding: 20px 0; border-top: 1px solid #2f405a; color: #9da8b8; font-size: 11px; }
.footer-bottom p { margin: 5px 0; }

.contact-ticker { position: fixed; z-index: 60; right: 0; bottom: 0; left: 0; overflow: hidden; border-top: 1px solid rgba(225, 188, 104, .8); color: var(--cream); background: rgba(15, 29, 53, .98); box-shadow: 0 -10px 28px rgba(15, 29, 53, .18); backdrop-filter: blur(14px); }
.contact-track { display: flex; width: max-content; animation: ticker 22s linear infinite; }
.contact-ticker:hover .contact-track, .contact-ticker:focus-within .contact-track { animation-play-state: paused; }
.ticker-group { display: flex; min-width: 100vw; min-height: 54px; align-items: center; justify-content: center; gap: 17px; padding: 8px 20px; white-space: nowrap; }
.ticker-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.ticker-link:hover { color: var(--gold-light); }
.ticker-whatsapp { color: var(--green); }
.ticker-divider { width: 1px; height: 20px; background: rgba(251, 248, 240, .3); }

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .wrap, .wrap-reading, .hero-content, .topic-image-hero-inner { width: min(100% - 30px, 100%); }
  .header-cta { display: none; }
  .brand-role { display: none; }
  .hero { min-height: 520px; }
  .hero-content { padding: 72px 0; }
  .hero p, .article-deck { font-size: 16px; }
  .section { padding: 58px 0; }
  .card-grid, .topic-grid, .related-grid { grid-template-columns: 1fr; }
  .trust-grid, .content-layout { grid-template-columns: 1fr; gap: 36px; }
  .sidebar { grid-template-columns: 1fr; }
  .article-cta { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-item { grid-template-columns: 1fr; gap: 3px; }
}

@media (max-width: 430px) {
  .brand-name { font-size: 14px; }
  .ticker-group { gap: 10px; padding-inline: 10px; }
  .ticker-link { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .contact-track { width: 100%; animation: none !important; }
  .ticker-group { min-width: 100%; }
  .ticker-group[aria-hidden="true"] { display: none; }
}
