/* ==========================================================================
   EKS Otomasyon — Ana Tasarım Sistemi
   ========================================================================== */

/* ---- Tokens -------------------------------------------------------------- */
:root {
  --gold: #a8874f;
  --gold-light: #c9a866;
  --gold-dark: #8a6d3d;
  --ink: #17181c;
  --ink-2: #24252a;
  --ink-soft: #3a3c42;
  --teal: #46b8cf;
  --teal-dark: #2f97ac;

  --bg: #ffffff;
  --bg-alt: #f6f4ef;
  --bg-alt-2: #eeece4;
  --text: #22232a;
  --text-muted: #62636b;
  --text-on-dark: #eceae3;
  --text-on-dark-muted: #a9a9ad;
  --border: #e6e2d8;
  --border-dark: #34353b;

  --shadow-sm: 0 2px 8px rgba(23, 24, 28, 0.06);
  --shadow-md: 0 12px 28px rgba(23, 24, 28, 0.10);
  --shadow-lg: 0 24px 60px rgba(23, 24, 28, 0.16);
  --shadow-gold: 0 14px 30px rgba(168, 135, 79, 0.28);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur-med: 420ms;
  --dur-slow: 800ms;

  --container: 1240px;
  --header-h: 84px;

  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 640px) {
  .container { padding-inline: 32px; }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 12px; }

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

/* ---- Fluid type scale ------------------------------------------------------ */
.h1-xl { font-size: clamp(1.65rem, 1.15rem + 2.3vw, 2.95rem); }
.h1    { font-size: clamp(1.45rem, 1.08rem + 1.55vw, 2.2rem); }
.h2    { font-size: clamp(1.3rem, 1.08rem + 1.1vw, 1.85rem); }
.h3    { font-size: clamp(1.02rem, 0.94rem + 0.45vw, 1.24rem); }
.lead  { font-size: clamp(0.98rem, 0.94rem + 0.25vw, 1.14rem); color: var(--text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.on-dark .eyebrow { color: var(--gold-light); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; }

/* ---- Sections --------------------------------------------------------------- */
.section { padding-block: clamp(64px, 6vw, 112px); }
.section-tight { padding-block: clamp(40px, 4vw, 64px); }
.section-alt { background: #fff; }
.section-dark { background: #fff; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  border: 0;
  margin-block: 0;
}

/* ---- Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  color: #1a1408;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 36px rgba(168, 135, 79, 0.38); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost-ink {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-ghost-ink:hover { border-color: var(--gold); color: var(--gold-dark); background: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; min-height: 40px; font-size: 0.86rem; }
.btn-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---- Header ------------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), height var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid,
.site-header.is-solid-page {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(23,24,28,0.08);
  height: 74px;
  border-bottom: 1px solid var(--border);
}
.site-header.is-solid .main-nav a,
.site-header.is-solid-page .main-nav a { color: var(--text-muted); }
.site-header.is-solid .main-nav a:hover,
.site-header.is-solid-page .main-nav a:hover { color: var(--ink); background: var(--bg-alt); }
.site-header.is-solid .main-nav a[aria-current="page"],
.site-header.is-solid-page .main-nav a[aria-current="page"] { color: var(--ink); }
.site-header.is-solid .header-phone,
.site-header.is-solid-page .header-phone { color: var(--ink); }
.site-header.is-solid .header-phone svg,
.site-header.is-solid-page .header-phone svg { color: var(--gold-dark); }
.site-header.is-solid .nav-toggle,
.site-header.is-solid-page .nav-toggle {
  background: var(--bg-alt);
  border-color: var(--border);
  color: var(--ink);
}
.header-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (min-width: 640px) { .header-inner { padding-inline: 32px; } }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 62px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25)); }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav li { list-style: none; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding-inline: 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
  position: relative;
}
.main-nav a:hover { color: var(--ink); background: var(--bg-alt); }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 5px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}
.has-dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: min(560px, 80vw);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
  z-index: 50;
}
.has-dropdown:hover .dropdown-panel,
.has-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 18px; }
.dd-link {
  display: block;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text) !important;
  height: auto !important;
}
.dd-link:hover { background: var(--bg-alt); color: var(--gold-dark) !important; }
.dropdown-all {
  display: block;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold-dark) !important;
  text-align: right;
}

.header-cta { display: none; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
}
.header-phone svg { width: 18px; height: 18px; color: var(--gold-light); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: #fff;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (min-width: 1080px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 600;
  visibility: hidden;
}
.mobile-nav.is-open { visibility: visible; }
.mobile-nav-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,10,12,0.6);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease);
}
.mobile-nav.is-open .mobile-nav-backdrop { opacity: 1; }
.mobile-nav-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 86vw);
  background: var(--ink);
  padding: 26px 26px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav-close {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.mobile-nav-close svg { width: 20px; height: 20px; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-on-dark);
}
.mobile-nav-links a[aria-current="page"] { color: var(--gold-light); }
.mobile-nav-links .sub { padding-left: 18px; }
.mobile-nav-links .sub a { font-size: 0.92rem; font-weight: 500; color: var(--text-on-dark-muted); padding-block: 11px; }
.mobile-nav-contact { display: flex; flex-direction: column; gap: 10px; }
body.no-scroll { overflow: hidden; }

/* ---- Hero image slider (textless) --------------------------------------------- */
.hero-slider {
  position: relative;
  width: 100%;
  margin-top: 74px;
  height: calc(88vh - 74px);
  min-height: 420px;
  max-height: 760px;
  overflow: hidden;
  background: var(--ink);
}
.hero-slider[data-carousel] .carousel-track {
  height: 100%;
  scroll-behavior: smooth;
}
.hero-slider[data-carousel] .carousel-slide { height: 100%; position: relative; }
.hero-slider[data-carousel] .carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 28%;
  aspect-ratio: auto;
  transform: scale(1.0);
}
.hero-slide-caption {
  position: absolute;
  left: 110px;
  bottom: 64px;
  z-index: 2;
  max-width: 540px;
  padding: 16px 24px;
  background: rgba(15,16,20,0.5);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold);
}
.hero-slide-caption .eyebrow {
  color: var(--gold-light);
  font-size: 1rem;
}
.hero-slide-caption .eyebrow::before { display: none; }
.hero-slide-caption p {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 8px;
  line-height: 1.35;
}
@media (max-width: 640px) {
  .hero-slide-caption { left: 16px; right: 16px; bottom: 78px; max-width: none; padding: 12px 18px; }
  .hero-slide-caption p { font-size: 1.05rem; }
}
.hero-slider[data-carousel] .carousel-nav {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
}
.hero-slider[data-carousel] .carousel-nav:hover { background: rgba(255,255,255,0.32); }
.hero-slider[data-carousel] .carousel-prev { left: 24px; }
.hero-slider[data-carousel] .carousel-next { right: 24px; }
.hero-slider[data-carousel] .carousel-dots { bottom: 28px; }
.hero-slider[data-carousel] .carousel-dots button { background: rgba(255,255,255,0.5); }
.hero-slider[data-carousel] .carousel-dots button.is-active { background: #fff; }
@media (max-width: 900px) {
  .hero-slider { height: calc(72vh - 74px); min-height: 380px; }
}
@media (max-width: 640px) {
  .hero-slider { height: calc(56vh - 74px); min-height: 320px; }
  .hero-slider[data-carousel] .carousel-nav { width: 40px; height: 40px; }
  .hero-slider[data-carousel] .carousel-dots { bottom: 16px; }
}

/* ---- Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,16,19,0.86) 0%, rgba(15,16,19,0.72) 40%, rgba(15,16,19,0.92) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 0%, transparent 70%);
}
.hero-content {
  position: relative; z-index: 2;
  padding-block: calc(var(--header-h) + 40px) 80px;
  width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  margin-bottom: 26px;
}
.hero-badge svg { width: 15px; height: 15px; }
.hero h1 { color: #fff; max-width: 900px; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero .lead { max-width: 620px; margin-top: 22px; color: var(--text-on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 640px;
}
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stats .stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.85rem); color: #fff; }
.hero-stats .stat-num .unit { color: var(--gold-light); }
.hero-stats .stat-label { font-size: 0.82rem; color: var(--text-on-dark-muted); margin-top: 4px; }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-on-dark-muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: floaty 2.4s ease-in-out infinite;
}
.scroll-cue svg { width: 16px; height: 16px; }
@keyframes floaty { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---- Page (inner) hero -------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 56px;
  color: var(--text);
  background: #fff;
  overflow: hidden;
}
.page-hero-media { display: none; }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--text-muted); transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--ink); font-weight: 600; }
.page-hero h1 { color: var(--ink); max-width: 800px; }
.page-hero .lead { color: var(--text-muted); max-width: 640px; margin-top: 18px; }
.page-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ---- Cards -------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
  height: 100%;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 18px;
}
.service-card .icon-wrap {
  width: 58px; height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--bg-alt), var(--bg-alt-2));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--gold-dark);
  transition: background var(--dur-med) var(--ease), color var(--dur-med) var(--ease);
}
.service-card .icon-wrap svg { width: 28px; height: 28px; }
.service-card:hover .icon-wrap { background: linear-gradient(145deg, var(--gold-light), var(--gold)); color: #fff; }
.service-card h3 { font-size: 1rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; flex-grow: 1; }
.service-card .card-link,
.card-link {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
}
.card-link svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--dur-fast) var(--ease); }
.service-card:hover .card-link svg,
.blog-card:hover .card-link svg { transform: translateX(4px); }

.info-card {
  padding: 28px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.info-card h3 { font-size: 0.98rem; margin-bottom: 8px; }
.info-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ---- Stats band --------------------------------------------------------------- */
.stat-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (min-width: 720px) { .stat-band { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; }
.stat-item .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 1.4rem + 1.3vw, 2.5rem); color: var(--ink); }
.stat-item .num .unit { color: var(--gold); }
.stat-item .label { margin-top: 6px; font-size: 0.88rem; color: var(--text-muted); }

/* ---- Timeline / process ------------------------------------------------------- */
.process-list { display: grid; gap: 20px; }
@media (min-width: 900px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
.process-step {
  display: flex; gap: 20px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
}
.process-step .step-num {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.process-step h3 { font-size: 0.96rem; margin-bottom: 6px; }
.process-step p { font-size: 0.9rem; color: var(--text-muted); }

/* ---- Feature list w/ check ------------------------------------------------------ */
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.98rem; }
.check-list svg {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px;
  color: var(--gold);
}
.on-dark .check-list li { color: var(--text-on-dark); }

/* ---- Media split section -------------------------------------------------------- */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split.reverse .split-media { order: -1; }
@media (min-width: 960px) { .split.reverse .split-media { order: 2; } }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split-media .badge-float {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(23,24,28,0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
}
.split-media .badge-float strong { display: block; font-size: 1.2rem; color: var(--gold-light); }
.split-media .badge-float span { font-size: 0.72rem; color: var(--text-on-dark-muted); }

.media-collage { position: relative; }
.media-collage .img-a, .media-collage .img-b { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-collage .img-a img, .media-collage .img-b img { width: 100%; height: 100%; object-fit: cover; }
.media-collage .img-a { aspect-ratio: 5/4; }
.media-collage .img-b {
  position: absolute;
  width: 52%;
  aspect-ratio: 4/3;
  right: -6%;
  bottom: -10%;
  border: 6px solid var(--bg);
}

/* ---- CTA band ------------------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(40px, 5vw, 72px);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(168,135,79,0.18), transparent 55%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--ink); max-width: 520px; }
.cta-band p { color: var(--text-muted); margin-top: 12px; max-width: 480px; }
.cta-band .btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.cta-band .btn-outline:hover { background: #fff; border-color: var(--gold); color: var(--gold-dark); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Reference cards -------------------------------------------------------------- */
.ref-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.ref-filter button {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--dur-fast) var(--ease);
}
.ref-filter button:hover { border-color: var(--gold); color: var(--gold-dark); }
.ref-filter button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.ref-list { display: grid; gap: 16px; }
.ref-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.ref-item:hover { border-color: var(--gold); transform: translateX(4px); }
.ref-item .ref-name { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--ink); }
.ref-item .ref-loc { font-size: 0.85rem; color: var(--text-muted); margin-top: 3px; display: flex; align-items: center; gap: 6px; }
.ref-item .ref-loc svg { width: 14px; height: 14px; color: var(--gold); }
.ref-item .ref-cat {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  color: var(--gold-dark);
  white-space: nowrap;
}
.ref-item[hidden] { display: none; }

.ref-hero-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}
.ref-hero-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.ref-hero-card .body { padding: 22px 24px; }

/* ---- Logo strip ------------------------------------------------------------------ */
.logo-strip {
  display: flex; flex-wrap: wrap;
  gap: 14px;
}
.logo-strip .chip {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
}

/* ---- FAQ / Accordion --------------------------------------------------------------- */
.accordion { display: grid; gap: 12px; }
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; overflow: hidden; }
.accordion-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item .plus { flex-shrink: 0; width: 24px; height: 24px; position: relative; }
.accordion-item .plus::before, .accordion-item .plus::after {
  content: ""; position: absolute; background: var(--ink); transition: transform var(--dur-fast) var(--ease);
}
.accordion-item .plus::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.accordion-item .plus::after { top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); }
.accordion-item[open] .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.accordion-item .a-body { padding: 0 22px 22px; color: var(--text-muted); font-size: 0.94rem; }

/* ---- Forms ------------------------------------------------------------------------- */
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--ink); }
.field input, .field textarea, .field select {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--gold);
  background: #fff;
  outline: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field .error-msg { font-size: 0.78rem; color: #b3423a; min-height: 1em; }
.field.has-error input, .field.has-error textarea { border-color: #b3423a; }
.form-status {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success { background: #eaf5ee; color: #276b3e; }
.form-status.is-error { background: #fbeceb; color: #93332b; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--text-muted); }
.consent-row input { margin-top: 4px; }

/* ---- Contact info list ------------------------------------------------------------- */
.contact-list { display: grid; gap: 22px; }
.contact-list .item { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(168,135,79,0.14);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list h3 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-list p, .contact-list a { color: var(--text-muted); font-size: 0.92rem; }
.contact-list a:hover { color: var(--gold); }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---- Footer ------------------------------------------------------------------------ */
.site-footer { background: var(--ink); color: var(--text-on-dark-muted); position: relative; overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 12% 0%, rgba(168,135,79,0.14), transparent 45%);
}
.footer-top { position: relative; padding-block: 76px 56px; display: grid; gap: 44px; }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; } }
.brand-logo-lg {
  height: 82px; width: auto; display: block;
  margin-bottom: 20px; padding: 14px 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
  object-fit: contain;
}
.footer-brand p { font-size: 0.92rem; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur-fast) var(--ease);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #1a1408; }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 { color: #fff; font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.footer-col a { font-size: 0.92rem; transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  position: relative;
  border-top: 1px solid var(--border-dark);
  padding-block: 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
}
.footer-bottom a:hover { color: var(--gold-light); }

/* ---- Back to top ------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all var(--dur-fast) var(--ease);
  z-index: 400;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---- Floating action buttons (Ara / WhatsApp) --------------------------------------- */
.fab-group {
  position: fixed;
  left: 22px; bottom: 22px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fab {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: var(--shadow-lg); }
.fab svg { width: 26px; height: 26px; }
.fab-whatsapp { background: #25d366; }
.fab-call {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  color: #1a1408;
}
.fab-label {
  position: absolute;
  left: 64px;
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-family: var(--font-head);
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: all var(--dur-fast) var(--ease);
  pointer-events: none;
}
.fab:hover .fab-label { opacity: 1; visibility: visible; transform: translateX(0); }
@media (max-width: 640px) {
  .fab-group { left: 16px; bottom: 16px; gap: 12px; }
  .fab { width: 48px; height: 48px; }
  .fab svg { width: 22px; height: 22px; }
  .fab-label { display: none; }
}

/* ---- Media carousel (shared base via [data-carousel], used by .media-carousel and .hero-slider) ---- */
[data-carousel] .carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
[data-carousel] .carousel-track::-webkit-scrollbar { display: none; }
[data-carousel] .carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
}
[data-carousel] .carousel-slide img {
  width: 100%;
  object-fit: cover;
  display: block;
}
[data-carousel] .carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(23,24,28,0.55);
  backdrop-filter: blur(4px);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 0;
  z-index: 2;
  transition: background var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
[data-carousel] .carousel-nav:hover { background: rgba(23,24,28,0.8); }
[data-carousel] .carousel-nav svg { width: 20px; height: 20px; }
[data-carousel] .carousel-prev { left: 14px; }
[data-carousel] .carousel-next { right: 14px; }
[data-carousel] .carousel-dots {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 2;
}
[data-carousel] .carousel-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  border: 0;
  padding: 0;
  transition: all var(--dur-fast) var(--ease);
}
[data-carousel] .carousel-dots button.is-active { background: #fff; width: 22px; border-radius: 4px; }

.media-carousel { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-carousel .carousel-track { border-radius: var(--radius-lg); }
.media-carousel .carousel-slide img { aspect-ratio: 4/3; }

/* ---- Reveal-on-scroll ---------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---- Utility ---------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mx-auto { margin-inline: auto; }
.on-dark { color: var(--text-on-dark); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.badge-dot { display: inline-flex; align-items: center; gap: 8px; }
.badge-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* ---- Blog cards ------------------------------------------------------------------- */
.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
  height: 100%;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.blog-card:hover .thumb img { transform: scale(1.06); }
.blog-card .thumb .cat-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(23,24,28,0.85);
  color: var(--gold-light);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.blog-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card .meta { display: flex; gap: 12px; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 12px; }
.blog-card h3 { font-size: 0.97rem; margin-bottom: 10px; }
.blog-card p.excerpt { color: var(--text-muted); font-size: 0.93rem; flex-grow: 1; }
.blog-card .card-link { margin-top: 18px; }

/* ---- Article body ------------------------------------------------------------------ */
.article-body { max-width: 740px; margin-inline: auto; }
.article-body p { margin-bottom: 20px; font-size: 1.02rem; }
.article-body h2 { font-size: clamp(1.22rem, 1.08rem + 0.6vw, 1.55rem); margin-top: 42px; margin-bottom: 16px; }
.article-body h3 { font-size: 1rem; margin-top: 28px; margin-bottom: 12px; }
.article-body ul, .article-body ol { margin-bottom: 20px; padding-left: 22px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 10px; font-size: 1.02rem; }
.article-body img { border-radius: var(--radius-lg); margin-block: 32px; box-shadow: var(--shadow-md); }
.article-body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--gold);
  background: var(--bg-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-style: normal;
  color: var(--ink);
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  margin-top: 22px;
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 15px; height: 15px; }

/* ---- 404 ---------------------------------------------------------------------------- */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding-block: 140px 80px; }
.error-page .code { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 3rem + 6vw, 8rem); color: var(--gold); line-height: 1; }
