/* ==========================================================================
   شركة التكامل — Al-Takamul Company
   Design tokens + global styles. Bilingual (AR primary / EN secondary).
   ========================================================================== */

:root {
  /* Palette — derived from the Al-Takamul logo (green #1B8F46 on warm off-white) */
  --navy:        #10653A;  /* deep forest green — primary dark (name kept for compatibility) */
  --navy-2:      #147943;
  --ink:         #0A3F26;  /* darkest green — footers, deepest sections */
  --brass:       #1B8F46;  /* logo green — primary accent */
  --brass-2:     #37B364;  /* brighter green — accents on dark backgrounds */
  --gold:        #C69A3E;  /* refined gold — secondary accent, pairs with green */
  --gold-2:      #E0B75A;
  --paper:       #F9F5F2;  /* logo background cream */
  --paper-2:     #EFE9E3;
  --slate:       #55625B;  /* green-tinged slate for body text */
  --slate-2:     #8A968F;
  --line:        rgba(16, 101, 58, 0.16);
  --line-light:  rgba(249, 245, 242, 0.18);
  --white:       #ffffff;
  --logo-green:  #1B8F46;
  --logo-slash:  #F9F5F2;

  /* Type */
  --font-display: "Tajawal", system-ui, sans-serif;
  --font-body:    "Cairo", system-ui, sans-serif;

  /* Rhythm */
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --sp-section: clamp(4rem, 9vw, 8rem);

  --radius: 4px;
  --radius-lg: 10px;

  --shadow: 0 20px 50px -20px rgba(8, 29, 40, 0.35);
  --shadow-sm: 0 8px 24px -12px rgba(8, 29, 40, 0.28);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1.02rem;
  overflow-x: hidden;
  font-weight: 400;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* anchored targets clear the sticky header */
:target { scroll-margin-top: 90px; }
[id="oil"], [id="transport"], [id="chemical"], [id="vision"], [id="approach"] { scroll-margin-top: 90px; }

/* ---------- language visibility ----------
   html[lang="ar"] shows .ar, hides .en, and vice-versa. */
html[lang="ar"] .en { display: none !important; }
html[lang="en"] .ar { display: none !important; }
html[lang="en"] { direction: ltr; }
html[lang="ar"] { direction: rtl; }

/* Latin gets a slightly tighter body */
html[lang="en"] body { font-size: 1rem; line-height: 1.65; }

/* ---------- layout helpers ---------- */
.wrap { width: min(var(--wrap), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--sp-section); position: relative; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brass);
  display: inline-block;
}
html[lang="ar"] .eyebrow { letter-spacing: 0.04em; }
/* eyebrow on dark green sections switches to gold for contrast */
.sectors .eyebrow, .stats-band .eyebrow, .cta-band .eyebrow,
.page-hero .eyebrow, .hero .eyebrow { color: var(--gold-2); }
.sectors .eyebrow::before, .stats-band .eyebrow::before, .cta-band .eyebrow::before,
.page-hero .eyebrow::before, .hero .eyebrow::before { background: var(--gold-2); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.18; color: var(--navy); }
.section-title { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.01em; }
html[lang="ar"] .section-title { letter-spacing: 0; }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--slate); font-weight: 500; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.9rem 1.7rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bg);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(198,154,62,0.7); }
.btn:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--paper); border-color: var(--line-light); }
.btn--ghost:hover { background: rgba(247,245,240,0.08); box-shadow: none; }
.btn--dark { --btn-bg: var(--navy); --btn-fg: var(--paper); border-color: var(--navy); }
.btn .arrow { transition: transform 0.25s var(--ease); }
html[lang="ar"] .btn .arrow { transform: scaleX(-1); }
.btn:hover .arrow { transform: translateX(4px); }
html[lang="ar"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,245,240,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__mark { height: 38px; width: auto; flex: none; object-fit: contain; }
/* footer logo mark on dark green — subtle cream chip keeps the mark crisp */
.footer-brand .brand__mark { background: var(--paper); padding: 5px 7px; border-radius: 6px; height: 44px; box-sizing: content-box; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--navy); }
.brand__sub { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
html[lang="ar"] .brand__sub { letter-spacing: 0.02em; }

.nav__links { display: flex; align-items: center; gap: 0.35rem; }
.nav__links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--navy);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  bottom: 0.2rem;
  inset-inline: 0.85rem;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.28s var(--ease);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--brass); }

/* ---------- Dropdown submenus (AWSAT-style) ---------- */
.nav__item { position: relative; }
.nav__item > a { display: inline-flex; align-items: center; gap: 0.3rem; }
.nav__item .caret { width: 12px; height: 12px; transition: transform 0.25s var(--ease); flex: none; }
.nav__item:hover .caret, .nav__item:focus-within .caret { transform: rotate(180deg); }
.submenu {
  position: absolute;
  inset-block-start: calc(100% + 6px);
  inset-inline-start: 0;
  min-width: 220px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 0.5rem;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s var(--ease);
  z-index: 60;
}
.nav__item:hover .submenu, .nav__item:focus-within .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu a {
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  white-space: nowrap;
  color: var(--slate);
}
.submenu a::after { display: none; }
.submenu a:hover { background: var(--paper-2); color: var(--brass); }

.nav__actions { display: flex; align-items: center; gap: 0.6rem; }
.lang-toggle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: border-color 0.2s, color 0.2s;
}
.lang-toggle:hover { border-color: var(--brass); color: var(--brass); }
.lang-toggle:focus-visible { outline: 3px solid var(--brass-2); outline-offset: 2px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav__links {
    position: fixed;
    inset-block: 74px auto;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.5rem;
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.4s var(--ease), visibility 0.4s var(--ease);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .nav__links[data-open="true"] { transform: translateY(0); visibility: visible; }
  .nav__links a { padding: 0.95rem 0.5rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__links a::after { display: none; }
  /* submenus render inline on mobile */
  .nav__item { display: block; }
  .nav__item > a { justify-content: space-between; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; padding: 0 0 0 1rem;
    background: transparent; min-width: 0;
  }
  html[lang="ar"] .submenu { padding: 0 1rem 0 0; }
  .submenu a { border-bottom: 1px solid var(--line); font-size: 0.98rem; color: var(--slate); }
  .nav__item .caret { display: inline-block; }
  .nav__item > a .caret { transition: transform 0.25s var(--ease); }
  .nav__item.is-open > a .caret { transform: rotate(180deg); }
  /* collapse submenus by default on mobile, expand when open */
  .nav__item .submenu { display: none; }
  .nav__item.is-open .submenu { display: grid; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: center;
  color: var(--paper);
  overflow: hidden;
  background: var(--navy);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10,63,38,0.92) 8%, rgba(10,63,38,0.55) 55%, rgba(10,63,38,0.7) 100%);
}
html[lang="ar"] .hero__scrim { background: linear-gradient(to left, rgba(10,63,38,0.9) 30%, transparent 90%); }
html[lang="en"] .hero__scrim { background: linear-gradient(to right, rgba(10,63,38,0.9) 30%, transparent 90%); }
.hero__scrim { position: absolute; inset: 0; z-index: 1; }
.hero__inner { position: relative; z-index: 2; padding-block: 5rem; max-width: 46rem; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  line-height: 1.12;
  margin-block: 1.2rem 1.4rem;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--gold-2); }
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: rgba(247,245,240,0.9); max-width: 38rem; font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-light);
}
.hero__stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--gold-2); line-height: 1; }
.hero__stat .label { font-size: 0.85rem; color: rgba(247,245,240,0.75); margin-top: 0.35rem; font-weight: 500; }

/* weave divider — the signature integration motif */
.weave {
  height: 8px;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--brass) 0 10px,
    transparent 10px 20px
  );
  opacity: 0.9;
}
html[lang="ar"] .weave { background-image: repeating-linear-gradient(45deg, var(--brass) 0 10px, transparent 10px 20px); }

/* ==========================================================================
   Sectors / integration motif
   ========================================================================== */
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 820px) { .intro-grid { grid-template-columns: 1fr; } }
.intro-grid .lead { margin-top: 1.2rem; }
.intro-grid p + p { margin-top: 1rem; }
.intro-media { position: relative; }
.intro-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/3.2; object-fit: cover; width: 100%; }
.intro-media__badge {
  position: absolute;
  inset-block-end: -1.4rem;
  inset-inline-start: -1.4rem;
  background: var(--brass);
  color: var(--paper);
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  max-width: 15rem;
}
.intro-media__badge .small { color: rgba(249,245,242,0.9); }
.intro-media__badge .big { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; }
.intro-media__badge .small { font-size: 0.82rem; font-weight: 600; margin-top: 0.3rem; }
@media (max-width: 560px) { .intro-media__badge { position: static; margin-top: 1rem; inset: auto; max-width: none; } }

/* sector cards */
.sectors { background: var(--navy); color: var(--paper); }
.sectors .section-title { color: var(--white); }
.sectors .lead { color: rgba(247,245,240,0.75); }
.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head .lead { margin-top: 1rem; }

.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 900px) { .sector-grid { grid-template-columns: 1fr; } }

.sector-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  isolation: isolate;
}
.sector-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.7s var(--ease); }
.sector-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(10,63,38,0.95) 12%, rgba(10,63,38,0.35) 60%, rgba(16,101,58,0.25) 100%);
}
.sector-card:hover img { transform: scale(1.06); }
.sector-card__body { padding: 1.8rem; width: 100%; }
.sector-card__index { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: var(--gold-2); letter-spacing: 0.1em; }
.sector-card h3 { color: var(--white); font-size: 1.5rem; margin-block: 0.4rem 0.6rem; }
.sector-card p { font-size: 0.94rem; color: rgba(247,245,240,0.82); }
.sector-card__link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--gold-2); }
.sector-card__link .arrow { transition: transform 0.25s var(--ease); }
html[lang="ar"] .sector-card__link .arrow { transform: scaleX(-1); }
.sector-card:hover .sector-card__link .arrow { transform: translateX(4px); }
html[lang="ar"] .sector-card:hover .sector-card__link .arrow { transform: scaleX(-1) translateX(4px); }

/* ==========================================================================
   Values / features
   ========================================================================== */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .value-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: transparent; }
.value-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--paper-2); color: var(--brass);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.value-card__icon svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.93rem; color: var(--slate); }

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats-band { background: var(--ink); color: var(--paper); }
.stats-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
@media (max-width: 700px) { .stats-band__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; } }
.stat-item .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--gold-2); line-height: 1; }
.stat-item .label { font-size: 0.9rem; color: rgba(247,245,240,0.7); margin-top: 0.5rem; font-weight: 500; }

/* ==========================================================================
   Quote banner (AWSAT-style centered statement)
   ========================================================================== */
.quote-band {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  text-align: center;
}
.quote-band__media { position: absolute; inset: 0; z-index: 0; opacity: 0.16; }
.quote-band__media img { width: 100%; height: 100%; object-fit: cover; }
.quote-band__inner { position: relative; z-index: 2; max-width: 52rem; margin-inline: auto; }
.quote-band__mark { font-family: var(--font-display); font-size: 4rem; line-height: 0.6; color: var(--gold-2); display: block; margin-bottom: 0.5rem; }
.quote-band blockquote {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  line-height: 1.3;
  color: var(--white);
  text-wrap: balance;
}
.quote-band cite { display: block; margin-top: 1.4rem; font-style: normal; font-size: 0.95rem; color: var(--gold-2); font-weight: 600; letter-spacing: 0.04em; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: var(--paper); text-align: center; }
.cta-band__inner { max-width: 46rem; margin-inline: auto; position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); font-size: clamp(1.9rem, 4.5vw, 3rem); }
.cta-band p { color: rgba(247,245,240,0.8); margin-block: 1rem 2rem; font-size: 1.1rem; }
.cta-band .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-band__weave { position: absolute; inset-inline: 0; top: 0; }
.cta-band__weave.weave { background-image: repeating-linear-gradient(-45deg, var(--gold) 0 10px, transparent 10px 20px); }
html[lang="ar"] .cta-band__weave.weave { background-image: repeating-linear-gradient(45deg, var(--gold) 0 10px, transparent 10px 20px); }

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding-block: clamp(4rem, 10vw, 7rem);
  background: var(--navy);
  color: var(--paper);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; opacity: 0.35; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, var(--navy), transparent); z-index:1; }
.page-hero__inner { position: relative; z-index: 2; max-width: 46rem; }
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 5vw, 3.6rem); margin-block: 1rem 1rem; }
.page-hero p { color: rgba(247,245,240,0.85); font-size: 1.12rem; max-width: 40rem; }
.breadcrumb { font-size: 0.85rem; color: rgba(247,245,240,0.6); font-weight: 500; }
.breadcrumb a:hover { color: var(--gold-2); }

/* ==========================================================================
   About page
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.prose p { margin-bottom: 1rem; color: var(--slate); }
.prose p:first-of-type { color: var(--ink); font-size: 1.1rem; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 700px) { .vm-grid { grid-template-columns: 1fr; } }
.vm-card {
  background: var(--white); border: 1px solid var(--line);
  border-inline-start: 4px solid var(--brass);
  border-radius: var(--radius-lg); padding: 2rem;
}
.vm-card h3 { display: flex; align-items: center; gap: 0.7rem; font-size: 1.35rem; margin-bottom: 0.8rem; }
.vm-card h3 svg { width: 26px; height: 26px; color: var(--brass); }
.vm-card p { color: var(--slate); }

.timeline { position: relative; margin-top: 2rem; }
.timeline::before { content:""; position:absolute; inset-block:0; inset-inline-start: 8px; width:2px; background: var(--line); }
.timeline__item { position: relative; padding-inline-start: 2.5rem; padding-bottom: 2rem; }
.timeline__item::before { content:""; position:absolute; inset-inline-start: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--brass); border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--brass); }
.timeline__year { font-family: var(--font-display); font-weight: 800; color: var(--brass); font-size: 1.1rem; }
.timeline__item h4 { font-size: 1.15rem; margin: 0.2rem 0 0.4rem; }
.timeline__item p { color: var(--slate); font-size: 0.95rem; }

/* ==========================================================================
   Services page
   ========================================================================== */
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.svc-block:last-child { border-bottom: 0; }
.svc-block--rev .svc-block__media { order: 2; }
@media (max-width: 820px) { .svc-block, .svc-block--rev { grid-template-columns: 1fr; } .svc-block--rev .svc-block__media { order: 0; } }
.svc-block__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3/2.2; object-fit: cover; }
.svc-block__index { font-family: var(--font-display); font-weight: 800; font-size: 3rem; color: var(--paper-2); line-height: 1; -webkit-text-stroke: 1.5px var(--brass); color: transparent; }
.svc-block h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-block: 0.6rem 1rem; }
.svc-block .lead { font-size: 1.08rem; margin-bottom: 1.2rem; }
.svc-list { display: grid; gap: 0.7rem; margin-top: 1.2rem; }
.svc-list li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--slate); font-size: 0.98rem; }
.svc-list li svg { width: 20px; height: 20px; color: var(--brass); flex: none; margin-top: 3px; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem,5vw,3.5rem); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 1.2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; }
.contact-item__icon { width: 44px; height: 44px; border-radius: var(--radius); background: var(--paper-2); color: var(--brass); display: grid; place-items: center; flex: none; }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.contact-item p, .contact-item a { color: var(--slate); font-size: 0.95rem; }
.contact-item a:hover { color: var(--brass); }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.45rem; color: var(--navy); }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(27,143,70,0.18);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form__note { font-size: 0.85rem; color: var(--slate); margin-top: 0.8rem; }
.form__success { display: none; background: rgba(27,143,70,0.10); border: 1px solid var(--brass); border-radius: var(--radius); padding: 1rem 1.2rem; color: var(--navy); font-weight: 600; margin-bottom: 1.2rem; }
.form__success[data-show="true"] { display: block; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-top: clamp(2.5rem,5vw,3.5rem); box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(0.2) contrast(1.05); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(247,245,240,0.8); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand__name { color: var(--white); }
.footer-brand .brand__sub { color: var(--slate-2); }
.footer-about { margin-top: 1rem; font-size: 0.92rem; max-width: 24rem; color: rgba(247,245,240,0.65); }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0.02em; }
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { font-size: 0.93rem; color: rgba(247,245,240,0.7); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-2); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; margin-bottom: 0.7rem; color: rgba(247,245,240,0.7); }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold-2); flex: none; margin-top: 2px; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; color: rgba(247,245,240,0.5); }
.footer-credit a { color: var(--gold-2); font-weight: 700; transition: color 0.2s; }
.footer-credit a:hover { color: var(--white); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.stack > * + * { margin-top: 1rem; }
