:root {
  --bg: #f8fcfc;
  --white: #ffffff;
  --text: #17343a;
  --muted: #5f7e85;
  --line: rgba(23, 52, 58, 0.1);
  --primary: #74cfd0;
  --primary-deep: #3eaeb0;
  --primary-soft: #dff7f7;
  --overlay: rgba(10, 27, 31, 0.42);
  --shadow: 0 18px 50px rgba(18, 56, 61, 0.12);
  --shadow-soft: 0 10px 30px rgba(18, 56, 61, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: linear-gradient(to bottom, #f8fcfc 0%, #f4fbfb 100%);
  line-height: 1.6;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, #71cbcd, #9be3e4, #71cbcd);
  color: #083138;
  overflow: hidden;
  border-bottom: 1px solid rgba(8, 49, 56, 0.08);
}

.topbar-track {
  display: flex;
  gap: 42px;
  white-space: nowrap;
  padding: 12px 0;
  min-width: max-content;
  animation: marquee 22s linear infinite;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@keyframes marquee {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(23, 52, 58, 0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.brand span {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-header nav a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  position: relative;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary-deep);
  transition: width 0.25s ease;
}

.site-header nav a:hover::after {
  width: 100%;
}

.hero {
  position: relative;
}

.hero-full {
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 27, 31, 0.72) 0%, rgba(10, 27, 31, 0.34) 55%, rgba(10, 27, 31, 0.18) 100%),
    linear-gradient(to top, rgba(10, 27, 31, 0.42), rgba(10, 27, 31, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 100px 0;
}

.hero-copy {
  max-width: 720px;
  color: #ffffff;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.center {
  display: inline-flex;
  justify-content: center;
  background: var(--primary-soft);
  border: 1px solid rgba(62, 174, 176, 0.15);
  color: var(--primary-deep);
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.7rem, 5vw, 5.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-copy p {
  margin: 0;
  max-width: 640px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #ffffff;
  box-shadow: 0 16px 35px rgba(62, 174, 176, 0.28);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-pills span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.92rem;
  color: #ffffff;
}

.trust {
  padding: 26px 0 8px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.trust-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  font-weight: 600;
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: linear-gradient(to bottom, rgba(116, 207, 208, 0.08), rgba(255, 255, 255, 0.7));
}

.section-head {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 36px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.12;
  color: var(--text);
}

.section-head p {
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.02rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card,
.service-lux-card,
.transformation-card,
.receptionist-card,
.contact-box,
.general-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-card,
.service-lux-card,
.transformation-card,
.receptionist-card,
.contact-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.video-card,
.transformation-card {
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.video-card:hover,
.transformation-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(18, 56, 61, 0.16);
}

.video-poster-wrap {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: #e9f5f5;
}

.video-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.video-poster-wrap:hover img {
  transform: scale(1.03);
}

.feature-card .video-poster-wrap {
  aspect-ratio: 4 / 4.2;
}

.service-lux-card .video-poster-wrap {
  aspect-ratio: 16 / 12;
}

.doctor-poster {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.play-icon {
  width: 0;
  height: 0;
  border-left: 18px solid var(--primary-deep);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
}

.feature-copy,
.service-copy {
  padding: 22px 22px 24px;
}

.feature-copy h3,
.service-copy h3 {
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  line-height: 1.15;
}

.feature-copy p,
.service-copy p {
  margin: 0;
  color: var(--muted);
}

.services-stack {
  display: grid;
  gap: 24px;
}

.services-row {
  display: grid;
  gap: 24px;
}

.services-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.services-row-2 {
  grid-template-columns: repeat(2, 1fr);
}

.transformations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.transformation-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 10px;
}
.transformation-card {
  padding: 16px;
  background: #ffffff;
}
.transformation-label {
  padding: 18px 20px 22px;
  font-weight: 700;
  text-align: center;
}

.general-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.general-card {
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  font-weight: 700;
  color: var(--text);
}

.doctor-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 42px;
  align-items: center;
}

.doctor-copy h2 {
  margin: 0 0 14px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.1;
}

.doctor-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.04rem;
}

.contact-box {
  padding: 42px 24px;
  text-align: center;
}

.contact-box h2 {
  margin: 0 0 12px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 3rem);
}

.contact-box p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.receptionist-card {
  padding: 28px;
}

.receptionist-form {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 22px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(23, 52, 58, 0.12);
  border-radius: 16px;
  background: #fbfefe;
  padding: 15px 16px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary-deep);
  box-shadow: 0 0 0 4px rgba(116, 207, 208, 0.18);
  background: #ffffff;
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-actions {
  margin-top: 22px;
}

.form-status {
  margin: 14px 0 0;
  min-height: 24px;
  font-weight: 600;
  color: var(--primary-deep);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.video-modal.active {
  display: block;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 15, 17, 0.72);
  backdrop-filter: blur(6px);
}

.video-modal-dialog {
  position: relative;
  width: min(940px, calc(100% - 24px));
  margin: 6vh auto 0;
  z-index: 1;
}

.video-modal-inner {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  background: #000;
}

.video-modal video {
  width: 100%;
  max-height: 78vh;
  background: #000;
}

.video-modal-close {
  position: absolute;
  top: -16px;
  right: -2px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #0d2f34;
  font-size: 1.8rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

@media (max-width: 1100px) {
  .feature-grid,
  .services-row-3,
  .transformations-grid,
  .general-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctor-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav {
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .site-header nav {
    justify-content: center;
    gap: 16px 18px;
  }

  .hero-full {
    min-height: 82vh;
  }

  .hero-content {
    padding: 80px 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 8vw, 4rem);
  }

  .services-row-2,
  .feature-grid,
  .services-row-3,
  .transformations-grid,
  .general-grid,
  .trust-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .receptionist-card {
    padding: 22px;
  }

  .play-button {
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .brand img {
    width: 56px;
    height: 56px;
  }

  .brand span {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .feature-copy,
  .service-copy {
    padding: 18px 18px 20px;
  }

  .contact-box,
  .receptionist-card {
    padding: 18px;
  }
}
