/* =========================================================================
   PROF GARANT — main stylesheet
   Brand: deep navy (#15243f) + gold (#c9a96e), corporate / construction.
   Plain CSS, no build step. Edit variables below to re-theme the whole site.
   ========================================================================= */

/* ----- Design tokens ----- */
:root {
  /* Dark (navy) scale */
  --navy-900: #0e1a2f;
  --navy-850: #112038;
  --navy-800: #15243f;
  --navy-700: #1b2e4d;
  --navy-600: #24395e;
  --logo-navy: #15243b;

  /* Accent */
  --gold: #c9a96e;
  --gold-200: #dcc28e;
  --cream: #e7dcb8;

  /* Light surfaces */
  --bg: #f5f3ef;
  --surface: #ffffff;

  /* Text */
  --ink: #15233d;
  --ink-soft: #5d6678;
  --on-dark: #ffffff;
  --on-dark-soft: #9fadc4;

  /* Lines & shadows */
  --line: #e6e1d7;
  --line-dark: rgba(255, 255, 255, 0.10);
  --shadow-sm: 0 4px 14px rgba(14, 26, 47, 0.08);
  --shadow-md: 0 14px 38px rgba(14, 26, 47, 0.12);
  --shadow-lg: 0 28px 60px rgba(14, 26, 47, 0.22);

  /* Geometry */
  --radius: 8px;
  --radius-sm: 3px;
  --container: 1200px;
  --header-h: 84px;

  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    system-ui, sans-serif;

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overflow-y: visible;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }

::selection { background: var(--gold); color: var(--navy-900); }

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

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

.section { padding: 96px 0; position: relative; }
.section--dark { background: var(--navy-800); color: var(--on-dark); }
.section--light { background: var(--bg); }
.section--white { background: var(--surface); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  max-width: 100%;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}
.section-head.center .eyebrow { justify-content: center; }

.h-display { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.h-section { font-size: clamp(1.7rem, 3.2vw, 2.5rem); text-transform: uppercase; letter-spacing: 0.01em; }
.lead { color: var(--ink-soft); font-size: 1.05rem; margin-top: 18px; }
.section--dark .lead { color: var(--on-dark-soft); }

/* ----- Buttons ----- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--navy-900);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
/* shine sweep */
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(-1px); }
.btn:hover svg { transform: translateX(4px); }

.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--navy-900); }
.btn--gold:hover { background: var(--gold-200); }

.btn--dark { --btn-bg: var(--navy-800); --btn-fg: #fff; }
.btn--dark:hover { background: var(--navy-700); }

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--outline::after { display: none; }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); box-shadow: none; }

.btn--outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: rgba(21, 35, 61, 0.25);
}
.btn--outline-dark::after { display: none; }
.btn--outline-dark:hover { border-color: var(--gold); color: var(--gold); box-shadow: none; }

/* text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  transform: none;
  isolation: isolate;
  background: var(--logo-navy);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

/* Logo lockup */
.brand { display: inline-flex; flex: none; align-items: center; gap: 12px; color: var(--cream); }
.brand__mark { width: 116px; height: auto; }
.brand__mark--jpg,
.brand__mark--transparent {
  width: 154px;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: filter 0.25s var(--ease), opacity 0.25s var(--ease);
}
.brand:hover .brand__mark--jpg { filter: brightness(1.08) saturate(1.12); }
.brand:hover .brand__mark--transparent { filter: drop-shadow(0 0 10px rgba(201, 169, 110, 0.5)); }

.main-nav { display: flex; gap: 30px; margin-inline: auto; }
.main-nav a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--gold); }

.header-actions { display: flex; flex: none; align-items: center; gap: 16px; }

/* Language switcher */
.lang { position: relative; }
.lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.lang__toggle:hover { border-color: var(--gold); color: var(--gold); }
.lang__toggle svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.lang.open .lang__toggle svg { transform: rotate(180deg); }
.lang__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 140px;
  background: var(--navy-850);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.82);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  text-align: left;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang__menu button:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.lang__menu button.active { color: var(--gold); }

/* Hamburger */
.burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  position: relative;
}
.burger span,
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger::before { transform: translate(-50%, -7px); }
.burger::after { transform: translate(-50%, 5px); }
body.menu-open .burger span { opacity: 0; }
body.menu-open .burger::before { transform: translate(-50%, -50%) rotate(45deg); }
body.menu-open .burger::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* Mobile menu panel */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: var(--navy-850);
  border-bottom: 1px solid var(--line-dark);
  padding: 18px 24px 28px;
  display: grid;
  gap: 6px;
  transform: translateY(-120%);
  transition: transform 0.4s var(--ease);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}
body.menu-open .mobile-nav { transform: translateY(0); }
.mobile-nav a {
  padding: 14px 4px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav a.active { color: var(--gold); }
.mobile-nav .btn { margin-top: 16px; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 12% 18%, rgba(36, 57, 94, 0.55), transparent 60%),
    linear-gradient(180deg, var(--navy-850), var(--navy-800));
  color: var(--on-dark);
}
.hero::before {
  /* faint oversized PG watermark */
  content: "";
  position: absolute;
  left: -120px; bottom: -160px;
  width: 520px; height: 520px;
  background: url("../assets/img/pg-watermark.svg") no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 90vh;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 150px 0 110px;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .gold { color: var(--gold); display: block; }
.hero p { max-width: 560px; color: var(--on-dark-soft); font-size: 1.05rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

.hero-media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 53%;
  z-index: 1;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--navy-800) 2%, rgba(21, 36, 63, 0.45) 30%, rgba(21, 36, 63, 0) 60%);
}

/* =========================================================================
   About (home) + feature cards
   ========================================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.about-intro h2 { margin-bottom: 20px; }
.about-intro .btn { margin-top: 30px; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature__icon {
  flex: none;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.12);
  color: var(--gold);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { font-size: 0.9rem; color: var(--ink-soft); }

/* =========================================================================
   Stats
   ========================================================================= */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 12px 16px; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  height: 64px; width: 1px;
  background: var(--line-dark);
}
.stat__num { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; color: var(--gold); line-height: 1; }
.stat__num .suffix { color: var(--gold); }
.stat__label {
  margin-top: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

/* =========================================================================
   Projects + carousel
   ========================================================================= */
.projects-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.carousel-controls { display: flex; gap: 12px; }
.carousel-btn {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.carousel-btn:hover { background: var(--navy-800); color: var(--gold); border-color: var(--navy-800); }
.carousel-btn svg { width: 20px; height: 20px; }

.projects-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 28px) / 4);
  gap: 28px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  touch-action: pan-x pan-y;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.projects-track::-webkit-scrollbar { display: none; }

.project-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.project-card__media { display: block; }
.project-card:hover { box-shadow: var(--shadow-lg); }
.project-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.project-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.project-card:hover .project-card__media img { transform: scale(1.08); }
.project-card__body { padding: 22px; }
.project-card__body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.project-card__loc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.project-card__loc svg { width: 15px; height: 15px; color: var(--gold); }
.project-card__text {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.project-card .link-arrow { margin-top: 16px; }

/* Projects page: grid + filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  padding: 10px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: all 0.25s var(--ease);
}
.filter-btn:hover { border-color: var(--gold); color: var(--ink); }
.filter-btn.active { background: var(--navy-800); color: var(--gold); border-color: var(--navy-800); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card.hide { display: none; }

/* =========================================================================
   Services (home strip + page)
   ========================================================================= */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-item { text-align: center; padding: 16px; }
.service-item__icon {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 50%;
  color: var(--gold);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.service-item:hover .service-item__icon { background: rgba(201, 169, 110, 0.12); transform: translateY(-4px); }
.service-item__icon svg { width: 32px; height: 32px; }
.service-item h3 {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.service-item p { font-size: 0.9rem; color: var(--ink-soft); margin-top: 8px; }

/* Services page detail rows */
.service-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-row__icon {
  width: 84px; height: 84px;
  display: grid;
  place-items: center;
  background: var(--navy-800);
  color: var(--gold);
  border-radius: var(--radius);
}
.service-row__icon svg { width: 40px; height: 40px; }
.service-row h3 { font-size: 1.4rem; margin-bottom: 12px; }
.service-row p { color: var(--ink-soft); }
.service-row ul { margin-top: 16px; display: grid; gap: 10px; }
.service-row li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; color: var(--ink);
}
.service-row li::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex: none;
}

/* =========================================================================
   CTA
   ========================================================================= */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}
.cta__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  opacity: 0.16;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy-900) 25%, rgba(14, 26, 47, 0.55));
}
.cta .container { position: relative; z-index: 2; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 80px 0;
}
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); text-transform: uppercase; }
.cta h2 .gold { color: var(--gold); display: block; }
.cta p { margin-top: 16px; color: var(--on-dark-soft); max-width: 520px; }
.cta__watermark {
  position: absolute;
  right: 4%; top: 50%;
  transform: translateY(-50%);
  width: 220px;
  opacity: 0.10;
  z-index: 1;
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--logo-navy); color: var(--on-dark-soft); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding: 72px 0 56px;
}
.footer-brand .brand__mark { width: 150px; }
.footer-brand .brand__mark--jpg,
.footer-brand .brand__mark--transparent {
  width: 220px;
  height: auto;
  object-fit: contain;
}
.footer-brand p { margin-top: 20px; font-size: 0.92rem; max-width: 280px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col a { display: block; padding: 7px 0; font-size: 0.9rem; transition: color 0.2s var(--ease), padding-left 0.2s var(--ease); }
.footer-col a:hover { color: var(--gold); padding-left: 6px; }

.footer-contact { display: grid; gap: 14px; margin-top: 8px; }
.footer-contact a, .footer-contact span {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem;
}
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
}
.footer-bottom .socials { display: flex; gap: 12px; }
.footer-bottom .socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease);
}
.footer-bottom .socials a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.footer-bottom .socials svg { width: 18px; height: 18px; }

/* =========================================================================
   Sub-page hero / banner
   ========================================================================= */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-850), var(--navy-800));
  color: #fff;
  padding: calc(var(--header-h) + 70px) 0 80px;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -80px; top: -60px;
  width: 360px; height: 360px;
  background: url("../assets/img/pg-watermark.svg") no-repeat center / contain;
  opacity: 0.06;
}
.breadcrumb { display: flex; gap: 8px; font-size: 0.85rem; color: var(--on-dark-soft); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; }
.page-hero p { margin-top: 16px; color: var(--on-dark-soft); max-width: 560px; }

/* Two-column generic content */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.split h2 { margin-bottom: 18px; }
.split p + p { margin-top: 14px; }

/* Value / info cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.mt-0 { margin-top: 0; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.info-card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(201, 169, 110, 0.12);
  color: var(--gold);
  margin-bottom: 18px;
}
.info-card__icon svg { width: 28px; height: 28px; }
.info-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.info-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* Timeline (about) */
.timeline { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 36px 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -9px; top: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg);
}
.timeline .year { font-weight: 800; color: var(--gold); font-size: 1.1rem; }
.timeline h3 { font-size: 1.05rem; margin: 4px 0 6px; }
.timeline p { color: var(--ink-soft); font-size: 0.92rem; }

/* =========================================================================
   News
   ========================================================================= */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.news-card__media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.07); }
.news-card__cat {
  position: absolute;
  left: 14px; top: 14px;
  background: var(--gold);
  color: var(--navy-900);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}
.news-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-card__date { font-size: 0.82rem; color: var(--gold); font-weight: 600; }
.news-card h3 { font-size: 1.15rem; margin: 10px 0 12px; }
.news-card p { font-size: 0.92rem; color: var(--ink-soft); flex: 1; }
.news-card .link-arrow { margin-top: 18px; }

/* =========================================================================
   Contact
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-lead { margin: 0 0 20px; max-width: 620px; }
.contact-info { display: grid; gap: 18px; }
.contact-line {
  display: flex; gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-line:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.contact-line__icon {
  flex: none;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.12);
  color: var(--gold);
}
.contact-line__icon svg { width: 24px; height: 24px; }
.contact-line h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 5px; }
.contact-line p, .contact-line a { font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.contact-line a:hover { color: var(--gold); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fbfaf8;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(46, 160, 110, 0.12);
  border: 1px solid rgba(46, 160, 110, 0.4);
  border-radius: var(--radius-sm);
  color: #1f7a52;
  font-weight: 600;
  margin-bottom: 18px;
}
.form-success.show { display: flex; }

.map-placeholder {
  margin-top: 40px;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, var(--navy-800), var(--navy-700));
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--on-dark-soft);
  border: 1px solid var(--line);
}
.map-placeholder svg { width: 48px; height: 48px; color: var(--gold); margin: 0 auto 12px; }

/* =========================================================================
   Scroll-reveal animations
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.reveal-left.is-visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.reveal-right.is-visible { opacity: 1; transform: none; }

@keyframes heroUp {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: none; }
}
.hero-content > * { animation: heroUp 0.9s var(--ease) both; }
.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.18s; }
.hero-content > *:nth-child(3) { animation-delay: 0.31s; }
.hero-content > *:nth-child(4) { animation-delay: 0.44s; }
@keyframes mediaIn {
  from { opacity: 0; clip-path: polygon(40% 0, 100% 0, 100% 100%, 24% 100%); }
  to { opacity: 1; }
}
.hero-media { animation: mediaIn 1.1s var(--ease) both 0.2s; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
  html { scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px); }
  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    z-index: 1000;
    padding-top: env(safe-area-inset-top, 0px);
    transform: none !important;
  }
  main { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
  .hero-content { padding-top: calc(150px - var(--header-h)); }
  .page-hero { padding-top: 70px; }
  .reveal-left,
  .reveal-right { transform: none; }

  .header-inner > *,
  .about-grid > *,
  .split > *,
  .contact-grid > *,
  .feature > div,
  .service-row > div,
  .contact-line > div,
  .cta-inner > * { min-width: 0; }

  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .projects-track { grid-auto-columns: calc((100% - 28px) / 2); }
  .projects-grid, .news-grid, .cards-3 { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 40px; }

  .btn,
  .lang__toggle,
  .filter-btn,
  .carousel-btn { min-height: 44px; }

  .footer-col a,
  .footer-contact a { min-height: 44px; }

  .service-row p,
  .info-card p,
  .project-card__body,
  .news-card__body,
  .contact-line p,
  .contact-line a,
  .footer-contact span { overflow-wrap: anywhere; }
}

@media (min-width: 901px) and (max-width: 1024px) {
  .header-inner { gap: 14px; }
  .brand__mark--jpg,
  .brand__mark--transparent { width: 120px; }
  .main-nav { gap: 10px; }
  .main-nav a { font-size: 0.75rem; }
  .header-actions { gap: 10px; }
  .btn-header { padding-inline: 16px; font-size: 0.75rem; }
  .lang__toggle { padding-inline: 10px; }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .container { width: min(var(--container), 100% - 40px); }
  .section { padding: 72px 0; }
  .main-nav { display: none; }
  .burger { display: block; }
  .header-actions { margin-left: auto; }
  .header-actions .btn-header { display: none; }
  .mobile-nav {
    inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto;
    max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
    padding-inline: 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .hero-inner { flex-direction: column; align-items: stretch; min-height: auto; }
  .hero-content { padding: 54px 0 36px; max-width: 100%; }
  .hero-media {
    position: relative;
    width: 100%;
    height: 280px;
    clip-path: none;
    border-radius: var(--radius);
    margin-bottom: 60px;
  }
  .hero-media::after { display: none; }
  .about-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  :root { --header-h: 70px; }
  .container { width: min(var(--container), 100% - 32px); }
  .header-inner { gap: 8px; }
  .brand__mark--jpg,
  .brand__mark--transparent { width: 112px; }
  .header-actions { gap: 8px; }
  .lang__toggle { padding-inline: 10px; }

  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .page-hero { padding: 48px 0 56px; }
  .page-hero::before { right: -150px; }
  .breadcrumb { flex-wrap: wrap; }

  .hero-content { padding: 40px 0 32px; }
  .hero-media { height: 220px; margin-bottom: 40px; }
  .hero-actions { gap: 12px; margin-top: 28px; }
  .hero-actions .btn { width: 100%; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(2)::before { display: block; }
  .stat { padding-inline: 10px; }

  .feature-grid,
  .projects-grid,
  .news-grid,
  .cards-3,
  .services-grid,
  .form-row { grid-template-columns: 1fr; }
  .feature { padding: 20px; }
  .info-card { padding: 24px; }
  .service-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
  .service-row__icon { width: 64px; height: 64px; }
  .service-row__icon svg { width: 32px; height: 32px; }

  .projects-track { grid-auto-columns: 82%; }
  .projects-head { flex-direction: column; align-items: flex-start; }
  .filters { gap: 8px; margin-bottom: 28px; }
  .filter-btn { padding-inline: 14px; }

  .contact-form { padding: 24px; }
  .field input,
  .field textarea,
  .field select { font-size: 1rem; }
  .contact-line { gap: 14px; padding: 18px; }
  .map-placeholder { height: 240px; }

  .cta-inner { gap: 28px; padding: 52px 0; }
  .cta-inner .btn { width: 100%; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 52px 0 40px; }
  .footer-col h4 { margin-bottom: 10px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 359px) {
  .brand__mark--jpg,
  .brand__mark--transparent { width: 104px; }
  .lang__toggle { padding-inline: 8px; }
  .burger { width: 42px; }
  .feature { gap: 12px; }
  .feature__icon { width: 46px; height: 46px; }
  .contact-line { align-items: flex-start; }
  .contact-line__icon { width: 44px; height: 44px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
  .hero-content > *, .hero-media { opacity: 1 !important; }
}
