/* =====================================================================
   ADC – Antalya Dentist Clinic
   Visual identity: Mediterranean medical-luxury
   - Deep petrol/teal (from logo) + Antalya warm cream + golden accent
   - Type pairing: Fraunces (display) × Manrope (body)
   ===================================================================== */

/* ----------------------------------------------------------- TOKENS */
:root {
  /* Colour palette */
  --c-ink:        #0E2A2E;   /* deep petrol — primary text */
  --c-ink-soft:   #2A4248;
  --c-teal:       #1F6E72;   /* brand teal — from logo */
  --c-teal-deep:  #144B4F;
  --c-teal-soft:  #6FA8AB;
  --c-sand:       #F6F1E7;   /* warm cream background */
  --c-sand-deep:  #ECE3CF;
  --c-paper:      #FBF8F1;
  --c-white:      #FFFFFF;
  --c-gold:       #B98A3C;   /* warm Antalya sun accent */
  --c-gold-deep:  #8E6824;
  --c-line:       #DCD0B5;
  --c-success:    #1F6E72;

  /* Typography */
  --f-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --f-body:    "Manrope", "Helvetica Neue", system-ui, sans-serif;

  /* Spacing scale */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px;  --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px;  --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Effects */
  --r-sm: 6px;  --r-md: 14px; --r-lg: 24px; --r-xl: 40px;
  --shadow-sm: 0 2px 8px rgba(14, 42, 46, .06);
  --shadow-md: 0 12px 36px rgba(14, 42, 46, .10);
  --shadow-lg: 0 30px 80px rgba(14, 42, 46, .18);

  /* Layout */
  --container: 1240px;
  --header-h:  84px;
  --ease:      cubic-bezier(.2, .8, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-sand);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

::selection { background: var(--c-teal); color: var(--c-paper); }

/* ----------------------------------------------------------- TYPOGRAPHY */
.display,
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: var(--c-ink);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.1; }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.2; }

.eyebrow {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-teal);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
  display: inline-block;
}

.lead {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--c-ink-soft);
  max-width: 60ch;
}

/* ----------------------------------------------------------- LAYOUT */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.section {
  padding: clamp(var(--s-8), 10vw, var(--s-10)) 0;
  position: relative;
}
.section--paper { background: var(--c-paper); }
.section--ink   { background: var(--c-ink); color: var(--c-sand); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--c-paper); }
.section--ink .eyebrow { color: var(--c-gold); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin-bottom: var(--s-8);
  max-width: 760px;
}

/* ----------------------------------------------------------- BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all .35s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--c-teal);
  color: var(--c-paper);
  box-shadow: 0 8px 24px rgba(31, 110, 114, .25);
}
.btn--primary:hover {
  background: var(--c-teal-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(31, 110, 114, .35);
}
.btn--gold {
  background: var(--c-gold);
  color: var(--c-paper);
}
.btn--gold:hover { background: var(--c-gold-deep); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--c-paper);
  border: 1px solid rgba(255,255,255,.5);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: var(--c-paper); }
.btn--outline {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-ink);
}
.btn--outline:hover { background: var(--c-ink); color: var(--c-paper); }
.btn--whatsapp { background: #25D366; color: white; }
.btn--whatsapp:hover { background: #128C7E; transform: translateY(-2px); }

.btn svg { width: 16px; height: 16px; }

/* ----------------------------------------------------------- HEADER */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(251, 248, 241, 0.85);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.header.scrolled {
  background: rgba(251, 248, 241, 0.96);
  border-bottom-color: var(--c-line);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-shrink: 0;
}
.header__logo img { height: 48px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
  position: relative;
  padding: 4px 0;
  transition: color .3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  inset: auto 0 -4px 0;
  height: 1px;
  background: var(--c-gold);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--c-teal); }
.nav__link:hover::after { transform: scaleX(1); }

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}

/* Language switcher */
.lang {
  position: relative;
}
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 8px 14px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: transparent;
  color: var(--c-ink);
  transition: all .25s;
}
.lang__btn:hover { border-color: var(--c-teal); color: var(--c-teal); }
.lang__btn svg { width: 12px; height: 12px; transition: transform .25s; }
.lang.open .lang__btn svg { transform: rotate(180deg); }
.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: var(--s-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .25s var(--ease);
}
.lang.open .lang__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang__option {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  text-align: left;
  transition: background .2s;
}
.lang__option:hover { background: var(--c-sand); }
.lang__option.active { color: var(--c-teal); font-weight: 600; }
.lang__flag { font-size: 18px; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  z-index: 101;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--c-ink);
  margin: 5px auto;
  transition: all .3s var(--ease);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ----------------------------------------------------------- HERO */
.hero {
  position: relative;
  min-height: 100vh;
  margin-top: var(--header-h);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero__slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero__slide.active { opacity: 1; }
.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(14, 42, 46, .82) 0%,
    rgba(14, 42, 46, .55) 45%,
    rgba(14, 42, 46, .25) 100%
  );
}
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 8s linear;
}
.hero__slide.active img { transform: scale(1); }

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--s-9) 0 var(--s-8);
}
.hero__caption {
  max-width: 720px;
  color: var(--c-paper);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-gold);
  margin-bottom: var(--s-5);
  opacity: 0;
  animation: fadeUp 1s var(--ease) .3s forwards;
}
.hero__eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: currentColor;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  font-weight: 300;
  color: var(--c-paper);
  margin-bottom: var(--s-5);
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) .5s forwards;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.hero h1 em {
  font-style: italic;
  color: var(--c-gold);
  font-weight: 400;
}
.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: rgba(251, 248, 241, .85);
  max-width: 540px;
  margin-bottom: var(--s-6);
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) .8s forwards;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 1s forwards;
}

/* Hero slide indicators */
.hero__nav {
  position: absolute;
  bottom: var(--s-7);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--s-2);
  z-index: 3;
}
.hero__dot {
  width: 32px; height: 2px;
  background: rgba(251, 248, 241, .35);
  border: 0; padding: 0;
  cursor: pointer;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.hero__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
}
.hero__dot.active { width: 56px; }
.hero__dot.active::after {
  animation: progress 6s linear forwards;
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  right: var(--s-5);
  bottom: var(--s-7);
  z-index: 3;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(251, 248, 241, .7);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 40px;
  background: var(--c-gold);
  animation: scrollLine 2s var(--ease) infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes progress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; }
  50%      { transform: scaleY(1); transform-origin: top; }
}

/* ----------------------------------------------------------- ABOUT */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-9);
  align-items: start;
}
.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
.value {
  padding: var(--s-5);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition: all .35s var(--ease);
}
.value:hover {
  transform: translateY(-4px);
  border-color: var(--c-teal);
  box-shadow: var(--shadow-md);
}
.value__num {
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--c-gold);
  letter-spacing: 0.1em;
  margin-bottom: var(--s-3);
  font-style: italic;
}
.value h3 {
  font-size: 1.2rem;
  margin-bottom: var(--s-3);
}
.value p { font-size: 14px; color: var(--c-ink-soft); line-height: 1.6; }

/* ----------------------------------------------------------- FOUNDER */
.founder {
  background: var(--c-ink);
  color: var(--c-paper);
  position: relative;
  overflow: hidden;
}
.founder::before {
  content: "“";
  position: absolute;
  font-family: var(--f-display);
  font-size: 28rem;
  color: var(--c-teal-deep);
  opacity: 0.3;
  top: -8rem;
  right: 4rem;
  line-height: 1;
  font-style: italic;
  pointer-events: none;
}
.founder__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
  z-index: 2;
}
.founder__img {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--c-teal-deep);
}
.founder__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
}
.founder__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(14, 42, 46, .5));
}
.founder h2 {
  color: var(--c-paper);
  margin: var(--s-4) 0 var(--s-5);
  font-style: italic;
  font-weight: 300;
}
.founder__body {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.6;
  color: rgba(251, 248, 241, .92);
  font-weight: 300;
  font-style: italic;
}
.founder__sign {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-teal-deep);
}
.founder__sign-name {
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: var(--c-gold);
  font-style: italic;
}
.founder__sign-role {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 248, 241, .6);
  margin-top: var(--s-2);
}

/* ----------------------------------------------------------- DENTISTS */
.dentists__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
}
.dentist {
  background: var(--c-paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  transition: all .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.dentist:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.dentist__img {
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
  background: var(--c-sand-deep);
}
.dentist__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.dentist:hover .dentist__img img { transform: scale(1.04); }
.dentist__body {
  padding: var(--s-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dentist__role {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 600;
  margin-bottom: var(--s-3);
}
.dentist h3 {
  margin-bottom: var(--s-4);
}
.dentist__bio {
  font-size: 14px;
  color: var(--c-ink-soft);
  margin-bottom: var(--s-5);
  line-height: 1.65;
}
.dentist__specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: auto;
}
.dentist__spec {
  font-size: 12px;
  padding: 6px 12px;
  background: var(--c-sand);
  color: var(--c-teal-deep);
  border-radius: 999px;
  border: 1px solid var(--c-line);
}

/* ----------------------------------------------------------- TREATMENTS */
.treatments__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
}
.treatment {
  padding: var(--s-6);
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-paper);
  position: relative;
  cursor: pointer;
  transition: all .4s var(--ease);
  overflow: hidden;
}
.treatment::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-ink);
  transform: translateY(100%);
  transition: transform .5s var(--ease);
  z-index: 0;
}
.treatment:hover::before { transform: translateY(0); }
.treatment > * { position: relative; z-index: 1; transition: color .4s var(--ease); }
.treatment:hover h3,
.treatment:hover p,
.treatment:hover .treatment__num { color: var(--c-paper); }
.treatment:hover .treatment__icon { color: var(--c-gold); transform: rotate(45deg); }

.treatment__num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 13px;
  color: var(--c-gold);
  letter-spacing: 0.1em;
  margin-bottom: var(--s-4);
}
.treatment h3 {
  font-size: 1.35rem;
  margin-bottom: var(--s-3);
  font-weight: 400;
}
.treatment p {
  font-size: 14px;
  color: var(--c-ink-soft);
  line-height: 1.6;
}
.treatment__icon {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  width: 32px; height: 32px;
  color: var(--c-line);
  transition: all .5s var(--ease);
  z-index: 1;
}

/* ----------------------------------------------------------- TOURISM */
.tourism {
  background: linear-gradient(160deg, var(--c-teal-deep) 0%, var(--c-ink) 100%);
  color: var(--c-paper);
  position: relative;
  overflow: hidden;
}
.tourism::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 138, 60, .15) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}
.tourism h2,
.tourism h3 { color: var(--c-paper); }
.tourism .lead { color: rgba(251, 248, 241, .8); }
.tourism .eyebrow { color: var(--c-gold); }

.tourism__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-9);
  align-items: start;
}
.tourism__services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  margin-top: var(--s-7);
}
.tservice {
  padding: var(--s-5);
  background: rgba(251, 248, 241, .04);
  border: 1px solid rgba(185, 138, 60, .2);
  border-radius: var(--r-md);
  transition: all .35s var(--ease);
}
.tservice:hover {
  background: rgba(251, 248, 241, .08);
  border-color: var(--c-gold);
  transform: translateY(-3px);
}
.tservice__icon {
  width: 40px; height: 40px;
  margin-bottom: var(--s-4);
  color: var(--c-gold);
}
.tservice h3 { font-size: 1.1rem; margin-bottom: var(--s-2); color: var(--c-paper); }
.tservice p { font-size: 13px; color: rgba(251, 248, 241, .75); line-height: 1.55; }

.tourism__cert {
  background: var(--c-paper);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.tourism__cert-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 6px 14px;
  background: var(--c-ink);
  color: var(--c-gold);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--s-4);
}
.tourism__cert-img {
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-bottom: var(--s-4);
  border: 1px solid var(--c-line);
}
.tourism__cert-caption {
  font-size: 12px;
  color: var(--c-ink-soft);
  letter-spacing: 0.05em;
}
.tourism__cert-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-5);
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-line);
}
.tourism__cert-logos img {
  height: 36px;
  width: auto;
  opacity: 0.85;
}

/* ----------------------------------------------------------- REVIEWS */
.reviews__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-6);
  align-items: end;
  margin-bottom: var(--s-7);
}
.reviews__rating {
  text-align: right;
}
.reviews__stars {
  font-size: 1.4rem;
  color: var(--c-gold);
  letter-spacing: 0.15em;
}
.reviews__rating-text {
  font-size: 13px;
  color: var(--c-ink-soft);
  margin-top: var(--s-1);
}

.reviews__track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-5);
}
.review {
  padding: var(--s-6);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: all .35s var(--ease);
}
.review:hover {
  border-color: var(--c-teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.review__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-3);
}
.review__name { font-weight: 600; font-size: 15px; }
.review__country { font-size: 12px; color: var(--c-ink-soft); margin-top: 2px; }
.review__date { font-size: 11px; color: var(--c-ink-soft); letter-spacing: 0.05em; }
.review__stars { color: var(--c-gold); letter-spacing: 0.1em; font-size: 14px; }
.review__text {
  font-size: 14.5px;
  color: var(--c-ink-soft);
  line-height: 1.7;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
}
.review::before {
  content: "❝";
  position: absolute;
  top: 12px; right: 16px;
  font-size: 2rem;
  color: var(--c-line);
  font-family: var(--f-display);
  font-style: italic;
  line-height: 1;
}

/* ----------------------------------------------------------- INSTAGRAM */
.ig__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-7);
}
.ig__tile {
  aspect-ratio: 1/1;
  border-radius: var(--r-sm);
  overflow: hidden;
  position: relative;
  background: var(--c-sand-deep);
  cursor: pointer;
}
.ig__tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.ig__tile:hover img { transform: scale(1.06); }
.ig__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(14, 42, 46, .35));
  opacity: 0;
  transition: opacity .3s;
}
.ig__tile:hover::after { opacity: 1; }
.ig__tile-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity .3s;
  z-index: 2;
}
.ig__tile:hover .ig__tile-icon { opacity: 1; }
.ig__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--s-7);
}

/* ----------------------------------------------------------- LOCATION */
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-7);
  align-items: stretch;
}
.location__info {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.info-card {
  padding: var(--s-5);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}
.info-card__icon {
  width: 32px; height: 32px;
  color: var(--c-teal);
  margin-bottom: var(--s-3);
}
.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--s-3);
}
.info-card p {
  font-size: 14.5px;
  color: var(--c-ink-soft);
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 14px;
}
.hours-row:last-child { border-bottom: 0; }
.hours-row span:first-child { color: var(--c-ink-soft); }
.hours-row span:last-child  { color: var(--c-ink); font-weight: 600; }
.hours-row.closed span:last-child { color: var(--c-gold-deep); font-style: italic; }

.map-wrap {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-line);
  min-height: 480px;
  position: relative;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; min-height: 480px; }

/* ----------------------------------------------------------- CONTACT */
.contact {
  background: var(--c-ink);
  color: var(--c-paper);
}
.contact h2 { color: var(--c-paper); }
.contact .lead { color: rgba(251, 248, 241, .75); }
.contact .eyebrow { color: var(--c-gold); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-8);
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.contact__row {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid rgba(251, 248, 241, .1);
}
.contact__row svg { width: 20px; height: 20px; color: var(--c-gold); flex-shrink: 0; }
.contact__row a {
  color: var(--c-paper);
  font-size: 15px;
  transition: color .25s;
}
.contact__row a:hover { color: var(--c-gold); }

.contact__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-5);
}

.contact__form {
  background: rgba(251, 248, 241, .04);
  border: 1px solid rgba(251, 248, 241, .12);
  border-radius: var(--r-md);
  padding: var(--s-7);
}
.field {
  margin-bottom: var(--s-4);
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(251, 248, 241, .25);
  color: var(--c-paper);
  font-size: 15px;
  outline: none;
  transition: border-color .25s;
  font-family: var(--f-body);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(251, 248, 241, .45); }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--c-gold); }
.field textarea { min-height: 100px; resize: vertical; padding-top: 14px; }

.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }

.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  margin: var(--s-5) 0;
  cursor: pointer;
  font-size: 13px;
  color: rgba(251, 248, 241, .75);
  line-height: 1.5;
}
.field-checkbox input { display: none; }
.field-checkbox__box {
  width: 18px; height: 18px;
  border: 1px solid rgba(251, 248, 241, .35);
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: all .2s;
}
.field-checkbox input:checked + .field-checkbox__box {
  background: var(--c-gold);
  border-color: var(--c-gold);
}
.field-checkbox input:checked + .field-checkbox__box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><path d='M5 12l5 5L20 7'/></svg>") center/14px no-repeat;
}

.form-feedback {
  margin-top: var(--s-4);
  font-size: 13px;
  display: none;
}
.form-feedback.success { color: #6FA8AB; display: block; }
.form-feedback.error   { color: #C8623A; display: block; }

/* ----------------------------------------------------------- FOOTER */
.footer {
  background: #0A1F22;
  color: rgba(251, 248, 241, .7);
  padding: var(--s-9) 0 var(--s-5);
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--s-6);
  margin-bottom: var(--s-7);
}
.footer__brand img {
  height: 56px;
  margin-bottom: var(--s-4);
  filter: brightness(1.4);
}
.footer__tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(251, 248, 241, .85);
  margin-bottom: var(--s-4);
  line-height: 1.4;
}
.footer__contact-line {
  font-size: 13.5px;
  margin-bottom: var(--s-2);
  line-height: 1.6;
}
.footer__contact-line a { color: var(--c-paper); }
.footer__contact-line a:hover { color: var(--c-gold); }

.footer h4 {
  color: var(--c-paper);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--s-4);
  font-family: var(--f-body);
}
.footer__list { display: flex; flex-direction: column; gap: 10px; }
.footer__list a {
  font-size: 14px;
  color: rgba(251, 248, 241, .65);
  transition: color .2s;
}
.footer__list a:hover { color: var(--c-gold); }

.footer__certs {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-bottom: var(--s-4);
}
.footer__certs img {
  height: 60px;
  background: white;
  padding: 6px;
  border-radius: var(--r-sm);
}

.footer__social {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-4);
}
.footer__social a {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(251, 248, 241, .2);
  border-radius: 50%;
  color: rgba(251, 248, 241, .8);
  transition: all .25s;
}
.footer__social a:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-ink);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-5);
  border-top: 1px solid rgba(251, 248, 241, .1);
  font-size: 12.5px;
  color: rgba(251, 248, 241, .5);
  flex-wrap: wrap;
  gap: var(--s-3);
}

/* ----------------------------------------------------------- WHATSAPP FAB */
.fab-whatsapp {
  position: fixed;
  bottom: var(--s-5);
  right: var(--s-5);
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .35);
  transition: all .35s var(--ease);
  animation: pulse 2.5s var(--ease) infinite;
}
.fab-whatsapp:hover {
  transform: scale(1.08);
  background: #128C7E;
}
.fab-whatsapp svg { width: 30px; height: 30px; color: white; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, .35), 0 0 0 0 rgba(37, 211, 102, .5); }
  50%      { box-shadow: 0 8px 24px rgba(37, 211, 102, .35), 0 0 0 18px rgba(37, 211, 102, 0); }
}

/* ----------------------------------------------------------- COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: var(--s-5);
  left: var(--s-5);
  right: 100px;
  max-width: 540px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: var(--s-5);
  z-index: 95;
  transform: translateY(140%);
  transition: transform .5s var(--ease);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner h4 {
  font-family: var(--f-display);
  font-size: 1.3rem;
  margin-bottom: var(--s-2);
  font-style: italic;
  font-weight: 400;
}
.cookie-banner p {
  font-size: 13.5px;
  color: var(--c-ink-soft);
  margin-bottom: var(--s-4);
  line-height: 1.55;
}
.cookie-banner__actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.cookie-banner__actions .btn {
  font-size: 12px;
  padding: 10px 20px;
}
.cookie-banner__manage {
  background: transparent;
  color: var(--c-ink-soft);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  margin-left: auto;
  align-self: center;
}

.cookie-modal {
  position: fixed; inset: 0;
  background: rgba(14, 42, 46, .7);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--s-5);
}
.cookie-modal.visible { display: flex; }
.cookie-modal__content {
  background: var(--c-paper);
  border-radius: var(--r-md);
  max-width: 480px;
  width: 100%;
  padding: var(--s-7);
}
.cookie-modal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 14px;
}
.cookie-modal__row:last-of-type { border-bottom: 0; }
.toggle {
  position: relative;
  width: 40px; height: 22px;
  background: var(--c-line);
  border-radius: 999px;
  transition: background .25s;
  cursor: pointer;
}
.toggle::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  background: white;
  border-radius: 50%;
  top: 3px; left: 3px;
  transition: transform .25s;
}
.toggle.on { background: var(--c-teal); }
.toggle.on::after { transform: translateX(18px); }
.toggle.disabled { opacity: 0.5; cursor: not-allowed; }

/* ----------------------------------------------------------- LEGAL PAGES */
.legal-page {
  padding-top: calc(var(--header-h) + var(--s-8));
  padding-bottom: var(--s-9);
  min-height: 80vh;
}
.legal-page .container { max-width: 800px; }
.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: var(--s-7);
  font-style: italic;
  font-weight: 300;
}
.legal-page h3 {
  margin-top: var(--s-6);
  margin-bottom: var(--s-3);
  font-size: 1.3rem;
  color: var(--c-teal-deep);
}
.legal-page p {
  font-size: 15px;
  color: var(--c-ink-soft);
  margin-bottom: var(--s-3);
  line-height: 1.75;
}

/* ----------------------------------------------------------- SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger child reveals */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .15s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .25s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .35s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .45s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: .55s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: .65s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: .75s; }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: .85s; }
.reveal-stagger.visible > *:nth-child(10){ transition-delay: .95s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ----------------------------------------------------------- RESPONSIVE */
@media (max-width: 1024px) {
  .about__grid,
  .founder__grid,
  .tourism__grid,
  .location__grid,
  .contact__grid { grid-template-columns: 1fr; gap: var(--s-7); }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .ig__grid { grid-template-columns: repeat(4, 1fr); }
  .reviews__head { grid-template-columns: 1fr; }
  .reviews__rating { text-align: left; }
}

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

  .nav,
  .header__actions .btn { display: none; }
  .menu-toggle { display: block; }

  .nav.mobile-open {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--c-paper);
    flex-direction: column;
    padding: var(--s-7) var(--s-5);
    gap: var(--s-5);
    z-index: 99;
    align-items: flex-start;
  }
  .nav.mobile-open .nav__link { font-size: 1.4rem; font-family: var(--f-display); font-style: italic; }

  .header__inner { padding: 0 var(--s-4); }
  .header__logo img { height: 40px; }

  .about__values,
  .dentists__grid,
  .tourism__services,
  .field--row { grid-template-columns: 1fr; }

  .treatments__grid { grid-template-columns: 1fr 1fr; }
  .ig__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__scroll { display: none; }

  .cookie-banner {
    left: var(--s-3); right: var(--s-3);
    max-width: none;
  }
  .fab-whatsapp { width: 52px; height: 52px; bottom: var(--s-4); right: var(--s-4); }
  .fab-whatsapp svg { width: 26px; height: 26px; }

  .founder::before { font-size: 14rem; right: 1rem; top: -2rem; }
  .founder__grid { gap: var(--s-6); }
}

@media (max-width: 480px) {
  .treatments__grid { grid-template-columns: 1fr; }
  .ig__grid { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 var(--s-4); }
}
