/* ============================================
   Vild Diann — Medical & Health Website
   Deep Navy + Warm Gold | DM Sans + Playfair Display
   ============================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  min-height: 100vh;
  line-height: 1.6;
  color: #0f1c3f;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: #0f1c3f; color: #f0c24d;
  padding: .5rem 1rem; border-radius: 0 0 .5rem .5rem;
  z-index: 9999; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}
@media (min-width: 1024px) {
  .container { padding: 0 3rem; }
}

/* Section Tag */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #d4a84b;
  margin-bottom: .75rem;
}
.section-tag::before {
  content: '';
  width: 1.5rem;
  height: 2px;
  background: #d4a84b;
  border-radius: 1px;
}

/* Section Title */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: #0f1c3f;
  margin-bottom: 1rem;
}
.section-title--accent { color: #d4a84b; }
.section-title--light { color: #f0f4fb; }
.section-title--accent-light { color: #f0c24d; }

/* Section Subtitle */
.section-subtitle {
  font-size: 1.0625rem;
  color: #2d476e;
  max-width: 600px;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9375rem;
  transition: all .25s ease;
}
.btn--primary {
  background: #d4a84b;
  color: #0f1c3f;
  box-shadow: 0 4px 14px rgba(212, 168, 75, .35);
}
.btn--primary:hover {
  background: #e8b84f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 168, 75, .45);
}
.btn--ghost {
  background: transparent;
  color: #0f1c3f;
  border: 2px solid rgba(15, 28, 63, .2);
}
.btn--ghost:hover {
  border-color: #0f1c3f;
  background: rgba(15, 28, 63, .04);
}
.btn--full { width: 100%; justify-content: center; }

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 28, 63, .06);
  transition: box-shadow .3s ease;
}
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(15, 28, 63, .08);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 768px) {
  .nav__inner { padding: 0 2rem; }
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: #0f1c3f;
}
.nav__logo-mark {
  width: 36px;
  height: 36px;
  background: #0f1c3f;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a84b;
  font-size: 1.25rem;
  font-weight: 300;
}
.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .nav__links { display: flex; }
}
.nav__link {
  font-size: .9375rem;
  font-weight: 500;
  color: #2d476e;
  transition: color .2s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4a84b;
  border-radius: 1px;
  transition: width .25s ease;
}
.nav__link:hover { color: #0f1c3f; }
.nav__link:hover::after { width: 100%; }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: #0f1c3f;
  color: #f0f4fb;
  padding: .5rem 1rem;
  border-radius: 50px;
  font-size: .875rem;
  font-weight: 600;
  transition: all .2s;
}
.nav__cta:hover {
  background: #1e3252;
  transform: translateY(-1px);
}
.nav__toggle {
  display: flex;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  transition: background .2s;
}
@media (min-width: 1024px) {
  .nav__toggle { display: none; }
}
.nav__toggle:hover { background: rgba(15, 28, 63, .05); }
.nav__hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: #0f1c3f;
  position: relative;
  border-radius: 2px;
  transition: all .3s;
}
.nav__hamburger::before,
.nav__hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #0f1c3f;
  border-radius: 2px;
  transition: all .3s;
}
.nav__hamburger::before { top: -7px; }
.nav__hamburger::after { top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__hamburger {
  background: transparent;
}
.nav__toggle[aria-expanded="true"] .nav__hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile Nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid rgba(15, 28, 63, .08);
  padding: 1rem 1.5rem 1.5rem;
  box-shadow: 0 12px 32px rgba(15, 28, 63, .1);
  z-index: 99;
}
@media (max-width: 1023px) {
  .nav__mobile.open { display: block; }
}
.nav__mobile a {
  display: block;
  padding: .75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: #2d476e;
  border-bottom: 1px solid rgba(15, 28, 63, .06);
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile .nav__cta {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #0f1c3f;
  overflow: hidden;
  padding: 6rem 0 4rem;
}
.hero__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image: radial-gradient(circle at 2px 2px, #d4a84b 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1.1fr .9fr;
    gap: 4rem;
  }
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #d4a84b;
  margin-bottom: 1.25rem;
}
.hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  background: #d4a84b;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}
.hero__headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  color: #f0f4fb;
  margin-bottom: 1.25rem;
}
.hero__headline em {
  font-style: italic;
  color: #f0c24d;
}
.hero__subheadline {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #b3c4e0;
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-bottom: 3rem;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 500;
  color: #b3c4e0;
}
.hero__trust-item svg { color: #d4a84b; flex-shrink: 0; }

/* Hero Image Stack */
.hero__image-col { position: relative; }
.hero__image-stack {
  position: relative;
  padding-right: 1.5rem;
}
.hero__image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.hero__image--main {
  width: 100%;
  aspect-ratio: 540/680;
}
.hero__image--accent {
  position: absolute;
  bottom: -1.5rem;
  left: -1rem;
  width: 60%;
  border: 5px solid #0f1c3f;
  z-index: 2;
}
.hero__image--accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__image--badge {
  position: absolute;
  top: 2rem;
  right: -1rem;
  z-index: 3;
}
.hero__badge-inner {
  background: #d4a84b;
  color: #0f1c3f;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(212, 168, 75, .3);
}
.hero__badge-number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: .25rem;
}
.hero__badge-label {
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .04em;
}
@media (max-width: 1023px) {
  .hero__image-col { order: -1; }
  .hero__image-stack { padding-right: 0; }
  .hero__image--accent { display: none; }
}

/* ============================================
   Services
   ============================================ */
.services {
  padding: 6rem 0;
  background: #fff;
}
.services__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.services__header .section-subtitle {
  margin: 0 auto;
}
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background: #f8fafc;
  border: 1px solid rgba(15, 28, 63, .06);
  border-radius: 20px;
  padding: 2rem;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4a84b, #f0c24d);
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover {
  background: #fff;
  border-color: rgba(212, 168, 75, .2);
  box-shadow: 0 12px 40px rgba(15, 28, 63, .08);
  transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 56px;
  height: 56px;
  background: #0f1c3f;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a84b;
  margin-bottom: 1.25rem;
  transition: transform .3s;
}
.service-card:hover .service-card__icon { transform: scale(1.05); }
.service-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1875rem;
  font-weight: 600;
  color: #0f1c3f;
  margin-bottom: .625rem;
}
.service-card__desc {
  font-size: .9375rem;
  color: #2d476e;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.service-card__link {
  font-size: .875rem;
  font-weight: 600;
  color: #d4a84b;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  transition: gap .2s;
}
.service-card__link:hover { gap: .5rem; }

/* ============================================
   About
   ============================================ */
.about {
  padding: 6rem 0;
  background: #f0f4fb;
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about__inner {
    grid-template-columns: .9fr 1.1fr;
    gap: 4rem;
  }
}
.about__image-col { position: relative; }
.about__image-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 28, 63, .12);
}
.about__image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 560/700;
}
.about__image-float {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  border-radius: 16px;
  overflow: hidden;
  border: 5px solid #f0f4fb;
  box-shadow: 0 12px 32px rgba(15, 28, 63, .1);
}
.about__image-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1023px) {
  .about__image-float { display: none; }
}
.about__content-col .section-subtitle {
  margin-bottom: 1.5rem;
}
.about__lead {
  font-size: 1.0625rem;
  color: #2d476e;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about__content-col > p {
  font-size: .9375rem;
  color: #3a5a8a;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.about__values {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.about__value {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.about__value-icon {
  width: 44px;
  height: 44px;
  background: #0f1c3f;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a84b;
  flex-shrink: 0;
}
.about__value strong {
  display: block;
  font-size: .9375rem;
  color: #0f1c3f;
  margin-bottom: .125rem;
}
.about__value span {
  font-size: .875rem;
  color: #3a5a8a;
  line-height: 1.5;
}

/* ============================================
   Patient Experience
   ============================================ */
.experience {
  padding: 6rem 0;
  background: #fff;
}
.experience__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.experience__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) {
  .experience__cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .experience__cards { grid-template-columns: repeat(4, 1fr); }
}
.exp-card {
  background: #f8fafc;
  border: 1px solid rgba(15, 28, 63, .06);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: all .3s;
}
.exp-card:hover {
  background: #fff;
  box-shadow: 0 12px 40px rgba(15, 28, 63, .08);
  transform: translateY(-4px);
}
.exp-card__step {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(212, 168, 75, .2);
  line-height: 1;
  margin-bottom: .75rem;
}
.exp-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f1c3f;
  margin-bottom: .625rem;
}
.exp-card__desc {
  font-size: .9375rem;
  color: #2d476e;
  line-height: 1.7;
}
.experience__image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 28, 63, .1);
}
.experience__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   Contact
   ============================================ */
.contact {
  padding: 6rem 0;
  background: #0f1c3f;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: radial-gradient(circle at 1px 1px, #d4a84b 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .contact__inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.contact__info .section-tag { color: #f0c24d; }
.contact__info .section-tag::before { background: #f0c24d; }
.contact__desc {
  font-size: 1.0625rem;
  color: #b3c4e0;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact__detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact__detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(212, 168, 75, .12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a84b;
  flex-shrink: 0;
}
.contact__detail strong {
  display: block;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #d4a84b;
  margin-bottom: .25rem;
}
.contact__detail span,
.contact__detail a {
  font-size: .9375rem;
  color: #b3c4e0;
  line-height: 1.6;
}
.contact__detail a:hover { color: #f0c24d; }

/* Contact Form */
.contact-form {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
}
.contact-form__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f1c3f;
  margin-bottom: .375rem;
}
.contact-form__subtitle {
  font-size: .9375rem;
  color: #3a5a8a;
  margin-bottom: 1.75rem;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .contact-form__row { grid-template-columns: 1fr; }
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: .8125rem;
  font-weight: 600;
  color: #0f1c3f;
  margin-bottom: .375rem;
  letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid rgba(15, 28, 63, .12);
  border-radius: 12px;
  font-size: .9375rem;
  font-family: inherit;
  color: #0f1c3f;
  background: #f8fafc;
  transition: all .2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #d4a84b;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(212, 168, 75, .15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #8fa8d0; }
.form-group textarea { resize: vertical; min-height: 80px; }
.contact-form__privacy {
  font-size: .75rem;
  color: #8fa8d0;
  text-align: center;
  margin-top: 1rem;
}
.contact-form__success {
  text-align: center;
  padding: 2rem 1rem;
}
.contact-form__success svg {
  color: #d4a84b;
  margin: 0 auto 1rem;
}
.contact-form__success h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: #0f1c3f;
  margin-bottom: .5rem;
}
.contact-form__success p {
  font-size: .9375rem;
  color: #3a5a8a;
  line-height: 1.6;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #080f20;
  padding: 4rem 0 0;
  color: #b3c4e0;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(179, 196, 224, .1);
}
@media (min-width: 768px) {
  .footer__top {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
  }
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: #f0f4fb;
  margin-bottom: .875rem;
}
.footer__logo-mark {
  width: 36px;
  height: 36px;
  background: #1e3252;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a84b;
  font-size: 1.25rem;
  font-weight: 300;
}
.footer__tagline {
  font-size: .9375rem;
  color: #8fa8d0;
  line-height: 1.7;
  max-width: 280px;
}
.footer__links-group strong,
.footer__contact-group strong {
  display: block;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #d4a84b;
  margin-bottom: 1rem;
}
.footer__links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer__links-group a {
  font-size: .9375rem;
  color: #8fa8d0;
  transition: color .2s;
}
.footer__links-group a:hover { color: #f0c24d; }
.footer__contact-group address {
  font-style: normal;
  font-size: .9375rem;
  color: #8fa8d0;
  line-height: 1.7;
  margin-bottom: .5rem;
}
.footer__contact-group a {
  font-size: .9375rem;
  color: #d4a84b;
  transition: color .2s;
}
.footer__contact-group a:hover { color: #f0c24d; }
.footer__bottom {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer__bottom p {
  font-size: .8125rem;
  color: #6b8cc0;
}
.footer__disclaimer {
  font-size: .75rem !important;
  color: #4a6fa5 !important;
}

/* ============================================
   Scroll Reveal (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Utility
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
