/* ============================================================
   FINANCE DU FUTUR / FINANCE OF THE FUTURE
   Website Template — Main Stylesheet  v2.0
   Mobile-first, fully responsive, accessible
   ============================================================

   CUSTOMIZATION QUICK REFERENCE:
   • Brand colors      → :root custom properties (below)
   • Font family       → --font-body / --font-display
   • Header height     → --header-height
   • Container width   → --content-wide
   See the PDF Customization Guide for full details.
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS (CSS CUSTOM PROPERTIES)
   ============================================================ */
:root {
  /* ── Type Scale (fluid, clamp-based) ── */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);  /* 12–14px */
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);      /* 14–16px */
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);  /* 16–18px */
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);    /* 18–24px */
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);   /* 24–36px */
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);    /* 32–56px */
  --text-hero: clamp(2.25rem,  1rem    + 4vw,    4.5rem);    /* 36–72px */

  /* ── 4px Spacing System ── */
  --space-1:  0.25rem;   /*  4px */
  --space-2:  0.5rem;    /*  8px */
  --space-3:  0.75rem;   /* 12px */
  --space-4:  1rem;      /* 16px */
  --space-5:  1.25rem;   /* 20px */
  --space-6:  1.5rem;    /* 24px */
  --space-8:  2rem;      /* 32px */
  --space-10: 2.5rem;    /* 40px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */
  --space-20: 5rem;      /* 80px */
  --space-24: 6rem;      /* 96px */

  /* ── Colors — Finance Palette (navy + gold) ── */
  --color-bg:          #FFFFFF;   /* Page background (required: white)  */
  --color-surface:     #F7F9FC;   /* Light blue-white surface            */
  --color-surface-2:   #EEF2F8;   /* Slightly deeper surface             */
  --color-border:      #DDE3ED;   /* Border / divider                    */

  --color-text:        #0D1B33;   /* Primary text — deep navy            */
  --color-text-muted:  #5A6A85;   /* Secondary text                      */
  --color-text-faint:  #97A3B5;   /* Tertiary / placeholder              */
  --color-text-inv:    #FFFFFF;   /* Text on dark backgrounds            */

  --color-primary:     #0A2342;   /* Deep navy — header, footer, headings */
  --color-secondary:   #1B4F8A;   /* Royal blue — links, buttons         */
  --color-secondary-h: #1565C0;   /* Hover state                         */
  --color-accent:      #C9A843;   /* Gold — decorative highlights        */
  --color-accent-h:    #B8962E;   /* Hover state                         */
  --color-success:     #2E7D32;   /* Form success                        */

  /* ── Header / Footer ── */
  --header-top-space: var(--space-4); /* 16px */
  --header-height: 96px; /* 80px + 16px */
  --header-bg:     #FFFFFF;
  --footer-bg:     #0A2342;
  --footer-text:   #FFFFFF;

  /* ── Border Radius ── */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 3px  rgba(10, 35, 66, 0.07);
  --shadow-md: 0 4px 16px rgba(10, 35, 66, 0.10);
  --shadow-lg: 0 12px 36px rgba(10, 35, 66, 0.14);

  /* ── Transition ── */
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Typography ── */
  --font-display: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
  --font-body:    'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;

  /* ── Layout ── */
  --content-wide: 1240px;
  --content-default: 960px;
  --content-narrow:  680px;
}

/* ============================================================
   2. BASE RESET & GLOBAL STYLES
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

ul[role='list'], ol[role='list'] { list-style: none; }

input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.18;
  font-family: var(--font-display);
  font-weight: 700;
}

p, li { text-wrap: pretty; }

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--color-secondary-h); }
a:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 3px; border-radius: var(--radius-sm); }

button { cursor: pointer; background: none; border: none; }

::selection {
  background: rgba(27, 79, 138, 0.18);
  color: var(--color-text);
}

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

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 640px)  { .container { padding-inline: var(--space-6); } }
@media (min-width: 1024px) { .container { padding-inline: var(--space-8); } }

.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;
}

/* ============================================================
   4. SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-height);
  background: var(--header-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: calc(var(--header-height) - var(--header-top-space));
  padding-top: var(--header-top-space);
}

/* ── Logo ── */
.site-logo {
  flex-shrink: 0;
  line-height: 0;
  display: flex;
  align-items: center;
}
.site-logo img {
  width: 220px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}
@media (min-width: 768px) {
  .site-logo img { width: 280px; max-height: 64px; }
}
@media (min-width: 1024px) {
  .site-logo img { width: 311px; height: 70px; }
}

/* ── Nav wrapper ── */
.nav-wrapper {
  display: none;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
}
@media (min-width: 1024px) {
  .nav-wrapper { display: flex; }
}

/* ── Desktop navigation ── */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}
.main-nav a {
  display: inline-block;
  padding: var(--space-2) var(--space-3);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--color-secondary);
  background: rgba(27, 79, 138, 0.08);
}
.main-nav a.active {
  font-weight: 700;
}

/* ── Language Switcher ── */
.lang-switcher {
  flex-shrink: 0;
  margin-left: var(--space-4);
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: var(--space-2) var(--space-3);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.lang-btn:hover {
  background: var(--color-primary);
  color: var(--color-text-inv);
  text-decoration: none;
}

/* ── Mobile: right-side cluster ── */
.header-controls {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-left: auto;
}
@media (min-width: 1024px) {
  .header-controls { display: none; }
}

/* ── Hamburger button ── */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ============================================================
   5. MOBILE NAVIGATION
   ============================================================ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-height) 0 0;
  background: var(--color-bg);
  z-index: 850;
  overflow-y: auto;
  padding-bottom: var(--space-8);
}
.mobile-nav.open { display: block; }

@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}

.mobile-nav ul {
  list-style: none;
  border-top: 1px solid var(--color-border);
}
.mobile-nav ul li a {
  display: block;
  padding: var(--space-4) var(--space-6);
  color: var(--color-primary);
  font-size: var(--text-base);
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), padding-left var(--transition);
}
.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
  background: var(--color-surface);
  padding-left: var(--space-8);
  color: var(--color-secondary);
  text-decoration: none;
}
.mobile-lang-wrap {
  padding: var(--space-5) var(--space-6);
  border-top: 2px solid var(--color-border);
}

/* ============================================================
   6. HERO SECTION (Homepage only)
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;
  min-height: 280px;
  max-height: 800px;
  overflow: hidden;
  background: var(--color-primary);
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(10, 35, 66, 0.80) 0%,
    rgba(27, 79, 138, 0.45) 60%,
    rgba(10, 35, 66, 0.20) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-6);
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  color: var(--color-text-inv);
  text-align: center;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  letter-spacing: -0.02em;
  max-width: 900px;
}

/* ============================================================
   7. PAGE HEADER BAR (Interior pages — no hero)
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}
.page-header h1 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text-inv);
  letter-spacing: -0.02em;
}
/* Gold accent line under page title */
.page-header h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-accent);
  margin-top: var(--space-4);
  border-radius: var(--radius-full);
}

/* ============================================================
   8. MAIN CONTENT
   ============================================================ */
.main-content {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}

.content-section { width: 100%; }

/* Content title (homepage only — below hero) */
.content-title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-5);
  border-bottom: 3px solid var(--color-accent);
  display: inline-block;
}

/* Content image */
.content-image {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-10);
  box-shadow: var(--shadow-lg);
}
.content-image img {
  width: 100%;
  height: clamp(220px, 40vw, 500px);
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.content-image:hover img { transform: scale(1.02); }

/* Content text */
.content-text p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  max-width: 85ch;
}
.content-text p:last-child { margin-bottom: 0; }

/* ── 6. Lead / intro paragraph ── */
.content-text .lead,
.content-text > p:first-of-type {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);  /* ~17–19px / ~0.67–0.75 in */
  font-weight: 500;
  color: var(--color-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-8);              /* 32px / ~1.25 in */
}

/* ── 7. Content enrichments ── */

/* Blockquote / pull quote */
.content-text blockquote {
  border-left: 4px solid var(--color-accent); /* 4px / ~0.16 in */
  padding: var(--space-4) var(--space-6);     /* 16px 24px / ~0.63 in 0.94 in */
  font-style: italic;
  color: var(--color-secondary);
  background: var(--color-surface);
  margin: var(--space-8) 0;                   /* 32px / ~1.25 in */
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  max-width: 85ch;
}
.content-text blockquote p {
  font-size: var(--text-base);
  margin-bottom: 0;
  color: var(--color-secondary);
}

/* Ordered / unordered lists within content */
.content-text ul,
.content-text ol {
  margin: 0 0 var(--space-6) var(--space-6);
  max-width: 80ch;
}
.content-text ul { list-style: disc; }
.content-text ol { list-style: decimal; }
.content-text li {
  line-height: 1.75;
  margin-bottom: var(--space-2);              /* 8px */
  color: var(--color-text);
}

/* Highlight / info box */
.info-box {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);     /* 24px 32px / ~0.94 in 1.25 in */
  margin: var(--space-8) 0;                   /* 32px / ~1.25 in */
  border-left: 4px solid var(--color-secondary);
  max-width: 85ch;
}
.info-box p { margin-bottom: 0; color: var(--color-text); }

/* Inline CTA button */
.btn-inline {
  display: inline-block;
  padding: 0.6rem 1.5rem;                     /* 10px 24px / ~0.4 in 0.94 in */
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-top: var(--space-4);
  cursor: pointer;
}
.btn-inline:hover {
  background: var(--color-accent-h);
  color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.btn-inline:active { transform: translateY(0); }

/* ── 9. Image caption support ── */
.content-figure {
  margin: var(--space-10) 0;                  /* 40px / ~1.57 in */
}
.content-figure img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: block;
}
.content-figure figcaption {
  font-size: var(--text-xs);                  /* ~12–14px / ~0.47–0.55 in */
  color: var(--color-text-muted);
  margin-top: var(--space-3);                 /* 12px / ~0.47 in */
  font-style: italic;
  text-align: center;
  line-height: 1.5;
}

/* ============================================================
   8a. LAYOUT A — Full-width image top, stacked text (Page 1)
       This is the default .content-image + .content-text pattern,
       no extra CSS needed. Included here for documentation.
   ============================================================ */

/* ============================================================
   8b. LAYOUT B — Image Left / Text Right (Page 2)
   ============================================================ */
.layout-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);                       /* 40px / ~1.57 in */
  align-items: start;
}
@media (min-width: 768px) {
  .layout-split {
    grid-template-columns: 1fr 1fr;           /* 50 / 50 */
    gap: var(--space-12);                     /* 48px / ~1.89 in */
    align-items: center;
  }
}

.layout-split__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 280px;                          /* 280px / ~11 in */
}
@media (min-width: 768px) {
  .layout-split__image {
    min-height: 420px;                        /* 420px / ~16.5 in */
  }
}
.layout-split__image img {
  width: 100%;
  height: 100%;
  min-height: 280px;                          /* 280px / ~11 in */
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
@media (min-width: 768px) {
  .layout-split__image img {
    min-height: 420px;                        /* 420px / ~16.5 in */
  }
}
.layout-split__image:hover img { transform: scale(1.02); }

.layout-split__text { }

/* Layout C — Text Left / Image Right: reverse column order on desktop */
.layout-split--reverse .layout-split__image { order: 0; }
.layout-split--reverse .layout-split__text  { order: 0; }
@media (min-width: 768px) {
  .layout-split--reverse .layout-split__image { order: 2; }
  .layout-split--reverse .layout-split__text  { order: 1; }
}

/* ============================================================
   8c. LAYOUT D — Feature Cards (Page 4)
   ============================================================ */
.layout-cards { }

.layout-cards__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);  /* ~17–19px */
  font-weight: 500;
  color: var(--color-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-10);             /* 40px / ~1.57 in */
  max-width: 75ch;
}

.layout-cards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);                        /* 24px / ~0.94 in */
}
@media (min-width: 640px) {
  .layout-cards__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .layout-cards__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);                      /* 32px / ~1.26 in */
  }
}

.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);                    /* 32px / ~1.26 in */
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-card__icon {
  width: 64px;                                /* 64px / ~2.52 in */
  height: 64px;                               /* 64px / ~2.52 in */
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* Placeholder: replace content with your SVG icon */
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
}
.feature-card__icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-secondary);
}

.feature-card__heading {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
}

.feature-card__text {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text-muted);
  flex: 1;
}

/* ============================================================
   9. CONTACT PAGE
   ============================================================ */
/* Contact grid: form + map side by side on md+ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* Contact form wrapper */
.contact-form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.contact-form-wrap h2 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

/* Form rows: two columns on sm+ */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 var(--space-4);
}
@media (min-width: 480px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* Form groups */
.form-group {
  margin-bottom: var(--space-5);
}
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.req { color: #C0392B; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem var(--space-4);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-faint);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(27, 79, 138, 0.12);
}
.form-group textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.6;
}

/* Submit button */
.btn-submit {
  display: block;
  width: 100%;
  padding: 0.9rem var(--space-8);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-text-inv);
  font-size: var(--text-base);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  margin-top: var(--space-2);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-submit:active { transform: translateY(0); }
.btn-submit.success {
  background: linear-gradient(135deg, #1B5E20 0%, var(--color-success) 100%);
}

/* Map placeholder */
.map-section { height: 100%; min-height: 320px; }
.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
  border: 2px dashed var(--color-secondary);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-8);
  text-align: center;
}
.map-icon {
  font-size: 3rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.map-placeholder-text strong {
  display: block;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.map-placeholder-text p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  max-width: 40ch;
}
.map-code {
  font-family: 'Courier New', Courier, monospace;
  font-size: var(--text-xs);
  background: rgba(27, 79, 138, 0.08);
  color: var(--color-secondary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  word-break: break-all;
  border: 1px solid rgba(27, 79, 138, 0.15);
  display: block;
  max-width: 100%;
}

/* Separator between contact form/map and content image */
.contact-divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin-block: var(--space-12);
}

/* ── Per-field error message ── */
.field-error {
  display: block;
  margin-top: var(--space-1);      /* 4px */
  font-size: var(--text-xs);       /* 12–14px */
  color: #C0392B;
  font-weight: 500;
}

/* Invalid field border highlight */
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.10);
}

/* ── Form-level status banner ── */
.form-status {
  margin-top: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.5;
}
.form-status--success {
  background: #EAF4EB;
  color: #1B5E20;
  border: 1px solid #A5D6A7;
}
.form-status--error {
  background: #FDEDED;
  color: #7B1F1F;
  border: 1px solid #F5C2C2;
}

/* ── Honeypot field ── */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
  aria-hidden: true;
}

/* ── Button loading/disabled state ── */
.btn-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none !important;
}

/* ============================================================
   10. SITE FOOTER — 3-column layout
   ============================================================ */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-block: var(--space-16) var(--space-8);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);                       /* 40px / ~1.57 in */
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

/* Column 1: Brand */
.footer-brand { }
.footer-logo img {
  width: 200px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
  opacity: 0.92;
}
.footer-tagline {
  font-size: var(--text-sm);
  font-style: italic;
  color: rgba(255, 255, 255, 0.70);
  margin-top: var(--space-4);
  max-width: 300px;
  line-height: 1.6;
}

/* Column 2: Quick links */
.footer-nav-col h3,
.footer-social-col h3 {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);             /* 20px / ~0.79 in */
}
.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);                       /* 12px / ~0.47 in */
}
.footer-nav-list a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color var(--transition);
  display: inline-block;
}
.footer-nav-list a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* Column 3: Social + legal */
.footer-social-col { }
.footer-social-icons {
  display: flex;
  gap: var(--space-4);                       /* 16px / ~0.63 in */
  flex-wrap: wrap;
  margin-bottom: var(--space-6);             /* 24px / ~0.94 in */
}
.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;                               /* 40px / ~1.57 in */
  height: 40px;                              /* 40px / ~1.57 in */
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.70);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.footer-social-icons a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(201,168,67,0.10);
}
.footer-social-icons svg {
  width: 18px;                               /* 18px / ~0.71 in */
  height: 18px;
  fill: currentColor;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);        /* 12px 20px */
}
.footer-legal-links a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-legal-links a:hover {
  color: rgba(255,255,255,0.75);
}

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-8);               /* 32px / ~1.26 in */
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.03em;
}

/* ============================================================
   11. HERO CONTENT POSITIONING (Supplement)
   ============================================================ */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-content-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-6);
  text-align: center;
}

/* ============================================================
   12. ADDITIONAL RESPONSIVE & POLISH
   ============================================================ */
.main-content {
  padding-block: clamp(var(--space-10), 6vw, var(--space-20));
}
.content-image { overflow: hidden; }

/* Nav active indicator */
.main-nav a.active::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  margin-top: 2px;
}

/* Ensure hero h1 is accessible even when overlay covers it */
.hero-title {
  position: relative;
  z-index: 2;
}

/* Large desktop: bump hero title further */
@media (min-width: 1280px) {
  .hero-title { font-size: clamp(3rem, 5vw, 5rem); }
}

/* Contact grid equal heights */
.contact-grid { align-items: stretch; }

/* Form: full-width single-column on very small screens */
@media (max-width: 479px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: var(--space-5); }
}

/* ============================================================
   13. BACK-TO-TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;                              /* 24px / ~0.94 in */
  right: 24px;                               /* 24px / ~0.94 in */
  z-index: 800;
  width: 48px;                               /* 48px / ~1.89 in */
  height: 48px;                              /* 48px / ~1.89 in */
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inv);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, background var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--color-secondary);
  box-shadow: var(--shadow-lg);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   14. 404 ERROR PAGE
   ============================================================ */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100dvh - var(--header-height) - 320px);
  padding-block: var(--space-20);
  text-align: center;
}
.error-page__inner {
  max-width: 560px;
}
.error-page__code {
  font-size: clamp(6rem, 18vw, 10rem);
  font-weight: 800;
  color: var(--color-surface-2);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
}
.error-page__title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.error-page__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
  line-height: 1.7;
}
.error-page__divider {
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  margin: var(--space-6) auto;
}
.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-8);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;                  /* 12px 28px / ~0.47 in 1.10 in */
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-text-inv);
  font-weight: 700;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  color: var(--color-text-inv);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 700;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.btn-secondary-outline:hover {
  background: var(--color-primary);
  color: var(--color-text-inv);
  text-decoration: none;
}

/* ============================================================
   15. PRINT STYLES
   ============================================================ */
@media print {
  /* Hide non-essential elements */
  .site-header,
  .mobile-nav,
  .lang-switcher,
  .header-controls,
  .hamburger,
  .back-to-top,
  .site-footer,
  .btn-submit,
  .btn-inline,
  .map-section,
  .map-placeholder,
  .contact-form-wrap button {
    display: none !important;
  }

  /* Reset page layout */
  body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 11pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }

  /* Headings */
  h1, h2, h3, h4 { color: #000; page-break-after: avoid; }
  h1 { font-size: 18pt; }
  h2 { font-size: 14pt; }
  h3 { font-size: 12pt; }

  /* Page header bar */
  .page-header {
    background: #fff !important;
    padding-block: 12pt;
    border-bottom: 2pt solid #000;
  }
  .page-header h1 {
    color: #000 !important;
    font-size: 18pt;
  }
  .page-header h1::after { background: #888; }

  /* Content */
  .content-image,
  .content-image img,
  .layout-split__image,
  .layout-split__image img { display: none !important; }

  .content-text p,
  .layout-split__text p { max-width: 100%; font-size: 11pt; }

  /* Feature cards: collapse to simple list */
  .layout-cards__grid { display: block; }
  .feature-card {
    box-shadow: none;
    border: 1pt solid #ccc;
    margin-bottom: 12pt;
    page-break-inside: avoid;
  }
  .feature-card__icon { display: none; }

  /* Links */
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
  }
  a[href^="#"]::after,
  a[href^="javascript:"]::after { content: ""; }

  /* Page breaks */
  .main-content { padding-block: 12pt; }
  .container { max-width: 100%; padding: 0; }
}
