:root {
  --gold: #b99b5d;
  --gold-2: #d8c18a;
  --champagne: #f8f3e8;
  --ivory: #fffdf8;
  --cream: #f4eee2;
  --ink: #11100e;
  --muted: #696157;
  --line: rgba(185, 155, 93, 0.38);
  --glass: rgba(255, 253, 248, 0.58);
  --shadow: 0 28px 80px rgba(42, 31, 17, 0.13);
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Cinzel", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--serif);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(216, 193, 138, 0.18), transparent 32rem),
    linear-gradient(135deg, #f7f0e4 0%, #fffdf8 44%, #efe2cc 100%);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: 0.22;
  background-image:
    linear-gradient(115deg, rgba(255,255,255,0.07), rgba(0,0,0,0.03)),
    radial-gradient(circle at 30% 20%, rgba(185,155,93,0.06), transparent 24rem);
  mix-blend-mode: multiply;
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(216,193,138,0.20), rgba(216,193,138,0.06) 45%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
  transition: opacity 0.25s ease;
}

.page {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  background: var(--ivory);
  overflow: hidden;
  box-shadow: 0 0 90px rgba(32, 24, 13, 0.12);
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(185,155,93,0.16);
  border-radius: 50%;
  z-index: 0;
}

.page::before {
  top: 130px;
  left: -230px;
}

.page::after {
  right: -210px;
  bottom: 420px;
}

/* HEADER — premium desktop + clean mobile */
.header {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1320px, calc(100% - 72px));
  min-height: 88px;
  z-index: 30;
  padding: 14px 18px 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
}

.header::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 33px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.78), rgba(255,255,255,0.18)),
    radial-gradient(circle at 16% 50%, rgba(216,193,138,0.24), transparent 18rem);
  pointer-events: none;
  z-index: -1;
}

.header::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185,155,93,0.72), transparent);
  pointer-events: none;
}

.glass {
  background: rgba(255, 253, 248, 0.42);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow:
    0 22px 70px rgba(31, 25, 15, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.74);
}

.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 8px 0;
}

.logo {
  width: 218px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.10));
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  letter-spacing: 0.035em;
  opacity: 0.9;
  transition: 0.28s ease;
}

.nav-link:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(185, 155, 93, 0.20);
  box-shadow: 0 10px 28px rgba(41, 31, 15, 0.08);
  transform: translateY(-1px);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 7px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.32s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(185,155,93,0.10);
  font-family: var(--display);
  font-size: 12px;
  line-height: 1;
}

.top-btn,
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #927035 0%, #c5a462 45%, #ead69b 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.42);
  box-shadow: 0 14px 34px rgba(150, 113, 47, 0.28);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.top-btn::before,
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.44) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  z-index: -1;
}

.top-btn:hover::before,
.btn-primary:hover::before {
  transform: translateX(120%);
}

.hero {
  position: relative;
  min-height: 790px;
  display: grid;
  grid-template-columns: 51% 49%;
  background:
    linear-gradient(90deg, rgba(255,253,248,0.96) 0%, rgba(255,253,248,0.86) 43%, rgba(246,238,224,0.26) 100%),
    radial-gradient(circle at 17% 32%, rgba(216,193,138,0.16), transparent 34rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(185,155,93,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185,155,93,0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 195px 74px 74px;
}

.eyebrow,
.section-kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 18px;
}

.brand-title,
.brand-subtitle {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.19em;
  line-height: 1.02;
}

.brand-title {
  font-size: clamp(44px, 6vw, 88px);
  color: var(--ink);
  text-shadow: 0 15px 45px rgba(0,0,0,0.08);
}

.brand-subtitle {
  margin-top: 8px;
  font-size: clamp(24px, 3.3vw, 48px);
  color: var(--gold);
}

.lux-line,
.intro-line,
.gallery-line {
  width: 118px;
  height: 1px;
  margin: 28px 0 26px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}

.lux-line::after,
.intro-line::after,
.gallery-line::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(185,155,93,0.12);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 4.5vw, 67px);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.04;
  margin-bottom: 24px;
}

.hero h1 span,
.countdown-section h2 span,
.intro h2 span,
.gallery-section h2 span {
  color: var(--gold);
}

.hero-text,
.countdown-text,
.intro p,
.footer-cta p,
.contact-card,
.footer-contacts {
  font-family: var(--sans);
}

.hero-text {
  max-width: 585px;
  font-size: 17px;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 30px;
}

.contact-card {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 22px;
  margin-bottom: 30px;
  background: rgba(255,255,255,0.54);
  border: 1px solid rgba(185,155,93,0.20);
  border-radius: 20px;
  box-shadow: 0 18px 55px rgba(39, 28, 15, 0.08);
  backdrop-filter: blur(12px);
}

.contact-card div,
.footer-contacts div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon {
  color: var(--gold);
  font-size: 15px;
  width: 20px;
  text-align: center;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  min-width: 158px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid rgba(185,155,93,0.38);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  background: rgba(255,253,248,0.60);
  color: var(--ink);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: 0 12px 38px rgba(38, 28, 13, 0.06);
}

.btn-primary {
  background: linear-gradient(135deg, #947338, #c9ab6d 46%, #ead79b 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 18px 45px rgba(185,155,93,0.28);
}

.btn:hover,
.top-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 55px rgba(37, 27, 13, 0.14);
}

.hero-visual {
  position: relative;
  min-height: 790px;
  z-index: 2;
  padding: 112px 44px 58px 0;
}

.hero-image {
  position: sticky;
  top: 32px;
  height: 650px;
  border-radius: 0 0 0 110px;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(20,14,8,0.16)),
    url("../assets/hero-doctor.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.34) 44%, transparent 56%);
  transform: translateX(-130%);
  animation: sheen 5.8s ease-in-out infinite;
}

.floating-badge {
  position: absolute;
  left: -42px;
  bottom: 116px;
  padding: 22px 26px;
  min-width: 190px;
  background: rgba(255,253,248,0.72);
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 24px;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 55px rgba(35, 26, 14, 0.16);
  animation: float 4.6s ease-in-out infinite;
}

.floating-badge span {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.floating-badge strong {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.countdown-section,
.intro,
.gallery-section,
.footer-cta {
  position: relative;
  z-index: 2;
}

.countdown-section {
  padding: 86px 40px 62px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(216,193,138,0.18), transparent 32rem),
    linear-gradient(180deg, #fffdf8, #f7efe1);
}

.countdown-section h2,
.gallery-section h2,
.intro h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.1;
}

.countdown-text {
  max-width: 720px;
  margin: 16px auto 42px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(128px, 1fr));
  gap: 22px;
  max-width: 850px;
  margin: 0 auto;
}

.count-box {
  position: relative;
  padding: 30px 16px;
  border-radius: 28px;
  border: 1px solid rgba(185,155,93,0.22);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.78), rgba(244,238,226,0.58));
  box-shadow: 0 22px 62px rgba(34, 25, 13, 0.08);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.count-box::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  background: linear-gradient(145deg, rgba(255,255,255,0.55), transparent);
  pointer-events: none;
}

.count-box:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 76px rgba(34, 25, 13, 0.13);
}

.count-box strong {
  position: relative;
  display: block;
  font-family: var(--display);
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 1;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 12px;
  text-shadow: 0 11px 28px rgba(185,155,93,0.22);
}

.count-box span {
  position: relative;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.intro {
  padding: 78px 40px 66px;
  text-align: center;
  background: var(--ivory);
}

.ornament,
.calendar-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(185,155,93,0.38);
  color: var(--gold);
  background: radial-gradient(circle, rgba(216,193,138,0.18), rgba(255,255,255,0.65));
  box-shadow: inset 0 0 28px rgba(216,193,138,0.18), 0 18px 45px rgba(48, 35, 18, 0.08);
  font-size: 30px;
}

.intro-line,
.gallery-line {
  margin-left: auto;
  margin-right: auto;
}

.intro p {
  max-width: 850px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
}

.gallery-section {
  padding: 28px 58px 86px;
  background: linear-gradient(180deg, var(--ivory), #fbf6ec);
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery figure {
  position: relative;
  height: 270px;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 24px 64px rgba(35, 26, 14, 0.10);
  border: 1px solid rgba(255,255,255,0.78);
  background: var(--cream);
}

.gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.22));
  opacity: 0;
  transition: opacity 0.45s ease;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.gallery figure:hover img {
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.04);
}

.gallery figure:hover::after {
  opacity: 1;
}

.footer-cta {
  padding: 72px 78px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 54px;
  align-items: center;
  background:
    radial-gradient(circle at 12% 0%, rgba(216,193,138,0.19), transparent 24rem),
    linear-gradient(135deg, #f8f1e5, #fffdf8);
}

.footer-cta h3 {
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 13px;
}

.footer-cta p,
.footer-contacts {
  font-size: 16px;
  color: var(--muted);
  font-weight: 300;
}

.divider {
  width: 1px;
  height: 150px;
  background: linear-gradient(transparent, var(--gold), transparent);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-row {
  display: flex !important;
  gap: 30px !important;
  margin-top: 10px;
  flex-wrap: wrap;
}

.social-row a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.copyright {
  padding: 20px;
  text-align: center;
  background: #ede4d6;
  font-family: var(--sans);
  font-size: 13px;
  color: #6f6558;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes sheen {
  0%, 58% { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (max-width: 1120px) {
  .header {
    width: calc(100% - 44px);
    min-height: auto;
    border-radius: 30px;
    padding: 14px 16px 14px 22px;
  }

  .logo {
    width: 190px;
  }

  .top-nav {
    gap: 6px;
    font-size: 12px;
  }

  .nav-link {
    padding: 0 10px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 170px 42px 54px;
  }

  .hero-visual {
    min-height: auto;
    padding: 0 42px 56px;
  }

  .hero-image {
    position: relative;
    height: 560px;
    border-radius: 70px 70px 70px 70px;
  }

  .floating-badge {
    left: 70px;
    bottom: 92px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-cta {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .divider {
    display: none;
  }
}

@media (max-width: 760px) {
  .cursor-glow {
    display: none;
  }

  .header {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: calc(100% - 28px);
    margin: 14px auto 0;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    border-radius: 28px;
    padding: 20px 16px;
  }

  .header::after {
    left: 22px;
    right: 22px;
  }

  .logo {
    width: 214px;
  }

  .top-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav-link {
    min-height: 40px;
    padding: 0 12px;
    background: rgba(255,255,255,0.38);
    border-color: rgba(185,155,93,0.14);
  }

  .top-btn {
    min-height: 44px;
    padding: 0 22px;
  }

  .hero-content {
    padding: 54px 24px 40px;
  }

  .brand-title {
    letter-spacing: 0.12em;
  }

  .brand-subtitle {
    letter-spacing: 0.12em;
  }

  .hero-visual {
    padding: 0 20px 44px;
  }

  .hero-image {
    height: 450px;
    border-radius: 44px;
  }

  .floating-badge {
    left: 34px;
    bottom: 66px;
    min-width: 164px;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-section {
    padding: 28px 22px 58px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery figure {
    height: 245px;
    border-radius: 22px;
  }

  .footer-cta {
    padding: 52px 26px;
  }
}

@media (max-width: 460px) {
  .top-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .nav-phone,
  .top-btn {
    grid-column: 1 / -1;
  }

  .nav-link,
  .top-btn {
    width: 100%;
  }

  .top-btn,
  .btn {
    width: 100%;
  }

  .hero-buttons {
    width: 100%;
  }

  .contact-card {
    width: 100%;
  }

  .countdown {
    grid-template-columns: 1fr;
  }
}
