/* ==========================================================================
   ELSIEDY — Import & Export
   main.css — shared styles (LTR base + layout for both languages)
   Brand palette (pending final approval):
   dark brown #2B170D | brown #5A321B | gold #C49A52 | light gold #E5C27A
   off-white #F7F4EF | black #111111
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --brown-dark: #2B170D;
  --brown: #5A321B;
  --gold: #C49A52;
  --gold-light: #E5C27A;
  --gold-soft: rgba(196, 154, 82, 0.14);
  --off-white: #F7F4EF;
  --black: #111111;
  --white: #FFFFFF;

  --text: #2A211C;
  --text-muted: #6B5E55;
  --text-inverse: #F5EFE7;
  --text-inverse-muted: #D8CBBE;
  --border: #E5DCCF;
  --border-input: #D6CCBE;
  --error: #A61B29;

  --surface-dark: #1A120C;
  --surface-header: var(--brown-dark);

  --font-base: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
    "Helvetica Neue", Arial, "Noto Sans Arabic", Tahoma, sans-serif;
  --font-display: Georgia, "Times New Roman", "Noto Naskh Arabic", serif;

  --radius: 6px;
  --shadow-card: 0 1px 3px rgba(43, 23, 13, 0.08);
  --header-height: 78px;
  --container: 1140px;
}

/* --------------------------------------------------------------------------
   Self-hosted Tajawal (assets/fonts/) — arabic + latin subsets,
   weights 400/500/700. Declared here so Arabic text on English pages
   (e.g. the language switcher) can use it; files are only fetched when
   matching glyphs are actually rendered.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/tajawal-arabic-400.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/tajawal-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/tajawal-arabic-500.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/tajawal-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/tajawal-arabic-700.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/tajawal-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Any element explicitly marked as Arabic uses Tajawal */
[lang="ar"] {
  font-family: "Tajawal", "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brown-dark);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--brown); }
a:hover { color: var(--gold); }

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

ul { padding: 0; }

::selection {
  background: var(--gold);
  color: var(--brown-dark);
}

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

/* --------------------------------------------------------------------------
   3. Layout utilities
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: 4.25rem;
}

.section--tint {
  background: var(--off-white);
}

.section--dark {
  background: var(--brown-dark);
  color: var(--text-inverse);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section-head {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.eyebrow,
.section-label {
  display: block;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.6rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section--dark .section-head p {
  color: var(--text-inverse-muted);
}

.text-center { text-align: center; }

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--cards { grid-template-columns: 1fr; }

@media (min-width: 600px) {
  .grid--cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .grid--cards.grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--cards.grid--2 { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.7rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.btn--gold {
  background: var(--gold);
  color: var(--brown-dark);
  border-color: var(--gold);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--brown-dark);
}

.btn--outline {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--gold-soft);
  color: var(--gold-light);
}

.btn--outline-dark {
  background: transparent;
  color: var(--brown-dark);
  border-color: var(--brown);
}

.btn--outline-dark:hover,
.btn--outline-dark:focus-visible {
  background: var(--gold-soft);
  color: var(--brown);
}

.btn--block {
  display: block;
  width: 100%;
  text-align: center;
}

/* --------------------------------------------------------------------------
   5. Skip link (accessibility)
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--gold);
  color: var(--brown-dark);
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* --------------------------------------------------------------------------
   6. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface-header);
  border-bottom: 1px solid rgba(196, 154, 82, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-inline-end: auto;
  padding-block: 0.65rem;
}

.brand-logo {
  flex: none;
  width: 76px;
  height: auto;
  display: block;
}

.brand-text {
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  line-height: 1.1;
}

.brand-text small {
  display: block;
  color: var(--gold-light);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
}

.site-nav a {
  display: inline-block;
  color: var(--text-inverse-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding-block: 0.45rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-light);
}

.site-nav a.is-active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.lang-switch {
  display: inline-block;
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(196, 154, 82, 0.6);
  border-radius: 999px;
  padding: 0.32rem 0.95rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-switch:hover,
.lang-switch:focus-visible {
  background: var(--gold-soft);
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(196, 154, 82, 0.6);
  border-radius: 5px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold-light);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    display: none;
    background: var(--surface-header);
    border-bottom: 1px solid rgba(196, 154, 82, 0.35);
    box-shadow: 0 12px 24px rgba(17, 17, 17, 0.25);
  }

  .site-header.nav-open .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid rgba(196, 154, 82, 0.18);
  }

  .site-nav li:last-child a {
    border-bottom: none;
  }
}

/* --------------------------------------------------------------------------
   7. Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--brown-dark);
  color: var(--text-inverse);
  padding-block: 5.5rem 5.5rem;
  border-bottom: 3px solid var(--gold);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(196, 154, 82, 0.16), transparent 60%),
    linear-gradient(160deg, rgba(90, 50, 27, 0.5), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-art {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin-inline: auto;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.1rem;
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--text-inverse-muted);
  max-width: 640px;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

/* --------------------------------------------------------------------------
   8. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--brown-dark);
  color: var(--text-inverse);
  padding-block: 3.75rem 3.75rem;
  border-bottom: 3px solid var(--gold);
}

.page-hero .eyebrow {
  color: var(--gold);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-hero .lead {
  color: var(--text-inverse-muted);
  font-size: 1.08rem;
  max-width: 680px;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow-card);
}

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

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

.card-icon {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
}

.card-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}

.card-link:hover {
  color: var(--brown);
}

/* --------------------------------------------------------------------------
   10. Dark feature band (home machinery)
   -------------------------------------------------------------------------- */
.band-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .band-inner {
    grid-template-columns: 1.6fr 1fr;
  }
}

.band-art {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-inline: auto;
}

.band-inner p {
  color: var(--text-inverse-muted);
  font-size: 1.05rem;
  max-width: 640px;
}

.band-gallery {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(196, 154, 82, 0.3);
}

.slider {
  position: relative;
}

.slider-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius);
}

.slider-viewport::-webkit-scrollbar {
  display: none;
}

.slider-track {
  display: flex;
}

.slider-track > img {
  flex: 0 0 100%;
  width: 100%;
  height: min(520px, 62vw);
  object-fit: cover;
  scroll-snap-align: center;
  border: 1px solid rgba(196, 154, 82, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.slider.is-ready .slider-viewport {
  overflow: hidden;
}

.slider.is-ready .slider-track {
  transition: transform 0.45s ease;
}

.slider-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(43, 23, 13, 0.8);
  color: var(--gold-light);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.slider.is-ready .slider-btn {
  display: flex;
}

.slider-btn--prev { inset-inline-start: 0.9rem; }
.slider-btn--next { inset-inline-end: 0.9rem; }

.slider-btn:hover,
.slider-btn:focus-visible {
  background: var(--gold);
  color: var(--brown-dark);
}

.slider-dots {
  display: none;
  gap: 0.55rem;
  justify-content: center;
  margin-top: 1.1rem;
}

.slider.is-ready .slider-dots {
  display: flex;
}

.slider-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--gold);
}

.band-gallery-note {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-inverse-muted);
}

/* --------------------------------------------------------------------------
   10b. Split section (text + emblem illustration)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 820px) {
  .split {
    grid-template-columns: 1.35fr 0.65fr;
  }
}

.split-art {
  display: block;
  width: min(240px, 65%);
  height: auto;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   11. Note / callout box
   -------------------------------------------------------------------------- */
.note {
  background: #FBF7EF;
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--gold);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 2.25rem;
}

/* --------------------------------------------------------------------------
   12. CTA section (home)
   -------------------------------------------------------------------------- */
.cta-box {
  background: var(--brown-dark);
  color: var(--text-inverse);
  border-radius: var(--radius);
  border-bottom: 3px solid var(--gold);
  padding: 3rem 2rem;
  text-align: center;
}

.cta-box h2 {
  color: var(--white);
}

.cta-box p {
  color: var(--text-inverse-muted);
  max-width: 560px;
  margin-inline: auto;
}

.cta-box .hero-actions {
  justify-content: center;
}

.cta-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2rem;
  margin-top: 1.75rem;
  font-size: 0.95rem;
}

.cta-contacts a {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: none;
}

.cta-contacts a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   13. Contact cards
   -------------------------------------------------------------------------- */
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  text-align: start;
  box-shadow: var(--shadow-card);
}

.contact-card .icon-circle {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  color: var(--brown);
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.contact-card p,
.contact-card a {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
  word-break: break-word;
}

.contact-card a {
  font-weight: 600;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--brown);
  text-decoration: underline;
}

.contact-card .btn {
  margin-top: 0.9rem;
}

/* --------------------------------------------------------------------------
   14. Forms
   -------------------------------------------------------------------------- */
.form-wrap {
  max-width: 720px;
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .form-grid .field-row {
    grid-column: span 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brown-dark);
  margin-bottom: 0.4rem;
}

.field .optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.85rem;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border-input);
  border-radius: 4px;
  padding: 0.75rem 0.9rem;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: 2px solid rgba(196, 154, 82, 0.35);
  outline-offset: 1px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field .field-error {
  display: none;
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.field.is-invalid .field-error {
  display: block;
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--error);
}

.form-actions {
  margin-top: 1.75rem;
}

.form-status {
  display: none;
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: 4px;
  font-size: 0.95rem;
}

.form-status.is-visible {
  display: block;
}

.form-status--info {
  background: #F6EEDF;
  border: 1px solid var(--gold);
  color: #5A4630;
}

.form-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   15. Team placeholders
   -------------------------------------------------------------------------- */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.team-photo {
  display: block;
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold);
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-card);
}

.team-card h3 {
  margin-bottom: 0.3rem;
}

.team-role {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.75rem;
}

.team-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--surface-dark);
  color: var(--text-inverse-muted);
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem 2.5rem;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1.4fr;
  }
}

.footer-logo {
  display: block;
  width: 180px;
  height: auto;
  margin: 0 0 0.9rem;
}

.site-footer h3 {
  color: var(--gold-light);
  font-family: var(--font-base);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.site-footer p {
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: var(--text-inverse-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-light);
}

.footer-contact {
  list-style: none;
  margin: 0;
  font-size: 0.95rem;
}

.footer-contact li {
  margin-bottom: 0.55rem;
}

.footer-contact a {
  color: var(--text-inverse-muted);
  text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(196, 154, 82, 0.25);
  padding-block: 1.25rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: #8E7F71;
}

/* --------------------------------------------------------------------------
   17. Misc
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.divider-gold {
  width: 64px;
  height: 3px;
  background: var(--gold);
  border: none;
  margin: 0 0 1.5rem;
}
