/* ==========================================================================
   Bharti Dental And Health Care Centre — style.css
   Plain CSS · mobile-first · no frameworks · system fonts
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --ink: #10333E;
  /* headings / dark text */
  --slate: #44606C;
  /* body text */
  --lagoon: #0E7490;
  /* primary brand */
  --lagoon-dark: #0B5D74;
  /* primary hover */
  --surf: #06B6D4;
  /* bright accent */
  --mist: #EAF6F8;
  /* alternating section background */
  --wa: #15803D;
  /* WhatsApp buttons (AA contrast w/ white) */
  --wa-dark: #136B34;
  --wa-bubble: #25D366;
  /* floating bubble only */
  --amber: #F5A623;
  /* rating star */
  --line: #D6E3E8;
  /* borders */
  --muted: #6B8693;

  --radius-card: 18px;
  --radius-photo: 20px;
  --shadow-sm: 0 1px 2px rgba(16, 51, 62, .06), 0 2px 10px rgba(16, 51, 62, .06);
  --shadow-md: 0 8px 28px rgba(16, 51, 62, .12);
  --shadow-lg: 0 18px 50px rgba(16, 51, 62, .18);

  --header-h: 70px;
  --container: 1140px;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate);
  background: #fff;
  overflow-wrap: break-word;
}

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

h1,
h2,
h3 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.015em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--lagoon);
}

address {
  font-style: normal;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  display: inline-block;
  vertical-align: -.22em;
}

.icon.star {
  color: var(--amber);
}

:focus-visible {
  outline: 3px solid var(--surf);
  outline-offset: 2px;
  border-radius: 4px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
}

/* they get their own ring below */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 12px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: clamp(56px, 9vw, 96px) 0;
}

.section-mist {
  background: var(--mist);
}

.section-head {
  max-width: 680px;
  margin: 0 auto clamp(28px, 5vw, 46px);
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.25rem);
  margin-bottom: 8px;
}

.section-lead {
  margin: 0;
  font-size: 1.02rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lagoon);
}

.eyebrow .icon {
  width: 16px;
  height: 16px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.inline-actions.center {
  justify-content: center;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  min-height: 48px;
  font: inherit;
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease,
    border-color .2s ease, transform .15s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn .icon {
  width: 19px;
  height: 19px;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--lagoon);
  color: #fff;
  box-shadow: 0 6px 18px rgba(14, 116, 144, .28);
}

.btn-primary:hover {
  background: var(--lagoon-dark);
}

.btn-whatsapp {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 6px 18px rgba(21, 128, 61, .28);
}

.btn-whatsapp:hover {
  background: var(--wa-dark);
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--lagoon);
  color: var(--lagoon);
}

.btn-ghost {
  background: transparent;
  color: var(--lagoon);
  border-color: rgba(14, 116, 144, .45);
}

.btn-ghost:hover {
  background: rgba(14, 116, 144, .08);
}

.btn-lg {
  padding: 15px 26px;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

/* ---------- 5. Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 16px rgba(16, 51, 62, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--header-h);
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: auto;
  border-radius: 50%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.brand-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
}

/* Mobile: nav is a floating dropdown card below the header.
   Note: offsets are measured from the header row's outer edge (the viewport
   edge on mobile), so left/right 16px = exactly 16px from the screen edge. */
.site-nav {
  position: absolute;
  top: calc(100% + 8px);
  left: 16px;
  right: 16px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(16, 51, 62, .18);
  max-height: calc(100vh - 110px);
  max-height: calc(100dvh - 110px);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}

.site-nav.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition: opacity .25s ease, transform .25s ease, visibility 0s;
}

.site-nav ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul a {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.site-nav ul a:hover,
.site-nav ul a:active {
  background: var(--mist);
  color: var(--lagoon);
}

.nav-cta {
  display: flex;
  margin: 12px 0 2px;
}

.header-cta {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle .bar {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

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

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

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

@media (min-width: 992px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .site-nav ul a {
    padding: 9px 13px;
    border-radius: 10px;
    font-size: .95rem;
  }

  .site-nav ul a:hover {
    background: var(--mist);
    color: var(--lagoon);
  }

  .nav-cta {
    display: none;
  }

  .header-cta {
    display: inline-flex;
    margin-left: 6px;
  }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 84px) 0 clamp(52px, 7vw, 92px);
  background:
    radial-gradient(rgba(14, 116, 144, .08) 1px, transparent 1.5px) 0 0 / 22px 22px,
    linear-gradient(180deg, #F0F9FA 0%, #fff 80%);
}

.hero-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.hero-content,
.about-text,
.doctor-content {
  min-width: 0;
}

/* prevent grid blowout on narrow screens */

.hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(2.05rem, 5.4vw, 3.3rem);
  letter-spacing: -.02em;
}

.hero-sub {
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 700;
  color: var(--lagoon);
}

.hero-desc {
  max-width: 54ch;
  margin: 0 0 26px;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  line-height: 1.4;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
}

.trust-badges .icon {
  width: 17px;
  height: 17px;
  color: var(--lagoon);
}

.trust-badges .icon.star {
  color: var(--amber);
}

.hero-media {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.hero-photo {
  margin: 0;
  border-radius: var(--radius-photo);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 50% 100%;
  /* anchored low: any trim comes off the ceiling, never feet/faces */
}

@media (max-width: 639.98px) {
  .hero-image {
    aspect-ratio: 4 / 5;
  }
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
}

.chip-rating {
  top: 14px;
  right: 12px;
}

.chip-rating strong {
  font-size: 1.02rem;
}

.chip-doctor {
  left: 12px;
  bottom: 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.chip-doctor strong {
  font-size: .95rem;
}

.chip-doctor span {
  font-size: .78rem;
  font-weight: 500;
  color: var(--slate);
}

@media (max-width: 479.98px) {
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .btn {
    padding-inline: 12px;
  }

  .hero-actions .btn-outline {
    grid-column: 1 / -1;
  }
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.05fr .95fr;
  }

  .hero-media {
    margin: 0 0 0 auto;
  }

  .chip-rating {
    right: -14px;
  }

  .chip-doctor {
    left: -14px;
  }
}

/* ---------- 7. About clinic ---------- */
.about-grid {
  display: grid;
  gap: 30px;
  align-items: center;
}

.about-text p {
  margin-bottom: 14px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
}

.check-list .icon {
  width: 21px;
  height: 21px;
  margin-top: 2px;
  color: var(--lagoon);
}

.about-media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-photo);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 45% 50%;
}

.about-media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 16px 12px;
  background: linear-gradient(180deg, rgba(16, 51, 62, 0) 0%, rgba(16, 51, 62, .78) 100%);
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
  }
}

/* ---------- 8. About doctor ---------- */
.doctor-grid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.doctor-media {
  position: relative;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.doctor-media::before {
  content: "";
  position: absolute;
  inset: -1px -1px -1px -1px;
  border: 2px solid rgba(14, 116, 144, .3);
  border-radius: var(--radius-photo);
}

.doctor-media img {
  position: relative;
  border-radius: var(--radius-photo);
  box-shadow: var(--shadow-md);
}

/* Doctor portrait: always shown at its natural 3:4 ratio, never cropped.
   High-specificity dedicated class + explicit neutralizers so no other rule
   (cached, inherited, or future) can force a landscape crop. */
.doctor-media,
.doctor-image-wrapper {
  height: auto;
  overflow: visible;
}

.doctor-media img.doctor-profile-image {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  display: block;
  object-fit: contain;
  object-position: center top;
  border-radius: 24px;
  background: #f4fbfd;
}

@media (max-width: 768px) {
  .doctor-media img.doctor-profile-image {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center top;
    border-radius: 20px;
  }
}

.doctor-content h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
}

.doctor-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.doctor-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
}

.doctor-highlights .icon {
  width: 22px;
  height: 22px;
  color: var(--lagoon);
}

@media (min-width: 480px) {
  .doctor-highlights {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .doctor-grid {
    grid-template-columns: .85fr 1.15fr;
  }

  .doctor-media {
    margin: 0;
  }
}

/* ---------- 9. Cards (services & why-us) ---------- */
.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.card {
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #BBD9E0;
  box-shadow: var(--shadow-md);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  background: var(--mist);
  border-radius: 14px;
  color: var(--lagoon);
}

.card-icon .icon {
  width: 26px;
  height: 26px;
}

.card h3 {
  margin-bottom: 6px;
  font-size: 1.06rem;
}

.card p {
  margin: 0;
  font-size: .95rem;
}

.card-soft {
  box-shadow: none;
}

.card-soft:hover {
  box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid.grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- 10. Gallery ---------- */
.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .45s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 16px 12px;
  background: linear-gradient(180deg, rgba(16, 51, 62, 0) 0%, rgba(16, 51, 62, .78) 100%);
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
}

@media (min-width: 560px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 11. Timings ---------- */
.timings-card {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 46px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.timings-icon {
  width: 46px;
  height: 46px;
  color: var(--lagoon);
}

.timings-days {
  margin: 14px 0 2px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.timings-hours {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
}

.open-status {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 16px;
  background: var(--mist);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--lagoon);
}

.open-status.is-open {
  background: #E7F6EC;
  color: #15803D;
}

.open-status.is-closed {
  background: #FDEEEE;
  color: #B3261E;
}

.day-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.day-strip li {
  padding: 6px 12px;
  background: #F6FBFC;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
}

.timings-cta-text {
  margin: 0 0 14px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- 12. Location ---------- */
.location-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.location-card {
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

.location-card h3 {
  font-size: 1.2rem;
}

.location-card address {
  margin: 8px 0 6px;
  line-height: 1.7;
}

.location-note {
  margin: 0 0 20px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--lagoon);
}

.map-frame {
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

@media (min-width: 992px) {
  .location-grid {
    grid-template-columns: .9fr 1.1fr;
  }
}

/* ---------- 13. Contact / appointment ---------- */
.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: start;
}

.appointment-form {
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  gap: 0 16px;
  grid-template-columns: 1fr;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-field label {
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
}

.form-field label span {
  color: #C2410C;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #FBFDFE;
  border: 1px solid #C8DCE2;
  border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: #fff;
  border-color: var(--lagoon);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, .16);
}

.form-status {
  margin: 12px 0 0;
  font-weight: 600;
  color: var(--wa);
}

.form-status:empty {
  display: none;
}

.form-note {
  margin: 10px 0 0;
  font-size: .85rem;
  color: var(--muted);
}

.contact-aside {
  padding: clamp(24px, 4vw, 34px);
  background: var(--ink);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  color: #DCEDF2;
}

.contact-aside h3 {
  margin-bottom: 18px;
  font-size: 1.25rem;
  color: #fff;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-list .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--surf);
}

.contact-list li>span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: .95rem;
}

.contact-list strong {
  color: #fff;
}

.contact-list a {
  color: #9EE6F5;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1.4fr .9fr;
  }
}

/* ---------- 14. Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: var(--wa-bubble);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 8px 24px rgba(18, 140, 74, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float .icon {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.07);
  box-shadow: 0 10px 30px rgba(18, 140, 74, .5);
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: wa-pulse 2.6s ease-out infinite;
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .4);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ---------- 14b. Sticky mobile CTA bar ---------- */
.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(16, 51, 62, .14);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
}

.mobile-cta-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 6px 4px;
  border-radius: 12px;
  background: var(--mist);
  font-size: .76rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-cta-bar a .icon {
  width: 21px;
  height: 21px;
  color: var(--lagoon);
}

.mobile-cta-bar a:active {
  background: #D8ECF1;
}

.mobile-cta-bar .cta-wa {
  background: var(--wa);
  color: #fff;
}

.mobile-cta-bar .cta-wa .icon {
  color: #fff;
}

.mobile-cta-bar .cta-wa:active {
  background: var(--wa-dark);
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-cta-bar {
    display: grid;
  }

  /* The bar carries WhatsApp on phones; hide the bubble so nothing overlaps content */
  .whatsapp-float {
    display: none;
  }
}

/* ---------- 15. Footer ---------- */
.site-footer {
  background: #0C2630;
  color: #B9CFD8;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  /* Block padding only — the 20px inline padding comes from .container,
     so footer text can never touch the screen edge */
  padding-block: clamp(44px, 6vw, 64px) 38px;
}

@media (max-width: 699.98px) {
  .footer-grid {
    padding: 24px 20px;
    gap: 26px;
  }
}

.footer-brand p {
  font-size: .95rem;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.brand-light .brand-name {
  color: #fff;
}

.brand-light .brand-tag {
  color: #8FB2BF;
}

.footer-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 700;
  color: #fff;
}

.footer-col h3 {
  margin-bottom: 14px;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #fff;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .95rem;
}

.footer-col a {
  color: #B9CFD8;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px 0;
  font-size: .88rem;
}

.footer-bottom p {
  margin: 0;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.7fr .8fr 1.3fr .8fr;
    gap: 40px;
  }
}

/* ---------- 16. Scroll-reveal (JS-gated) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ---------- 17. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}