:root {
  --teal: #007f7a;
  --teal-dark: #005d59;
  --teal-soft: #e4f7f5;
  --charcoal: #102022;
  --muted: #5b6a6d;
  --white: #ffffff;
  --line: #e6eeee;
  --shadow: 0 24px 70px rgba(10, 41, 42, .14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--charcoal);
  background: #fbfdfd;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { width: 100%; display: block; object-fit: cover; }
.skip-link {
  position: absolute; left: -999px; top: 10px; z-index: 999;
  background: var(--charcoal); color: white; padding: 10px 14px; border-radius: 10px;
}
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230,238,238,.7);
}
.navbar {
  max-width: 1180px; margin: auto; padding: 14px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-icon {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  color: white; background: linear-gradient(135deg, var(--teal), #13b1a8);
  box-shadow: 0 12px 30px rgba(0,127,122,.25);
}
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: 14px; }
.nav-links a:not(.nav-cta) { color: #33484b; }
.nav-cta {
  background: var(--teal); color: white; padding: 11px 16px; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0,127,122,.18);
}
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; }
.menu-toggle span { display: block; height: 2px; background: var(--charcoal); margin: 7px; }

.hero {
  position: relative; min-height: 760px; display: grid; align-items: center;
  padding: 120px 22px 70px; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7,38,42,.82), rgba(7,38,42,.58), rgba(7,38,42,.2)),
    url("https://images.unsplash.com/photo-1584515979956-d9f6e5d09982?auto=format&fit=crop&w=1800&q=85") center/cover;
}
.hero::after {
  content: ""; position: absolute; inset: auto -8% -140px -8%; height: 260px; background: white; transform: rotate(-3deg);
}
.hero-content { max-width: 1180px; margin: auto; width: 100%; color: white; position: relative; z-index: 2; }
.eyebrow { color: #18b9b0; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 900; margin: 0 0 12px; }
.hero .eyebrow { color: #93fff8; }
h1, h2, h3 { line-height: 1.08; margin: 0; }
h1 { max-width: 760px; font-size: clamp(44px, 7vw, 84px); letter-spacing: -0.06em; }
h2 { font-size: clamp(30px, 4vw, 54px); letter-spacing: -0.045em; }
h3 { font-size: 22px; letter-spacing: -0.02em; }
.hero-text { max-width: 620px; font-size: 20px; color: rgba(255,255,255,.9); margin: 24px 0 30px; }
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  border-radius: 999px; padding: 15px 22px; font-weight: 900; border: 1px solid transparent;
  transition: .25s ease; cursor: pointer; font-size: 15px;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: white; box-shadow: 0 18px 40px rgba(0,127,122,.28); }
.btn-outline { border-color: rgba(255,255,255,.5); color: white; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.btn-outline.dark { color: var(--charcoal); border-color: var(--line); background: white; }
.full { width: 100%; border: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust span {
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.12);
  padding: 9px 13px; border-radius: 999px; font-weight: 800; font-size: 13px;
}
.hero-card {
  position: absolute; right: max(22px, calc((100vw - 1180px)/2)); bottom: 90px; z-index: 3;
  width: min(360px, calc(100vw - 44px)); padding: 26px; border-radius: var(--radius);
  background: rgba(255,255,255,.92); backdrop-filter: blur(18px); box-shadow: var(--shadow);
}
.hero-card h2 { font-size: 28px; }
.hero-card p { margin: 7px 0; color: var(--muted); font-weight: 700; }
.hero-card a { color: var(--teal); font-weight: 900; }
.status-dot { width: 12px; height: 12px; background: #12c78b; border-radius: 50%; box-shadow: 0 0 0 8px rgba(18,199,139,.16); margin-bottom: 16px; }

.quick-actions {
  max-width: 1120px; margin: -42px auto 70px; position: relative; z-index: 10;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0 22px;
}
.quick-actions a {
  background: white; border: 1px solid var(--line); border-radius: 20px; padding: 22px;
  box-shadow: 0 16px 50px rgba(16,32,34,.08); font-weight: 900; text-align: center;
}

.section { padding: 85px 22px; }
.section-grid, .booking-panel, .contact-card, .care-card {
  max-width: 1180px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.section-copy p, .section-heading p, .care-card p, .booking-copy p { color: var(--muted); font-size: 18px; }
.image-stack { position: relative; min-height: 520px; }
.image-stack img:first-child { height: 440px; border-radius: var(--radius); box-shadow: var(--shadow); }
.image-stack img:last-child {
  position: absolute; width: 58%; right: 0; bottom: 0; height: 260px; border: 10px solid white;
  border-radius: 26px; box-shadow: var(--shadow);
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.stats div, .why-item {
  padding: 22px; border-radius: 22px; background: white; border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(16,32,34,.05);
}
.stats strong { display: block; font-size: 26px; color: var(--teal); }
.stats span { color: var(--muted); font-weight: 700; font-size: 13px; }

.patient-care { background: linear-gradient(180deg, white, var(--teal-soft)); }
.care-card { background: var(--charcoal); color: white; padding: 22px; border-radius: 34px; box-shadow: var(--shadow); }
.care-card img { height: 410px; border-radius: 26px; }
.care-card p { color: rgba(255,255,255,.76); }

.section-heading { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.service-grid, .why-grid, .gallery-grid {
  max-width: 1180px; margin: auto; display: grid; gap: 18px;
}
.service-grid { grid-template-columns: repeat(4, 1fr); }
.service-card {
  padding: 26px; border: 1px solid var(--line); border-radius: 26px; background: white;
  box-shadow: 0 14px 44px rgba(16,32,34,.06); transition: .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card span { font-size: 31px; }
.service-card h3 { margin: 14px 0 8px; font-size: 20px; }
.service-card p, .why-item p { color: var(--muted); margin-bottom: 0; }

.booking { background: radial-gradient(circle at top left, #dff8f6, transparent 35%), linear-gradient(135deg, #f6fffe, #ffffff); }
.booking-panel {
  background: white; padding: 34px; border-radius: 36px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.booking-note {
  background: var(--teal-soft); border-left: 5px solid var(--teal); border-radius: 16px; padding: 16px;
  color: var(--teal-dark); font-weight: 800; margin-top: 22px;
}
.booking-form { display: grid; gap: 14px; }
label { font-size: 13px; font-weight: 900; color: #31484b; }
input, select, textarea {
  width: 100%; margin-top: 7px; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 15px; font: inherit; outline: none; background: #fbfdfd;
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,127,122,.10); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.why-grid { grid-template-columns: repeat(4, 1fr); }
.gallery-grid { grid-template-columns: repeat(4, 1fr); }
.gallery-grid img { height: 280px; border-radius: 26px; box-shadow: 0 16px 50px rgba(16,32,34,.08); }

.faq { background: #f7fbfb; }
.faq-list { max-width: 880px; margin: auto; display: grid; gap: 14px; }
details {
  background: white; border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px;
  box-shadow: 0 10px 34px rgba(16,32,34,.05);
}
summary { font-weight: 900; cursor: pointer; }
details p { color: var(--muted); margin-bottom: 0; }

.contact-card {
  align-items: stretch; background: white; padding: 26px; border-radius: 36px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.contact-card iframe { width: 100%; min-height: 430px; border: 0; border-radius: 26px; }
.contact-card p { color: var(--muted); font-size: 17px; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.footer {
  max-width: 1180px; margin: auto; padding: 34px 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted);
}
.footer strong { color: var(--charcoal); }

.floating-actions {
  position: fixed; right: 18px; bottom: 18px; z-index: 80; display: grid; gap: 10px;
}
.floating-actions a {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%;
  background: var(--teal); color: white; box-shadow: 0 18px 45px rgba(0,127,122,.28); font-size: 22px;
}
.floating-actions a:first-child { background: var(--charcoal); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 70px; left: 22px; right: 22px; background: white; border: 1px solid var(--line);
    border-radius: 24px; padding: 18px; box-shadow: var(--shadow); display: none; flex-direction: column; align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 8px 0; }
  .hero { min-height: 760px; padding-top: 90px; align-items: start; }
  .hero-card { left: 22px; right: 22px; bottom: 60px; }
  .quick-actions, .section-grid, .booking-panel, .contact-card, .care-card { grid-template-columns: 1fr; }
  .service-grid, .why-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .image-stack { min-height: 460px; }
}

@media (max-width: 640px) {
  .navbar { padding: 12px 16px; }
  .hero { min-height: 820px; padding: 70px 16px 90px; }
  h1 { font-size: 42px; }
  .hero-text { font-size: 17px; }
  .btn { width: 100%; }
  .quick-actions { grid-template-columns: 1fr; margin-top: -34px; padding: 0 16px; }
  .section { padding: 62px 16px; }
  .service-grid, .why-grid, .gallery-grid, .stats, .form-row { grid-template-columns: 1fr; }
  .booking-panel, .contact-card, .care-card { padding: 18px; border-radius: 26px; }
  .gallery-grid img, .care-card img { height: 240px; }
  .image-stack img:first-child { height: 360px; }
  .image-stack img:last-child { width: 76%; height: 210px; }
  .footer { flex-direction: column; align-items: flex-start; }
}


/* House Calls addition */
.image-stack.single-image { min-height: 500px; }
.image-stack.single-image img:first-child {
  height: 500px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.house-calls {
  background: linear-gradient(180deg, #ffffff 0%, var(--teal-soft) 100%);
}
.house-call-shell {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: start;
  padding: 38px;
  border: 1px solid rgba(0,127,122,.14);
  border-radius: 38px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}
.house-call-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}
.house-call-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.house-call-points > div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 12px 36px rgba(16,32,34,.05);
}
.house-call-points span { display: block; font-size: 28px; margin-bottom: 9px; }
.house-call-points strong { display: block; font-size: 16px; }
.house-call-points p { color: var(--muted); margin: 5px 0 0; font-size: 14px; }
.house-call-warning {
  margin-top: 18px;
  padding: 17px 18px;
  border-left: 5px solid #d56a42;
  border-radius: 16px;
  background: #fff3ef;
  color: #71341f;
}
.house-call-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: 28px;
  background: var(--charcoal);
  box-shadow: 0 22px 60px rgba(16,32,34,.2);
}
.house-call-form label { color: white; }
.house-call-form-heading { display: flex; gap: 14px; align-items: center; color: white; margin-bottom: 4px; }
.house-call-form-heading strong { display: block; font-size: 23px; }
.house-call-form-heading p { margin: 2px 0 0; color: rgba(255,255,255,.7); font-size: 14px; }
.house-icon {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--teal);
  font-size: 29px;
  color: white;
}
.house-call-form input,
.house-call-form textarea {
  background: rgba(255,255,255,.98);
}
.form-disclaimer { margin: -2px 0 0; color: rgba(255,255,255,.68); text-align: center; font-size: 12px; }
.gallery-grid { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 980px) {
  .house-call-shell { grid-template-columns: 1fr; padding: 26px; }
  .image-stack.single-image { min-height: auto; }
  .image-stack.single-image img:first-child { height: 440px; }
}

@media (max-width: 640px) {
  .house-call-shell { padding: 18px; border-radius: 26px; }
  .house-call-points { grid-template-columns: 1fr; }
  .house-call-form { padding: 18px; border-radius: 22px; }
  .image-stack.single-image img:first-child { height: 360px; }
  .gallery-grid { grid-template-columns: 1fr; }
}
