/* =====================================================================
   Ankara Sarı Mezar Bakımı — public stylesheet v2
   Navy (#0C1A2A) + gold (#B8965A) + cream (#F7F5F0)
   Fonts: Marcellus (serif) + Albert Sans (sans)
   WCAG 2.2 AA · container queries · fluid type · motion-safe
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --bg: #F7F5F0;
  --surface: #FFFFFF;
  --surface-muted: #EFECE5;
  --surface-alt: #FBFAF7;
  --navy: #0C1A2A;
  --navy-2: #15263C;
  --navy-3: #101F33;
  --navy-deep: #0A1624;
  --gold: #B8965A;
  --gold-light: #D6BC8A;
  --gold-dark: #8A6F42;
  --green: #4F6B54;
  --green-light: #7FA886;
  --ink: #22262C;
  --ink-strong: #0C1A2A;
  --ink-soft: #5B5F66;
  --ink-faint: #8D8A82;
  --line: rgba(12,26,42,.09);
  --line-strong: rgba(12,26,42,.14);
  --danger: #b3261e;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  /* Type scale (fluid) */
  --fs-xs:  clamp(11px, 1.1vw, 13px);
  --fs-sm:  clamp(13px, 1.3vw, 14.5px);
  --fs-md:  clamp(15px, 1.5vw, 16.5px);
  --fs-lg:  clamp(18px, 2vw, 22px);
  --fs-xl:  clamp(24px, 2.8vw, 34px);
  --fs-2xl: clamp(30px, 3.6vw, 48px);
  --fs-3xl: clamp(38px, 5.2vw, 68px);

  /* Shape / shadow */
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --pill: 999px;
  --shadow-sm: 0 2px 16px rgba(12,26,42,.05);
  --shadow-md: 0 16px 44px rgba(12,26,42,.14);
  --shadow-lg: 0 24px 70px rgba(12,26,42,.18);

  /* Transitions */
  --transition-fast: .15s ease;
  --transition-base: .25s ease;
  --transition-slow: .5s ease;

  --wrap: 1240px;
  --serif: "Marcellus", Georgia, "Times New Roman", serif;
  --sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* -----------------------------------------------------------------
     Blueprint token contract (§0.3) — EXTRACTION, not a restyle.
     These alias the existing palette to the blueprint's canonical names
     so new components can consume var(--token) only. No hex changes:
     every value below equals what the live site already renders. The
     raw tokens above remain the single source of truth.
     ----------------------------------------------------------------- */
  --color-primary: var(--navy);
  --color-accent: var(--gold);
  --color-surface: var(--surface);
  --color-text: var(--ink);
  --color-muted: var(--ink-soft);
  --font-family-base: var(--sans);
  --font-family-heading: var(--serif);
  --shadow-1: var(--shadow-sm);
  --shadow-2: var(--shadow-md);

  /* Derived tokens for recurring raw literals lifted out of component
     rules (values identical to the pre-existing hard-coded ones). */
  --color-on-accent: #fff;                       /* text/fill on gold/navy & white logo plate */
  --overlay-navy: rgba(12,26,42,.86);            /* sticky header glass */
  --overlay-navy-strong: rgba(10,22,36,.94);     /* lightbox scrim */
  --shadow-gold: 0 8px 26px rgba(184,150,90,.3); /* gold CTA lift */
  --shadow-hero: 0 30px 80px rgba(0,0,0,.45);    /* hero / slider media */
  --color-ok-text: #3D5642;                      /* success alert ink */
  --color-error-surface: #fce8e6;                /* error alert surface */
  --color-strike: #c9c4b8;                        /* struck-through / excluded feature mark */
}

/* ---------- Dark mode readiness ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0C1A2A;
    --surface: #131F2E;
    --surface-muted: #0F1C2B;
    --surface-alt: #162235;
    --ink: #E8E4DC;
    --ink-strong: #F7F5F0;
    --ink-soft: #A8A49C;
    --ink-faint: #6E6A62;
    --line: rgba(247,245,240,.09);
    --line-strong: rgba(247,245,240,.14);
  }
}

/* ---------- Forced colors ---------- */
@media (forced-colors: active) {
  .cta, .btn { border: 2px solid ButtonText; }
  .site-header { border-bottom: 2px solid ButtonText; }
}

/* ---------- Print ---------- */
@media print {
  .sticky-bar,
  .cookie-banner,
  .cta-strip,
  .site-header__cta,
  .nav-toggle,
  .lightbox-overlay { display: none !important; }
  body { color: #000 !important; background: #fff !important; }
  .site-footer { background: #fff !important; color: #000 !important; }
  .site-footer a { color: #000 !important; }
  .hero { background: #fff !important; color: #000 !important; padding: 24px 0 !important; }
  .hero__badge, .hero__title, .hero__subtitle, .hero__stats strong { color: #000 !important; }
  a::after { content: " (" attr(href) ")"; font-size: 11px; }
  img { max-width: 100% !important; }
  .container { max-width: 100% !important; padding: 0 12px !important; }
}

/* ---------- Base reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-md);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-strong); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--gold); }
address { font-style: normal; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---------- Focus ---------- */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--navy); color: var(--color-on-accent); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Utilities ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.eyebrow {
  display: block; font-family: var(--sans); font-weight: 500;
  font-size: var(--fs-xs); letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.empty { color: var(--ink-soft); padding: 40px 0; font-weight: 300; }

/* Layout helpers */
.stack { display: flex; flex-direction: column; }
.cluster { display: flex; flex-wrap: wrap; }
.center { margin-inline: auto; }
.grid-auto { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* Reveal animation on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Skeleton loading */
.skeleton { background: linear-gradient(90deg, var(--surface-muted) 25%, var(--surface-alt) 50%, var(--surface-muted) 75%); background-size: 200% 100%; animation: skeletonPulse 1.4s ease infinite; border-radius: var(--radius-sm); }
@keyframes skeletonPulse { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; background: var(--surface-muted); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: var(--overlay-navy);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: box-shadow var(--transition-base);
}
/* is-scrolled class added via JS */
body.is-scrolled .site-header {
  box-shadow: 0 4px 32px rgba(0,0,0,.28);
}
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand__logo { width: 46px; height: 46px; border-radius: 50%; background: var(--color-on-accent); object-fit: contain; box-shadow: 0 2px 10px rgba(0,0,0,.25); flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-size: 17px; letter-spacing: .05em; color: var(--bg); text-transform: uppercase; }
.brand__sub { font-size: 10px; letter-spacing: .26em; color: var(--gold-light); text-transform: uppercase; }

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a {
  display: block; padding: 10px 14px; color: rgba(247,245,240,.8);
  border-radius: var(--pill); font-size: 14px; font-weight: 500;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-light); background: rgba(214,188,138,.1); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }

.site-header__cta { display: flex; gap: 8px; margin-left: 8px; }
.nav-toggle { display: none; }

/* Dropdown */
.site-nav .has-children { position: relative; }
.site-nav__toggle {
  display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 14px; font-weight: 500;
  color: rgba(247,245,240,.8); background: transparent; border: 0; cursor: pointer;
  padding: 10px 14px; border-radius: var(--pill);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.site-nav__toggle:hover, .site-nav__toggle[aria-expanded="true"] { color: var(--gold-light); background: rgba(214,188,138,.1); }
.site-nav__toggle .caret { font-size: 10px; transition: transform var(--transition-base); }
.site-nav__toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
.site-nav .submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; z-index: 95;
  background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-md); padding: 8px;
  display: none; flex-direction: column; gap: 2px; border: 1px solid var(--line);
}
.site-nav .submenu.is-open { display: flex; }
.site-nav .submenu li { list-style: none; }
.site-nav .submenu a { display: block; padding: 10px 14px; color: var(--ink-strong); border-radius: 8px; font-size: 14px; }
.site-nav .submenu a:hover { background: var(--surface-muted); color: var(--gold-dark); }
@media (hover: hover) and (min-width: 861px) {
  .site-nav .has-children:hover .submenu { display: flex; }
}

/* ---------- CTAs / Buttons ---------- */
.cta, .btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 13px 24px; border-radius: var(--pill); font-weight: 600; font-size: 15px;
  letter-spacing: .02em; min-height: 46px; min-width: 44px; border: 1px solid transparent; cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
  text-decoration: none;
}
.cta svg, .btn svg { flex-shrink: 0; }
.cta--tel { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-gold); }
.cta--tel:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(184,150,90,.45); }
.cta--whatsapp { background: var(--green); color: var(--color-on-accent); }
.cta--whatsapp:hover { background: var(--green-light); color: var(--navy); transform: translateY(-2px); }
.cta--sm { padding: 9px 16px; font-size: 13.5px; min-height: 40px; }
.cta--lg { padding: 16px 32px; font-size: var(--fs-md); }

.btn { background: var(--surface-muted); color: var(--ink-strong); }
.btn--primary { background: var(--navy); color: var(--bg); }
.btn--primary:hover { background: var(--gold); color: var(--navy); transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink-strong); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn--block { width: 100%; }

/* Submit button with spinner state */
.btn__spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn__spinner { animation: none; } }

/* ---------- Hero ---------- */
.hero {
  container-type: inline-size;
  position: relative; overflow: hidden; color: var(--bg);
  background: linear-gradient(168deg, var(--navy) 0%, var(--navy-3) 55%, var(--navy-2) 100%);
  padding: clamp(88px, 12vw, 140px) 0 clamp(64px, 9vw, 108px);
}
.hero::before {
  content: ""; position: absolute; top: -180px; right: -120px; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,150,90,.14) 0%, rgba(184,150,90,0) 65%);
  animation: glowDrift 14s ease-in-out infinite; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px); background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, transparent 95%);
}
@keyframes glowDrift { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(40px,-30px); } }
@keyframes heroRise { from { transform: translateY(18px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .hero__content, .hero__media { animation: none !important; }
}

.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px,6vw,90px); align-items: center; }
.hero__inner--solo { grid-template-columns: 1fr; max-width: 880px; }
.hero__content { animation: heroRise .7s .05s ease both; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(214,188,138,.4); border-radius: var(--pill);
  padding: 8px 18px; font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 28px;
}
.hero__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.hero__title { font-size: var(--fs-3xl); line-height: 1.06; margin: 0 0 24px; }
.hero__title .accent { color: var(--gold-light); }
.hero__subtitle { font-size: clamp(16px,1.4vw,19px); line-height: 1.75; color: rgba(247,245,240,.72); max-width: 520px; margin: 0 0 40px; font-weight: 300; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__stats { list-style: none; display: flex; gap: 32px; padding: 0; margin: 52px 0 0; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; gap: 4px; }
.hero__stats strong { font-family: var(--serif); font-size: 30px; color: var(--gold-light); font-weight: 400; }
.hero__stats span { color: rgba(247,245,240,.55); font-size: 13px; letter-spacing: .04em; }

.hero__media { position: relative; animation: heroRise .85s .15s ease both; }
.hero__media::before {
  content: ""; position: absolute; inset: -16px -16px 16px 16px;
  border: 1px solid rgba(214,188,138,.35); border-radius: 24px; pointer-events: none;
}
.hero__media img { width: 100%; height: 520px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-hero); }

/* Container query: compact hero on narrow containers */
@container (max-width: 600px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { display: none; }
}

/* ---------- Slider ---------- */
.slider { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-hero); outline: 3px solid rgba(214,188,138,.3); outline-offset: 4px; }
.slider__track { position: relative; aspect-ratio: 14/13; }
.slider__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease; }
.slider__slide.is-active { opacity: 1; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
  border-radius: 50%; border: 0; background: rgba(12,26,42,.55); color: var(--color-on-accent); font-size: 26px;
  line-height: 1; cursor: pointer; display: grid; place-items: center; z-index: 2;
  transition: background var(--transition-fast);
}
.slider__nav:hover { background: var(--gold); color: var(--navy); }
.slider__nav--prev { left: 12px; }
.slider__nav--next { right: 12px; }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; gap: 8px; justify-content: center; z-index: 2; }
.slider__dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; transition: width var(--transition-base), background var(--transition-base); }
.slider__dot.is-active { background: var(--gold-light); width: 22px; border-radius: 5px; }
@media (prefers-reduced-motion: reduce) { .slider__slide { transition: none; } .slider__dot { transition: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(48px,8vw,120px) 0; }
.section--muted { background: var(--surface-muted); }
.section--navy { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-3) 100%); color: var(--bg); }
.section--navy .section__title, .section--navy .eyebrow { color: inherit; }
.section--navy .eyebrow { color: var(--gold); }

.section__title { font-size: var(--fs-2xl); margin: 0 0 16px; color: var(--ink-strong); line-height: 1.18; }
.section--navy .section__title { color: var(--bg); }
.section__lead { color: var(--ink-soft); max-width: 62ch; margin: 0 0 40px; font-weight: 300; font-size: var(--fs-md); line-height: 1.8; }
.section--navy .section__lead { color: rgba(247,245,240,.6); }
.section__head { margin-bottom: 48px; }
.section__head--center { text-align: center; }
.section__head--center .section__lead { margin-inline: auto; }

.page-head { margin: 0 0 36px; }
.page-head__title { font-size: var(--fs-2xl); margin: 0 0 14px; color: var(--ink-strong); line-height: 1.12; }
.page-head__lead { color: var(--ink-soft); max-width: 66ch; font-weight: 300; font-size: clamp(16px,1.4vw,18px); line-height: 1.8; margin: 0; }
.page-head__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.card {
  background: var(--surface); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base); display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 52px rgba(12,26,42,.13); }
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }

.card__icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: rgba(184,150,90,.1); display: grid; place-items: center; color: var(--gold); margin-bottom: 14px; }
.card__title { font-size: var(--fs-lg); margin: 0 0 10px; color: var(--ink-strong); }
.card__title a { color: inherit; }
.card__title a:hover { color: var(--gold-dark); }
.card__text { color: var(--ink-soft); margin: 0 0 16px; font-weight: 300; line-height: 1.7; flex: 1; }
.card__meta { color: var(--ink-faint); font-size: 13px; margin: 0 0 10px; }
.card__link { font-weight: 600; color: var(--gold); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; transition: gap var(--transition-fast); }
.card__link:hover { gap: 10px; color: var(--gold-dark); }
.card__cover { border-radius: var(--radius-sm); margin-bottom: 14px; object-fit: cover; width: 100%; aspect-ratio: 16/10; }
.card--no-image { border-radius: var(--radius-sm); margin-bottom: 14px; width: 100%; aspect-ratio: 16/10; background: linear-gradient(135deg, var(--surface-muted) 0%, var(--surface-alt) 100%); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }
.steps__item {
  background: rgba(247,245,240,.04); border: 1px solid rgba(247,245,240,.09);
  border-radius: 18px; padding: 36px 30px;
  transition: border-color var(--transition-base), background var(--transition-base);
}
.steps__item:hover { border-color: rgba(214,188,138,.45); background: rgba(214,188,138,.05); }
@media (prefers-reduced-motion: reduce) { .steps__item:hover { border-color: rgba(214,188,138,.45); } }
.steps__no { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-light); font-family: var(--serif); font-size: 18px; margin-bottom: 18px; }
.steps__item h3 { margin: 0 0 10px; font-size: 18px; color: var(--bg); font-family: var(--sans); font-weight: 600; }
.steps__item p { margin: 0; color: rgba(247,245,240,.6); font-weight: 300; font-size: 14.5px; line-height: 1.7; }

/* ---------- Chips / filter ---------- */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block; padding: 9px 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--pill); color: var(--ink-strong); font-size: 14px;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}
.chip:hover { border-color: var(--gold); color: var(--gold-dark); }
.chip--more { background: var(--navy); color: var(--bg); border-color: var(--navy); }
.chip--more:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.chip--filter { cursor: pointer; font: inherit; font-size: 14px; }
.chip--filter.is-active {
  background: var(--gold); color: var(--navy); border-color: var(--gold);
  text-decoration: underline; text-underline-offset: 2px;
}
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }

/* ---------- Before/After ---------- */
.ba__grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); }
.ba__item { margin: 0; }
.ba__frame { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; width: 50%; overflow: hidden; border-right: 2px solid var(--gold-light); }
.ba__before .ba__img { width: 200%; max-width: none; }
.ba__range { position: absolute; left: 0; bottom: 10px; width: 100%; margin: 0; background: transparent; z-index: 3; accent-color: var(--gold); }
.ba__caption { padding: 14px 4px; display: flex; flex-direction: column; gap: 4px; }
.ba__caption strong { font-family: var(--serif); font-size: 18px; color: var(--ink-strong); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); }
.gallery-item { margin: 0; }
.gallery-item img { border-radius: var(--radius-sm); object-fit: cover; width: 100%; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); transition: transform var(--transition-base), box-shadow var(--transition-base); }
.gallery-item a:hover img { transform: scale(1.03); box-shadow: var(--shadow-md); }
@media (prefers-reduced-motion: reduce) { .gallery-item a:hover img { transform: none; } }
.gallery-item figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 8px; font-weight: 300; }

/* ---------- FAQ ---------- */
.faq__list { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 0; }
.faq__q { font-weight: 600; font-size: 16.5px; color: var(--ink-strong); padding: 26px 32px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; color: var(--gold); font-size: 22px; font-weight: 300; flex-shrink: 0; line-height: 1; }
details[open] .faq__q::after { content: "-"; }
.faq__a { padding: 0 32px 28px; color: var(--ink-soft); font-weight: 300; line-height: 1.8; }
.faq__a p { margin: 0; }

/* ---------- Prose ---------- */
.prose { max-width: 820px; }
.prose__img { border-radius: var(--radius); margin: 24px 0; width: 100%; box-shadow: var(--shadow-md); }
.prose__body { font-size: var(--fs-md); line-height: 1.85; color: var(--ink); font-weight: 300; }
.prose__body h2 {
  font-size: clamp(22px,2.4vw,30px); margin: 1.7em 0 .6em; color: var(--ink-strong);
  display: flex; align-items: center; gap: 12px;
}
.prose__body h2::before { content: ""; display: block; width: 40px; height: 2px; background: var(--gold); flex-shrink: 0; }
.prose__body ul, .prose__body ol { padding-left: 1.4em; }
.prose__body li { margin-bottom: .4em; }
.badge { display: inline-block; background: rgba(184,150,90,.12); color: var(--gold-dark); padding: 8px 16px; border-radius: var(--radius-sm); font-weight: 600; }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: var(--bg); padding: clamp(40px,6vw,72px) 0; }
.cta-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-strip h2 { font-family: var(--serif); font-weight: 400; margin: 0 0 6px; font-size: var(--fs-xl); }
.cta-strip p { margin: 0; color: rgba(247,245,240,.65); font-weight: 300; }
.cta-strip__buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 0; grid-template-columns: 1.05fr .95fr; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); container-type: inline-size; }
.contact-info { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: var(--bg); padding: clamp(36px,4vw,56px); }
.contact-info .page-head__title, .contact-info h1 { color: var(--bg); }
.contact-info .page-head__lead { color: rgba(247,245,240,.6); }
.contact-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; color: rgba(247,245,240,.85); font-size: 14.5px; }
.contact-list strong { color: var(--gold-light); font-weight: 600; }
.contact-list a { color: var(--bg); }
.contact-list a:hover { color: var(--gold-light); }
.contact-form-wrap { background: var(--surface); padding: clamp(36px,4vw,56px); }
.contact-form-wrap h2 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-xl); color: var(--ink-strong); margin: 0 0 20px; }

@container (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Forms ---------- */
.form .field { margin-bottom: 18px; }
.form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14.5px; color: var(--ink-strong); }
.form input, .form textarea, .form select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; background: var(--surface-alt); color: var(--ink);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,150,90,.18); }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: var(--danger); }
.form textarea { resize: vertical; min-height: 110px; }
.field--check { display: flex; align-items: flex-start; gap: 10px; }
.field--check input { width: auto; margin-top: 4px; accent-color: var(--gold); }
.field--check label { font-weight: 400; }
.field__error { color: var(--danger); font-size: 13.5px; margin-top: 4px; display: block; }
.req { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14.5px; }
.alert--ok { background: rgba(79,107,84,.1); border: 1px solid rgba(79,107,84,.3); color: var(--color-ok-text); }
.alert--error { background: var(--color-error-surface); color: var(--danger); }

/* ---------- Map ---------- */
.map-embed { position: relative; margin-top: 22px; background: var(--surface-muted); border-radius: var(--radius); min-height: 300px; display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }
.map-embed__activate { padding: 14px 22px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 22px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; font-size: 13.5px; color: var(--ink-faint); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--line-strong); }
.breadcrumbs a { color: var(--ink-faint); }
.breadcrumbs a:hover { color: var(--gold); }
[aria-current="page"].breadcrumbs span { color: var(--ink-soft); }

/* ---------- Sticky mobile bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; display: none;
  background: var(--navy); border-top: 1px solid rgba(214,188,138,.2);
  padding-bottom: env(safe-area-inset-bottom, 0);
  transition: transform var(--transition-base);
}
.sticky-bar--hidden { transform: translateY(100%); }
.sticky-bar .cta, .sticky-bar__btn {
  flex: 1; border-radius: 0; min-height: 58px;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 300;
  background: var(--navy); color: var(--bg); padding: 16px 22px;
  border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; box-shadow: 0 6px 24px rgba(0,0,0,.3);
  border: 1px solid rgba(214,188,138,.25);
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0));
}
.cookie-banner a { color: var(--gold-light); }
.cookie-banner__text { margin: 0; font-size: 14px; font-weight: 300; }
.cookie-banner__actions { display: flex; gap: 10px; }

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 400; background: var(--overlay-navy-strong);
  display: grid; place-items: center; padding: 24px;
}
.lightbox-overlay img { max-width: 92vw; max-height: 86vh; border-radius: 10px; }
.lightbox-close { position: absolute; top: 16px; right: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--gold-light); color: var(--navy); font-size: 1.6rem; cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--bg); }
.site-footer__grid { display: grid; gap: 44px; grid-template-columns: 1.4fr 1fr 1fr 1fr; padding: 70px 28px 56px; max-width: var(--wrap); margin: 0 auto; }
.site-footer__brand { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.site-footer__brand img { width: 46px; height: 46px; border-radius: 50%; background: var(--color-on-accent); object-fit: contain; }
.site-footer__brand span { font-family: var(--serif); font-size: 17px; letter-spacing: .05em; text-transform: uppercase; }
.site-footer__title { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; font-family: var(--sans); font-weight: 600; }
.site-footer p { color: rgba(247,245,240,.5); font-weight: 300; font-size: 14px; line-height: 1.75; }
.site-footer a { color: rgba(247,245,240,.65); font-size: 14px; }
.site-footer a:hover { color: var(--gold-light); }
.footer-links, .social { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.social { grid-auto-flow: column; justify-content: start; gap: 18px; }
.site-footer__bottom { border-top: 1px solid rgba(247,245,240,.08); }
.site-footer__bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: 13px; }
.site-footer__bottom p { margin: 0; color: rgba(247,245,240,.35); }

/* ---------- Reviews ---------- */
.review { background: var(--surface); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.review__stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }
.review__text { color: var(--ink); font-weight: 300; line-height: 1.8; margin: 0; flex: 1; }
.review__author { font-weight: 600; color: var(--ink-strong); padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); position: relative; }
.price-card--featured { border-color: var(--gold); box-shadow: 0 18px 46px rgba(184,150,90,.18); }
.price-card__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: var(--pill); white-space: nowrap; }
.price-card__name { font-family: var(--serif); font-size: 22px; color: var(--ink-strong); margin: 0; }
.price-card__sub { color: var(--ink-faint); font-size: 14px; margin: 0; }
.price-card__price { font-family: var(--serif); font-size: 40px; color: var(--ink-strong); }
.price-card__price span { font-size: 15px; color: var(--ink-faint); font-family: var(--sans); }
.price-card__features { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 10px; }
.price-card__features li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); }
.price-card__features li::before { content: "✓"; color: var(--green); font-weight: 700; }
.price-card__features li.no::before { content: "✕"; color: var(--color-strike); }
.price-card__features li.no { color: var(--ink-faint); text-decoration: line-through; }
.addons { max-width: 720px; margin: 0 auto; display: grid; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.addons__row { display: flex; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.addons__row:last-child { border-bottom: 0; }
.addons__row strong { color: var(--gold-dark); white-space: nowrap; }

/* ---------- Blog / pagination ---------- */
.pagination { display: flex; gap: 16px; margin-top: 36px; align-items: center; justify-content: center; flex-wrap: wrap; }
.pagination__info { color: var(--ink-faint); font-size: 14px; }
.post-meta { color: var(--ink-faint); font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap; margin: 8px 0 0; }
.post-meta__upd { font-style: italic; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero { padding: clamp(76px,10vw,108px) 0 clamp(52px,8vw,80px); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { display: none; }

  /* Hamburger */
  .nav-toggle {
    display: inline-flex; margin-left: auto; width: 46px; height: 46px;
    align-items: center; justify-content: center;
    background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 11px;
  }
  .nav-toggle__bar,
  .nav-toggle__bar::before,
  .nav-toggle__bar::after {
    display: block; width: 22px; height: 2px; background: var(--bg); border-radius: 2px; position: relative;
    transition: transform var(--transition-base), opacity var(--transition-base);
  }
  .nav-toggle__bar::before { content: ""; position: absolute; top: -7px; }
  .nav-toggle__bar::after { content: ""; position: absolute; top: 7px; }
  /* Hamburger -> X */
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: rotate(45deg) translate(5px,5px); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: rotate(-45deg) translate(5px,-5px); }

  .site-nav { position: absolute; top: 78px; left: 0; right: 0; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); display: none; max-height: calc(100vh - 78px); overflow-y: auto; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 10px; }
  .site-nav .submenu { position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; background: transparent; }
  .site-nav .submenu a { color: rgba(247,245,240,.7); }
  .site-nav .submenu a:hover { background: rgba(214,188,138,.08); color: var(--gold-light); }
  .site-nav__toggle { width: 100%; justify-content: space-between; }
  .site-header__cta { display: none; }

  /* Show sticky bar on mobile */
  .sticky-bar { display: flex; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0)); }

  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-strip__inner { flex-direction: column; text-align: center; }
  .cta-strip__buttons { justify-content: center; }

  .cookie-banner { left: 0; right: 0; bottom: 0; border-radius: var(--radius) var(--radius) 0 0; }

  .contact-grid { grid-template-columns: 1fr; border-radius: var(--radius); }
}

@media (max-width: 640px) {
  .grid--cards { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 20px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .cta { width: 100%; }
  .faq__q { padding: 20px 20px; }
  .faq__a { padding: 0 20px 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); }
  .ba__grid { grid-template-columns: 1fr; }
  .page-head__cta { flex-direction: column; }
}

/* =====================================================================
   Blueprint components (§4/§8) — tokens only, calm & respectful tone.
   No urgency-red, accent used at normal weight (§0.3, §10.11).
   ===================================================================== */

/* ---------- Campaign banner (schedulable bayram block) ---------- */
.campaign-banner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  flex-wrap: wrap;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-1);
}
.campaign-banner__title {
  font-family: var(--font-family-heading); font-weight: 400;
  font-size: var(--fs-lg); color: var(--color-text); margin: 0 0 var(--space-1);
}
.campaign-banner__body { margin: 0; color: var(--color-muted); font-weight: 300; font-size: var(--fs-sm); line-height: 1.7; }
.campaign-banner__cta {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4); border-radius: var(--pill);
  background: var(--color-accent); color: var(--color-primary);
  font-weight: 600; font-size: var(--fs-sm); white-space: nowrap;
  border: 1px solid transparent; transition: background var(--transition-base), transform var(--transition-base);
}
.campaign-banner__cta:hover { background: var(--gold-light); color: var(--color-primary); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .campaign-banner__cta:hover { transform: none; } }

/* ---------- Floating CTA — dual bubble (Ara / WhatsApp) ---------- */
.cta-fab {
  position: fixed; right: var(--space-3); bottom: var(--space-4); z-index: 210;
  display: flex; flex-direction: column-reverse; align-items: flex-end; gap: var(--space-2);
}
.cta-fab__toggle {
  display: inline-grid; place-items: center; width: 58px; height: 58px;
  border-radius: 50%; border: 1px solid transparent; cursor: pointer;
  background: var(--color-accent); color: var(--color-primary);
  box-shadow: var(--shadow-gold);
  transition: transform var(--transition-base), background var(--transition-base);
}
.cta-fab__toggle:hover { background: var(--gold-light); transform: translateY(-2px); }
.cta-fab__toggle svg { flex-shrink: 0; transition: transform var(--transition-base); }
.cta-fab__toggle[aria-expanded="true"] svg { transform: rotate(45deg); }
.cta-fab__menu {
  display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-2);
  margin-bottom: var(--space-2);
  opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
}
/* Open state: app.js sets `.is-open` on the container + aria-expanded on the
   toggle. The menu is rendered before the toggle in the DOM, so we key off the
   container (with a :has() fallback) rather than an adjacent-sibling combinator. */
.cta-fab.is-open .cta-fab__menu,
.cta-fab:has(.cta-fab__toggle[aria-expanded="true"]) .cta-fab__menu {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
}
.cta-fab__item {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4); min-height: 46px;
  border-radius: var(--pill); font-weight: 600; font-size: var(--fs-sm);
  box-shadow: var(--shadow-2); border: 1px solid transparent;
  transition: transform var(--transition-base), background var(--transition-base);
}
.cta-fab__item:hover { transform: translateY(-2px); }
.cta-fab__item--tel { background: var(--color-accent); color: var(--color-primary); }
.cta-fab__item--tel:hover { background: var(--gold-light); color: var(--color-primary); }
.cta-fab__item--wa { background: var(--green); color: var(--color-on-accent); }
.cta-fab__item--wa:hover { background: var(--green-light); color: var(--color-primary); }
@media (prefers-reduced-motion: reduce) {
  .cta-fab__toggle, .cta-fab__item, .cta-fab__menu, .cta-fab__toggle svg { transition: none; }
  .cta-fab__toggle:hover, .cta-fab__item:hover { transform: none; }
}
/* Keep clear of the mobile sticky bar (≈58px) when it is visible. */
@media (max-width: 860px) {
  .cta-fab { bottom: calc(58px + var(--space-3) + env(safe-area-inset-bottom, 0)); }
}

/* ---------- Lead / keşif form ---------- */
.lead-form { margin: 0; }
.lead-form__grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lead-form__field { display: flex; flex-direction: column; gap: 6px; }
.lead-form__field--full { grid-column: 1 / -1; }
.lead-form__field > label { font-weight: 600; font-size: 14.5px; color: var(--ink-strong); }
.lead-form__file {
  display: flex; flex-direction: column; gap: 6px; grid-column: 1 / -1;
  padding: var(--space-4); text-align: center;
  border: 1px dashed var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface-alt); color: var(--color-muted); font-size: var(--fs-sm);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.lead-form__file:hover { border-color: var(--color-accent); }
.lead-form__file input[type="file"] { font: inherit; color: var(--color-muted); }
.lead-form__consent {
  grid-column: 1 / -1; display: flex; align-items: flex-start; gap: var(--space-2);
  color: var(--color-muted); font-size: var(--fs-sm); font-weight: 300;
}
.lead-form__consent input { margin-top: 4px; accent-color: var(--color-accent); }
.lead-form__consent a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) { .lead-form__grid { grid-template-columns: 1fr; } }

/* ---------- Pricing range ---------- */
.price-card__range {
  display: inline-flex; align-items: baseline; gap: 4px; flex-wrap: wrap;
  font-family: var(--font-family-heading); color: var(--ink-strong); font-size: 26px;
}
.price-card__range small { font-family: var(--font-family-base); font-size: 14px; color: var(--ink-faint); font-weight: 400; }

/* ---------- Photo-report gallery (Fotoğraflı Rapor) ---------- */
.report-gallery { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.report-gallery__item {
  margin: 0; display: flex; flex-direction: column; gap: var(--space-2);
  background: var(--color-surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--space-3); box-shadow: var(--shadow-1);
}
.report-gallery__item img { width: 100%; border-radius: var(--radius-sm); object-fit: cover; aspect-ratio: 4/3; }
.report-gallery__item figcaption { color: var(--color-muted); font-size: var(--fs-sm); font-weight: 300; line-height: 1.6; }
.report-gallery__item figcaption time { display: block; color: var(--ink-faint); font-size: var(--fs-xs); letter-spacing: .04em; }
