/* =========================================================================
   Vinayak Hospital — Stylesheet
   Rebrand tip: change the colors in :root below to re-theme the whole site.
   ========================================================================= */

:root {
  /* ---- Brand palette (matched to the Vinayak Hospital navy-blue logo) ---- */
  --primary: #1c2e78;
  --primary-dark: #141f57;
  --primary-light: #e9ecf8;
  --secondary: #2f6fd0;
  --accent: #ff6b57;
  --accent-dark: #e8523d;

  /* ---- Neutrals ---- */
  --dark: #101a3d;
  --text: #33384d;
  --muted: #6b7186;
  --line: #e6e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f6fc;

  /* ---- Tokens ---- */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 14px rgba(16, 26, 61, .07);
  --shadow: 0 14px 40px rgba(16, 26, 61, .10);
  --shadow-lg: 0 24px 60px rgba(16, 26, 61, .16);
  --container: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--dark); line-height: 1.2; font-weight: 700; }
h1, h2, h3, h4, p { overflow-wrap: break-word; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; font-size: .78rem;
  color: var(--primary); background: var(--primary-light);
  padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: 14px;
}
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 14px; }
.section-lead { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.section-head { margin-bottom: 52px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 13px 26px; border-radius: var(--radius-pill); border: 2px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(255, 107, 87, .32); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-3px); box-shadow: 0 16px 30px rgba(255, 107, 87, .4); }
.btn--teal { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(28, 46, 120, .3); }
.btn--teal:hover { background: var(--primary-dark); transform: translateY(-3px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); transform: translateY(-3px); }
.btn--outline { background: #fff; color: var(--primary); border-color: var(--line); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-3px); }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ======================= Header ======================= */
.topbar {
  background: var(--dark); color: #cfe3e3; font-size: .86rem;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 0; }
.topbar a { color: #cfe3e3; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar__group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { width: 15px; height: 15px; color: var(--primary); }
.topbar__emergency { color: #ffd7cf; font-weight: 600; }

.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.is-stuck { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
  width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: center 44%;
  background: #fff; flex-shrink: 0; box-shadow: 0 4px 14px rgba(16, 26, 61, .16);
}
.footer__brand .brand__logo { box-shadow: 0 0 0 4px rgba(255, 255, 255, .1); }
.brand__mark {
  width: 44px; height: 44px; border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: grid; place-items: center; color: #fff; flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(28, 46, 120, .3);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.24rem; color: var(--dark); line-height: 1.1; }
.brand__tag { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; font-size: .96rem; color: var(--text);
  padding: 9px 15px; border-radius: 10px; transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--primary); background: var(--primary-light); }
.nav__links a.active { color: var(--primary); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--dark); }
.nav__phone svg { width: 18px; height: 18px; color: var(--primary); }

.nav__toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; cursor: pointer; align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px;
  position: relative; transition: transform .3s, opacity .2s;
}
.nav__toggle span::before { position: absolute; top: -7px; }
.nav__toggle span::after { position: absolute; top: 7px; }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav__toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ======================= Hero ======================= */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, rgba(16, 26, 61, .94) 0%, rgba(28, 46, 120, .86) 55%, rgba(47, 111, 208, .74) 100%);
}
.hero__inner { padding: 96px 0 104px; max-width: 660px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28); padding: 7px 16px; border-radius: var(--radius-pill);
  font-size: .85rem; font-weight: 500; margin-bottom: 22px; backdrop-filter: blur(4px);
}
.hero__badge svg { width: 16px; height: 16px; color: #ffd166; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.08; margin-bottom: 20px; }
.hero h1 span { color: #9fc2ff; }
.hero__lead { font-size: 1.15rem; color: rgba(255, 255, 255, .92); margin-bottom: 34px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__trust { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero__trust-item { display: flex; align-items: center; gap: 10px; }
.hero__trust-num { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; }
.hero__trust-label { font-size: .82rem; color: rgba(255, 255, 255, .8); line-height: 1.25; }
.hero__divider { width: 1px; height: 34px; background: rgba(255, 255, 255, .25); }
.stars { color: #ffd166; letter-spacing: 2px; }

/* ======================= Stats strip ======================= */
.stats { margin-top: -46px; position: relative; z-index: 5; }
.stats__grid {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.stat { padding: 30px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; color: var(--primary); line-height: 1; }
.stat__num span { color: var(--accent); }
.stat__label { color: var(--muted); font-size: .92rem; margin-top: 6px; }

/* ======================= About ======================= */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4/3.4; }
.about__badge {
  position: absolute; bottom: -24px; left: -24px; background: var(--accent); color: #fff;
  padding: 20px 26px; border-radius: var(--radius-sm); box-shadow: var(--shadow); text-align: center;
}
.about__badge strong { font-family: var(--font-head); font-size: 1.9rem; display: block; line-height: 1; }
.about__badge span { font-size: .82rem; opacity: .95; }
.about h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 18px; }
.about p { color: var(--muted); margin-bottom: 18px; }
.about__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin: 24px 0 30px; }
.about__list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--text); }
.tick { width: 22px; height: 22px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.tick svg { width: 13px; height: 13px; }

/* ======================= Cards grid (services / features) ======================= */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 60px; height: 60px; border-radius: 16px; background: var(--primary-light); color: var(--primary);
  display: grid; place-items: center; margin-bottom: 20px; transition: background .3s, color .3s;
}
.card__icon svg { width: 30px; height: 30px; }
.card:hover .card__icon { background: var(--primary); color: #fff; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 16px; }
.card__link { font-family: var(--font-head); font-weight: 600; color: var(--primary); font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.card__link svg { width: 15px; height: 15px; transition: transform .25s; }
.card:hover .card__link svg { transform: translateX(4px); }

/* ======================= Why choose (feature row) ======================= */
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature__icon {
  width: 56px; height: 56px; border-radius: 15px; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ======================= Doctors ======================= */
.doctor {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.doctor:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.doctor__photo { position: relative; aspect-ratio: 1/1; background: var(--primary-light); overflow: hidden; }
.doctor__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.doctor:hover .doctor__photo img { transform: scale(1.06); }
.doctor__spec {
  position: absolute; bottom: 12px; left: 12px; background: rgba(16, 26, 61, .82); color: #fff;
  font-size: .78rem; font-weight: 500; padding: 5px 12px; border-radius: var(--radius-pill); backdrop-filter: blur(4px);
}
.doctor__body { padding: 22px 22px 26px; }
.doctor__name { font-size: 1.2rem; margin-bottom: 3px; }
.doctor__qual { color: var(--primary); font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.doctor__meta { display: flex; gap: 16px; color: var(--muted); font-size: .86rem; margin-bottom: 18px; flex-wrap: wrap; }
.doctor__meta span { display: inline-flex; align-items: center; gap: 6px; }
.doctor__meta svg { width: 15px; height: 15px; color: var(--primary); }

/* ======================= Testimonials ======================= */
.testimonial {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px;
  position: relative;
}
.testimonial__stars { color: #ffb703; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial p { color: var(--text); font-size: 1.02rem; margin-bottom: 22px; font-style: italic; }
.testimonial__person { display: flex; align-items: center; gap: 14px; }
.testimonial__person img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial__name { font-family: var(--font-head); font-weight: 600; color: var(--dark); }
.testimonial__role { font-size: .84rem; color: var(--muted); }

/* ======================= CTA banner ======================= */
.cta { position: relative; color: #fff; overflow: hidden; border-radius: 0; }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, rgba(16, 26, 61, .95), rgba(47, 111, 208, .86)); }
.cta__inner { padding: 76px 0; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, .9); max-width: 560px; margin: 0 auto 30px; font-size: 1.08rem; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ======================= Page header (inner pages) ======================= */
.page-header { position: relative; color: #fff; overflow: hidden; }
.page-header::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, rgba(16, 26, 61, .94), rgba(28, 46, 120, .84), rgba(47, 111, 208, .8)); }
.page-header__bg { position: absolute; inset: 0; z-index: -2; }
.page-header__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-header__inner { padding: 76px 0; text-align: center; }
.page-header h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 12px; }
.breadcrumb { display: inline-flex; gap: 8px; align-items: center; color: rgba(255, 255, 255, .82); font-size: .92rem; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .6; }

/* ======================= Forms ======================= */
.form-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--dark); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .98rem; color: var(--text);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-soft); transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(28, 46, 120, .12);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 16px; display: flex; align-items: center; gap: 8px; }
.form-note svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

.info-panel { background: var(--dark); color: #d6e7e7; border-radius: var(--radius); padding: 38px; }
.info-panel h3 { color: #fff; font-size: 1.35rem; margin-bottom: 8px; }
.info-panel > p { color: #9fbcbc; margin-bottom: 26px; }
.info-item { display: flex; gap: 15px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.info-item:first-of-type { border-top: 0; }
.info-item__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(47, 111, 208, .3); color: #9fc2ff; display: grid; place-items: center; flex-shrink: 0; }
.info-item__icon svg { width: 20px; height: 20px; }
.info-item__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #7fa3a3; }
.info-item__value { color: #fff; font-weight: 500; }
.info-item a.info-item__value:hover { color: #9fc2ff; }

/* ---- Map ---- */
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); line-height: 0; }
.map-embed iframe { width: 100%; height: 420px; border: 0; }

/* ======================= Departments (services page) ======================= */
.dept { display: grid; grid-template-columns: auto 1fr; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: box-shadow .3s, transform .3s; }
.dept:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.dept__icon { width: 64px; height: 64px; border-radius: 16px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; }
.dept__icon svg { width: 32px; height: 32px; }
.dept h3 { font-size: 1.3rem; margin-bottom: 8px; }
.dept p { color: var(--muted); font-size: .96rem; margin-bottom: 12px; }
.dept ul { display: flex; flex-wrap: wrap; gap: 8px; }
.dept ul li { font-size: .82rem; background: var(--bg-soft); color: var(--primary-dark); padding: 5px 12px; border-radius: var(--radius-pill); font-weight: 500; }

/* ======================= Footer ======================= */
.footer { background: var(--dark); color: #a9c4c4; padding: 72px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: #7fa3a3; }
.footer__brand p { margin: 20px 0; font-size: .95rem; color: #9fbcbc; max-width: 300px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #cfe3e3; transition: background .25s, transform .25s; }
.footer__social a:hover { background: var(--primary); transform: translateY(-3px); color: #fff; }
.footer__social svg { width: 18px; height: 18px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; }
.footer__links li { margin-bottom: 11px; }
.footer__links a { color: #9fbcbc; font-size: .95rem; transition: color .2s, padding-left .2s; }
.footer__links a:hover { color: #fff; padding-left: 5px; }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 15px; font-size: .95rem; color: #9fbcbc; }
.footer__contact svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.footer__contact a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .88rem; color: #7fa3a3; }
.footer__bottom a:hover { color: #fff; }

/* ======================= Floating action buttons ======================= */
.fab { position: fixed; right: 20px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); transition: transform .25s; }
.fab a:hover { transform: scale(1.08); }
.fab__wa { background: #25d366; }
.fab__call { background: var(--primary); }
.fab a svg { width: 26px; height: 26px; }

/* ======================= Reveal on scroll ======================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ======================= Responsive ======================= */
@media (max-width: 980px) {
  .about__grid { grid-template-columns: 1fr; gap: 60px; }
  .form-wrap { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .topbar { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 18px 20px;
    box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .35s var(--ease);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  body.nav-open .nav__links { transform: translateY(0); }
  .nav__links a { padding: 14px 12px; border-radius: 10px; border-bottom: 1px solid var(--line); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__phone { display: none; }
  /* Hide the text CTA in the header on mobile — it overlapped the logo.
     Booking stays available via the menu, hero button and floating buttons. */
  .nav__cta .btn--primary { display: none; }
  .nav { height: 68px; }
  .nav__links { inset: 68px 0 auto 0; max-height: calc(100vh - 68px); }
  .brand { gap: 10px; min-width: 0; }
  .brand__logo { width: 44px; height: 44px; }
  .brand__name { font-size: 1.04rem; white-space: nowrap; }
  .brand__tag { font-size: .66rem; white-space: nowrap; }
}

@media (max-width: 640px) {
  .section { padding: 62px 0; }
  .grid--3, .grid--4, .dept { grid-template-columns: 1fr; }
  .about__list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-card, .info-panel { padding: 26px; }
  .hero__inner { padding: 66px 0 76px; }
  .hero h1 { font-size: clamp(1.85rem, 7.5vw, 2.5rem); }
  .hero__lead { font-size: 1.04rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { gap: 16px; }
  .hero__divider { display: none; }
  .about__badge { left: 0; }
  .dept { grid-template-columns: 1fr; }
  .dept__icon { margin-bottom: 4px; }
}
