/* =========================================================
   ILI · INCLUSIVE LIVING INTERNATIONAL · GLOBAL STYLES
   Established 2010
   ========================================================= */

:root {
  --navy: #0E2240;
  --navy-deep: #081730;
  --navy-soft: #1B2A4E;
  --gold: #C9A961;
  --gold-bright: #D4B872;
  --gold-deep: #A68B4A;
  --cream: #F8F5EE;
  --cream-warm: #F1ECDF;
  --ink: #14181F;
  --ink-soft: #2D3340;
  --gray: #6B7280;
  --gray-light: #D9D5CC;
  --white: #FFFFFF;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --space-2xl: 12rem;

  --max-w: 1320px;
  --max-w-text: 720px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--gold-deep); }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--navy);
  color: var(--cream);
  padding: 1rem 1.5rem;
  z-index: 1000;
  font-size: 0.95rem;
  font-weight: 500;
}
.skip-link:focus { top: 0; }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--navy);
}

.display {
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -0.035em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.4;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.025em;
}
.section-title .accent {
  font-style: italic;
  color: var(--gold-deep);
}

/* LAYOUT */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

section { position: relative; }

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  background: rgba(248, 245, 238, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
}
.site-header.scrolled {
  padding: 1rem 0;
  border-bottom-color: rgba(14, 34, 64, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo img { height: 44px; width: auto; display: block; max-width: 200px; object-fit: contain; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.1;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 0.15rem;
}

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.005em;
  position: relative;
  padding: 0.25rem 0;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  padding-left: 1.5rem;
  border-left: 1px solid var(--gray-light);
}
.lang-switch a { opacity: 0.4; }
.lang-switch a.active { opacity: 1; color: var(--gold-deep); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--navy);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.05rem 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--navy-deep);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(14, 34, 64, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--cream);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-bright);
  color: var(--navy-deep);
}
.btn .arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* PAGE HERO (smaller than home hero) */
.page-hero {
  padding: 11rem 0 5rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 50%;
  height: 100%;
  background:
    radial-gradient(circle at 70% 30%, rgba(201, 169, 97, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Variant: page hero with background image */
.page-hero.with-image {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 13rem 0 7rem;
  min-height: 65vh;
  display: flex;
  align-items: flex-end;
}
.page-hero.with-image .page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: 0;
}
.page-hero.with-image::before {
  background:
    linear-gradient(135deg, rgba(8, 23, 48, 0.85) 0%, rgba(14, 34, 64, 0.55) 60%, rgba(14, 34, 64, 0.3) 100%);
  width: 100%;
  right: 0;
  top: 0;
}
.page-hero.with-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 23, 48, 0.5) 0%, transparent 30%, transparent 60%, rgba(8, 23, 48, 0.4) 100%);
  z-index: 1;
  pointer-events: none;
}
.page-hero.with-image h1 { color: var(--cream); }
.page-hero.with-image h1 .accent { color: var(--gold-bright); }
.page-hero.with-image .lead { color: rgba(248, 245, 238, 0.92); }
.page-hero.with-image .eyebrow-row .eyebrow { color: var(--gold-bright); }
.page-hero.with-image .eyebrow-row .line { background: var(--gold-bright); }
.page-hero.with-image .container { position: relative; z-index: 2; width: 100%; }

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
}
.page-hero .eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}
.page-hero .eyebrow-row .line {
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.page-hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 4.6rem);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.page-hero h1 .accent {
  font-style: italic;
  color: var(--gold-deep);
}
.page-hero .lead {
  max-width: 660px;
  margin-bottom: 0;
}

/* PROSE */
.prose {
  max-width: var(--max-w-text);
  font-size: 1.05rem;
}
.prose p {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
}
.prose p.first {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.45;
  color: var(--navy);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}
.prose h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin: 4rem 0 1.5rem;
  font-weight: 400;
}
.prose h2 .accent { font-style: italic; color: var(--gold-deep); }
.prose h3 {
  font-size: 1.4rem;
  margin: 2.5rem 0 1rem;
  font-weight: 500;
}
.prose ul {
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}
.prose ul li {
  margin-bottom: 0.8rem;
  color: var(--ink-soft);
}
.prose strong { color: var(--navy); font-weight: 600; }
.prose blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 2rem;
  margin: 2.5rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--navy);
}

/* SECTIONS */
.section {
  padding: var(--space-xl) 0;
}
.section.alt {
  background: var(--cream-warm);
}
.section.dark {
  background: var(--navy);
  color: var(--cream);
}
.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--cream); }
.section.dark .eyebrow { color: var(--gold-bright); }
.section.dark .prose p { color: rgba(248, 245, 238, 0.8); }
.section.dark .prose strong { color: var(--cream); }

/* CTA STRIP */
.cta-strip {
  background: var(--navy-deep);
  color: var(--cream);
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(201, 169, 97, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 70% 50%, rgba(201, 169, 97, 0.06) 0%, transparent 50%);
}
.cta-strip > .container { position: relative; z-index: 2; }
.cta-strip h2 {
  color: var(--cream);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.cta-strip h2 .accent {
  font-style: italic;
  color: var(--gold-bright);
}
.cta-strip p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  color: rgba(248, 245, 238, 0.75);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-style: italic;
}

/* FOOTER */
.site-footer {
  background: var(--navy-deep);
  color: rgba(248, 245, 238, 0.7);
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid rgba(201, 169, 97, 0.15);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 1.5rem;
  display: block;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 340px;
  margin: 0;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 500;
  margin: 0 0 1.5rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
  font-size: 0.92rem;
  color: rgba(248, 245, 238, 0.75);
}
.footer-col a:hover { color: var(--gold-bright); }

.footer-bottom {
  border-top: 1px solid rgba(201, 169, 97, 0.15);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: rgba(248, 245, 238, 0.5);
}
.footer-bottom .legal {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-bottom .established {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-bright);
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .logo img { height: 36px; max-width: 160px; }
  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 6rem clamp(1.5rem, 6vw, 3rem) 2.5rem;
    gap: 0;
    z-index: 200;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    display: block;
    width: 100%;
    padding: 1.25rem 0;
    font-size: 1.4rem;
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--navy);
    border-bottom: 1px solid rgba(14, 34, 64, 0.1);
    letter-spacing: -0.01em;
    text-align: left;
  }
  .nav a::after { display: none; }
  .nav a.active { color: var(--gold-deep); font-style: italic; }
  .mobile-toggle {
    display: block;
    position: relative;
    z-index: 250;
  }
  .mobile-toggle[aria-expanded="true"] svg { transform: rotate(90deg); transition: transform 0.3s var(--ease); }
  .site-header {
    z-index: 220;
  }
  .lang-switch {
    padding-left: 0;
    border-left: none;
  }
  .page-hero { padding: 9rem 0 4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 5rem 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; padding: 1rem 1.25rem; font-size: 0.85rem; letter-spacing: 0.04em; line-height: 1.3; text-align: center; min-height: 56px; flex-wrap: wrap; }
  .btn .arrow { flex-shrink: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
