/* ============================================================
   595 Parliament Medical Clinic — Site Styles
   ============================================================ */

:root {
  --teal: #0f766e;
  --teal-dark: #115e59;
  --teal-darker: #134e4a;
  --teal-light: #ccfbf1;
  --mint: #f0fdfa;
  --ink: #1e293b;
  --ink-soft: #475569;
  --line: #e2e8f0;
  --white: #ffffff;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(15, 118, 110, 0.10);
  --shadow-sm: 0 2px 8px rgba(30, 41, 59, 0.08);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw: 1120px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--teal-dark);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--teal-darker);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-outline:hover {
  background: var(--mint);
  color: var(--teal-dark);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--teal-darker);
}

.btn-light:hover {
  background: var(--teal-light);
  color: var(--teal-darker);
}

.btn-lg {
  font-size: 1.1rem;
  padding: 18px 40px;
}

/* ---------- Header ---------- */

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--teal-darker);
  line-height: 1.2;
}

.logo:hover {
  color: var(--teal-darker);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--teal);
  color: var(--white);
  flex-shrink: 0;
}

.logo-mark svg {
  width: 22px;
  height: 22px;
}

.logo span.num {
  color: var(--teal);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--teal);
}

.main-nav a.active {
  border-bottom: 2px solid var(--teal);
  padding-bottom: 2px;
}

.main-nav a.btn-primary,
.main-nav a.btn-primary:hover {
  color: var(--white);
}

.nav-cta {
  font-size: 0.95rem;
  padding: 10px 22px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
  color: var(--teal-darker);
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--mint) 0%, #e6f7f4 55%, #fdfdf9 100%);
  padding: 84px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 18px;
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  border-top: 5px solid var(--teal);
}

.hero-card h2 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.hero-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 10px;
}

.hours-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mint);
  border: 1px solid var(--teal-light);
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 18px;
  margin-top: 8px;
}

/* ---------- Sections ---------- */

.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--mint);
}

.section-head {
  max-width: 44em;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 14px;
}

.section-head p {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

/* Two-column split */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 16px;
}

.split p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.split .btn {
  margin-top: 10px;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.panel-tint {
  background: var(--mint);
  border-color: var(--teal-light);
}

.check-list {
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Cards grid */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal-dark);
  margin-bottom: 16px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Values row */

.values-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-item {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.value-item .card-icon {
  margin: 0 auto 14px;
}

.value-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.value-item p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* Services pill list */

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}

.pill-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.pill-list li:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: var(--mint);
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: calc(var(--radius) * 1.5);
  padding: 64px 48px;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.cta-banner p {
  color: var(--teal-light);
  max-width: 36em;
  margin: 0 auto 30px;
  font-size: 1.08rem;
}

.cta-banner .hero-ctas {
  justify-content: center;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.contact-list .icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--teal-light);
  color: var(--teal-dark);
}

.contact-list .icon svg {
  width: 20px;
  height: 20px;
}

.contact-list strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-bottom: 2px;
}

.map-frame {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  background: linear-gradient(160deg, var(--mint), #e9f7f3);
  padding: 64px 0;
  border-bottom: 1px solid var(--teal-light);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 42em;
}

.page-hero .subtitle {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 10px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--teal-darker);
  color: #d3e8e5;
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 16px;
}

.site-footer a {
  color: #b7dcd7;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 30em;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  font-size: 0.85rem;
  color: #9dc4bf;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Booking notice modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 78, 74, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 460px;
  width: 100%;
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow);
}

.modal h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.modal p {
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.modal .btn {
  margin: 0 6px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cards,
  .cards.two {
    grid-template-columns: 1fr 1fr;
  }

  .values-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a.active {
    border-bottom: 1px solid var(--line);
  }

  .main-nav .nav-cta {
    margin-top: 14px;
  }

  .cards,
  .cards.two,
  .footer-grid,
  .values-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .cta-banner {
    padding: 48px 28px;
  }

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

/* Logo image variant (595 cross-pulse mark) */
.logo-mark.logo-mark-img {
  background: var(--white);
  overflow: hidden;
}

.logo-mark.logo-mark-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
