/* ═══════════════════════════════════════════════════════════
   DR. CEM SMILE DESIGN — LUXURY DENTAL WEBSITE
   taste-skill: Design Variance 8, Motion Intensity 6, Visual Density 4
   Palette: White & Gold | Typography: Cormorant Garamond + Inter
═══════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --gold:        #D0A070;
  --gold-light:  #E6BE94;
  --gold-dark:   #A07850;
  --ivory:       #FAF8F4;
  --white:       #FFFFFF;
  --dark:        #1C1C1E;
  --mid:         #6B6B6B;
  --border:      rgba(201,168,76,0.18);
  --shadow:      0 24px 64px rgba(0,0,0,0.08);
  --shadow-sm:   0 8px 24px rgba(0,0,0,0.06);

  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans:  'Inter', system-ui, sans-serif;

  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Kill the iOS / Android tap-flash on interactive elements. */
a, button, [role="button"], .btn { -webkit-tap-highlight-color: transparent; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: #ffffff;
}

body {
  font-family: var(--ff-sans);
  background: #ffffff;
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* GSAP pin-spacer that wraps the pinned hero must be solid white,
   otherwise a thin seam appears between hero and the next section
   when the pin releases. */
.pin-spacer { background: #ffffff; }

img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }
input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ── UTILITIES ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 7rem 0; }

.section-header {
  text-align: left;
  max-width: 640px;
  margin-bottom: 4rem;
}

.section-eyebrow {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--mid);
  max-width: 520px;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 2px;
  font-family: var(--ff-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-quint);
  will-change: transform;
  transform: translateZ(0);
  position: relative;
  overflow: hidden;
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}
.btn--gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-out-expo);
}
.btn--gold:hover::after { transform: translateX(100%); }
.btn--gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 8px 32px rgba(201,168,76,0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--dark);
  border: 1px solid rgba(28,28,30,0.25);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--lg {
  padding: 1.125rem 2.5rem;
  font-size: 0.875rem;
}

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  /* Same glassy treatment as the hero text caption — semi-transparent
     white with strong backdrop blur, no solid white panel. */
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding: 1rem 0;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-right: auto;
}
.nav__logo-img {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}
.footer__brand .nav__logo-img {
  height: 90px;
  max-width: 220px;
  margin-bottom: 0.5rem;
  margin-left: -12px;
}
.nav__logo-dr {
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.02em;
}
.nav__logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.nav__links {
  display: flex;
  gap: 2.25rem;
}
.nav__links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--dark);
  position: relative;
  padding-bottom: 2px;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out-quint);
}
.nav__links a:hover::after { width: 100%; }

/* Tourism pill — visually separated from regular nav links */
.nav__tourism-pill {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.55);
  padding: 0.42rem 1.1rem;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
}
.nav__tourism-pill:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
}
@media (max-width: 768px) { .nav__tourism-pill { display: none; } }

/* Instagram section */
.instagram-section {
  background: var(--dark);
  padding: 6rem 0;
}
.instagram-section .section-eyebrow { color: rgba(201,168,76,0.8); }
.instagram-section .section-title { color: var(--ivory); }
.instagram-section .section-title em { color: var(--gold); }

.instagram-embeds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0 2.5rem;
  align-items: start;
}
/* Override Instagram's own inline styles so it fills the column */
.instagram-embed-wrap .instagram-media {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important;
}
.instagram-follow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.instagram-handle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ivory);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.instagram-handle svg {
  width: 22px;
  height: 22px;
  opacity: 0.7;
}
@media (max-width: 900px) {
  .instagram-embeds {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--dark);
  transition: all 0.3s ease;
}

/* ── HERO (scroll-scrubbed, GSAP-pinned in JS) ──────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: #ffffff;
  overflow: hidden;
}
/* Hard white block at the very bottom of the hero — guarantees no
   subpixel/canvas-edge seam can show through into the next section. */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12px;
  background: #ffffff;
  z-index: 3;
  pointer-events: none;
}

/* Full-bleed video layer */
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ── Mobile hero autoplay branch (paired with useMobileHero flag in main.js).
   Default: hidden. CSS @media block below shows it on phones and hides the
   canvas-scrub wrap. Single flag flip + commenting the two @media lines
   reverts mobile to the canvas-scrub experience. */
.hero__video-mobile-wrap {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero__video,
.hero__video-mobile {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.hero__video-mobile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Vignette: white fades in from all edges, leaving the center visible */
.hero__video-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 95% 100% at 50% 50%,
    transparent 48%,
    rgba(255,255,255,0.12) 66%,
    rgba(255,255,255,0.50) 82%,
    rgba(255,255,255,0.88) 93%,
    #ffffff 100%
  );
}

/* Centered glass card — appears on top of the video at the end of the scrub */
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;         /* center vertically over the video */
  justify-content: center;     /* center horizontally over the video */
  min-height: 100svh;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.hero__content {
  max-width: 360px;
  text-align: left;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  padding: 1.25rem 1.5rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
  /* Hidden on load — revealed by the scrubbed ScrollTrigger in main.js. */
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
}

/* DESKTOP ONLY — pin the card to the right side of the video and widen it
   so it covers more of the right half. Mobile keeps the centered layout. */
@media (min-width: 769px) {
  .hero__inner    { justify-content: flex-end; }
  .hero__content  { max-width: 480px; padding: 1.5rem 1.75rem 1.75rem; }
}

.hero__content > * {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.hero__eyebrow,
.hero__title,
.hero__sub {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.55);
}

/* Vertical fade at the hero's bottom — video → solid white so the
   transition into the next section is seamless (no visible seam).
   Height tuned to sit below the glass content card (kept compact). */
.hero__bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 13%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0)    0%,
    rgba(255, 255, 255, 0.55) 30%,
    rgba(255, 255, 255, 0.95) 55%,
    #ffffff                   72%,
    #ffffff                  100%
  );
}

.hero__eyebrow {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--dark);
  margin-bottom: 0.9rem;
  opacity: 0;
  transform: translateY(30px);
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__sub {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--mid);
  max-width: 340px;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero__actions {
  display: flex;
  justify-content: flex-start;  /* buttons align left with the text */
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 2rem;
  z-index: 3;                    /* above the bottom-fade gradient */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
}
.hero__scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* ── STATS ───────────────────────────────────────────────── */
.stats {
  background: var(--ivory);
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.stats__item {
  text-align: center;
  flex: 1;
}

.stats__num {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stats__sym {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--gold);
}

.stats__label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 0.5rem;
}

.stats__divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── SERVICES ────────────────────────────────────────────── */
.services { background: var(--white); }

/* Outer: cards left (1fr), video right (1fr) */
.services__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

/* Cards: 2-column, 3 rows */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  align-self: stretch;
}

/* SMILE video on the right */
.services__video-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 520px;
}

.services__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Fade left and top/bottom edges to match background */
.services__video-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, white 0%, transparent 18%, transparent 82%, white 100%),
    linear-gradient(to bottom, white 0%, transparent 12%, transparent 88%, white 100%);
  pointer-events: none;
}

.services__card {
  background: var(--white);
  padding: 2.5rem;
  transition: background 0.3s ease, transform 0.35s var(--ease-out-quint);
  will-change: transform;
  transform: translateZ(0);
  opacity: 0;
  transform: translateY(30px);
}
.services__card:hover {
  background: var(--ivory);
}
.services__card:hover .services__icon {
  color: var(--gold-dark);
  transform: scale(1.08);
}

.services__icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 1.5rem;
  transition: color 0.3s ease, transform 0.35s var(--ease-out-quint);
}
.services__icon svg { width: 100%; height: 100%; }

.services__card h3 {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.services__card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--mid);
}

/* ── BEFORE & AFTER ──────────────────────────────────────── */
.gallery { background: var(--ivory); }

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.gallery__item { display: flex; flex-direction: column; gap: 1rem; }

/* B&A: stacked (Before on top, After on bottom) for clear horizontal photo display */
.ba-slider {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  border-radius: 12px;
  overflow: hidden;
  cursor: default;
  user-select: none;
  background: var(--ivory);
  padding: 1.25rem;
  box-sizing: border-box;
  box-shadow: 0 28px 64px rgba(0,0,0,0.10), 0 0 0 1px rgba(208,160,112,0.22);
}

.ba-slider::after { display: none; }

.ba-slider__before,
.ba-slider__after {
  position: relative;
  inset: auto;
  aspect-ratio: 3 / 2;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}
.ba-slider__after { clip-path: none !important; }

.ba-img {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
}

/* Fallback (in case an image is missing) */
.ba-img--before { background: linear-gradient(135deg, #d4cfc7 0%, #bfbab0 100%); }
.ba-img--after  { background: linear-gradient(135deg, #e8dfd0 0%, #d4c4a8 100%); }

/* Real B&A photos — per-case URL bindings */
/* Homepage 3 picks: veneers (smile detail), makeover (full-face), rehab (clinical drama) */
#case-veneers   .ba-img--before, #home-case-1 .ba-img--before { background-image: url('../assets/images/cases/veneers-before.jpg'); }
#case-veneers   .ba-img--after,  #home-case-1 .ba-img--after  { background-image: url('../assets/images/cases/veneers-after.jpg'); }
#case-whitening .ba-img--before { background-image: url('../assets/images/cases/whitening-before.jpg'); }
#case-whitening .ba-img--after  { background-image: url('../assets/images/cases/whitening-after.jpg'); }
#case-implants  .ba-img--before { background-image: url('../assets/images/cases/implants-before.jpg'); }
#case-implants  .ba-img--after  { background-image: url('../assets/images/cases/implants-after.jpg'); }
#case-ortho     .ba-img--before { background-image: url('../assets/images/cases/ortho-before.jpg'); }
#case-ortho     .ba-img--after  { background-image: url('../assets/images/cases/ortho-after.jpg'); }
#case-bonding   .ba-img--before { background-image: url('../assets/images/cases/bonding-before.jpg'); }
#case-bonding   .ba-img--after  { background-image: url('../assets/images/cases/bonding-after.jpg'); }
#case-rehab     .ba-img--before, #home-case-3 .ba-img--before { background-image: url('../assets/images/cases/rehab-before.jpg'); }
#case-rehab     .ba-img--after,  #home-case-3 .ba-img--after  { background-image: url('../assets/images/cases/rehab-after.jpg'); }
#case-makeover  .ba-img--before, #home-case-2 .ba-img--before { background-image: url('../assets/images/cases/makeover-before.jpg'); }
#case-makeover  .ba-img--after,  #home-case-2 .ba-img--after  { background-image: url('../assets/images/cases/makeover-after.jpg'); }
#case-gummy     .ba-img--before { background-image: url('../assets/images/cases/gummy-before.jpg'); }
#case-gummy     .ba-img--after  { background-image: url('../assets/images/cases/gummy-after.jpg'); }
#case-crowns    .ba-img--before { background-image: url('../assets/images/cases/crowns-before.jpg'); }
#case-crowns    .ba-img--after  { background-image: url('../assets/images/cases/crowns-after.jpg'); }
#case-emergency .ba-img--before { background-image: url('../assets/images/cases/emergency-before.jpg'); }
#case-emergency .ba-img--after  { background-image: url('../assets/images/cases/emergency-after.jpg'); }
#case-allon4    .ba-img--before { background-image: url('../assets/images/cases/allon4-before.jpg'); }
#case-allon4    .ba-img--after  { background-image: url('../assets/images/cases/allon4-after.jpg'); }
#case-braces    .ba-img--before { background-image: url('../assets/images/cases/braces-before.jpg'); }
#case-braces    .ba-img--after  { background-image: url('../assets/images/cases/braces-after.jpg'); }

/* Side-by-side mode overrides — keep `.ba-slider__after` open, hide all drag affordances */
.ba-handle,
.ba-drag-hint,
.ba-overlay-label { display: none !important; }

/* BEFORE / AFTER labels on each half */
.ba-label {
  display: inline-block;
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 3;
  font-family: var(--ff-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 0.35rem 0.7rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 2px;
  pointer-events: none;
}
.ba-label--after {
  left: auto;
  right: 0.85rem;
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}
.ba-handle__line {
  flex: 1;
  width: 1.5px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(208,160,112,0.9) 12%,
    rgba(208,160,112,0.9) 88%,
    transparent 100%
  );
}
.ba-handle__circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-dark) 100%);
  border: 2px solid rgba(255,255,255,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 24px rgba(168,121,58,0.5), 0 0 0 6px rgba(208,160,112,0.14);
  animation: ba-pulse 1.2s ease-in-out 0.8s 3 forwards;
}
.ba-handle__circle svg { width: 20px; height: 20px; color: white; }

@keyframes ba-pulse {
  0%   { transform: scale(1); box-shadow: 0 4px 24px rgba(168,121,58,0.5), 0 0 0 6px rgba(208,160,112,0.14); }
  50%  { transform: scale(1.12); box-shadow: 0 6px 32px rgba(168,121,58,0.65), 0 0 0 10px rgba(208,160,112,0.18); }
  100% { transform: scale(1); box-shadow: 0 4px 24px rgba(168,121,58,0.5), 0 0 0 6px rgba(208,160,112,0.14); }
}


.gallery__caption {
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--mid);
  font-style: italic;
  text-align: center;
}

/* ── TEAM ────────────────────────────────────────────────── */
.team { background: var(--white); }

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team__card {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s var(--ease-out-quint);
  will-change: transform;
  transform: translateZ(0);
  opacity: 0;
  transform: translateY(30px);
}
.team__card:hover {
  box-shadow: 0 0 0 1.5px var(--gold), var(--shadow);
  transform: translateY(-4px) translateZ(0);
}

.team__photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #e8ddd0 0%, #c8b898 100%);
  position: relative;
  overflow: hidden;
}
.team__photo picture,
.team__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-quint);
}
.team__card:hover .team__photo img { transform: scale(1.04); }

/* ── OUR OFFICES (about page) — masonry preserving full aspect ratios ── */
.offices { background: var(--white); }
.offices__mosaic {
  column-count: 2;
  column-gap: 1.25rem;
}
.offices__item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  display: block;
  break-inside: avoid;
  margin: 0 0 1.25rem 0;
  border: 1px solid var(--border);
  background: var(--ivory);
  transform: translateZ(0);
}
.offices__item picture,
.offices__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s var(--ease-out-quint);
}
.offices__item:hover img { transform: scale(1.03); }
.offices__item figcaption { display: none; }

.team__info {
  padding: 1.5rem;
}
.team__info h3 {
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.team__title {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.team__info p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--mid);
}

/* ── TECHNOLOGY ──────────────────────────────────────────── */
.tech { background: var(--ivory); }

.tech__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
}

.tech__item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(-20px);
}

.tech__icon-wrap {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--gold);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.tech__item:hover .tech__icon-wrap {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.tech__icon-wrap svg { width: 32px; height: 32px; }

.tech__text h3 {
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.tech__text p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--mid);
}

/* ── DR. CEM INTRO ───────────────────────────────────────── */
.dr-intro {
  background: #ffffff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  margin-top: -1px;          /* belt-and-braces: overlap any subpixel seam */
  position: relative;
  z-index: 1;
  border: 0;
}

/* Photo on the left — mix-blend-mode removes the office background */
.dr-intro__photo-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dr-intro__photo {
  width: 100%;
  height: 100%;
  max-height: 80vh;
  object-fit: contain;
  object-position: center center;
  display: block;
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%,  black 12%, black 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%,  black 6%,  black 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right,  transparent 0%,  black 12%, black 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0%,  black 6%,  black 94%, transparent 100%);
  mask-composite: intersect;
}

.dr-intro__logo {
  width: 140px;
  height: auto;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

/* Text on the right */
.dr-intro__text {
  padding: 4rem 5rem 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.tooth-spin__quote {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--dark);
  line-height: 1.4;
  max-width: 500px;
  border: none;
  margin: 0;
}

.tooth-spin__cite {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
  font-weight: 500;
}

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonials { background: var(--ivory); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: box-shadow 0.35s ease;
}
.testimonial__card:hover {
  box-shadow: var(--shadow);
}

.testimonial__stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.testimonial__text {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  flex-shrink: 0;
}
.testimonial__author strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}
.testimonial__author span {
  font-size: 0.75rem;
  color: var(--mid);
}

/* ── AWARDS ──────────────────────────────────────────────── */
.awards { background: var(--white); padding: 4rem 0; }

.awards__track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.awards__track {
  display: flex;
  gap: 2rem;
  animation: marquee 28s linear infinite;
  width: max-content;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.awards__badge {
  flex-shrink: 0;
  width: 160px;
  color: #b0a898;
  transition: color 0.3s ease;
}
.awards__badge:hover { color: var(--gold); }
.awards__badge svg { width: 100%; height: auto; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { background: var(--ivory); }

.faq__list {
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--dark);
  gap: 1rem;
  transition: color 0.3s ease;
}
.faq__q:hover { color: var(--gold); }

.faq__icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.faq__q:hover .faq__icon,
.faq__item.open .faq__icon {
  border-color: var(--gold);
  background: var(--gold);
}
.faq__icon span {
  position: absolute;
  width: 10px;
  height: 1.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: background 0.3s ease, transform 0.35s var(--ease-out-quint);
}
.faq__icon span:last-child {
  transform: rotate(90deg);
}
.faq__q:hover .faq__icon span,
.faq__item.open .faq__icon span { background: white; }
.faq__item.open .faq__icon span:last-child {
  transform: rotate(0deg);
}

.faq__a {
  height: 0;
  overflow: hidden;
}
.faq__a p {
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--mid);
}

/* ── ABOUT ───────────────────────────────────────────────── */
.about { background: var(--white); }

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.about__logo {
  width: 140px;
  height: auto;
  margin-bottom: 1.25rem;
  opacity: 0.95;
}
.about__photo-wrap {
  position: relative;
}
.about__photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 4px;
  position: relative;
  z-index: 2;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about__photo-accent {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  z-index: 1;
}

.about__bio {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 1.25rem;
}

.about__credentials {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.about__cred {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--dark);
}
.about__cred svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold);
}

/* ── CTA BANNER ──────────────────────────────────────────── */
.cta-banner {
  background: var(--dark);
  padding: 6rem 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cta-banner__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
}

.cta-banner__text h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.cta-banner__text h2 em {
  font-style: italic;
  color: var(--gold);
}
.cta-banner__text p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 440px;
}

/* ── LOCATION ────────────────────────────────────────────── */
.location { background: var(--ivory); }

.location__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.location__map {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.location__map iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
  filter: grayscale(30%) contrast(1.05);
}

.location__details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.location__detail {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.location__detail-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.location__detail-icon svg { width: 18px; height: 18px; }
.location__detail strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.location__detail p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--mid);
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact { background: var(--white); }

.contact__form {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact__field--full { grid-column: 1 / -1; }

.contact__field label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--dark);
}

.contact__field input,
.contact__field textarea {
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--ivory);
  color: var(--dark);
  font-size: 0.9rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
}
.contact__field input:focus,
.contact__field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.contact__field input::placeholder,
.contact__field textarea::placeholder { color: #b0a898; }

/* Honeypot — visually hidden, kept in the layout flow off-screen */
.contact__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact__form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: wait;
}

.contact__status {
  margin: 0;
  min-height: 1.5em;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--mid);
  transition: color 0.25s ease;
}
.contact__status[data-state="pending"] { color: var(--mid); }
.contact__status[data-state="success"] { color: #4a7a4a; }
.contact__status[data-state="error"]   { color: #a55a4a; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding-top: 5rem;
  border-top: 1px solid var(--gold);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__brand .nav__logo-dr { color: var(--white); }
.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.4);
  margin-top: 1rem;
  max-width: 240px;
}

.footer__socials {
  display: flex;
  gap: 0.875rem;
  margin-top: 1.5rem;
}
.footer__social {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.footer__social:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.footer__social svg { width: 16px; height: 16px; }

.footer__links h4 {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}
.footer__links ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__links li, .footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s ease;
}
.footer__links a:hover { color: var(--gold); }

.footer__bottom {
  padding: 1.5rem 0;
}
.footer__bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
}

/* ── SCROLL REVEAL STATES ────────────────────────────────── */
/* Note: `will-change` removed — these reveal once and stay static, so
   declaring it globally was creating composite layers on dozens of
   cards for no benefit. GSAP nudges its own layer during the tween. */
.reveal-card,
.reveal-text {
  transform: translateZ(0);
}

/* ── MAGNETIC BUTTON BASE ────────────────────────────────── */
.magnetic {
  transition: transform 0.3s var(--ease-out-quint), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  will-change: transform;
  transform: translateZ(0);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .dr-intro {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .dr-intro__photo-wrap {
    min-height: 60vw;
  }
  .dr-intro__text {
    padding: 2rem;
    align-items: center;
    text-align: center;
  }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; gap: 3rem; }
  .about__photo-wrap { max-width: 400px; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .location__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .services__inner { grid-template-columns: 1fr; }
  .services__video-wrap { min-height: 380px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .tech__list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Hide every desktop nav child (incl. lang-switcher) so it can't bleed
     through the open mobile menu. The mobile menu has its own lang-switcher. */
  .nav__links,
  .nav__cta,
  .nav__tourism-pill,
  .nav .lang-switcher { display: none; }
  .nav__hamburger { display: flex; }

  /* Mobile hero: swap canvas-scrub for autoplay loop (paired with useMobileHero in main.js).
     Comment these two lines out (and flip the JS flag) to revert mobile to scrub. */
  .hero__video-wrap { display: none; }
  .hero__video-mobile-wrap { display: block; }

  /* Section + container rhythm — tighter so more fits per screen */
  .section { padding: 2.5rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .section-eyebrow { font-size: 0.7rem; margin-bottom: 0.6rem; }
  .section-sub { font-size: 0.9rem; line-height: 1.55; }

  /* Hero — keep full-height; card centers over the video and is sized
     to "cover" most of it for the reveal moment. */
  .hero__video { object-position: 50% center; }
  .hero__inner { padding-top: 4rem; padding-bottom: 4rem; }
  .hero__content { max-width: 320px; padding: 1rem 1.1rem 1.2rem; border-radius: 10px; }
  .hero__eyebrow { font-size: 0.6rem; margin-bottom: 0.55rem; }
  .hero__title { font-size: clamp(1.7rem, 7vw, 2.2rem); line-height: 1.1; margin-bottom: 0.6rem; }
  .hero__sub { font-size: 0.8rem; line-height: 1.5; max-width: none; margin-bottom: 1rem; }
  .hero__actions { justify-content: flex-start; gap: 0.5rem; flex-wrap: wrap; }
  .hero__actions .btn { padding: 0.6rem 0.95rem; font-size: 0.7rem; }

  /* Buttons everywhere */
  .btn { padding: 0.7rem 1.4rem; font-size: 0.75rem; letter-spacing: 0.1em; }
  .btn--lg { padding: 0.85rem 1.6rem; font-size: 0.8rem; }

  /* Stats row */
  .stats__grid { flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
  .stats__divider { display: none; }
  .stats__num { font-size: 1.8rem; }
  .stats__label { font-size: 0.7rem; }

  /* Card grids: services + tech go 1-col on phones for readable line lengths;
     team + gallery stay 2-col where image density is the point. */
  .services__grid     { grid-template-columns: 1fr; gap: 1rem; }
  .team__grid         { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .gallery__grid      { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .tech__list         { grid-template-columns: 1fr; gap: 1rem; }
  .testimonials__grid { grid-template-columns: 1fr; gap: 1rem; }
  .contact__row       { grid-template-columns: 1fr; }
  .offices__mosaic    { column-count: 1; column-gap: 1rem; }

  /* Card internals — bumped from 1rem so 1-col cards breathe */
  .services__card,
  .tech__item,
  .team__card,
  .pricing-card { padding: 1.1rem; border-radius: 6px; }
  .services__card h3,
  .tech__item h3,
  .team__card h3 { font-size: 0.95rem; line-height: 1.25; margin-bottom: 0.4rem; }
  .services__card p,
  .tech__item p,
  .team__card p { font-size: 0.78rem; line-height: 1.45; }

  .testimonial__card { padding: 1.25rem; }
  .testimonial__text { font-size: 0.95rem; line-height: 1.6; margin-bottom: 1rem; }

  /* Footer — 2-col instead of stacked, lighter type */
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; padding-bottom: 2.5rem; }
  .footer__links h4 { margin-bottom: 0.75rem; }
  .footer__links li, .footer__links a { font-size: 0.78rem; }
}

/* Mid-phone breakpoint — team drops to 1-col so faces don't shrink past readable. */
@media (max-width: 640px) {
  .team__grid { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 480px) {
  /* Container floor raised from 0.75rem so content isn't 12px-edge on iPhone SE. */
  .container { padding: 0 1rem; }
  .section { padding: 1.75rem 0; }
  .section-header { margin-bottom: 1.5rem; }
  .section-title { font-size: clamp(1.3rem, 6.5vw, 1.7rem); }
  .section-sub { font-size: 0.82rem; }

  /* Hero card on tiny phones — still centered, slightly smaller to fit */
  .hero__content { max-width: 280px; padding: 0.85rem 1rem 1rem; }
  .hero__title { font-size: clamp(1.5rem, 6.5vw, 1.9rem); }
  .hero__sub { font-size: 0.75rem; line-height: 1.45; }
  .hero__actions .btn { padding: 0.55rem 0.85rem; font-size: 0.65rem; letter-spacing: 0.08em; }

  /* Gallery stays 2-col (image density wanted); team stays 1-col from the
     640px rule above; services/tech stay 1-col from the 768px rule. */
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }

  /* Cards stay readable on iPhone SE — slightly less padding than 768px */
  .services__card,
  .tech__item,
  .team__card,
  .pricing-card { padding: 0.9rem; }
  .services__card h3,
  .tech__item h3,
  .team__card h3 { font-size: 0.9rem; }
  .services__card p,
  .tech__item p,
  .team__card p { font-size: 0.78rem; line-height: 1.45; }

  /* Footer stays 2-col on tiny screens too */
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer__links li, .footer__links a { font-size: 0.72rem; }

  .cta-banner__inner { align-items: flex-start; }
}

/* ── MOBILE MENU OVERLAY ─────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-out-expo);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
}

.mobile-menu__close span {
  position: absolute;
  width: 24px;
  height: 1.5px;
  background: var(--ivory);
  transition: background 0.2s;
}

.mobile-menu__close span:first-child { transform: rotate(45deg); }
.mobile-menu__close span:last-child  { transform: rotate(-45deg); }
.mobile-menu__close:hover span { background: var(--gold-light); }

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
}

.mobile-menu__link {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 8vw, 2.8rem);
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.mobile-menu__link:hover { color: var(--gold-light); }

.mobile-menu__cta {
  margin-top: 3rem;
}

/* ── LANGUAGE SWITCHER ───────────────────────────────────── */
.lang-switcher {
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
}
.lang-btn {
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  background: rgba(255,255,255,0.08);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.lang-btn .fi,
.lang-btn__flag {
  width: 1.3em;
  height: 0.95em;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.lang-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(168,121,58,0.12);
}
.lang-btn--active {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.nav.scrolled .lang-btn {
  color: var(--mid);
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.12);
}
.nav.scrolled .lang-btn--active {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.nav.scrolled .lang-btn:not(.lang-btn--active):hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(168,121,58,0.08);
}
/* Mobile menu lang buttons */
.mobile-menu .lang-btn {
  font-size: 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
}
.mobile-menu .lang-btn--active {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.mobile-menu .lang-btn .fi,
.mobile-menu .lang-btn__flag {
  width: 1.4em;
  height: 1.05em;
}

/* ── SOCIAL ICON COLOURS ─────────────────────────────────── */
.footer__social--instagram { color: #E1306C; border-color: rgba(225,48,108,0.3); }
.footer__social--instagram:hover { color: #E1306C; border-color: #E1306C; }
.footer__social--facebook { color: #1877F2; border-color: rgba(24,119,242,0.3); }
.footer__social--facebook:hover { color: #1877F2; border-color: #1877F2; }

/* ── CLICKABLE CARDS ─────────────────────────────────────── */
.services__card--link,
.tech__item--link,
.pricing-card--link {
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.services__card--link:hover {
  border-color: rgba(168,121,58,0.4);
  box-shadow: 0 8px 32px rgba(168,121,58,0.12);
  transform: translateY(-2px);
}
.tech__item--link:hover {
  border-color: rgba(168,121,58,0.4);
  box-shadow: 0 8px 32px rgba(168,121,58,0.12);
}
.pricing-card--link:hover {
  border-color: rgba(168,121,58,0.5);
  box-shadow: 0 8px 32px rgba(168,121,58,0.15);
  transform: translateY(-2px);
}

/* ── WHATSAPP FLOATING BUTTON ────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 150;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.whatsapp-float svg { width: 30px; height: 30px; }

/* ── SERVICE DETAIL PAGES ────────────────────────────────── */
.service-intro { background: var(--ivory); }
.service-intro__lead {
  font-family: var(--ff-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  line-height: 1.7;
  color: var(--dark);
  max-width: 760px;
  margin: 0 auto 1.5rem;
  text-align: center;
}
.service-intro__body {
  max-width: 700px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--mid);
  text-align: center;
}
.service-steps { background: var(--dark); }
.service-steps__title,
.service-suitability__title,
.service-cases__title {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 3rem;
}
.service-steps__title { color: var(--ivory); }
.service-steps__title em,
.service-cases__title em { color: var(--gold-light); font-style: italic; }
.service-suitability__title em,
.service-cta__title em { color: var(--gold); font-style: italic; }
.service-steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.service-step {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
}
.service-step__num {
  font-family: var(--ff-serif);
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.service-step h3 {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}
.service-step p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(250,248,244,0.55);
}
.service-suitability { background: var(--ivory); }
.service-checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}
.service-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.service-check__icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.service-check p { font-size: 0.9rem; line-height: 1.6; color: var(--dark); }
.service-cases { background: var(--dark); }
.service-cases__title { color: var(--ivory); }
.service-cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-cta {
  background: var(--ivory);
  text-align: center;
  padding: 7rem 0;
}
.service-cta__title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.service-cta__sub {
  font-size: 0.95rem;
  color: var(--mid);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
/* Service "Learn more" arrows on cards */
.services__card__more {
  display: block;
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold);
}
.pricing-card__more {
  display: block;
  margin-top: 1rem;
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold);
}
@media (max-width: 900px) {
  .service-cases__grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .service-steps__grid { grid-template-columns: 1fr 1fr; }
  .service-checks { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .service-steps__grid { grid-template-columns: 1fr; }
}

/* ── PRICING PAGE ────────────────────────────────────────── */
.page-hero {
  padding: 10rem 0 5rem;
  background: var(--dark);
  text-align: center;
}
.page-hero__eyebrow {
  font-family: var(--ff-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.page-hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.15;
}
.page-hero__title em { color: var(--gold-light); font-style: italic; }
.page-hero__sub {
  margin-top: 1.2rem;
  color: rgba(250,248,244,0.6);
  font-size: 1rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-section { padding: 5rem 0; }
.pricing-category {
  margin-bottom: 4rem;
}
.pricing-category__title {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.pricing-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.pricing-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.pricing-card__name {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--dark);
}
.pricing-card__desc {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.55;
  flex: 1;
}
.pricing-card__price {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 0.5rem;
}
.pricing-card__note {
  font-size: 0.75rem;
  color: var(--mid);
}
.pricing-disclaimer {
  text-align: center;
  color: var(--mid);
  font-size: 0.85rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ── CASES PAGE ──────────────────────────────────────────── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.cases-grid .gallery__item { gap: 0.85rem; }
.cases-grid .gallery__caption {
  font-size: 0.95rem;
  font-weight: 500;
}
.cases-grid .gallery__caption span {
  display: block;
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  color: var(--mid);
  font-style: normal;
  margin-top: 0.2rem;
}

/* extra BA placeholder gradients for cases page */
.ba-img--4  { background: linear-gradient(135deg, #e8e0d2 0%, #c8b890 100%); }
.ba-img--5  { background: linear-gradient(135deg, #f2e8d8 0%, #d8ba80 100%); }
.ba-img--6  { background: linear-gradient(135deg, #ece4d4 0%, #ccae78 100%); }
.ba-img--7  { background: linear-gradient(135deg, #eee6d6 0%, #d4b870 100%); }
.ba-img--8  { background: linear-gradient(135deg, #f0e9da 0%, #dfc282 100%); }
.ba-img--9  { background: linear-gradient(135deg, #ede5d5 0%, #d6bc7a 100%); }
.ba-img--10 { background: linear-gradient(135deg, #f3ebe0 0%, #e2c888 100%); }
.ba-img--11 { background: linear-gradient(135deg, #ebe3d3 0%, #d0b46e 100%); }
.ba-img--12 { background: linear-gradient(135deg, #f1e9d9 0%, #ddc07e 100%); }

@media (max-width: 1024px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .cases-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 8rem 0 4rem; }
}

/* ═══════════════════════════════════════════════════════════
   NEW COMPONENTS — Loading Screen, Transitions, WA Popup,
   Cookie Banner, Tourism Page, Instagram Feed, Blog
═══════════════════════════════════════════════════════════ */

/* ── LOADING SCREEN ──────────────────────────────────────── */
/* Scroll lock while the loader is up — released by the dismiss
   handler in main.js §19. Prevents the user from scrolling into
   the pinned hero before the frame cache is built. */
html.is-loading,
html.is-loading body {
  overflow: hidden !important;
  height: 100%;
  touch-action: none;
  overscroll-behavior: none;
}

/* Self-healing reset: if is-loading sticks (bfcache, hash nav, double-fire),
   removing the class restores scroll without needing JS coordination. */
html:not(.is-loading) { overflow: auto !important; }
html:not(.is-loading) body:not(.menu-open) {
  overflow: auto !important;
  touch-action: auto;
}

/* Mobile menu uses a class instead of inline style so the !important
   reset above composes cleanly. */
body.menu-open { overflow: hidden; touch-action: none; }

/* Defensive hide of the hidden source video — inline display:none on
   the element is the primary guard, but iOS Safari has been known to
   flash decoded frames of an unstyled <video> during load. */
#heroVideoSrc {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.loader__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.loader__logo-img {
  height: 110px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  image-rendering: -webkit-optimize-contrast;
}
.loader__logo-dr {
  font-family: var(--ff-serif);
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--ivory);
}
.loader__logo-sub {
  font-family: var(--ff-sans);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}
.loader__bar {
  width: 200px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.loader__bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 2px;
  transition: width 220ms ease-out;
  will-change: width;
}

/* ── PAGE TRANSITION OVERLAY ─────────────────────────────── */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--gold);
  z-index: 9998;
  transform: scaleY(0);
  transform-origin: bottom center;
  pointer-events: none;
}

/* ── WHATSAPP CHAT POPUP ─────────────────────────────────── */
.wa-popup {
  position: fixed;
  bottom: 7.5rem;
  right: 2rem;
  width: 300px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.18);
  z-index: 160;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  overflow: hidden;
}
.wa-popup__close {
  position: absolute;
  top: 0.6rem;
  right: 0.75rem;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.7);
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: color 0.2s;
  z-index: 2;
}
.wa-popup__close:hover { color: #fff; }
.wa-popup__header {
  background: #075E54;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.wa-popup__avatar {
  width: 42px;
  height: 42px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-popup__avatar svg { width: 22px; height: 22px; }
.wa-popup__info { display: flex; flex-direction: column; gap: 0.2rem; }
.wa-popup__info strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}
.wa-popup__status {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
}
.wa-popup__message { padding: 1rem; background: #ECE5DD; }
.wa-popup__bubble {
  background: #fff;
  border-radius: 0 8px 8px 8px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--dark);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  max-width: 90%;
}
.wa-popup__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  background: #25D366;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s;
  text-decoration: none;
}
.wa-popup__cta:hover { background: #1da851; color: #fff; }
@media (max-width: 480px) { .wa-popup { width: calc(100vw - 3rem); right: 1.5rem; } }
/* Mobile: hide the chat popup entirely — the floating WhatsApp button
   covers the same intent without occupying real estate on small screens. */
@media (max-width: 768px) { .wa-popup { display: none !important; } }

/* ── COOKIE CONSENT ──────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 680px);
  background: var(--dark);
  border: 1px solid rgba(168,121,58,0.35);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 9000;
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.cookie-banner__text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  flex: 1;
}
.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
}
.cookie-banner__accept {
  padding: 0.5rem 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.cookie-banner__learn {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
  font-family: var(--ff-sans);
}
.cookie-banner__learn:hover { color: var(--gold-light); }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; text-align: center; bottom: 0; left: 0; right: 0; width: 100%; border-radius: 0; transform: translateX(0) translateY(20px); }
  .cookie-banner__actions { width: 100%; justify-content: center; }
}

/* ── INSTAGRAM FEED ──────────────────────────────────────── */
.instagram-feed__placeholder {
  border: 1px dashed var(--border);
  border-radius: 6px;
  padding: 4rem 2rem;
  text-align: center;
  background: var(--white);
}
.instagram-feed__setup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--mid);
}
.instagram-feed__setup svg { color: var(--gold); opacity: 0.6; }
.instagram-feed__setup strong { color: var(--dark); font-size: 1rem; }
.instagram-feed__setup p { font-size: 0.875rem; max-width: 380px; }

/* ── TOURISM PAGE ────────────────────────────────────────── */

/* Hero */
.tourism-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6rem;
  overflow: hidden;
}
.tourism-hero__video-wrap {
  position: absolute;
  inset: 0;
}
.tourism-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tourism-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,28,30,0.88) 0%, rgba(28,28,30,0.45) 50%, rgba(28,28,30,0.25) 100%);
}
.tourism-hero__inner {
  position: relative;
  z-index: 2;
}
.tourism-hero__eyebrow {
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}
.tourism-hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 1.5rem;
}
.tourism-hero__title em { color: var(--gold-light); font-style: italic; }
.tourism-hero__sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(250,248,244,0.75);
  max-width: 560px;
  margin-bottom: 2.5rem;
}
.tourism-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.tourism-hero__badges {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.tourism-hero__badge {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.tourism-hero__badge-num {
  font-family: var(--ff-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
}
.tourism-hero__badge-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,248,244,0.55);
}
.tourism-hero__badge-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* Savings Table */
.savings__table {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.savings__table-head,
.savings__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  align-items: center;
}
.savings__table-head {
  background: var(--dark);
  padding: 0.9rem 1.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}
.savings__row {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.savings__row:last-child { border-bottom: none; }
.savings__row:hover { background: var(--ivory); }
.savings__col--treatment strong {
  display: block;
  font-family: var(--ff-serif);
  font-size: 1rem;
  color: var(--dark);
  font-weight: 500;
}
.savings__col--treatment span {
  font-size: 0.72rem;
  color: var(--mid);
  margin-top: 0.15rem;
  display: block;
}
.savings__col--uk, .savings__col--de {
  font-size: 0.85rem;
  color: var(--mid);
  text-decoration: line-through;
  text-decoration-color: rgba(107,107,107,0.3);
}
.savings__col--ks {
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 600;
}
.savings__col--highlight { color: var(--gold-dark) !important; }
.savings__badge {
  display: inline-block;
  background: rgba(168,121,58,0.12);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  border: 1px solid rgba(168,121,58,0.2);
}
.savings__disclaimer {
  font-size: 0.8rem;
  color: var(--mid);
  font-style: italic;
  text-align: center;
  margin-top: 1rem;
}
@media (max-width: 768px) {
  .savings__table-head,
  .savings__row { grid-template-columns: 1.5fr 0 0 1fr 0.8fr; }
  .savings__col--uk, .savings__col--de, .savings__table-head .savings__col--uk, .savings__table-head .savings__col--de { display: none; }
}

/* Why Kosovo */
.why-kosovo__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.why-kosovo__card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.3s, transform 0.3s;
  background: var(--white);
}
.why-kosovo__card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.why-kosovo__icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.why-kosovo__icon svg { width: 26px; height: 26px; }
.why-kosovo__card h3 {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  font-weight: 500;
}
.why-kosovo__card p { font-size: 0.88rem; line-height: 1.7; color: var(--mid); }
@media (max-width: 1024px) { .why-kosovo__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-kosovo__grid { grid-template-columns: 1fr; } }

/* Journey Timeline */
.journey__timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
}
.journey__step {
  display: grid;
  grid-template-columns: 64px 2px 1fr;
  gap: 0 1.5rem;
  align-items: start;
}
.journey__step-num {
  font-family: var(--ff-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  text-align: center;
  padding-top: 0.1rem;
}
.journey__connector {
  background: var(--border);
  width: 1px;
  min-height: 100%;
  justify-self: center;
}
.journey__connector--last { background: transparent; }
.journey__step-content {
  padding: 0 0 3rem 0;
}
.journey__step-content h3 {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--dark);
}
.journey__step-content p { font-size: 0.9rem; line-height: 1.75; color: var(--mid); }
.journey__step-tag {
  display: inline-block;
  margin-top: 0.875rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(168,121,58,0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  border: 1px solid rgba(168,121,58,0.18);
}

/* Packages */
.packages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}
.packages__card {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
  background: var(--white);
}
.packages__card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.packages__card--featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.packages__card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
}
.packages__card-header {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.packages__card-tag {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.packages__card-header h3 {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 1rem;
}
.packages__card-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.packages__price-from {
  font-size: 0.75rem;
  color: var(--mid);
}
.packages__price-num {
  font-family: var(--ff-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--dark);
}
.packages__card-list {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 1;
  list-style: none;
}
.packages__card-list li {
  font-size: 0.875rem;
  color: var(--mid);
  padding-left: 1.25rem;
  position: relative;
}
.packages__card-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.75rem;
}
.packages__card-cta {
  margin: 0 2rem 2rem;
  text-align: center;
}
@media (max-width: 900px) { .packages__grid { grid-template-columns: 1fr; max-width: 460px; } }

/* Logistics */
.logistics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.logistics__card {
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.3s;
}
.logistics__card:hover { box-shadow: var(--shadow-sm); }
.logistics__icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.logistics__icon svg { width: 26px; height: 26px; }
.logistics__card h3 {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark);
}
.logistics__card > p { font-size: 0.88rem; line-height: 1.7; color: var(--mid); }
.logistics__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.logistics__list li { font-size: 0.82rem; color: var(--mid); }
@media (max-width: 900px) { .logistics__grid { grid-template-columns: 1fr; } }

/* Tourism FAQ — reuse existing .faq styles */
#faq-tourism .faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  font-family: var(--ff-serif);
  font-weight: 400;
  color: var(--dark);
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  text-align: left;
  gap: 1rem;
  transition: color 0.3s;
}
#faq-tourism .faq__question:hover { color: var(--gold); }
#faq-tourism .faq__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
#faq-tourism .faq__icon svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease-out-quint); }
#faq-tourism .faq__item.open .faq__icon { border-color: var(--gold); background: var(--gold); }
#faq-tourism .faq__item.open .faq__icon svg { transform: rotate(180deg); color: #fff; }
#faq-tourism .faq__item.open .faq__question { color: var(--gold); }
#faq-tourism .faq__answer {
  height: 0;
  overflow: hidden;
}
#faq-tourism .faq__answer p {
  padding: 1rem 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--mid);
}

/* Tourism CTA banner multi-button */
.cta-banner__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── BLOG PAGES ──────────────────────────────────────────── */
.blog-hero {
  padding: 9rem 0 5rem;
  background: var(--dark);
  text-align: center;
}
.blog-hero__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.blog-hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.blog-hero__title em { color: var(--gold-light); font-style: italic; }
.blog-hero__sub {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(250,248,244,0.6);
  max-width: 520px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 5rem 0;
}
.blog-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
  background: var(--white);
  position: relative;
}
.blog-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.blog-card__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card__thumb-placeholder {
  width: 100%;
  height: 100%;
}
.blog-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.blog-card__cat {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.blog-card__title {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.3;
}
.blog-card__excerpt {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--mid);
  flex: 1;
}
.blog-card__link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.2s;
}
.blog-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.blog-card__link:hover { color: var(--gold-dark); }

/* Article page */
.article-hero {
  padding: 9rem 0 4rem;
  background: var(--dark);
}
.article-hero__inner { max-width: 760px; }
.article-hero__cat {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.article-hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.article-hero__meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}
.article-hero__meta span { color: var(--gold-light); }

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 2rem 7rem;
}
.article-body h2 {
  font-family: var(--ff-serif);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--dark);
  margin: 3rem 0 1rem;
  line-height: 1.2;
}
.article-body h3 {
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--dark);
  margin: 2rem 0 0.75rem;
}
.article-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--mid);
  margin-bottom: 1.25rem;
}
.article-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.article-body li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 0.4rem;
}
.article-body strong { color: var(--dark); font-weight: 600; }
.article-cta {
  margin-top: 4rem;
  padding: 3rem;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-align: center;
}
.article-cta h3 {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--dark);
  margin: 0 0 0.75rem;
}
.article-cta p {
  font-size: 0.9rem;
  color: var(--mid);
  margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .packages__grid { max-width: 100%; }
  .tourism-hero__badges { gap: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE IMPROVEMENTS — comprehensive responsive polish
═══════════════════════════════════════════════════════════ */

/* ── GLOBAL BUTTON TAP TARGETS ───────────────────────────── */
@media (max-width: 768px) {
  .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
  .faq__q { min-height: 52px; }
}

/* ── NAV ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav__cta { display: none; }
  .lang-switcher { gap: 0.2rem; }
}
/* On very small screens hide text labels from lang buttons, show flags only */
@media (max-width: 360px) {
  .lang-btn { font-size: 0; padding: 0.3rem 0.5rem; }
  .lang-btn .fi,
  .lang-btn__flag { width: 1.5em; height: 1.15em; }
}
.nav__hamburger { min-width: 44px; min-height: 44px; }

/* ── HERO ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding-top: 0; }
  .hero__content { padding-top: 5rem; padding-bottom: 3rem; }
  .hero__title { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .hero__sub { font-size: 0.95rem; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero__ctas .btn { text-align: center; }
}
@media (max-width: 480px) {
  .hero__title { font-size: clamp(2rem, 11vw, 2.8rem); }
}

/* ── SERVICES SECTION ────────────────────────────────────── */
@media (max-width: 900px) {
  .services__inner { flex-direction: column; }
  .services__video-wrap { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .services__grid { grid-template-columns: 1fr; }
  .services__card { padding: 1.5rem; }
}

/* ── GALLERY / CASES — homepage stays single-column, max-width handles scaling ── */
@media (max-width: 768px) {
  .ba-handle__circle { width: 52px; height: 52px; }
  .ba-drag-hint { font-size: 0.65rem; padding: 0.35rem 0.8rem; bottom: 2.8rem; }
}

/* ── TECH ITEMS ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .tech__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 480px) {
  .tech__list { grid-template-columns: 1fr; }
  .tech__item { text-align: left; padding: 1rem 1.25rem; }
}

/* ── PRICING ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .pricing-category__title { font-size: clamp(1.4rem, 5vw, 1.8rem); }
}
@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── BLOG ARTICLES ───────────────────────────────────────── */
@media (max-width: 768px) {
  .article-hero h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .article-body { padding: 2rem 1.25rem; }
  .article-body p, .article-body li { font-size: 1rem; line-height: 1.85; }
}

/* ── PAGE HERO ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .page-hero { padding: 7rem 0 3.5rem; }
  .page-hero__title { font-size: clamp(2rem, 8vw, 3rem); }
}

/* ── FOOTER ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .footer__inner { gap: 2.5rem; }
  .footer__links ul li { line-height: 2; }
}

/* ── SECTION PADDING ─────────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .service-cta { padding: 5rem 0; }
}
@media (max-width: 480px) {
  .section { padding: 3.5rem 0; }
  .container { padding: 0 1.25rem; }
}

/* ═══════════════════════════════════════ STATIC CASES GALLERY ═══ */
.cases-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cases-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--cream, #f7f3ec);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.cases-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.cases-gallery__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
@media (max-width: 900px) {
  .cases-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 560px) {
  .cases-gallery__grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE POLISH PASS — phone-first refinements
═══════════════════════════════════════════════════════════ */

/* Global: prevent any rogue element from causing sideways scroll on mobile */
html, body { overflow-x: hidden; }

@media (max-width: 768px) {
  /* Hero: hide the side scroll hint (collides with centered CTAs on mobile) */
  .hero__scroll-hint { display: none; }

  /* Hero content: center text on mobile (desktop is right-flush) */
  .hero__inner { justify-content: center; }
  .hero__content { max-width: 100%; text-align: center; }
  .hero__content > * { text-align: center; margin-left: auto; margin-right: auto; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }

  /* Dr. Intro: stop the photo mask from clipping shoulders on narrow viewports */
  .dr-intro__photo {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  }
  /* Dr. Intro: don't reserve a full viewport height when stacked */
  .dr-intro { min-height: auto; }
  .dr-intro__photo-wrap { min-height: 65vw; }

  /* About: hide the offset accent border on mobile (overflows + adds noise) */
  .about__photo-accent { display: none; }
  .about__photo-wrap { margin: 0 auto; }

  /* Offices: switch from CSS columns to a clean flex stack to avoid orphan breaks */
  .offices__mosaic { column-count: unset; column-gap: 0; display: flex; flex-direction: column; gap: 1rem; }

  /* Location: guarantee the embedded map has a visible height */
  .location__map iframe { min-height: 280px; }

  /* WhatsApp float button: lift it above the cookie banner */
  .whatsapp-float { bottom: 5rem; }
}

@media (max-width: 480px) {
  /* Stats: force single-column on tiny screens — wrap-of-3 looks like an error */
  .stats__grid { flex-direction: column; gap: 1.5rem; }

  /* CTA banner: full-width button to keep it tappable on narrow screens */
  .cta-banner .btn--lg { width: 100%; text-align: center; }
}

/* ════════════════════════════════════════════════════════════════════════
   MOBILE ZOOM-OUT + DENSITY OVERRIDE
   Lives at the very end so it wins source-order battles vs. the page-
   specific 1-col rules earlier in the file. Goal: shrink the whole site
   proportionally on phones (root font-size drop) and force every grid
   to 2-col so nothing reads as "one card per screen."
   ════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* Root scale-down — every rem unit (text, padding, gap, margin) shrinks
     proportionally. ~12% zoom-out across the entire mobile experience. */
  html { font-size: 14px; }

  /* Force every multi-item grid/stack to 2-col on mobile.
     Long-content sections (testimonials, contact, blog, cases) included
     per user's "no single columns" rule. */
  .services__grid,
  .services__inner,
  .team__grid,
  .gallery__grid,
  .tech__list,
  .testimonials__grid,
  .contact__row,
  .about__inner,
  .location__inner,
  .footer__inner,
  .service-cases__grid,
  .service-checks,
  .service-steps__grid,
  .cases-grid,
  .cases-gallery__grid,
  .why-kosovo__grid,
  .packages__grid,
  .logistics__grid,
  .blog-grid,
  .pricing-grid,
  .dr-intro { grid-template-columns: 1fr 1fr !important; gap: 0.6rem !important; }

  /* Bring the smile video back on the right of the services grid on mobile.
     The earlier @media (max-width: 900px) block hides it with display:none. */
  .services__video-wrap { display: block !important; min-height: 0 !important; }
  .services__video      { height: 100%; min-height: 240px; object-position: center; }

  /* Stats + CTA banner: switch from column-stack back to 2-up wrap */
  .stats__grid { flex-direction: row !important; flex-wrap: wrap !important; justify-content: space-around !important; gap: 1rem !important; }
  .stats__item { flex: 1 1 40% !important; min-width: 0 !important; }
  .cta-banner__inner { flex-direction: row !important; flex-wrap: wrap !important; gap: 1rem !important; align-items: center !important; }

  /* Offices: switch the late-stage flex-column override back to a 2-col grid */
  .offices__mosaic { display: grid !important; grid-template-columns: 1fr 1fr !important; column-count: unset !important; gap: 0.6rem !important; flex-direction: unset !important; }

  /* Card internals — keep them readable inside narrower 2-col cells */
  .testimonial__card { padding: 0.85rem !important; }
  .testimonial__text { font-size: 0.78rem !important; line-height: 1.5 !important; margin-bottom: 0.7rem !important; }
  .testimonial__author strong { font-size: 0.72rem !important; }
  .testimonial__author span { font-size: 0.65rem !important; }
  .testimonial__avatar { width: 28px !important; height: 28px !important; }
}

@media (max-width: 480px) {
  /* Even more zoom-out on small phones — 13px root */
  html { font-size: 13px; }

  /* Tighter container so 2-col cells get the most width possible */
  .container { padding: 0 0.6rem !important; }

  /* Card grids hold 2-col with a hair-tight gap */
  .services__grid,
  .services__inner,
  .team__grid,
  .gallery__grid,
  .tech__list,
  .testimonials__grid,
  .contact__row,
  .about__inner,
  .location__inner,
  .footer__inner,
  .service-cases__grid,
  .service-checks,
  .service-steps__grid,
  .cases-grid,
  .cases-gallery__grid,
  .why-kosovo__grid,
  .packages__grid,
  .logistics__grid,
  .blog-grid,
  .pricing-grid,
  .dr-intro { grid-template-columns: 1fr 1fr !important; gap: 0.45rem !important; }

  .offices__mosaic { gap: 0.45rem !important; }
  .stats__grid { gap: 0.7rem !important; }
}

/* ── BLOG ARTICLE END: AUTHOR BIO + RELATED POSTS ────────── */
.article-end {
  background: var(--ivory);
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--border);
}
.article-end__wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.author-bio {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 3.5rem;
}
.author-bio__photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid var(--gold);
}
.author-bio__name {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0 0 0.25rem;
  color: var(--dark);
}
.author-bio__role {
  color: var(--gold-dark);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.65rem;
}
.author-bio__text {
  margin: 0 0 0.65rem;
  line-height: 1.6;
  color: var(--dark);
  opacity: 0.8;
  font-size: 0.95rem;
}
.author-bio__link {
  color: var(--gold-dark);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}
.related-posts__heading {
  font-family: var(--ff-serif);
  font-weight: 300;
  font-size: 1.75rem;
  color: var(--dark);
  margin: 0 0 1.5rem;
}
.related-posts .blog-grid {
  padding: 0;
  gap: 1.5rem;
}
@media (max-width: 720px) {
  .author-bio { grid-template-columns: 1fr; text-align: center; }
  .author-bio__photo { margin: 0 auto; }
  .related-posts .blog-grid { grid-template-columns: 1fr; }
}
