:root {
  --primary-teal: #0e8b8f;
  --medical-green: #2e9e6f;
  --soft-gold: #c9a227;
  --dark-text: #0f172a;
  --paragraph: #5b6470;
  --soft-white: #f8fcfc;
  --light-section: #edf7f7;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #0e8b8f, #2e9e6f);
  --shadow-soft: 0 18px 45px rgba(14, 139, 143, 0.14);
  --shadow-strong: 0 28px 70px rgba(15, 23, 42, 0.14);
  --radius-card: 8px;
  --container: 1180px;
  --space-section: clamp(76px, 9vw, 120px);
  --space-section-tight: clamp(58px, 7vw, 86px);
  --space-card: clamp(22px, 3vw, 34px);
  --grid-gap: clamp(18px, 2.4vw, 28px);
  --mobile-section: 54px;
  --mobile-gap: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--dark-text);
  background: var(--soft-white);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

main,
section,
footer {
  max-width: 100%;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

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

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

p {
  color: var(--paragraph);
  line-height: 1.8;
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  letter-spacing: 0;
  margin: 0;
  color: var(--dark-text);
}

h1 {
  font-size: clamp(2.45rem, 5vw, 5rem);
  line-height: 1.08;
  max-width: 680px;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 4.2rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.45rem;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section-pad {
  padding: var(--space-section) 0;
}

.section-tint {
  background:
    linear-gradient(180deg, rgba(237, 247, 247, 0.78), rgba(248, 252, 252, 0.95)),
    var(--light-section);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(248, 252, 252, 0.86);
  backdrop-filter: blur(16px);
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.1);
}

.home-page .site-header {
  background: transparent;
  backdrop-filter: none;
}

.home-page .site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.1);
}

.navbar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  width: 214px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
}

.brand img,
.footer-logo {
  border-radius: 6px;
}

.brand img {
  height: 82px;
  object-fit: contain;
  object-position: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  font-size: 0.94rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  color: rgba(15, 23, 42, 0.76);
  transition: color 0.25s ease;
}

.home-page .site-header:not(.scrolled) .nav-links a:not(.nav-login) {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.32);
}

.home-page .site-header:not(.scrolled) .nav-links.active a:not(.nav-login) {
  color: rgba(15, 23, 42, 0.8);
  text-shadow: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-teal);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-login {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(14, 139, 143, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary-teal);
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.nav-login::after {
  display: none;
}

.nav-login:hover {
  color: var(--white);
  background: var(--gradient);
  box-shadow: 0 16px 34px rgba(14, 139, 143, 0.24);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(14, 139, 143, 0.16);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  padding: 12px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--dark-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.home-page .site-header:not(.scrolled) .menu-toggle {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px);
}

.home-page .site-header:not(.scrolled) .menu-toggle span {
  background: var(--white);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: auto;
  position: relative;
  display: flex;
  align-items: flex-start;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(46, 158, 111, 0.2), transparent 34%),
    linear-gradient(140deg, #f8fcfc 0%, #edf7f7 55%, #ffffff 100%);
}

.hero.section-pad {
  padding-top: 150px;
  padding-bottom: 58px;
}

.ambient {
  position: absolute;
  filter: blur(50px);
  opacity: 0.42;
  z-index: -2;
  pointer-events: none;
}

.ambient-one {
  width: 46vw;
  height: 46vw;
  top: -18vw;
  right: -10vw;
  background: linear-gradient(135deg, rgba(14, 139, 143, 0.44), rgba(201, 162, 39, 0.22));
  animation: floatField 11s ease-in-out infinite alternate;
}

.ambient-two {
  width: 40vw;
  height: 40vw;
  left: -16vw;
  bottom: -18vw;
  background: linear-gradient(135deg, rgba(46, 158, 111, 0.32), rgba(255, 255, 255, 0.7));
  animation: floatField 13s ease-in-out infinite alternate-reverse;
}

.particle-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  background-image:
    radial-gradient(circle, rgba(14, 139, 143, 0.42) 1px, transparent 1px),
    radial-gradient(circle, rgba(201, 162, 39, 0.3) 1px, transparent 1px);
  background-size: 86px 86px, 132px 132px;
  animation: driftParticles 24s linear infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
  padding-top: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--primary-teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--soft-gold);
}

.hero-text {
  max-width: 630px;
  margin-top: 26px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: var(--white);
  background: var(--gradient);
  box-shadow: 0 16px 34px rgba(14, 139, 143, 0.24);
}

.btn-secondary {
  color: var(--primary-teal);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(14, 139, 143, 0.18);
}

.hero-trust {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-trust span {
  padding: 10px 14px;
  border: 1px solid rgba(14, 139, 143, 0.12);
  background: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  color: var(--paragraph);
  font-size: 0.84rem;
  backdrop-filter: blur(12px);
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-copy {
  min-width: 0;
}

.doctor-frame {
  position: relative;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(237, 247, 247, 0.52));
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.doctor-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(14, 139, 143, 0.4), rgba(201, 162, 39, 0.46));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.doctor-frame > img {
  height: min(650px, 68vh);
  object-fit: cover;
  border-radius: 8px;
  object-position: center top;
}

.hero-building-frame {
  --hero-frame-pad: 14px;
  padding: var(--hero-frame-pad);
  max-width: 100%;
  overflow: hidden;
}

.hero-building-frame::after {
  content: "";
  position: absolute;
  inset: var(--hero-frame-pad);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(6, 24, 32, 0.1), rgba(6, 24, 32, 0.34)),
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.04), transparent 58%);
  pointer-events: none;
  z-index: 2;
}

.hero-building-frame > video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: min(560px, 58vh);
  object-fit: cover;
  object-position: center;
  background: linear-gradient(135deg, rgba(237, 247, 247, 0.76), rgba(255, 255, 255, 0.94));
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  animation: softFloat 4.8s ease-in-out infinite alternate;
}

.care-card {
  left: -36px;
  bottom: 58px;
}

.pulse-card {
  right: -26px;
  top: 72px;
  flex-direction: column;
  align-items: flex-start;
}

.mini-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--gradient);
  font-weight: 700;
}

.floating-card strong,
.floating-card span {
  color: var(--dark-text);
  font-weight: 700;
}

.floating-card small {
  color: var(--paragraph);
}

.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
  gap: var(--grid-gap);
  align-items: center;
}

.section-copy p:not(.eyebrow) {
  margin-top: 24px;
}

.glass-card {
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(14, 139, 143, 0.12);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.about-panel {
  padding: var(--space-card);
}

.about-panel p {
  margin-top: 18px;
}

.promise-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.promise-list span {
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(237, 247, 247, 0.72);
  color: var(--dark-text);
  font-weight: 500;
}

.founder-philosophy-grid,
.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: center;
}

.founder-lead {
  color: var(--dark-text);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  font-weight: 600;
}

.founder-identity-list {
  display: grid;
  gap: 18px;
}

.founder-identity {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 132px;
  padding: var(--space-card);
}

.founder-placeholder,
.purpose-icon {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--gradient);
  box-shadow: 0 14px 30px rgba(14, 139, 143, 0.18);
  font-size: 1.1rem;
  font-weight: 800;
}

.founder-identity span {
  color: var(--primary-teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.founder-identity h3 {
  margin-top: 6px;
}

.vision-mission-grid {
  align-items: stretch;
}

.vision-card,
.mission-card {
  padding: clamp(28px, 4vw, 44px);
}

.vision-card h2,
.mission-card h2 {
  margin-top: 10px;
}

.vision-card > p:last-child {
  margin-top: 22px;
}

.purpose-icon {
  margin-bottom: 24px;
  font-size: 1.65rem;
}

.mission-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.mission-list li {
  position: relative;
  padding-left: 28px;
  color: var(--paragraph);
}

.mission-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--primary-teal);
  font-weight: 800;
}

.appointment-cta .appointment-wrap {
  margin-bottom: 0;
}

.stats-band {
  width: 100%;
  margin-top: 64px;
  padding: 42px 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.18), transparent 28%),
    var(--gradient);
  box-shadow: 0 22px 54px rgba(14, 139, 143, 0.18);
}

.reference-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.reference-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 96px;
  color: var(--white);
}

.reference-stat:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.reference-stat-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.16);
  font-size: 2rem;
  font-weight: 800;
}

.reference-stat strong {
  display: block;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 0.95;
  color: var(--white);
}

.reference-stat p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 1.05rem;
}

.section-head {
  max-width: 760px;
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 54px);
}

.section-head .eyebrow {
  justify-content: center;
}

.section-head-row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  text-align: left;
}

.section-head-row .eyebrow {
  justify-content: flex-start;
}

.speciality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.service-card,
.doctor-card {
  position: relative;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(14, 139, 143, 0.1);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 174px;
  padding: var(--space-card);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(14, 139, 143, 0.56), rgba(201, 162, 39, 0.5));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card:hover,
.doctor-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-strong);
  border-color: rgba(14, 139, 143, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.icon-wrap {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--gradient);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(14, 139, 143, 0.2);
}

.icon-wrap.department-logo {
  background: rgba(237, 247, 247, 0.92);
  border: 1px solid rgba(14, 139, 143, 0.16);
}

.icon-wrap.department-logo img {
  width: 76%;
  height: 76%;
  display: block;
  object-fit: contain;
}

.service-card p {
  margin-top: 14px;
}

.swiper-controls {
  display: flex;
  gap: 10px;
}

.swiper-controls button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(14, 139, 143, 0.18);
  background: var(--white);
  color: var(--primary-teal);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.swiper-controls button:hover {
  transform: translateY(-2px);
  background: var(--primary-teal);
  color: var(--white);
}

.doctors-swiper {
  padding: 8px 4px 44px;
}

.doctor-card {
  padding: 16px 16px 24px;
  height: auto;
}

.doctor-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 4.6;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(14, 139, 143, 0.14), rgba(237, 247, 247, 0.92));
}

.doctor-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.doctor-card:hover .doctor-image img {
  transform: scale(1.07);
}

.social-layer {
  position: absolute;
  inset: auto 14px 14px;
  display: flex;
  gap: 8px;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.doctor-card:hover .social-layer {
  opacity: 1;
  transform: translateY(0);
}

.social-layer a,
.footer-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(14, 139, 143, 0.88);
  font-weight: 700;
}

.doctor-card h3,
.doctor-card p,
.doctor-card span {
  margin-inline: 6px;
}

.doctor-card p {
  margin-top: 6px;
  color: var(--primary-teal);
  font-weight: 600;
}

.doctor-card span {
  display: inline-block;
  margin-top: 12px;
  color: var(--paragraph);
  font-size: 0.9rem;
}

.home-page .doctor-card--preview {
  min-height: clamp(220px, 24vw, 280px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 48px);
  overflow: hidden;
}

.home-page .doctor-card--preview::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--gradient);
}

.home-page .doctor-card--preview::after {
  content: "";
  position: absolute;
  right: clamp(24px, 4vw, 44px);
  top: clamp(26px, 4vw, 42px);
  width: 54px;
  height: 2px;
  background: var(--gold);
  opacity: 0.8;
}

.home-page .doctor-card--preview h3 {
  max-width: 18ch;
  margin: 16px 0 0;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
}

.home-page .doctor-card--preview > p {
  margin-inline: 0;
}

.home-page .doctor-card--preview .doctor-role {
  margin-top: 0;
  color: var(--paragraph);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-page .doctor-card--preview > p:not(.doctor-role) {
  max-width: 34ch;
  margin-top: 14px;
  font-size: 1.03rem;
  line-height: 1.65;
}

.testimonials-swiper {
  padding: 8px 4px 52px;
}

.testimonials-swiper .swiper-wrapper {
  align-items: stretch;
}

.testimonial-card {
  height: auto;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(14, 139, 143, 0.1);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.07);
}

.stars {
  color: var(--soft-gold);
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}

.testimonial-card p {
  margin: 20px 0 24px;
  color: var(--dark-text);
  font-size: 0.98rem;
  line-height: 1.72;
}

.testimonial-card strong {
  display: block;
  color: var(--primary-teal);
}

.testimonial-meta {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(14, 139, 143, 0.12);
}

.testimonial-location {
  color: var(--paragraph);
  font-size: 0.88rem;
}

.testimonial-care {
  margin-top: 6px;
  color: var(--dark-text);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

.testimonial-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.testimonial-pagination .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: rgba(14, 139, 143, 0.28);
  opacity: 1;
}

.testimonial-pagination .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 999px;
  background: var(--primary-teal);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(210px, 18vw, 250px);
  gap: var(--grid-gap);
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(135deg, rgba(14, 139, 143, 0.14), rgba(237, 247, 247, 0.92));
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item-exterior {
  grid-row: span 2;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item-contain img {
  object-fit: contain;
  background: rgba(237, 247, 247, 0.9);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.58));
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  color: var(--white);
  font-weight: 700;
}

.quick-cards {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.appointment-wrap {
  scroll-margin-top: 130px;
  margin-bottom: 72px;
}

.appointment-heading {
  max-width: 900px;
  margin: 0 auto 26px;
  text-align: center;
}

.appointment-heading h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.appointment-form {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: var(--space-card);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(14, 139, 143, 0.08);
}

.appointment-fields {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 36px;
}

.appointment-fields input {
  width: 100%;
  min-height: 62px;
  padding: 0 24px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--dark-text);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.appointment-fields input:focus {
  border-color: rgba(14, 139, 143, 0.52);
  box-shadow: 0 0 0 4px rgba(14, 139, 143, 0.1);
}

.appointment-form button {
  min-width: 255px;
  min-height: 56px;
  margin-top: 2px;
  border: 0;
  border-radius: 11px;
  color: var(--white);
  background: var(--gradient);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(14, 139, 143, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.appointment-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(14, 139, 143, 0.28);
}

.appointment-status {
  min-height: 24px;
  text-align: center;
  color: var(--medical-green);
  font-weight: 600;
}

.quick-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(14, 139, 143, 0.1);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.quick-card strong,
address,
.footer p {
  overflow-wrap: anywhere;
}

.quick-card:hover {
  transform: translateX(5px);
  border-color: rgba(14, 139, 143, 0.28);
}

.quick-card span {
  color: var(--paragraph);
  font-size: 0.9rem;
}

.quick-card strong {
  color: var(--dark-text);
  text-align: right;
}

.quick-card.emergency {
  background: linear-gradient(135deg, rgba(14, 139, 143, 0.08), rgba(201, 162, 39, 0.12));
}

.map-card {
  display: block;
  padding: 16px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.map-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.map-placeholder {
  min-height: clamp(280px, 34vw, 350px);
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(14, 139, 143, 0.86), rgba(46, 158, 111, 0.78)),
    repeating-linear-gradient(45deg, transparent 0 24px, rgba(255, 255, 255, 0.1) 24px 25px);
  color: var(--white);
}

.map-placeholder span {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 600;
}

.map-placeholder strong {
  display: block;
  margin-top: 8px;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
}

.map-placeholder p {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 10px;
}

address {
  margin-top: 18px;
  color: var(--paragraph);
  font-style: normal;
}

.chatbot-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: var(--gradient);
  box-shadow: 0 18px 42px rgba(14, 139, 143, 0.28);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.chatbot-float.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.92);
}

.chatbot-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 24px 50px rgba(14, 139, 143, 0.34);
}

.chatbot-float span {
  position: relative;
  width: 28px;
  height: 20px;
  border-radius: 50% 50% 50% 42%;
  background: linear-gradient(135deg, #ffffff, #edf7f7);
}

.chatbot-float span::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: -4px;
  width: 9px;
  height: 9px;
  background: #edf7f7;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.chatbot-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 901;
  width: min(376px, calc(100vw - 34px));
  height: 430px;
  display: grid;
  grid-template-rows: 60px 1fr 56px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
  transform: translateY(18px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.chatbot-panel.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 16px;
  color: var(--white);
  background: var(--gradient);
}

.chatbot-header strong {
  font-size: 1rem;
}

.chatbot-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.chatbot-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 14px;
  overflow-y: auto;
  background: #f3f6fb;
}

.chat-message {
  max-width: 80%;
  padding: 12px 14px;
  border-radius: 9px;
  color: #657180;
  background: #dfe6f3;
  line-height: 1.45;
}

.chat-message.user {
  align-self: flex-end;
  color: var(--white);
  background: var(--primary-teal);
}

.chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--white);
}

.chatbot-form input {
  min-width: 0;
  border: 0;
  padding: 0 16px;
  color: var(--dark-text);
  font: inherit;
  outline: none;
}

.chatbot-form button {
  border: 0;
  padding: 0 18px;
  color: #071f24;
  background: var(--gradient);
  font: inherit;
  cursor: pointer;
}

.footer {
  padding: 54px 0 24px;
  background: #071f24;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(140px, 0.6fr);
  gap: var(--grid-gap);
  align-items: start;
}

.footer-logo {
  width: 220px;
  background: var(--white);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(255, 255, 255, 0.1);
  mix-blend-mode: normal;
}

.footer p {
  max-width: 360px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 12px 32px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-social {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.copyright {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.9rem;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 260px;
  height: 260px;
  pointer-events: none;
  opacity: 0.2;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(14, 139, 143, 0.28), transparent 62%);
  mix-blend-mode: multiply;
  transition: opacity 0.25s ease;
}

@keyframes floatField {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(28px, 22px, 0) scale(1.04);
  }
}

@keyframes driftParticles {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 140px 220px, -160px 180px;
  }
}

@keyframes softFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-12px);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
    gap: clamp(28px, 4vw, 42px);
    padding-top: 18px;
  }

  .split-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
    gap: clamp(20px, 3vw, 28px);
  }

  .hero-visual {
    max-width: 520px;
    margin-inline: auto;
  }

  .hero-building-frame > video {
    height: min(500px, 52vh);
  }

  .reference-stats-grid,
  .speciality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-stat:nth-child(2) {
    border-right: 0;
  }

  .reference-stat:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

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

  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    transform: translate3d(0, 24px, 0);
  }

  [data-aos="fade-left"].aos-animate,
  [data-aos="fade-right"].aos-animate {
    transform: none;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 92px;
  }

  .navbar {
    min-height: 76px;
  }

  .brand {
    width: 176px;
    height: 68px;
  }

  .brand img {
    height: 68px;
  }

  .menu-toggle {
    display: block;
    position: fixed;
    top: 18px;
    right: 14px;
    z-index: 1002;
  }

  .has-announcement .menu-toggle {
    top: 56px;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 24px;
    background: rgba(248, 252, 252, 0.95);
    backdrop-filter: blur(18px);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    font-size: 1.2rem;
    text-align: center;
  }

  .nav-links a {
    color: rgba(15, 23, 42, 0.8);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .section-pad {
    padding: var(--space-section-tight) 0;
  }

  .hero.section-pad {
    padding-top: 94px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr);
    gap: 20px;
  }

  .hero-visual {
    max-width: 360px;
  }

  .hero-actions[data-aos],
  .hero-trust[data-aos] {
    opacity: 1;
    transform: none;
  }

  .split-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.78fr);
    gap: 20px;
  }

  .section-head-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-card {
    position: static;
    margin-top: 14px;
  }

  .doctor-frame > img {
    height: auto;
    aspect-ratio: 4 / 4.8;
  }

  .hero-building-frame > video {
    height: min(500px, 52vh);
    object-fit: cover;
  }

}

@media (max-width: 767px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(132px, 0.92fr);
    align-items: center;
    gap: 10px;
  }

  .hero-copy {
    display: block;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .hero-visual[data-aos] {
    opacity: 1;
    transform: none;
  }

  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .founder-philosophy-grid,
  .vision-mission-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  h1 {
    font-size: clamp(1.45rem, 6.2vw, 2rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  h3 {
    font-size: 1.22rem;
    line-height: 1.24;
    overflow-wrap: anywhere;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    gap: 10px;
    padding-top: 0;
  }

  .hero.section-pad {
    padding-top: 102px;
    padding-bottom: 34px;
  }

  .section-pad {
    padding: 46px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-copy p:not(.eyebrow) {
    margin-top: 18px;
  }

  .hero-actions {
    gap: 7px;
    margin-top: 14px;
    flex-direction: row;
    align-items: center;
    max-width: 100%;
  }

  .hero-trust {
    gap: 6px;
    margin-top: 10px;
    align-items: center;
  }

  .hero-trust span {
    padding: 6px 8px;
    font-size: 0.66rem;
  }

  .btn {
    width: auto;
    min-width: 0;
    min-height: 38px;
    padding-inline: 10px;
    font-size: 0.72rem;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    margin-top: 12px;
    font-size: 0.72rem;
    line-height: 1.58;
  }

  .hero-copy,
  .hero-visual,
  .doctor-frame {
    max-width: 100%;
  }

  .hero-copy,
  .hero-actions,
  .hero-trust {
    width: 100%;
  }

  .hero-building-frame {
    width: 100%;
    padding: 5px;
    --hero-frame-pad: 5px;
  }

  .hero-building-frame > video {
    width: 100%;
    height: min(360px, 44vh);
    max-height: none;
    object-fit: cover;
    object-position: center center;
  }

  .floating-card {
    margin-top: 0;
  }

  .reference-stats-grid,
  .speciality-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-band {
    margin-top: 30px;
    padding: 18px 0;
  }

  .reference-stat {
    justify-content: flex-start;
    min-height: 78px;
    padding: 16px 0;
  }

  .reference-stat:not(:last-child),
  .reference-stat:nth-child(3) {
    grid-column: auto;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .gallery-grid {
    grid-auto-rows: auto;
    gap: 16px;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-row: auto;
    grid-column: auto;
  }

  .gallery-item {
    min-height: 230px;
    aspect-ratio: 4 / 3;
  }

  .gallery-item-exterior {
    min-height: 250px;
    aspect-ratio: 16 / 10;
  }

  .about-panel,
  .service-card {
    padding: 22px;
  }

  .service-card {
    min-height: auto;
  }

  .founder-identity {
    min-height: 112px;
    padding: 22px;
  }

  .founder-placeholder,
  .purpose-icon {
    width: 58px;
    height: 58px;
  }

  .testimonial-card {
    min-height: 500px;
  }

  .quick-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .appointment-wrap {
    margin-bottom: 42px;
  }

  .appointment-form {
    padding: 22px 18px;
  }

  .appointment-fields {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .appointment-form button {
    width: 100%;
    min-width: 0;
  }

  .quick-card strong {
    text-align: left;
  }

  .footer-links {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer {
    text-align: center;
  }

  .footer-logo,
  .footer p {
    margin-inline: auto;
  }

  .cursor-glow {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(128px, 0.9fr);
    gap: 8px;
  }

  .hero-visual {
    margin-top: 0;
  }

  .hero-building-frame {
    display: block;
    padding: 5px;
    --hero-frame-pad: 5px;
  }

  .hero-building-frame > video {
    height: min(320px, 40vh);
    object-fit: cover;
    object-position: center center;
  }

  .hero-building-frame .floating-card {
    position: absolute;
    display: flex;
    width: auto;
    min-width: 0;
    min-height: 0;
    margin-top: 0;
    padding: 7px 8px;
  }

  .hero-building-frame .care-card {
    left: -8px;
    right: auto;
    bottom: -12px;
    max-width: min(132px, 92%);
    align-items: center;
  }

  .hero-building-frame .pulse-card {
    top: 24%;
    right: -8px;
    max-width: 92px;
    gap: 2px;
    justify-content: center;
  }

  .hero-building-frame .mini-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    font-size: 0.72rem;
  }

  .hero-building-frame .floating-card strong,
  .hero-building-frame .floating-card span {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .hero-building-frame .floating-card small {
    display: block;
    font-size: 0.58rem;
    line-height: 1.25;
    overflow-wrap: normal;
  }

  .chatbot-float {
    right: 6px;
    bottom: 6px;
    width: 54px;
    height: 54px;
    box-shadow: 0 14px 30px rgba(8, 43, 112, 0.24);
  }

  .chatbot-float span {
    width: 23px;
    height: 17px;
  }
}

@media (max-width: 767px) {
  .hero {
    align-items: flex-start;
    min-height: auto;
    overflow-x: clip;
  }

  .hero.section-pad {
    padding-top: clamp(82px, 24vw, 104px);
    padding-bottom: clamp(24px, 8vw, 38px);
  }

  .hero .container.hero-grid {
    width: min(calc(100% - 18px), var(--container));
    max-width: 100%;
    grid-template-columns: minmax(0, 0.98fr) minmax(112px, 0.82fr);
    align-items: center;
    gap: clamp(6px, 2.2vw, 12px);
    padding-top: 0;
  }

  .hero-copy {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.48rem, 7vw, 2.25rem);
    line-height: 1.04;
    overflow-wrap: normal;
  }

  .hero-text {
    max-width: 100%;
    margin-top: clamp(8px, 2.3vw, 12px);
    font-size: clamp(0.62rem, 2.15vw, 0.78rem);
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: clamp(5px, 1.6vw, 8px);
    width: 100%;
    margin-top: clamp(10px, 2.8vw, 16px);
    flex-wrap: wrap;
  }

  .hero-trust {
    width: 100%;
    gap: clamp(4px, 1.4vw, 7px);
    margin-top: clamp(8px, 2.4vw, 12px);
  }

  .hero-trust span {
    padding: clamp(5px, 1.4vw, 7px) clamp(6px, 1.8vw, 9px);
    font-size: clamp(0.54rem, 1.8vw, 0.66rem);
    line-height: 1.2;
  }

  .hero .btn {
    width: auto;
    min-height: clamp(30px, 8vw, 38px);
    padding: 0 clamp(8px, 2.4vw, 12px);
    font-size: clamp(0.6rem, 1.9vw, 0.74rem);
    white-space: nowrap;
  }

  .hero-visual {
    width: 100%;
    max-width: none;
    margin: 0;
    align-self: center;
    min-width: 0;
  }

  .hero-building-frame {
    display: block;
    width: 100%;
    padding: clamp(4px, 1.4vw, 7px);
    --hero-frame-pad: clamp(4px, 1.4vw, 7px);
  }

  .hero-building-frame > video {
    width: 100%;
    height: min(360px, 44vh);
    object-fit: cover;
    object-position: center center;
  }

  .hero-building-frame .floating-card {
    position: absolute;
    width: auto;
    min-height: 0;
    padding: clamp(3px, 1.25vw, 6px) clamp(4px, 1.55vw, 7px);
    gap: clamp(3px, 0.8vw, 5px);
    border-radius: 6px;
  }

  .hero-building-frame .care-card {
    left: clamp(-8px, -1.8vw, -4px);
    right: auto;
    bottom: clamp(8px, 3vw, 14px);
    max-width: min(clamp(84px, 24vw, 104px), 92%);
  }

  .hero-building-frame .pulse-card {
    top: clamp(13px, 5vw, 24px);
    right: clamp(-8px, -1.8vw, -4px);
    max-width: clamp(54px, 17vw, 78px);
    gap: clamp(3px, 1.2vw, 6px);
  }

  .hero-building-frame .mini-icon {
    width: clamp(16px, 4.6vw, 22px);
    height: clamp(16px, 4.6vw, 22px);
    flex: 0 0 clamp(16px, 4.6vw, 22px);
    font-size: clamp(0.52rem, 1.6vw, 0.68rem);
  }

  .hero-building-frame .floating-card strong,
  .hero-building-frame .floating-card span {
    font-size: clamp(0.48rem, 1.58vw, 0.64rem);
    line-height: normal;
  }

  .hero-building-frame .floating-card small {
    font-size: clamp(0.4rem, 1.34vw, 0.52rem);
    line-height: normal;
  }
}

@media (max-width: 480px) {
  .hero .container.hero-grid {
    width: min(calc(100% - 14px), var(--container));
    grid-template-columns: minmax(0, 0.94fr) minmax(104px, 0.8fr);
    gap: clamp(5px, 1.8vw, 8px);
  }
}

@media (max-width: 440px) {
  .hero h1 {
    font-size: clamp(1.36rem, 6.9vw, 1.9rem);
  }

  .hero-text {
    font-size: clamp(0.58rem, 2vw, 0.68rem);
  }

  .hero-trust span {
    font-size: clamp(0.5rem, 1.65vw, 0.58rem);
  }
}

@media (max-width: 400px) {
  .hero .container.hero-grid {
    width: min(calc(100% - 12px), var(--container));
    grid-template-columns: minmax(0, 0.92fr) minmax(98px, 0.78fr);
  }

  .hero .btn {
    min-height: 28px;
    padding-inline: 7px;
  }
}

@media (max-width: 370px) {
  .hero .container.hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(92px, 0.76fr);
    gap: 5px;
  }

  .hero-actions {
    gap: 4px;
  }

  .hero-trust {
    gap: 4px;
  }
}

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

.hero.hero-video-bg {
  box-sizing: border-box;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #061116;
  padding: clamp(92px, 9vw, 126px) 0 clamp(34px, 5vw, 54px);
}

.hero.hero-video-bg.section-pad {
  padding-top: clamp(92px, 9vw, 126px);
  padding-bottom: clamp(34px, 5vw, 54px);
}

.hero.hero-video-bg .hero-background-video,
.hero.hero-video-bg .hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero.hero-video-bg .hero-background-video {
  z-index: 0;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.14);
  filter: saturate(1.04) contrast(1.03);
  pointer-events: none;
}

.hero.hero-video-bg .hero-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.36) 28%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(90deg, rgba(4, 16, 22, 0.68) 0%, rgba(4, 16, 22, 0.42) 45%, rgba(4, 16, 22, 0.2) 100%);
}

.hero.hero-video-bg .hero-shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.hero.hero-video-bg .hero-copy {
  max-width: 760px;
  color: var(--white);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.hero.hero-video-bg .hero-logo-lockup {
  width: clamp(180px, 21vw, 268px);
  height: clamp(70px, 8vw, 104px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(16px, 2.2vw, 24px);
  overflow: hidden;
  border-radius: 0;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.34));
}

.hero.hero-video-bg .hero-logo-lockup img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero.hero-video-bg .eyebrow {
  color: rgba(255, 255, 255, 0.92);
}

.hero.hero-video-bg .hero-text {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
}

.hero.hero-video-bg h1 {
  color: var(--white);
  max-width: 760px;
}

.hero.hero-video-bg .hero-trust span {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero.hero-video-bg .btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero.hero-video-bg .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 767px) {
  .hero.hero-video-bg {
    min-height: 90vh;
    align-items: center;
    padding: clamp(82px, 16vw, 104px) 0 clamp(28px, 7vw, 40px);
  }

  .hero.hero-video-bg .hero-shell {
    width: min(calc(100% - 18px), var(--container));
  }

  .hero.hero-video-bg .hero-copy {
    max-width: 100%;
  }

  .hero.hero-video-bg .hero-logo-lockup {
    width: clamp(142px, 42vw, 190px);
    height: clamp(54px, 16vw, 72px);
    margin-bottom: clamp(10px, 3vw, 14px);
  }

  .hero.hero-video-bg h1 {
    font-size: clamp(1.48rem, 7vw, 2.3rem);
  }

  .hero.hero-video-bg .hero-text {
    margin-top: clamp(8px, 2.3vw, 12px);
    font-size: clamp(0.68rem, 2.1vw, 0.88rem);
    line-height: 1.6;
  }

  .hero.hero-video-bg .hero-actions {
    margin-top: clamp(12px, 3vw, 18px);
    gap: clamp(6px, 2vw, 10px);
  }

  .hero.hero-video-bg .hero .btn,
  .hero.hero-video-bg .btn {
    min-height: clamp(34px, 9vw, 40px);
    padding: 0 clamp(12px, 3.4vw, 16px);
  }

  .hero.hero-video-bg .hero-trust {
    margin-top: clamp(10px, 2.6vw, 14px);
  }

  .hero.hero-video-bg .hero-trust span {
    padding: clamp(6px, 1.8vw, 8px) clamp(8px, 2.2vw, 11px);
    font-size: clamp(0.56rem, 1.8vw, 0.7rem);
  }
}

@media (max-width: 480px) {
  .hero.hero-video-bg .hero-shell {
    width: min(calc(100% - 14px), var(--container));
  }

  .hero.hero-video-bg h1 {
    font-size: clamp(1.34rem, 7vw, 1.9rem);
  }

  .hero.hero-video-bg .hero-actions {
    gap: 6px;
  }

  .hero.hero-video-bg .btn {
    white-space: nowrap;
  }
}
