/* =========================================================
   ADALI — Premium AI Systems | Kurumsal Site Stil Dosyası
   ========================================================= */

:root {
  --navy-950: #050b17;
  --navy-900: #0a1428;
  --navy-800: #101e3a;
  --navy-700: #16294f;
  --navy-600: #1d3766;
  --blue-600: #2557d6;
  --blue-500: #2f6fed;
  --blue-400: #5b93ff;
  --blue-300: #8db4ff;
  --white: #ffffff;
  --gray-050: #f6f8fc;
  --gray-100: #eef1f8;
  --gray-200: #dfe4ef;
  --gray-300: #c3cbdd;
  --gray-500: #6b7692;
  --gray-700: #3b4560;

  --font-main: "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(10, 20, 40, 0.06);
  --shadow-md: 0 10px 30px rgba(10, 20, 40, 0.10);
  --shadow-lg: 0 25px 60px rgba(6, 14, 30, 0.22);

  --header-height: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--navy-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(47, 111, 237, 0.32);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(47, 111, 237, 0.4); }
.btn--secondary {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--gray-300);
}
.btn--secondary:hover { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-2px); }
.btn--on-dark { color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn--on-dark:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn--disabled { opacity: 0.5; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10, 20, 40, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  height: 72px;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  padding: 5px;
  flex-shrink: 0;
}
.brand__logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--white);
}
.brand__tagline {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--blue-300);
  text-transform: uppercase;
}

.main-nav__list { display: flex; align-items: center; gap: 6px; }
.main-nav__item--dropdown { position: relative; }
.main-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.main-nav__link:hover, .main-nav__link.is-active {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.chev { transition: transform 0.2s var(--ease); }
.main-nav__item--dropdown:hover .chev { transform: rotate(180deg); }

.mega-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 340px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.main-nav__item--dropdown:hover .mega-dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.mega-dropdown__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--navy-900);
}
.mega-dropdown__item:hover { background: var(--gray-050); }
.mega-dropdown__title { font-weight: 700; font-size: 0.92rem; }
.mega-dropdown__desc { font-size: 0.8rem; color: var(--gray-500); }
.mega-dropdown__all {
  display: block;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--blue-600);
}

.site-header__actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }

.badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
}
.badge--soon { background: rgba(47,111,237,0.12); color: var(--blue-600); }
.badge--active { background: rgba(34,197,94,0.12); color: #16a34a; }
.badge--hidden { background: rgba(107,118,146,0.15); color: var(--gray-500); }

/* ---------- Hero ---------- */
/* Arka plan artık .hero-atmosphere (hero-atmosphere.css) katmanından
   geliyor; bu yüzden .hero kendi arka planını taşımıyor (transparent),
   atmosfer arkasından görünüyor. Yalnızca bu değişti - layout/padding/
   renk/metin aynı kaldı. */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 90px) 0 110px;
  background: transparent;
  color: var(--white);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 22px;
}
.hero__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--blue-400); display: inline-block; }
.hero__title {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}
.hero__title .accent { color: var(--blue-400); }
.hero__subtitle {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__panel {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  padding: 34px;
  backdrop-filter: blur(6px);
}
.hero__panel-stat { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.hero__panel-stat:last-child { border-bottom: none; }
.hero__panel-stat strong { display: block; font-size: 1.6rem; color: var(--white); }
.hero__panel-stat span { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { order: -1; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--muted { background: var(--gray-050); }
.section--navy { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: var(--white); }

.section__head { max-width: 680px; margin-bottom: 52px; }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--blue-300); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; display: inline-block; }
.section__title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.3px; margin-bottom: 14px; }
.section__desc { color: var(--gray-500); font-size: 1.02rem; }
.section--navy .section__desc { color: rgba(255,255,255,0.72); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-700));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-size: 1.1rem;
  margin-bottom: 20px;
}
.card__title { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.card__desc { color: var(--gray-500); font-size: 0.95rem; }

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card__media {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__media .placeholder-mark {
  color: rgba(255,255,255,0.4); font-weight: 800; font-size: 2rem; letter-spacing: 2px;
}
.product-card__badge { position: absolute; top: 16px; left: 16px; }
.product-card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.product-card__title { font-size: 1.2rem; font-weight: 800; }
.product-card__desc { color: var(--gray-500); font-size: 0.95rem; flex: 1; }
.product-card__cta { margin-top: 6px; }

/* ---------- Why / Feature list ---------- */
.feature-row { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--gray-200); }
.feature-row:last-child { border-bottom: none; }
.feature-row__num { font-weight: 800; color: var(--blue-500); font-size: 1rem; min-width: 34px; }
.feature-row__title { font-weight: 700; margin-bottom: 4px; }
.feature-row__desc { color: var(--gray-500); font-size: 0.93rem; }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  background: var(--white);
}
.section--navy .tag { border-color: rgba(255,255,255,0.18); color: var(--white); background: rgba(255,255,255,0.06); }

/* ---------- CTA ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: 64px;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-900));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner__title { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; margin-bottom: 10px; }
.cta-banner__text { color: rgba(255,255,255,0.8); max-width: 480px; }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-height) + 60px) 0 70px;
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  text-align: center;
}
.page-hero__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.page-hero__desc { max-width: 640px; margin: 16px auto 0; color: rgba(255,255,255,0.72); }
.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- About / Vision ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media .placeholder-mark { color: rgba(255,255,255,0.35); font-size: 3rem; font-weight: 800; }

/* Hakkımızda sayfasına ÖZEL (yalnızca .split__media--about-logo): kart
   burada gerçek fotoğraf değil, ADALI logosunu (şeffaf arka planlı PNG,
   img/adali-logo-transparent.png) gösteriyor. Görsel artık şeffaf olduğu
   icin kartın koyu lacivert arka planı (üstteki .split__media temel
   sınıfından miras) doğrudan görünür - logonun etrafında beyaz kutu
   OLUŞMAZ. Üstteki genel kural (object-fit:cover) kareyi 4:3 kutuya
   sığdırmak için kırpardı; burada object-fit:contain ile kırpma yok,
   oran korunuyor. Bu değişiklik yalnızca bu karta uygulanır - ana sayfa
   ve Vizyon&Misyon sayfasındaki aynı .split__media kartları etkilenmez. */
.split__media--about-logo {
  /* Kart KARE (1:1) - logo da kare (1254x1254) oldugu icin, esit yuzdelik
     padding ile ic icerik alani da kare kalir; boylece object-fit:contain
     herhangi bir yatay/dikey "letterbox" fazlaligi eklemez ve ust/alt/sag/
     sol bosluklar GERCEKTEN esit olur (dikdortgen bir kartta esit CSS
     padding bile, kare logo yuzunden yanlarda fazladan bosluk birakirdi). */
  aspect-ratio: 1 / 1;
  /* NOT: padding YUZDE olarak veriliyor (px degil). CSS'te dikey (top/bottom)
     padding yuzdeleri de KONTEYNERIN GENISLIGINE gore hesaplanir - bu yuzden
     sabit bir yuzde degeri, kart genisligi breakpoint'ler arasinda buyuk
     olcude degisse bile (masaustu/tablet/mobil) logo/kart oranini HER ZAMAN
     ayni (~%75-77) tutar - ayri media query'lerle px degerini elle
     ayarlamaya gerek kalmaz. */
  padding: 12%; /* kare logo icerigi kart yuksekliginin/genisliginin ~%76'sini kaplar (hedef: %75-77) */
  /* "Kart" gorunumu tamamen kaldirildi: .split__media temel sinifindan
     miras kalan koyu lacivert degrade arka plan, golge ve (varsa) border
     burada gecersiz kilinir - logo artik ayri bir blok/kutu gibi degil,
     doğrudan sayfanın kendi (beyaz) zemininde duruyormuş gibi görünür.
     Boyut/konum/oran/ortalama davranisi (yukaridaki aspect-ratio+padding)
     AYNEN korunuyor - yalnizca gorsel "kutu" kaldirildi. */
  background: transparent;
  box-shadow: none;
  border: none;
}
.split__media--about-logo img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* asla kirpma yok, oran korunur */
}

.value-card { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--gray-200); }
.value-card:last-child { border-bottom: none; }
.value-card__mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(47,111,237,0.1); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split__media { order: -1; }
}

/* ---------- Product detail ---------- */
.detail-hero {
  padding: calc(var(--header-height) + 50px) 0 60px;
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}
.detail-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.detail-hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
}
.detail-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .detail-hero__grid { grid-template-columns: 1fr; } .detail-hero__media { order: -1; } }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid img { border-radius: var(--radius-md); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-sm); }

.use-case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.contact-info-card {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-info-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--blue-300); margin-bottom: 4px; }

.form-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 8px; color: var(--navy-800); }
.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47,111,237,0.12); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-error { color: #dc2626; font-size: 0.8rem; margin-top: 6px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--gray-500); }
.form-check input { margin-top: 3px; }
.honeypot-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-900));
  color: rgba(255,255,255,0.72);
  padding-top: 72px;
}
.site-footer a { color: rgba(255,255,255,0.72); transition: color 0.2s var(--ease); }
.site-footer a:hover { color: var(--white); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer .brand--footer .brand__name { color: var(--white); }
.site-footer__desc { font-size: 0.9rem; line-height: 1.7; margin: 18px 0 20px; max-width: 320px; }
.site-footer__social { display: flex; gap: 10px; }
.site-footer__social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.site-footer__social a:hover { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.site-footer__heading { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 20px; letter-spacing: 0.3px; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.site-footer__col a, .site-footer__col li { font-size: 0.9rem; }
.site-footer__contact li { line-height: 1.5; }
.site-footer__contact .muted { color: rgba(255,255,255,0.45); font-style: italic; }
.site-footer__bottom { padding: 22px 0; }
.site-footer__bottom-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
}
.site-footer__tagline { letter-spacing: 1.2px; font-weight: 600; color: rgba(255,255,255,0.4); }

@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Flash messages ---------- */
.flash-stack { padding-top: calc(var(--header-height) + 20px); display: flex; flex-direction: column; gap: 10px; }
.flash { padding: 14px 20px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600; }
.flash--success { background: rgba(34,197,94,0.12); color: #15803d; }
.flash--danger { background: rgba(220,38,38,0.1); color: #b91c1c; }
.flash--warning { background: rgba(234,179,8,0.14); color: #92620a; }
.flash--info { background: rgba(47,111,237,0.1); color: #1d4ed8; }

/* ---------- Error / maintenance pages ---------- */
.state-page {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 24px;
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}
.state-page__code { font-size: 5rem; font-weight: 800; color: var(--blue-400); line-height: 1; }
.state-page__title { font-size: 1.5rem; font-weight: 700; margin: 14px 0 10px; }
.state-page__desc { color: rgba(255,255,255,0.7); max-width: 480px; margin-bottom: 28px; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav { position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: var(--navy-950); padding: 20px 24px; transform: translateX(100%); transition: transform 0.3s var(--ease); overflow-y: auto; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav__link { width: 100%; padding: 14px 16px; }
  .mega-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,0.04); display: none; }
  .main-nav__item--dropdown.is-open .mega-dropdown { display: block; }
  .nav-toggle { display: inline-flex; }
  .site-header__actions .btn--sm { display: none; }
  .cta-banner { padding: 36px; flex-direction: column; text-align: center; }
}

@media (max-width: 720px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { padding: 30px; }
}

@media (max-width: 480px) {
  .hero { padding: calc(var(--header-height) + 50px) 0 70px; }
  .hero__panel { padding: 24px; }
  .form-card, .contact-info-card { padding: 26px; }
  .gallery-grid { grid-template-columns: 1fr; }
}
