/* YA Medical — custom static theme */
:root {
  --color-primary: #42a1b2;
  --color-primary-dark: #1a9a9a;
  --color-accent: #2abfbf;
  --color-navy: #1a3a5c;
  --color-dark: #161616;
  --color-text: #5a5a5a;
  --color-muted: #7a7a7a;
  --color-white: #ffffff;
  --color-bg: #f5f7f8;
  --color-bg-mint: #e8f9f9;
  --color-border: #c8ecec;
  --font-body: "League Spartan", system-ui, sans-serif;
  --font-heading: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container: 1140px;
  --radius: 10px;
  --radius-pill: 72px;
  --shadow: 0 8px 30px rgba(22, 22, 22, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-white);
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-navy);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; color: var(--color-primary); }

p { margin: 0 0 1rem; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 10000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--color-dark);
  color: var(--color-white);
  padding: 0.5rem 1rem;
}

/* Header — YA Medical style */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(22, 22, 22, 0.9);
  padding: 0;
  transition: background 0.25s ease;
}

.site-header--overlay {
  position: absolute;
  width: 100%;
  left: 0;
  background: transparent;
}

.site-header.is-scrolled,
.has-solid-header .site-header {
  position: sticky;
  background: rgba(22, 22, 22, 0.9);
}

.site-header__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem 1.25rem;
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
  padding: 8px 0 4px;
}

.nav-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-block--right {
  align-items: flex-end;
}

.site-logo {
  justify-self: center;
}

.site-logo img {
  width: 220px;
  height: auto;
}

.site-header.is-scrolled .site-logo img,
.has-solid-header .site-logo img {
  width: 120px;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 18px;
}

.menu--align-end {
  justify-content: flex-end;
}

.menu--stacked {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.menu a {
  color: var(--color-white);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.menu a:hover,
.menu a.is-active {
  color: var(--color-white);
  opacity: 0.92;
}

.menu__item {
  position: relative;
}

.has-dropdown > a::after {
  content: "▾";
  margin-left: 0.25rem;
  font-size: 0.75rem;
}

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--color-white);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
  z-index: 50;
}

.dropdown--right {
  left: auto;
  right: 0;
}

.dropdown a {
  display: block;
  color: var(--color-dark);
  padding: 0.45rem 1rem;
  font-size: 0.95rem;
  white-space: normal;
}

.dropdown a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}

.nav-toggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle__bar {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.45);
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer__panel {
  width: min(320px, 88vw);
  height: 100%;
  margin-left: auto;
  background: var(--color-navy);
  padding: 1.5rem;
  overflow: auto;
}

.mobile-drawer__panel a {
  color: var(--color-white);
}

.mobile-drawer__close {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  float: right;
}

@media (max-width: 1100px) {
  .nav-block { display: none; }
  .nav-toggle { display: flex; }
  .site-header__grid {
    grid-template-columns: 1fr auto;
  }
  .site-logo {
    grid-column: 1;
    justify-self: start;
  }
  .site-logo img { width: 160px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

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

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

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

.btn--dark {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn--dark:hover {
  background: #122d4a;
  color: var(--color-white);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(85vh, 700px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  background: var(--color-dark) center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 22, 0.58);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 3rem 1rem;
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(2.25rem, 6vw, 3.1rem);
  margin-bottom: 1rem;
}

.hero__lead {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: #f0fafa;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Sections */
.section {
  padding: 4rem 0;
}

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

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

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section__head .divider {
  width: 56px;
  height: 3px;
  background: var(--color-primary);
  margin: 0.75rem auto 1.25rem;
  border: none;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card--mint {
  background: var(--color-bg-mint);
}

.card h3 { margin-top: 0; }

.card p { flex-grow: 1; }

.card .btn {
  margin-top: 1rem;
  align-self: flex-start;
}

/* Service icons */
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.testimonial {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid #ddddee;
  box-shadow: var(--shadow);
}

.testimonial__stars {
  color: #fec42d;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.testimonial__author {
  font-weight: 600;
  color: var(--color-navy);
  margin-top: 1rem;
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--color-navy), var(--color-primary));
  color: var(--color-white);
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: #e8f4f6;
  font-size: 1.15rem;
}

/* Two column */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
  .section { padding: 2.75rem 0; }
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Contact form */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-dark);
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: var(--color-muted);
  text-align: center;
}

/* CTA band */
.cta-band {
  background: var(--color-navy) url("../images/hero.jpg") center / cover;
  position: relative;
  padding: 5rem 0;
  text-align: center;
  color: var(--color-white);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 92, 0.85);
}

.cta-band__inner {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: var(--color-white);
}

/* Lists */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  padding: 0.4rem 0 0.4rem 1.75rem;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: #b8c0c4;
  padding: 3.5rem 0 1.5rem;
}

.site-footer--ya {
  padding-top: 2.5rem;
}

.site-footer__cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.footer-cta {
  display: inline-block;
  font-weight: 600;
  font-size: 1.15rem;
  padding: 0.65rem 1.4rem;
  border-radius: 80px;
  color: var(--color-dark);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}

.footer-cta--cyan { background: #2fc8e4; }
.footer-cta--sky { background: #00d8ff; }

.site-footer__tagline {
  text-align: center;
  color: #fffafa;
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.footer-grid--ya .footer-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-white);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  color: #c5d0d5;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-heading {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact a {
  color: #c5d0d5;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--color-accent);
}

.footer-logo {
  margin-bottom: 1rem;
  filter: brightness(1.1);
}

.footer-tagline {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Booking steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}
