
:root {
  --navy: #071b3f;
  --green: #5f7f45;
  --sage: #8cad59;
  --light-green: #eef4e7;
  --ivory: #fbfaf6;
  --white: #ffffff;
  --gray: #5e6673;
  --text: #172033;
  --line: rgba(7, 27, 63, .12);
  --shadow: 0 18px 45px rgba(7, 27, 63, .16);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--ivory);
  color: var(--text);
  line-height: 1.6;
}

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

.topbar {
  background: var(--navy);
  color: white;
  font-size: .92rem;
  padding: .65rem 6%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}

.nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: .95rem 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo img {
  width: 245px;
  max-width: 48vw;
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-weight: 650;
  color: var(--navy);
  font-size: .94rem;
}

.menu a.active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
  padding-bottom: .3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--green);
  color: white;
  border-radius: 10px;
  padding: .9rem 1.25rem;
  font-weight: 750;
  box-shadow: 0 10px 22px rgba(95,127,69,.25);
  transition: transform .2s ease, box-shadow .2s ease;
  border: 0;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(95,127,69,.34);
}

.btn.secondary {
  background: white;
  color: var(--navy);
  border: 1px solid rgba(7,27,63,.22);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(251,250,246,.98) 0%, rgba(251,250,246,.92) 42%, rgba(251,250,246,.25) 72%),
    url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1800&q=80") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -48px;
  height: 115px;
  background: var(--ivory);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  border-top: 12px solid rgba(95,127,69,.85);
}

.hero-content {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 6% 7rem;
  position: relative;
  z-index: 2;
}

.hero.two-column .hero-content {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 3.4rem;
  align-items: center;
}

.eyebrow {
  color: var(--green);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: .9rem;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: clamp(2.7rem, 5.5vw, 5.2rem);
  line-height: 1.04;
  margin: 0 0 1.2rem;
  max-width: 760px;
  letter-spacing: -.04em;
}

h1 span, h2 span { color: var(--green); }

.hero p, .intro {
  max-width: 650px;
  font-size: 1.18rem;
  color: #263449;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.photo-card {
  background: white;
  border-radius: 30px;
  padding: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  max-width: 390px;
  margin: 0 auto;
  position: relative;
}

.photo-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 8px solid rgba(95,127,69,.16);
  left: -44px;
  top: -38px;
  z-index: -1;
}

.photo-card img {
  display: block;
  width: 100%;
  border-radius: 23px;
}

.highlights {
  position: relative;
  z-index: 3;
  max-width: 1120px;
  margin: -58px auto 0;
  padding: 0 6%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.highlights.three { grid-template-columns: repeat(3, 1fr); }

.highlight-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.45rem 1.2rem;
  text-align: center;
  box-shadow: 0 10px 28px rgba(7,27,63,.08);
}

.circle-icon {
  width: 52px;
  height: 52px;
  border: 2px solid var(--green);
  color: var(--green);
  border-radius: 50%;
  margin: 0 auto .8rem;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 800;
}

.highlight-card h3 {
  color: var(--green);
  margin: 0 0 .35rem;
  font-size: 1rem;
}

.highlight-card p {
  margin: 0;
  color: var(--gray);
  font-size: .92rem;
  font-weight: 600;
}

section {
  padding: 5.5rem 6%;
  scroll-margin-top: 150px;
}

#about,
#doctor,
#services,
#patients,
#contact {
  scroll-margin-top: 150px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.aloe-panel {
  min-height: 430px;
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(238,244,231,.92), rgba(251,250,246,.62)),
    url("https://images.unsplash.com/photo-1596547609652-9cf5d8c6f4b3?auto=format&fit=crop&w=1400&q=80") center / cover no-repeat;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.aloe-panel::after {
  content: "VIBRA";
  position: absolute;
  right: -10px;
  bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  color: rgba(7,27,63,.08);
  font-size: 4.5rem;
  letter-spacing: .15em;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.12;
  margin: 0 0 1rem;
}

.lead {
  color: var(--gray);
  font-size: 1.08rem;
  max-width: 680px;
}

.service-grid {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.service, .content-card, .side-card, .contact-card, .map-card {
  background: white;
  border-radius: 22px;
  border: 1px solid var(--line);
  padding: 1.55rem;
  box-shadow: 0 10px 24px rgba(7,27,63,.06);
}

.service strong {
  display: block;
  color: var(--navy);
  margin-bottom: .45rem;
  font-size: 1.05rem;
}

.service p, .content-card p, .contact-card p {
  margin: 0 0 1.05rem;
  color: var(--gray);
  font-size: .97rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 2rem;
  align-items: start;
}

.content-card {
  padding: clamp(1.55rem, 3vw, 2.5rem);
}

.side-card {
  position: sticky;
  top: 130px;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.info-list li {
  border-top: 1px solid var(--line);
  padding: .95rem 0;
  color: var(--gray);
}

.info-list strong {
  display: block;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
  margin-bottom: .15rem;
}

.doctor-card {
  background: linear-gradient(135deg, var(--navy), #102f58);
  color: white;
  border-radius: 28px;
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow);
}

.doctor-card h2 { color: white; }
.doctor-card p { color: rgba(255,255,255,.78); }

.doctor-thumb {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  padding: 1rem;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: center;
}

.doctor-thumb img {
  width: 96px;
  height: 112px;
  object-fit: cover;
  border-radius: 16px;
}

.doctor-thumb strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  margin-bottom: .35rem;
}

.doctor-thumb span { color: rgba(255,255,255,.75); }

.quote-section {
  background: linear-gradient(135deg, var(--navy), #102f58);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: "“";
  position: absolute;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18rem;
  color: rgba(255,255,255,.06);
  left: 8%;
  top: -3rem;
}

blockquote {
  margin: 0 auto;
  max-width: 860px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  line-height: 1.28;
  position: relative;
  z-index: 2;
}

.quote-author {
  margin-top: 1.3rem;
  color: rgba(255,255,255,.78);
  font-weight: 700;
}

.tagline {
  margin-top: 2rem;
  color: var(--sage);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  margin-top: 2rem;
}

.map-placeholder {
  height: 280px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(95,127,69,.15), rgba(7,27,63,.08)),
    repeating-linear-gradient(45deg, rgba(7,27,63,.05) 0 1px, transparent 1px 18px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--navy);
  font-weight: 750;
  border: 1px dashed rgba(7,27,63,.25);
}

.socials {
  display: flex;
  gap: .7rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--light-green);
  color: var(--green);
  font-weight: 900;
  border: 1px solid rgba(95,127,69,.2);
}

.cta {
  text-align: center;
  background: var(--light-green);
}

.cta .logo-small {
  width: 310px;
  max-width: 82vw;
  margin: 0 auto 1rem;
  display: block;
}

.cta p {
  color: var(--gray);
  margin: 0 auto 1.8rem;
  max-width: 650px;
}

footer {
  background: #071426;
  color: rgba(255,255,255,.75);
  padding: 3rem 6%;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}

footer strong {
  display: block;
  color: white;
  margin-bottom: .6rem;
}

footer p { margin: .25rem 0; }

.notice {
  max-width: 1180px;
  margin: 2rem auto 0;
  color: rgba(255,255,255,.48);
  font-size: .8rem;
}

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

  section,
  #about,
  #doctor,
  #services,
  #patients,
  #contact {
    scroll-margin-top: 110px;
  }

  .menu { display: none; }
  .hero {
    min-height: auto;
    background:
      linear-gradient(rgba(251,250,246,.94), rgba(251,250,246,.94)),
      url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1400&q=80") center / cover no-repeat;
  }
  .hero.two-column .hero-content,
  .highlights,
  .highlights.three,
  .service-grid,
  .split,
  .footer-grid,
  .doctor-card,
  .contact-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }
  .hero-content { padding-top: 3.4rem; }
  .highlights { margin-top: 0; padding-top: 2rem; }
  .logo img { width: 205px; }
  .topbar { font-size: .82rem; }
  .side-card { position: static; }
  .photo-card { max-width: 320px; }
}



/* --- Desktop + Mobile Optimization Additions --- */
img {
  max-width: 100%;
  height: auto;
}

body {
  overflow-x: hidden;
}

.logo img {
  height: auto;
}

.mobile-nav-toggle {
  display: none;
}

#nav-toggle {
  display: none;
}

@media (max-width: 1100px) {
  .nav {
    gap: 1.2rem;
  }

  .menu {
    gap: .9rem;
    font-size: .86rem;
  }

  .menu .btn {
    padding: .78rem 1rem;
  }

  .logo img {
    width: 205px;
  }
}

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

  section,
  #about,
  #doctor,
  #services,
  #patients,
  #contact {
    scroll-margin-top: 110px;
  }

  .topbar {
    justify-content: center;
    text-align: center;
    font-size: .78rem;
    padding: .55rem 4%;
  }

  .topbar span {
    flex: 1 1 100%;
  }

  header {
    position: sticky;
  }

  .nav {
    padding: .75rem 5%;
    align-items: center;
  }

  .logo img {
    width: 185px;
    max-width: 70vw;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--green);
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(95,127,69,.25);
  }

  .mobile-nav-toggle::before {
    content: "☰";
  }

  .menu {
    display: none !important;
    position: absolute;
    left: 5%;
    right: 5%;
    top: calc(100% + 8px);
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    z-index: 100;
  }

  #nav-toggle:checked ~ .menu {
    display: flex !important;
  }

  #nav-toggle:checked + .mobile-nav-toggle::before {
    content: "×";
  }

  .menu a {
    padding: .85rem 1rem;
    border-radius: 10px;
  }

  .menu a.active {
    border-bottom: 0;
    background: var(--light-green);
  }

  .menu .btn {
    width: 100%;
    margin-top: .35rem;
  }

  .hero {
    min-height: auto;
    text-align: left;
    background:
      linear-gradient(rgba(251,250,246,.94), rgba(251,250,246,.94)),
      url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1400&q=80") center / cover no-repeat;
  }

  .hero::after {
    height: 70px;
    bottom: -30px;
    border-top-width: 7px;
  }

  .hero-content {
    padding: 3.3rem 5% 4.2rem;
  }

  .hero.two-column .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero.two-column .hero-content > div:first-child {
    order: 2;
  }

  .hero.two-column .hero-content > div:last-child {
    order: 1;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.3rem);
    line-height: 1.05;
    max-width: 100%;
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .hero p,
  .intro,
  .lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .highlights,
  .highlights.three,
  .service-grid,
  .split,
  .footer-grid,
  .doctor-card,
  .contact-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .highlights {
    margin-top: 0;
    padding-top: 2rem;
  }

  section {
    padding: 4rem 5%;
  }

  .aloe-panel {
    min-height: 260px;
  }

  .doctor-card {
    padding: 1.5rem;
    border-radius: 22px;
  }

  .doctor-thumb {
    grid-template-columns: 74px 1fr;
  }

  .doctor-thumb img {
    width: 74px;
    height: 88px;
  }

  .content-card,
  .side-card,
  .contact-card,
  .map-card,
  .service {
    padding: 1.25rem;
  }

  .side-card {
    position: static;
  }

  .photo-card {
    max-width: 300px;
  }

  .photo-card::before {
    width: 120px;
    height: 120px;
    left: -25px;
    top: -25px;
    border-width: 6px;
  }

  blockquote {
    font-size: clamp(1.35rem, 6vw, 2rem);
  }

  .quote-section::before {
    font-size: 10rem;
    left: 3%;
  }

  .map-placeholder {
    height: 220px;
  }

  .cta .logo-small {
    width: 240px;
  }

  footer {
    padding: 2.5rem 5%;
  }
}

@media (max-width: 480px) {
  .logo img {
    width: 160px;
  }

  .topbar {
    font-size: .72rem;
  }

  .nav {
    padding: .65rem 4%;
  }

  .hero-content {
    padding-left: 4%;
    padding-right: 4%;
  }

  section {
    padding-left: 4%;
    padding-right: 4%;
  }

  .highlight-card {
    padding: 1.1rem;
  }

  .circle-icon {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }

  .service-grid {
    gap: .9rem;
  }

  .contact-card p {
    word-break: break-word;
  }
}
