/* =========================================================
   Op. Dr. Selen Ecemiş — Premium Modern UI
   No frameworks · Pure CSS · Animations + interactions
   ========================================================= */

/* FOUC guard — hide translatable text until i18n applies */
html.lang-pending body { opacity: 0; }
html:not(.lang-pending) body { opacity: 1; transition: opacity .18s ease-out; }

:root {
  --bg: #f8f7f5;
  --bg-alt: #f1ede8;
  --surface: #ffffff;
  --text: #0f1a24;
  --text-soft: #4b5563;
  --muted: #8a93a0;
  --line: #e6e8eb;
  --line-strong: #d8dce1;

  --primary: #0e7c7b;
  --primary-600: #0a6362;
  --primary-700: #084a4a;
  --primary-50: #e6f2f1;
  --primary-100: #cfe5e4;

  --accent: #d98a7b;
  --accent-600: #b96c5e;
  --accent-50: #fbeee9;
  --accent-100: #f6dbd2;

  --gold: #c89b6b;
  --ink: #0b2030;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-xs: 0 1px 2px rgba(11, 32, 48, .04);
  --shadow-sm: 0 2px 10px rgba(11, 32, 48, .06);
  --shadow: 0 14px 36px rgba(11, 32, 48, .09);
  --shadow-lg: 0 28px 70px rgba(11, 32, 48, .14);
  --shadow-glow: 0 18px 40px rgba(14,124,123,.25);

  --max: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.5,1.6,.4,1);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Fraunces', 'Inter', Georgia, serif;

  --header-h: 72px;
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
}

/* -------- Base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--primary); }

h1, h2, h3, h4 {
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw + .5rem, 4rem); }
h2 { font-size: clamp(1.8rem, 2.8vw + .5rem, 2.7rem); }
h3 { font-size: 1.18rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--text-soft); }
ul, ol { padding: 0; margin: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: .85rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--primary); border-radius: 2px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.25rem; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::before { display: none; }
.section-head p { color: var(--text-soft); font-size: 1.02rem; margin-top: .75rem; }
.muted { color: var(--muted); }
em { font-style: normal; background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }

/* -------- Scroll progress -------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 200; pointer-events: none;
  transition: transform .12s linear;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .9rem 1.55rem; border-radius: 12px;
  font-weight: 600; font-size: .93rem; font-family: inherit;
  cursor: pointer; border: 1px solid transparent;
  transition: all .25s var(--ease);
  white-space: nowrap; letter-spacing: -0.005em;
  position: relative; overflow: hidden;
}
.btn-sm { padding: .58rem 1.05rem; font-size: .85rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  opacity: 0; transition: opacity .35s var(--ease);
  z-index: -1;
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }

/* -------- Header -------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(248, 247, 245, .72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 30px rgba(11,32,48,.05);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem 20px; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ink), var(--primary-700));
  color: #fff; font-weight: 700; font-size: .85rem;
  box-shadow: 0 6px 14px rgba(8,74,74,.3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: .98rem; font-weight: 700; color: var(--ink); letter-spacing: -0.015em; }
.brand-sub { font-size: .72rem; color: var(--text-soft); letter-spacing: 0; font-weight: 400; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: .15rem; }
.nav-link {
  position: relative;
  padding: .55rem .85rem; font-size: .9rem; font-weight: 500;
  color: var(--text); border-radius: 8px;
}
.nav-link::after {
  content: ""; position: absolute; left: 50%; bottom: 4px;
  width: 0; height: 2px; background: var(--primary);
  border-radius: 2px; transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.nav-link:hover { color: var(--primary); }
.nav-link.is-active { color: var(--primary); }
.nav-link.is-active::after { width: 18px; }

.header-actions { display: flex; align-items: center; gap: .65rem; margin-left: auto; }
.nav + .header-actions { margin-left: 0; }

/* -------- Language dropdown -------- */
.lang-dropdown { position: relative; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .7rem .4rem .45rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--text);
  font: 600 .82rem var(--font); letter-spacing: .02em;
  cursor: pointer; transition: all .2s var(--ease);
  height: 38px;
}
.lang-trigger:hover { border-color: var(--line-strong); box-shadow: var(--shadow-xs); }
.lang-trigger[aria-expanded="true"] { border-color: var(--ink); }
.lang-flag { width: 22px; height: 22px; border-radius: 50%; overflow: hidden; display: inline-block; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(0,0,0,.06), inset 0 0 0 1px rgba(255,255,255,.1); }
.lang-flag svg { width: 100%; height: 100%; display: block; }
.lang-code { color: var(--ink); }
.lang-chev { color: var(--text-soft); transition: transform .25s var(--ease); }
.lang-trigger[aria-expanded="true"] .lang-chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 190px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 6px; z-index: 100;
  opacity: 0; transform: translateY(-6px) scale(.98);
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.lang-menu.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.lang-menu li { display: flex; align-items: center; gap: .7rem; padding: .55rem .65rem; border-radius: 10px; font-size: .88rem; color: var(--text); cursor: pointer; transition: background .15s var(--ease); }
.lang-menu li:hover, .lang-menu li.active { background: var(--primary-50); }
.lang-menu li.active .lang-name { color: var(--primary); font-weight: 600; }
.lang-flag-svg { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(0,0,0,.06); overflow: hidden; }
.lang-name { flex: 1; font-weight: 500; }
.lang-abbr { font-size: .68rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.lang-menu li.active .lang-abbr { color: var(--primary); }

.nav-toggle {
  display: none; border: 0; background: transparent; padding: .5rem;
  cursor: pointer; width: 42px; height: 42px; position: relative;
}
.nav-toggle span {
  display: block; width: 20px; height: 1.8px; background: var(--ink);
  margin: 5px auto; border-radius: 2px; transition: all .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------- Hero -------- */
.hero { position: relative; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(14,124,123,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,124,123,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(60px);
  opacity: .55; animation: blobFloat 14s var(--ease) infinite;
}
.blob-1 { width: 480px; height: 480px; top: -120px; right: -60px; background: radial-gradient(circle at 30% 30%, var(--primary-100), transparent 70%); }
.blob-2 { width: 420px; height: 420px; bottom: -140px; left: -100px; background: radial-gradient(circle at 50% 50%, var(--accent-100), transparent 70%); animation-delay: -5s; }
.blob-3 { width: 320px; height: 320px; top: 30%; left: 35%; background: radial-gradient(circle at 50% 50%, #fde7c8, transparent 70%); opacity: .35; animation-delay: -9s; }
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.06); }
  66% { transform: translate(-20px, 25px) scale(.95); }
}

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.hero-copy .lead { font-size: 1.08rem; color: var(--text-soft); max-width: 52ch; margin-top: 1rem; }
.hero-cta { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.75rem 0 0; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: 2.25rem; padding-top: 2rem; border-top: 1px solid var(--line);
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 600;
  color: var(--ink); line-height: 1; letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--ink), var(--primary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats span { font-size: .8rem; color: var(--text-soft); margin-top: .4rem; font-weight: 500; }

/* Hero slider */
.hero-slider {
  position: relative; aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--primary-50);
  isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(1.04);
  transition: opacity .9s var(--ease), transform 1.4s var(--ease);
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-slide-media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.slide-media-1,
.slide-media-2,
.slide-media-3 {
  position: relative;
}
/* Decorative placeholder icon centered on each slide */
.slide-media-1::before,
.slide-media-2::before,
.slide-media-3::before {
  content: ""; position: absolute; inset: 0;
  background-repeat: no-repeat; background-position: center;
  background-size: 22% auto;
  opacity: .35;
  pointer-events: none;
}
.slide-media-1 {
  background-image:
    linear-gradient(180deg, rgba(11,32,48,.0) 30%, rgba(11,32,48,.55) 100%),
    linear-gradient(135deg, #cfe5e4, #8fbdbc);
}
.slide-media-1::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='32' cy='32' r='14'/><circle cx='32' cy='32' r='6'/><path d='M32 4v6M32 54v6M4 32h6M54 32h6'/></svg>");
}
.slide-media-2 {
  background-image:
    linear-gradient(180deg, rgba(11,32,48,.0) 30%, rgba(11,32,48,.55) 100%),
    linear-gradient(135deg, #fbeee9, #e6b8ab);
}
.slide-media-2::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M32 54s-18-10-18-26a10 10 0 0 1 18-6 10 10 0 0 1 18 6c0 16-18 26-18 26z'/></svg>");
}
.slide-media-3 {
  background-image:
    linear-gradient(180deg, rgba(11,32,48,.0) 30%, rgba(11,32,48,.55) 100%),
    linear-gradient(135deg, #e6f2f1, #9ac9c8);
}
.slide-media-3::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 8v18a10 10 0 0 0 20 0V8'/><path d='M18 8h8M38 8h8'/><path d='M32 36v8a10 10 0 0 0 20 0v-2'/><circle cx='52' cy='42' r='4'/></svg>");
}
.hero-slide-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11,32,48,.35) 100%); }
.hero-slide-caption {
  position: absolute; left: 1.25rem; right: 1.25rem; bottom: 3.5rem;
  color: #fff;
}
.slide-tag {
  display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px;
  background: rgba(255,255,255,.18); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25); margin-bottom: .65rem;
}
.hero-slide-caption h3 { color: #fff; font-family: var(--font-display); font-size: 1.5rem; margin-bottom: .25rem; }
.hero-slide-caption p { color: rgba(255,255,255,.85); font-size: .92rem; margin: 0; }

.hero-badge {
  position: absolute; left: 1rem; top: 1rem;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  padding: .55rem .9rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 500; color: var(--ink);
  box-shadow: var(--shadow); z-index: 5;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,.2); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(16,185,129,.2); } 50% { box-shadow: 0 0 0 9px rgba(16,185,129,0); } }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: 1px solid rgba(0,0,0,.05);
  color: var(--ink); cursor: pointer; z-index: 6;
  display: grid; place-items: center;
  transition: all .25s var(--ease);
  backdrop-filter: blur(8px);
}
.slider-arrow:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-50%) scale(1.06); }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }

.slider-dots {
  position: absolute; left: 0; right: 0; bottom: 1rem;
  display: flex; justify-content: center; gap: .4rem; z-index: 6;
}
.slider-dots .dot {
  width: 22px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.45); border: 0; cursor: pointer;
  transition: all .3s var(--ease); padding: 0;
}
.slider-dots .dot.is-active { background: #fff; width: 32px; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  width: 22px; height: 36px; border-radius: 12px;
  border: 1.5px solid var(--text-soft); opacity: .6;
  display: none; z-index: 2;
}
.hero-scroll span {
  display: block; width: 3px; height: 8px; border-radius: 2px;
  background: var(--text-soft); margin: 6px auto 0;
  animation: scrollDown 1.6s ease-in-out infinite;
}
@keyframes scrollDown { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }

/* -------- Trust bar -------- */
.trustbar { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem;
  padding: 1.6rem 20px;
}
.trust-inner > div { display: flex; flex-direction: column; gap: 2px; cursor: default; }
.trust-inner strong { color: var(--ink); font-size: .93rem; font-weight: 600; }
.trust-inner span { color: var(--text-soft); font-size: .82rem; }

/* -------- About -------- */
.about { background: var(--bg); position: relative; }
.about-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
.about-media { position: relative; }
.about-photo {
  aspect-ratio: 4/5; border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, transparent 40%, rgba(11,32,48,.25) 100%),
    url('../../img/se.jpg') center/cover no-repeat,
    linear-gradient(135deg, #cfe5e4, #8fbdbc);
  box-shadow: var(--shadow-lg);
  transition: transform .6s var(--ease);
}
.about-media:hover .about-photo { transform: scale(1.02); }
.about-accent {
  position: absolute; right: -10px; bottom: -14px;
  background: var(--surface); padding: 1rem 1.15rem;
  border-radius: 16px; box-shadow: var(--shadow);
  max-width: 220px; border: 1px solid var(--line);
  animation: floatY 5s ease-in-out infinite;
}
.about-accent strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--primary); line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.about-accent span { font-size: .8rem; color: var(--text-soft); margin-top: 4px; display: block; }
.about-floater {
  position: absolute; left: -14px; top: 30px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: .65rem .85rem;
  display: flex; align-items: center; gap: .65rem;
  box-shadow: var(--shadow-sm);
  animation: floatY 6s ease-in-out infinite -2s;
}
.about-floater svg { color: var(--gold); }
.about-floater strong { font-size: .95rem; color: var(--ink); display: block; line-height: 1; }
.about-floater span { font-size: .7rem; color: var(--muted); }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.about-copy .about-list { margin-top: 1.5rem; display: grid; gap: 0; }
.about-list li {
  padding: .85rem 0 .85rem 1.85rem; position: relative;
  border-top: 1px solid var(--line); color: var(--text);
  font-size: .93rem; font-weight: 500;
}
.about-list li:first-child { border-top: 0; padding-top: .3rem; }
.about-list li::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--primary-50); transform: translateY(-50%);
}
.about-list li::after {
  content: ""; position: absolute; left: 6px; top: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); transform: translateY(-50%);
}

/* -------- Services + Spotlight -------- */
.services { background: var(--surface); }
.cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.card {
  background: var(--surface); border-radius: 20px;
  padding: 1.85rem; box-shadow: var(--shadow-xs);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(14,124,123,.10), transparent 45%);
  opacity: 0; transition: opacity .35s var(--ease);
  pointer-events: none;
}
.card.spotlight:hover::before { opacity: 1; }
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--primary-100);
}
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-50), #fff);
  color: var(--primary);
  display: grid; place-items: center; margin-bottom: 1.1rem;
  border: 1px solid var(--primary-100);
  transition: transform .35s var(--ease);
}
.card:hover .card-icon { transform: rotate(-6deg) scale(1.06); }
.card-icon svg { width: 24px; height: 24px; }
.card h3 { color: var(--ink); margin-bottom: .5rem; }
.card > p { font-size: .92rem; }
.card-list { margin-top: 1.1rem; display: grid; gap: .55rem; }
.card-list li {
  font-size: .9rem; color: var(--text); font-weight: 500;
  padding-left: 1.85rem; position: relative; line-height: 1.5;
}
.card-list li::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 18px; height: 18px; border-radius: 50%;
  transform: translateY(-50%);
  background-color: var(--primary);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3 7.2l2.6 2.6L11 4.4' stroke='%23ffffff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: center;
  background-size: 12px 12px;
  box-shadow: 0 0 0 4px var(--primary-50);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover .card-list li::before { box-shadow: 0 0 0 4px rgba(14,124,123,.18); }

/* Service card — professional layout */
.service-card { display: flex; flex-direction: column; padding: 2rem 1.85rem 1.65rem; }
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent, var(--primary-700)));
  transform: scaleX(0); transform-origin: left center;
  transition: transform .5s var(--ease);
}
.service-card:hover::after { transform: scaleX(1); }
.card-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 1rem; gap: 1rem;
}
.card-head .card-icon { margin-bottom: 0; }
.card-index {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  color: var(--primary-100);
  letter-spacing: .02em;
  line-height: 1;
  padding-top: .35rem;
  transition: color .35s var(--ease);
}
.service-card:hover .card-index { color: var(--primary); }
.card-divider {
  height: 1px; background: var(--line);
  margin: 1.1rem 0 .9rem;
}
.card-list-label {
  display: inline-block;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary-700, var(--primary));
  margin-bottom: .55rem;
}
.card-list-2col { grid-template-columns: 1fr; gap: .55rem; }
.card-cta {
  margin-top: auto; padding-top: 1.25rem;
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .88rem; font-weight: 600;
  color: var(--primary-700, var(--primary));
  text-decoration: none;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.card-cta svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card-cta:hover { color: var(--primary); gap: .75rem; }
.card-cta:hover svg { transform: translateX(2px); }
.services-foot { margin-top: 2rem; display: flex; justify-content: center; }
.btn-arrow { display: inline-flex; align-items: center; gap: .55rem; }
.btn-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn-arrow:hover svg { transform: translateX(3px); }

@media (max-width: 540px) {
  .card-list-2col { grid-template-columns: 1fr; }
}

/* -------- Process / Timeline -------- */
.process { background: var(--bg-alt); position: relative; overflow: hidden; }
.process::before {
  content: ""; position: absolute; right: -80px; top: 60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-100), transparent 70%);
  filter: blur(30px); opacity: .6;
}
.timeline {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
  position: relative; counter-reset: step;
}
.t-step {
  background: var(--surface); border: 1px solid var(--line);
  padding: 1.5rem 1.5rem 1.5rem 4.6rem; border-radius: 18px;
  position: relative;
  transition: all .35s var(--ease);
}
.t-step:hover { transform: translateX(4px); border-color: var(--primary-100); box-shadow: var(--shadow-sm); }
.t-num {
  position: absolute; left: 1.25rem; top: 1.4rem;
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  background: linear-gradient(135deg, var(--ink), var(--primary-700));
  color: #fff;
  box-shadow: 0 8px 18px rgba(8,74,74,.25);
}
.t-step h3 { margin-bottom: .25rem; color: var(--ink); }
.t-step p { margin: 0; font-size: .9rem; color: var(--text-soft); }

/* -------- Testimonials -------- */
.testimonials { background: var(--surface); }
.testi-slider { max-width: 800px; margin: 0 auto; position: relative; }
.testi-track { position: relative; min-height: 260px; }
.testi {
  position: absolute; inset: 0; margin: 0;
  background: linear-gradient(180deg, var(--bg-alt), var(--surface));
  border: 1px solid var(--line);
  border-radius: 22px; padding: 2.5rem 2rem 2rem;
  text-align: center;
  opacity: 0; transform: translateY(10px) scale(.98);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  pointer-events: none;
}
.testi.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem; line-height: .6;
  color: var(--primary); opacity: .3;
  margin-bottom: .5rem;
}
.testi blockquote { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); font-weight: 500; line-height: 1.5; margin: 0 auto 1.25rem; max-width: 600px; }
.testi figcaption { display: flex; flex-direction: column; gap: 2px; }
.testi-name { font-weight: 600; color: var(--ink); }
.testi-role { font-size: .82rem; color: var(--text-soft); }
.testi-dots { display: flex; justify-content: center; gap: .4rem; margin-top: 1.5rem; }
.testi-dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-strong); border: 0; cursor: pointer;
  transition: all .25s var(--ease); padding: 0;
}
.testi-dots .dot.is-active { background: var(--primary); transform: scale(1.3); }

/* -------- Articles -------- */
.articles { background: var(--bg-alt); }
.articles-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.article {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 1.5rem 1.4rem;
  display: flex; flex-direction: column; gap: .75rem;
  color: var(--text); text-decoration: none;
  transition: all .35s var(--ease);
  position: relative; overflow: hidden;
}
.article::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease);
}
.article:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-100); color: var(--text); }
.article:hover::after { transform: scaleY(1); }
.article .tag {
  align-self: flex-start; font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--primary); background: var(--primary-50);
  padding: .28rem .6rem; border-radius: 999px;
}
.article h3 { font-size: 1.02rem; color: var(--ink); margin: 0; font-weight: 600; line-height: 1.35; }
.article .more { font-size: .82rem; color: var(--primary); font-weight: 600; margin-top: auto; transition: gap .3s var(--ease); }
.article:hover .more { gap: .5rem; padding-left: 4px; }

/* -------- FAQ -------- */
.faq { background: var(--bg); }
.faq-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
.faq-aside h2 { color: var(--ink); }
.faq-aside .btn { margin-top: 1rem; }
.faq-list { display: grid; gap: .65rem; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 0; overflow: hidden;
  transition: all .3s var(--ease);
}
.faq-item[open] { border-color: var(--primary-100); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; color: var(--ink); font-size: .96rem;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary-50); color: var(--primary);
  font-weight: 700; font-size: 1.1rem;
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] .chev { transform: rotate(45deg); }
.faq-item p { padding: 0 1.25rem 1.1rem; margin: 0; color: var(--text-soft); font-size: .92rem; }

/* -------- Gallery -------- */
.gallery { background: var(--surface); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.g-item {
  aspect-ratio: 1/1; border-radius: 16px; border: 0; cursor: pointer; padding: 0;
  background-size: cover; background-position: center;
  box-shadow: var(--shadow-xs);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  position: relative; overflow: hidden;
}
.g-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,32,48,.5));
  opacity: 0; transition: opacity .35s var(--ease);
}
.g-item:hover { transform: scale(1.03); box-shadow: var(--shadow); }
.g-item:hover::after { opacity: 1; }
.g-item::before {
  content: ""; position: absolute; inset: 0;
  background-repeat: no-repeat; background-position: center;
  background-size: 38% auto;
  opacity: .55;
  transition: opacity .35s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
.g-item:hover::before { opacity: .8; transform: scale(1.06); }
/* Subtle dotted pattern overlay to signal placeholder */
.g-item { background-color: var(--surface); }
.g1 { background-image: linear-gradient(135deg, #cfe5e4, #8fbdbc); }
.g2 { background-image: linear-gradient(135deg, #fbeee9, #e6b8ab); }
.g3 { background-image: linear-gradient(135deg, #e6f2f1, #9ac9c8); }
.g4 { background-image: linear-gradient(135deg, #f3f1ee, #cfc9c1); }
.g5 { background-image: linear-gradient(135deg, #d98a7b, #b96c5e); }
.g6 { background-image: linear-gradient(135deg, #0e7c7b, #0a6362); }
/* Category icons (white line-art, semantic) */
.g1::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M32 54s-14-8.5-14-20a8 8 0 0 1 14-5.3A8 8 0 0 1 46 34c0 11.5-14 20-14 20z'/></svg>"); }
.g2::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><rect x='12' y='28' width='40' height='18' rx='4'/><path d='M16 28v-6a4 4 0 0 1 4-4h24a4 4 0 0 1 4 4v6'/><path d='M16 46v6M48 46v6'/></svg>"); }
.g3::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M18 12v14a10 10 0 0 0 20 0V12'/><path d='M14 12h8M34 12h8'/><path d='M28 36v6a10 10 0 0 0 20 0v-2'/><circle cx='48' cy='40' r='4'/></svg>"); }
.g4::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M8 36c4-6 8-6 12 0s8 6 12 0 8-6 12 0 8 6 12 0'/><path d='M8 24c4-6 8-6 12 0s8 6 12 0 8-6 12 0 8 6 12 0'/></svg>"); }
.g5::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M26 10h12M28 10v14L14 48a4 4 0 0 0 3.5 6h29A4 4 0 0 0 50 48L36 24V10'/><path d='M22 36h20'/></svg>"); }
.g6::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M12 18a4 4 0 0 1 4-4h22a4 4 0 0 1 4 4v14a4 4 0 0 1-4 4H24l-8 8v-8h-0a4 4 0 0 1-4-4z'/><path d='M28 44v2a4 4 0 0 0 4 4h12l8 8v-8a4 4 0 0 0 4-4V32a4 4 0 0 0-4-4h-2'/></svg>"); }

/* -------- Contact -------- */
.contact { background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
.contact-info h2 { color: var(--ink); }
.contact-list { display: grid; gap: 1rem; margin: 1.5rem 0; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .ci-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; font-size: 1rem; }
.contact-list strong { display: block; color: var(--ink); font-size: .88rem; margin-bottom: .15rem; font-weight: 600; }
.contact-list span, .contact-list a { color: var(--text-soft); font-size: .9rem; }
.contact-list a:hover { color: var(--primary); }

.socials { display: flex; gap: .5rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: all .25s var(--ease); }
.socials a:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }

.contact-form {
  background: var(--surface); padding: 2rem; border-radius: 22px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  position: relative;
}
.contact-form::before {
  content: ""; position: absolute; inset: -1px; border-radius: 22px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0; transition: opacity .35s var(--ease);
  z-index: -1; filter: blur(10px);
}
.contact-form:focus-within::before { opacity: .15; }
.contact-form h3 { color: var(--ink); margin-bottom: 1.25rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .82rem; font-weight: 500; margin-bottom: .4rem; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg);
  font: inherit; color: var(--text); transition: all .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--primary); background: var(--surface);
  box-shadow: 0 0 0 4px rgba(14,124,123,.12);
}
.row-2 { display: grid; grid-template-columns: 1fr; gap: 0; }
.form-note { font-size: .76rem; color: var(--muted); margin-top: .75rem; text-align: center; }

.map-wrap { margin-top: 3rem; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); height: 360px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.15) contrast(.97); }

/* -------- Footer -------- */
.site-footer { background: linear-gradient(180deg, var(--ink), #061521); color: #c8d0d9; padding: 3.5rem 0 1.5rem; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #8a97a3; }
.site-footer .brand-mark { background: rgba(255,255,255,.08); box-shadow: none; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid h4 { color: #fff; font-size: .9rem; font-weight: 600; margin-bottom: 1rem; }
.footer-grid ul { display: grid; gap: .5rem; }
.footer-grid a { color: #8a97a3; font-size: .88rem; }
.footer-grid a:hover { color: var(--primary-100); }
.copy { padding-top: 1.5rem; text-align: center; color: #6b7885; font-size: .8rem; }

/* -------- FAB GROUP -------- */
.fab-group { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; flex-direction: column; gap: .65rem; align-items: center; }
.fab {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 0; cursor: pointer;
  transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease), opacity .3s var(--ease);
  color: #fff;
}
.fab:hover { transform: scale(1.1) translateY(-2px); }
.fab-wa { background: #25D366; box-shadow: 0 12px 26px rgba(37,211,102,.4); }
.fab-drawer { background: var(--ink); box-shadow: 0 12px 26px rgba(11,32,48,.35); }
.fab-drawer:hover { background: var(--primary); }
.fab-top {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none; transform: translateY(10px);
}
.fab-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* -------- Drawer (compact, modern) -------- */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(11,32,48,.5); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease);
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 12px; right: 12px; bottom: 12px;
  width: min(380px, calc(100% - 24px));
  background: var(--surface); z-index: 100;
  border-radius: 22px;
  padding: 1.25rem 1.25rem 1rem;
  overflow-y: auto;
  transform: translateX(calc(100% + 24px));
  transition: transform .5s var(--ease-out);
  box-shadow: 0 30px 80px rgba(11,32,48,.22), 0 0 0 1px rgba(11,32,48,.04);
  display: flex; flex-direction: column; gap: .9rem;
}
.drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem;
}
.drawer-head-text { display: flex; flex-direction: column; gap: 2px; }
.drawer-eyebrow {
  font-size: .68rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--primary);
}
.drawer-head h3 {
  font-family: var(--font-display); font-size: 1.4rem;
  margin: 0; color: var(--ink); line-height: 1.1;
}
.drawer-close {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--line);
  color: var(--ink); cursor: pointer; flex-shrink: 0;
  display: grid; place-items: center;
  transition: all .25s var(--ease);
}
.drawer-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(90deg); }

/* Quick action pills */
.drawer-quick { display: flex; gap: .4rem; }
.dq-pill {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem; padding: .55rem .5rem;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; color: var(--ink);
  font-size: .78rem; font-weight: 600;
  transition: all .2s var(--ease);
}
.dq-pill svg { color: var(--primary); flex-shrink: 0; }
.dq-pill:hover {
  background: var(--primary-50); border-color: var(--primary-100);
  color: var(--primary); transform: translateY(-1px);
}
.dq-wa svg { color: #25D366; }
.dq-wa:hover { background: rgba(37,211,102,.08); border-color: rgba(37,211,102,.25); color: #128c4f; }

.drawer-sub {
  font-size: .82rem; color: var(--text-soft);
  margin: 0; padding: .65rem .85rem;
  background: linear-gradient(135deg, var(--primary-50), transparent);
  border-radius: 10px; border-left: 2px solid var(--primary);
}

/* Floating-label fields */
.drawer-form { display: grid; gap: .6rem; }
.dfield {
  position: relative;
}
.dfield input,
.dfield textarea {
  width: 100%;
  padding: 1.05rem .85rem .45rem 2.25rem;
  border: 1px solid var(--line); background: var(--bg);
  border-radius: 11px;
  font: 500 .88rem var(--font); color: var(--text);
  transition: all .2s var(--ease);
  resize: none;
}
.dfield textarea { padding: 1.05rem .85rem .55rem .85rem; min-height: 64px; }
.dfield input:focus,
.dfield textarea:focus {
  outline: 0; border-color: var(--primary); background: var(--surface);
  box-shadow: 0 0 0 3px rgba(14,124,123,.12);
}
.dfield label {
  position: absolute; left: 2.25rem; top: .8rem;
  font-size: .82rem; color: var(--muted); font-weight: 500;
  pointer-events: none;
  transform-origin: left top;
  transition: transform .18s var(--ease), color .18s var(--ease);
}
.dfield textarea + label { left: .85rem; }
.dfield input:focus + label,
.dfield input:not(:placeholder-shown) + label,
.dfield textarea:focus + label,
.dfield textarea:not(:placeholder-shown) + label {
  transform: translateY(-8px) scale(.78);
  color: var(--primary);
}
.dfield-icon {
  position: absolute; left: .8rem; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
  transition: color .2s var(--ease);
}
.dfield input:focus ~ .dfield-icon { color: var(--primary); }

/* Subject as chips */
.dfield-chips { padding: 0 .15rem; }
.dfield-chips-label {
  display: block; font-size: .68rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .4rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label {
  padding: .38rem .7rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg);
  font-size: .78rem; font-weight: 500; color: var(--text-soft);
  cursor: pointer; transition: all .2s var(--ease);
  user-select: none;
}
.chips label:hover { border-color: var(--primary-100); color: var(--primary); }
.chips input:checked + label {
  background: var(--ink); color: #fff; border-color: var(--ink);
}

.drawer-submit { margin-top: .25rem; padding: .85rem 1.2rem; font-size: .9rem; }
.drawer-submit svg { transition: transform .25s var(--ease); }
.drawer-submit:hover svg { transform: translateX(3px); }

/* Footer */
.drawer-foot {
  margin-top: auto; padding-top: .8rem;
  border-top: 1px dashed var(--line);
  display: flex; flex-direction: column; gap: .4rem;
}
.drawer-foot-row {
  display: flex; align-items: center; gap: .55rem;
  font-size: .76rem; color: var(--text-soft); font-weight: 500;
}
.drawer-foot-row.muted-row { color: var(--muted); font-weight: 400; }
.drawer-foot-row svg { color: var(--muted); flex-shrink: 0; }
.dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,.18);
  animation: pulse 2s infinite; flex-shrink: 0;
}

@media (max-width: 480px) {
  .drawer { top: 0; right: 0; bottom: 0; border-radius: 22px 0 0 22px; width: min(380px, 100%); }
}

/* -------- Lightbox -------- */
.lightbox {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(8,16,24,.92); backdrop-filter: blur(6px);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-stage {
  width: min(900px, 92vw); aspect-ratio: 16/10;
  border-radius: 20px;
  background-size: cover; background-position: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  transform: scale(.96); transition: transform .45s var(--ease-spring);
}
.lightbox.open .lb-stage { transform: scale(1); }
.lb-caption { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-size: .9rem; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  width: 44px; height: 44px; cursor: pointer; font-size: 1.6rem;
  display: grid; place-items: center;
  transition: all .25s var(--ease);
}
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.2); }

/* -------- Toast -------- */
.toast-host { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: .55rem; pointer-events: none; }
.toast {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line);
  padding: .75rem 1.1rem; border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: .9rem; font-weight: 500;
  display: flex; align-items: center; gap: .65rem;
  transform: translateY(-12px); opacity: 0;
  transition: all .35s var(--ease-out);
  pointer-events: auto; max-width: 90vw;
}
.toast.show { transform: none; opacity: 1; }
.toast.toast-success { border-color: var(--primary-100); }
.toast.toast-success::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: .75rem; flex-shrink: 0; }
.toast.toast-info::before { content: "i"; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .75rem; font-style: italic; flex-shrink: 0; }

/* -------- Responsive -------- */
.hide-sm { display: none; }

@media (min-width: 640px) {
  .trust-inner { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .row-2 { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 820px) {
  .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .about-grid { grid-template-columns: .9fr 1.1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .faq-grid { grid-template-columns: .85fr 1.15fr; gap: 3rem; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .hero-scroll { display: block; }
  .hide-sm { display: inline-flex; }
}
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .articles-grid { grid-template-columns: repeat(4, 1fr); }
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
  .t-step { padding: 1.5rem 1.25rem 1.25rem; }
  .t-num { position: static; margin-bottom: 1rem; }
  .timeline { position: relative; }
  .timeline::before {
    content: ""; position: absolute; left: 6%; right: 6%; top: 47px; height: 2px;
    background: linear-gradient(90deg, var(--primary-100), var(--accent-100));
    z-index: 0;
  }
  .t-step { z-index: 1; }
}

/* -------- Mobile nav -------- */
.nav-mobile-cta { display: none; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: fixed; left: 0; right: 0;
    top: var(--header-h, 72px); bottom: 0;
    background: var(--bg);
    padding: 1.25rem 20px 2rem;
    margin: 0;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 55;
    box-shadow: -10px 0 30px rgba(11,32,48,.06);
    border-top: 1px solid var(--line);
  }
  .nav.open { transform: translateX(0); }
  .nav ul { flex-direction: column; gap: .15rem; }
  .nav a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem .25rem; font-size: 1.02rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0; min-height: 48px;
  }
  .nav a::after { display: none; }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--primary); font-weight: 600; }
  body.nav-open { overflow: hidden; }
  /* When mobile menu open, dim the page underneath via a pseudo backdrop */
  body.nav-open::after {
    content: ""; position: fixed; inset: var(--header-h, 72px) 0 0 0;
    background: rgba(11,32,48,.0); z-index: 54; pointer-events: none;
  }
  /* Mobile-only CTA group inside nav */
  .nav-mobile-cta {
    display: flex; gap: .5rem; margin-top: 1.25rem; padding-top: 1.25rem;
    border-top: 1px dashed var(--line);
  }
  .nm-cta {
    flex: 1; display: inline-flex; align-items: center; justify-content: center;
    gap: .5rem; padding: .85rem 1rem; min-height: 48px;
    border-radius: 12px; font: 600 .92rem var(--font);
    cursor: pointer; border: 1px solid transparent;
    transition: all .2s var(--ease);
  }
  .nm-cta-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
  .nm-cta-primary { background: var(--ink); color: #fff; }
  .nm-cta:active { transform: scale(.98); }
}

/* -------- Scroll reveal -------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* =========================================================
   Inner pages — Page Hero + Breadcrumb + Helpers
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  background:
    radial-gradient(circle at 80% 0%, rgba(217,138,123,.10), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(14,124,123,.10), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(14,124,123,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,124,123,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 25%, transparent 75%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(1.9rem, 3.4vw + .5rem, 3rem);
  margin: .35rem 0 .5rem;
}
.page-hero p.lead {
  font-size: 1.02rem; color: var(--text-soft);
  max-width: 60ch; margin: 0;
}

.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: .4rem;
  font-size: .8rem; color: var(--text-soft); font-weight: 500;
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--text-soft); transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb svg { color: var(--muted); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* CTA banner — used on subpages */
.cta-banner {
  background: linear-gradient(135deg, var(--ink), var(--primary-700));
  color: #fff; border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem); text-align: center;
  position: relative; overflow: hidden;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(217,138,123,.35), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(14,124,123,.35), transparent 50%);
  opacity: .6;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; font-family: var(--font-display); margin-bottom: .65rem; }
.cta-banner p { color: rgba(255,255,255,.82); max-width: 520px; margin: 0 auto 1.5rem; }
.cta-banner .btn-primary { background: #fff; color: var(--ink); }
.cta-banner .btn-primary::before { background: linear-gradient(120deg, var(--primary), var(--accent)); }
.cta-banner .btn-primary:hover { color: #fff; }
.cta-banner .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.cta-banner .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

/* Filter chips for articles page */
.filter-chips {
  display: flex; flex-wrap: wrap; gap: .4rem;
  justify-content: center; margin-bottom: 2rem;
}
.filter-chips button {
  padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--text-soft); font: 600 .82rem var(--font);
  cursor: pointer; transition: all .2s var(--ease);
}
.filter-chips button:hover { border-color: var(--primary-100); color: var(--primary); }
.filter-chips button.is-active {
  background: var(--ink); color: #fff; border-color: var(--ink);
}

/* About page — bio & education */
.bio-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  align-items: start;
}
.bio-photo {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, transparent 40%, rgba(11,32,48,.25) 100%),
    url('../../img/se.jpg') center/cover no-repeat,
    linear-gradient(135deg, #cfe5e4, #8fbdbc);
  box-shadow: var(--shadow-lg);
}
.bio-text h2 { color: var(--ink); }
.bio-text p { font-size: .98rem; line-height: 1.75; }

/* Education timeline — premium */
.edu-timeline {
  display: grid; gap: 1.1rem;
  margin-top: 1.75rem; position: relative;
  padding-left: 2.5rem;
  counter-reset: edu;
}
.edu-timeline::before {
  content: ""; position: absolute; left: 14px; top: 14px; bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary) 60%, var(--accent) 100%);
  border-radius: 2px;
  opacity: .85;
}
.edu-step {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  padding: 1.1rem 1.4rem 1.15rem; border-radius: 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  counter-increment: edu;
  display: grid; grid-template-columns: auto 1fr; column-gap: 1rem;
  align-items: start;
}
.edu-step::before {
  content: ""; position: absolute; left: -2.18rem; top: 1.4rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--primary);
  box-shadow: 0 0 0 4px var(--primary-50);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.edu-step::after {
  content: ""; position: absolute; left: calc(-2.18rem + 2px); top: calc(1.4rem + 2px);
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--primary);
  transform: scale(0);
  transition: transform .3s var(--ease);
}
.edu-step:hover {
  border-color: var(--primary-100);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.edu-step:hover::after { transform: scale(1); }
.edu-step:hover::before { box-shadow: 0 0 0 4px var(--primary-100); }
.edu-step .edu-badge {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-50), #fff);
  border: 1px solid var(--primary-100);
  color: var(--primary);
  display: grid; place-items: center; flex-shrink: 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1rem;
  transition: transform .3s var(--ease);
}
.edu-step:hover .edu-badge { transform: rotate(-6deg) scale(1.05); }
.edu-step .edu-badge svg { width: 22px; height: 22px; }
.edu-step .edu-content { min-width: 0; }
.edu-step time {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--primary);
  display: inline-block;
  background: var(--primary-50);
  padding: .25rem .55rem;
  border-radius: 999px;
  margin-bottom: .55rem;
}
.edu-step strong {
  display: block; color: var(--ink);
  font-size: 1.05rem; margin-bottom: .25rem;
  font-family: var(--font-display); font-weight: 600;
  line-height: 1.3;
}
.edu-step span { color: var(--text-soft); font-size: .9rem; line-height: 1.5; }
.edu-step.is-current { border-color: var(--primary-100); background: linear-gradient(135deg, #fff, var(--primary-50)); }
.edu-step.is-current::before { background: var(--primary); }
.edu-step.is-current::after { transform: scale(1); }
.edu-step.is-current time { background: var(--primary); color: #fff; }

/* Memberships / list-style cards */
.member-grid { display: grid; grid-template-columns: 1fr; gap: .65rem; }
.member-card {
  background: var(--surface); border: 1px solid var(--line);
  padding: 1rem 1.25rem; border-radius: 12px;
  display: flex; align-items: center; gap: .85rem;
  transition: all .25s var(--ease);
}
.member-card:hover { border-color: var(--primary-100); transform: translateX(3px); box-shadow: var(--shadow-xs); }
.member-card .mc-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--primary-50); color: var(--primary);
  display: grid; place-items: center; flex-shrink: 0;
}
.member-card span { color: var(--ink); font-weight: 500; font-size: .92rem; }

/* Service detail page — extended cards */
.service-detail {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem 1.85rem 1.65rem;
  margin-bottom: 1.25rem;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service-detail::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-700, var(--primary)));
  transform: scaleX(0); transform-origin: left center;
  transition: transform .5s var(--ease);
}
.service-detail:hover {
  border-color: var(--primary-100);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.service-detail:hover::after { transform: scaleX(1); }
.service-detail .sd-head {
  display: grid;
  grid-template-columns: auto 2.25rem 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.service-detail .card-icon { margin-bottom: 0; flex-shrink: 0; }
.service-detail .sd-text { min-width: 0; }
.service-detail h3 {
  font-size: 1.35rem; margin: 0 0 .35rem;
  font-family: var(--font-display); color: var(--ink);
  line-height: 1.2;
}
.service-detail .sd-text p { font-size: .95rem; margin: 0; color: var(--text-soft); }
.sd-index {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600;
  color: var(--primary-100);
  letter-spacing: .02em; line-height: 1;
  text-align: center;
  transition: color .35s var(--ease);
}
.service-detail:hover .sd-index { color: var(--primary); }
.service-detail .sd-body {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem; margin-top: .25rem;
  display: flex; flex-direction: column;
}
.sd-list-label {
  display: inline-block;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary-700, var(--primary));
  margin-bottom: .7rem;
}
.service-detail .sd-list {
  display: grid; grid-template-columns: 1fr; gap: .55rem;
  list-style: none; padding: 0; margin: 0 0 1.25rem;
}
.service-detail .sd-list li {
  padding-left: 1.85rem; position: relative; color: var(--text);
  font-size: .94rem; font-weight: 500; line-height: 1.5;
}
.service-detail .sd-list li::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 18px; height: 18px; border-radius: 50%;
  transform: translateY(-50%);
  background-color: var(--primary);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3 7.2l2.6 2.6L11 4.4' stroke='%23ffffff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: center;
  background-size: 12px 12px;
  box-shadow: 0 0 0 4px var(--primary-50);
  transition: box-shadow .25s var(--ease);
}
.service-detail:hover .sd-list li::before { box-shadow: 0 0 0 4px rgba(14,124,123,.18); }
.sd-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9rem; font-weight: 600;
  color: var(--primary-700, var(--primary));
  text-decoration: none;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.sd-cta svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.sd-cta:hover { color: var(--primary); gap: .75rem; }
.sd-cta:hover svg { transform: translateX(2px); }

@media (min-width: 720px) {
  .service-detail { padding: 2.25rem 2.25rem 1.85rem; }
  .service-detail .sd-list { grid-template-columns: 1fr 1fr; gap: .65rem 1.25rem; }
  .service-detail h3 { font-size: 1.5rem; }
}

@media (min-width: 820px) {
  .bio-grid { grid-template-columns: .9fr 1.2fr; gap: 3.5rem; }
  .member-grid { grid-template-columns: 1fr 1fr; }
}

/* -------- Accessibility -------- */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* -------- Skip link -------- */
.skip-link {
  position: fixed; top: -100px; left: 12px; z-index: 9999;
  background: var(--primary); color: #fff;
  padding: .75rem 1.1rem; border-radius: 10px;
  font-weight: 600; font-size: .92rem;
  box-shadow: var(--shadow);
  transition: top .25s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { top: 12px; color: #fff; outline: 2px solid #fff; outline-offset: 2px; }

/* -------- Cookie consent banner (KVKK) -------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: 16px;
  transform: translateX(-50%) translateY(140%);
  z-index: 1200;
  width: min(960px, calc(100% - 32px));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: transform .55s var(--ease-out), opacity .35s var(--ease);
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.cookie-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 1.1rem;
  padding: 1.1rem 1.25rem;
}
.cookie-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--primary-50); color: var(--primary);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.cookie-text strong { display: block; font-size: 1rem; color: var(--ink); margin-bottom: .15rem; font-family: var(--font-display); font-weight: 600; }
.cookie-text p { margin: 0; font-size: .88rem; color: var(--text-soft); line-height: 1.55; }
.cookie-text a { color: var(--primary-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: .5rem; flex-shrink: 0; }
@media (max-width: 720px) {
  .cookie-banner { bottom: 8px; }
  .cookie-inner { grid-template-columns: 1fr; padding: 1rem; gap: .85rem; }
  .cookie-icon { display: none; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}

/* -------- Form: error / valid states -------- */
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea,
.dfield.is-invalid input,
.dfield.is-invalid textarea {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
}
.field.is-valid input,
.field.is-valid select,
.field.is-valid textarea,
.dfield.is-valid input,
.dfield.is-valid textarea {
  border-color: #16a34a !important;
}
.field.is-invalid::after,
.dfield.is-invalid::after {
  content: attr(data-error, "Bu alan gerekli");
  display: block;
  color: #dc2626;
  font-size: .78rem;
  margin-top: .35rem;
  font-weight: 500;
}

/* -------- Error page (404) -------- */
.error-hero {
  min-height: 80vh;
  display: grid; place-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: radial-gradient(circle at 30% 20%, var(--primary-50) 0%, transparent 55%),
              radial-gradient(circle at 80% 70%, var(--accent-50) 0%, transparent 55%),
              var(--bg);
}
.error-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
.error-inner .eyebrow { justify-content: center; }
.error-inner .eyebrow::before { display: none; }
.error-inner h1 {
  font-size: clamp(1.75rem, 3.2vw + .5rem, 2.5rem);
  margin: .5rem 0 1rem;
  line-height: 1.2;
}
.error-inner .lead {
  color: var(--text-soft);
  font-size: 1.02rem;
  max-width: 56ch;
  margin: 0 auto;
}
.error-inner .hero-cta {
  justify-content: center;
  margin: 2rem 0 0;
}
.error-code {
  display: flex; align-items: center; justify-content: center;
  gap: .25rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(6rem, 16vw, 11rem);
  line-height: 1;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.error-zero {
  width: clamp(5rem, 14vw, 9.5rem);
  height: clamp(5rem, 14vw, 9.5rem);
  display: inline-grid; place-items: center;
  color: var(--accent);
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.error-suggest {
  list-style: none; padding: 0; margin: 3rem auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .75rem; max-width: 640px; width: 100%;
}
.error-suggest a {
  display: block; text-align: left;
  padding: 1rem 1.1rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.error-suggest a:hover { transform: translateY(-3px); border-color: var(--primary-100); box-shadow: var(--shadow-sm); }
.error-suggest strong { display: block; color: var(--ink); margin-bottom: .15rem; font-weight: 600; }
.error-suggest span { display: block; color: var(--muted); font-size: .82rem; }

/* -------- Legal page -------- */
.legal-section { padding-top: 2rem; }
.legal-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}
.legal-toc {
  position: sticky; top: 96px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.6rem;
  box-shadow: var(--shadow-xs);
}
.legal-toc h2 { font-family: var(--font); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin: 0 0 1rem; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: tocnum; }
.legal-toc li { counter-increment: tocnum; }
.legal-toc a {
  display: block; padding: .45rem .25rem;
  color: var(--text-soft); font-size: .9rem;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s, padding-left .2s;
}
.legal-toc a:hover { color: var(--primary); padding-left: .55rem; border-bottom-color: var(--primary-100); }
.legal-content { line-height: 1.75; color: var(--text-soft); max-width: 760px; }
.legal-content h2 {
  scroll-margin-top: 100px;
  font-size: 1.35rem; color: var(--ink);
  margin: 2.5rem 0 .85rem;
  padding-top: .25rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.legal-content h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-content ul, .legal-content ol { padding-left: 1.4rem; margin: .75rem 0 1.25rem; list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin: .35rem 0; }
.legal-content a { color: var(--primary-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-content em { background: none; -webkit-text-fill-color: var(--text); color: var(--text); font-style: italic; font-weight: 500; }
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-contact { list-style: none !important; padding: 1.1rem 1.25rem !important; background: var(--bg-alt); border-radius: var(--radius); margin: 1rem 0 !important; }
.legal-contact li { margin: .35rem 0; }
.cookie-table {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  margin: 1rem 0 1.5rem;
}
.ct-row { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 1px; background: var(--line); }
.ct-row > span { background: var(--surface); padding: .85rem 1rem; font-size: .88rem; }
.ct-row.ct-head > span { background: var(--bg-alt); font-weight: 600; color: var(--ink); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .legal-toc { position: static; }
  .ct-row { grid-template-columns: 1fr 1fr; }
  .ct-row > span:nth-child(3) { grid-column: span 2; padding-top: 0; color: var(--muted); font-size: .78rem; }
}

/* -------- Footer copy meta -------- */
.copy-meta { display: block; margin-top: .5rem; font-size: .8rem; max-width: 760px; }
.site-footer .copy { display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; }

/* -------- Print stylesheet -------- */
@media print {
  .site-header, .site-footer, .fab-group, .drawer, .drawer-backdrop,
  .lightbox, .toast-host, .cookie-banner, .skip-link,
  .scroll-progress, .hero-slider, .nav-toggle, .lang-dropdown,
  .hero-cta, .hero-scroll, .map-wrap, .gallery, .testimonials,
  .filter-chips { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 11pt; }
  a { color: #000 !important; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  h1, h2, h3, h4 { color: #000 !important; page-break-after: avoid; }
  .section { padding: 1rem 0 !important; page-break-inside: avoid; }
  .container { max-width: 100% !important; padding: 0 !important; }
  em { background: none !important; -webkit-text-fill-color: #000 !important; color: #000 !important; }
  .page-hero { padding: 1rem 0 !important; }
  .legal-toc { display: none !important; }
  .legal-grid { grid-template-columns: 1fr !important; }
}

/* =========================================================
   Mobile responsive overhaul (≤ 640px and ≤ 480px)
   Comprehensive polish for phones — touch targets, spacing,
   typography and layout rebalancing.
   ========================================================= */
@media (max-width: 640px) {
  /* Container & section rhythm */
  .container { padding: 0 16px; }
  .section { padding: clamp(2.5rem, 9vw, 3.5rem) 0; }

  /* Header — tighter, more compact */
  .header-inner { padding: .65rem 16px; min-height: var(--header-h); gap: .5rem; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; font-size: .8rem; }
  .brand-name { font-size: .9rem; }
  .brand-sub { display: none; }
  .header-actions { gap: .35rem; }
  .lang-trigger { padding: .35rem .55rem .35rem .4rem; height: 34px; }
  .lang-trigger .lang-code { font-size: .78rem; }
  .nav-toggle { width: 40px; height: 40px; padding: .35rem; }
  .lang-menu { right: -8px; min-width: 170px; }

  /* Hero */
  .hero { padding: 1.75rem 0 2.75rem; }
  .hero-inner { gap: 2rem; }
  .hero-copy h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .hero-copy .lead { font-size: .98rem; margin-top: .85rem; }
  .hero-cta { gap: .5rem; margin-top: 1.35rem; }
  .hero-cta .btn { flex: 1 1 auto; min-width: 0; padding: .8rem 1rem; font-size: .9rem; }
  .hero-stats { gap: .5rem; margin-top: 1.75rem; padding-top: 1.5rem; }
  .hero-stats strong { font-size: 1.5rem; }
  .hero-stats span { font-size: .72rem; line-height: 1.25; }

  /* Hero slider — shorter, more captions room */
  .hero-slider { aspect-ratio: 5/6; border-radius: 22px; }
  .hero-slide-caption { left: 1rem; right: 1rem; bottom: 2.75rem; }
  .hero-slide-caption h3 { font-size: 1.2rem; }
  .hero-slide-caption p { font-size: .84rem; }
  .slide-tag { font-size: .62rem; padding: .25rem .55rem; }
  .slider-arrow { width: 36px; height: 36px; }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
  .hero-badge { font-size: .72rem; padding: .45rem .75rem; left: .65rem; top: .65rem; }

  /* Trust bar */
  .trust-inner { grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.25rem 16px; }
  .trust-inner strong { font-size: .86rem; }
  .trust-inner span { font-size: .76rem; }

  /* About */
  .about-grid { gap: 2rem; }
  .about-list { gap: .5rem; }
  .about-accent { right: 8px; bottom: -10px; max-width: 180px; padding: .75rem .9rem; }
  .about-accent strong { font-size: 1.35rem; }
  .about-accent span { font-size: .72rem; }
  .about-floater { left: 8px; top: 20px; padding: .5rem .7rem; }
  .about-floater strong { font-size: .85rem; }
  .about-floater span { font-size: .65rem; }
  .about-photo { aspect-ratio: 1/1.1; }

  /* Section heads — tighter */
  .section-head { margin-bottom: 2.25rem; }
  .section-head p { font-size: .94rem; }

  /* Service cards / cards */
  .cards { gap: 1rem; }
  .card { padding: 1.5rem 1.35rem; }
  .card h3 { font-size: 1.08rem; }
  .card-list-2col { grid-template-columns: 1fr; }
  .card-index { font-size: 2.2rem; }

  /* Process timeline — single column already; tighten */
  .t-step { padding: 1.2rem 1.2rem 1.2rem 4rem; }
  .t-num { width: 38px; height: 38px; left: 1rem; top: 1.1rem; font-size: .85rem; }

  /* Testimonials */
  .testi blockquote { font-size: 1rem; line-height: 1.55; }

  /* Articles */
  .articles-grid { gap: 1rem; }
  .article { padding: 1.25rem; }
  .article h3 { font-size: 1rem; }

  /* FAQ */
  .faq-grid { gap: 2rem; }
  .faq-aside h2 { font-size: 1.6rem; }
  .faq-item summary { padding: .9rem 1rem; font-size: .93rem; }
  .faq-item p { padding: 0 1rem 1rem; }

  /* Gallery */
  .gallery-grid { gap: .6rem; }

  /* Contact */
  .contact-grid { gap: 2rem; }
  .contact-form { padding: 1.5rem 1.25rem; }
  .row-2 { grid-template-columns: 1fr; gap: .75rem; }
  .map-wrap { height: 260px; margin-top: 2rem; border-radius: 18px; }
  .contact-list li { gap: .65rem; }

  /* Footer */
  .site-footer { padding: 2.75rem 0 1.25rem; }
  .footer-grid { gap: 1.75rem; }
  .footer-grid h4 { margin-bottom: .65rem; }

  /* FAB group — smaller, lower on mobile */
  .fab-group { right: 12px; bottom: 12px; gap: .5rem; }
  .fab { width: 46px; height: 46px; }
  .fab svg { width: 18px; height: 18px; }

  /* Drawer — full screen feel on small */
  .drawer {
    top: 0; right: 0; bottom: 0;
    width: 100%;
    border-radius: 0;
    padding: 1rem 1rem .75rem;
  }
  .drawer-head h3 { font-size: 1.2rem; }
  .drawer-quick { flex-wrap: wrap; }
  .dq-pill { flex: 1 1 calc(33% - .3rem); }

  /* Cookie banner */
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-inner { flex-direction: column; align-items: stretch; padding: 1rem; gap: .85rem; }
  .cookie-actions { display: flex; gap: .5rem; }
  .cookie-actions .btn { flex: 1; }

  /* Page hero (inner pages) */
  .page-hero { padding: 2rem 0 1.75rem; }
  .page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.1rem); }
  .page-hero p.lead { font-size: .95rem; }

  /* Toast — narrower */
  .toast { font-size: .85rem; padding: .65rem .9rem; max-width: calc(100vw - 24px); }

  /* Lightbox controls — easier touch */
  .lb-close, .lb-prev, .lb-next { width: 40px; height: 40px; }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
  .lb-close { top: 12px; right: 12px; }

  /* Buttons — proper touch targets */
  .btn { min-height: 44px; }
  .btn-sm { min-height: 38px; }

  /* Inputs minimum 16px to avoid iOS zoom */
  input, select, textarea { font-size: 16px !important; }
}

@media (max-width: 380px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats li:nth-child(3) { grid-column: 1 / -1; align-items: center; text-align: center; }
  .trust-inner { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}

/* Tap highlight & smoother touch feedback */
@media (hover: none) and (pointer: coarse) {
  a, button { -webkit-tap-highlight-color: rgba(14,124,123,.15); }
  .card:hover, .article:hover, .t-step:hover { transform: none; }
  .btn-primary:hover { transform: none; }
  .nav-link:hover { color: var(--text); }
}
