@charset "UTF-8";

:root {
  --color-bg: #faf7f4;
  --color-surface: #ffffff;
  --color-text: #2c2824;
  --color-text-muted: #5c5650;
  --color-accent: #8b7355;
  --color-accent-hover: #6d5a42;
  --color-cta: #8b7355;
  --color-cta-hover: #6d5a42;
  --color-cta-text: #ffffff;
  --color-border: #e5e0da;
  --color-nav-bg: #ffffff;
  --color-footer-bg: #2c2824;
  --color-footer-text: #c4beb6;
  --color-footer-muted: #8a827a;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1120px;
  --content-width: 860px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-accent-hover); }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); margin-bottom: .75rem; }

p { margin-bottom: 1rem; }

ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: .4rem; }

/* ---- CONTAINER ---- */
.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

.content-body {
  max-width: var(--content-width);
  margin-inline: auto;
}

@media (max-width: 768px) {
  .container { width: min(100% - 32px, var(--max-width)); }
}

/* ---- HEADER ---- */
.site-header {
  background: var(--color-nav-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
  max-width: var(--max-width);
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 700;
}

.brand:hover { color: var(--color-accent); }

.brand-text { letter-spacing: -.3px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  transition: background .2s, color .2s;
}

.site-nav a:hover { background: var(--color-bg); color: var(--color-text); }

.nav-login {
  margin-left: 8px;
  font-weight: 600;
  color: var(--color-accent) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-text);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-nav-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 12px 24px;
    gap: 2px;
    box-shadow: var(--shadow-md);
  }
  .site-nav.active { display: flex; }
  .site-nav a { width: 100%; padding: 12px 14px; font-size: 1rem; }
  .nav-login { margin-left: 0; border-top: 1px solid var(--color-border); margin-top: 4px; padding-top: 12px !important; }
}

/* ---- HERO ---- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 80px 24px;
  text-align: center;
  color: #ffffff;
  background-color: #2c2824;
  background-image:
    linear-gradient(rgba(32,28,24,.52), rgba(32,28,24,.52)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-home {
  min-height: 560px;
}

.hero-inner {
  max-width: 720px;
  margin-inline: auto;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}

.hero-legal { min-height: 200px; padding: 60px 24px; }

@media (max-width: 768px) {
  .hero { min-height: calc(100svh - 64px); padding: 60px 20px; }
  .hero-home { min-height: calc(100svh - 64px); }
  .hero h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-legal { min-height: auto; }
}

/* ---- CTA BUTTON ---- */
.btn-cta {
  display: inline-block;
  padding: 14px 40px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-cta-text);
  background: var(--color-cta);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: background .25s, transform .15s, box-shadow .25s;
  box-shadow: 0 2px 12px rgba(139,115,85,.3);
  letter-spacing: .2px;
}

.btn-cta:hover { background: var(--color-cta-hover); color: #ffffff; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(139,115,85,.35); }

.btn-cta-outline {
  display: inline-block;
  padding: 12px 36px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-accent);
  background: transparent;
  border: 2px solid var(--color-accent);
  border-radius: 50px;
  text-decoration: none;
  transition: background .25s, color .25s;
}

.btn-cta-outline:hover { background: var(--color-accent); color: #ffffff; }

/* ---- MAIN CONTENT ---- */
.main-content { padding-bottom: 40px; }

.main-content section:not(.hero) {
  padding: 48px 0;
}

.main-content section:first-of-type { padding-top: 56px; }

@media (max-width: 768px) {
  .main-content section:not(.hero) { padding: 36px 0; }
  .main-content section:first-of-type { padding-top: 40px; }
}

/* ---- CARDS ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow .2s;
}

.card:hover { box-shadow: var(--shadow-md); }

.card h3 { margin-bottom: .5rem; }

/* ---- FAQ ---- */
.faq-section { background: var(--color-surface); border-top: 1px solid var(--color-border); }

.faq-item { margin-bottom: 1.25rem; }

.faq-item h3 {
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: .3rem;
}

.faq-item p { color: var(--color-text-muted); margin-bottom: 0; }

/* ---- COUNTRY LINKS ---- */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 16px;
}

.link-grid a {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: .95rem;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 400;
}

.footer-col a {
  display: block;
  color: var(--color-footer-text);
  font-size: .93rem;
  padding: 4px 0;
  transition: color .2s;
}

.footer-col a:hover { color: #ffffff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  font-size: .85rem;
  color: var(--color-footer-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-bottom a { color: var(--color-footer-muted); text-decoration: underline; }
.footer-bottom a:hover { color: #ffffff; }

.footer-18plus {
  display: inline-block;
  border: 1px solid var(--color-footer-muted);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: .8rem;
  margin-top: 8px;
}

/* ---- 404 PAGE ---- */
.page-404 {
  text-align: center;
  padding: 80px 24px;
}

.page-404 h1 { font-size: 4rem; margin-bottom: .5rem; }

.page-404 p { color: var(--color-text-muted); margin-bottom: 1.5rem; }

/* ---- INLINE CTA ---- */
.inline-cta {
  text-align: center;
  padding: 20px 0 40px;
}

/* ---- LEGAL CONTENT ---- */
.legal-content h2 { margin-top: 2rem; }

.legal-content p { margin-bottom: 1rem; }

/* ---- MISC ---- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
