/* ===================================================
   Garvagh Dental – style.css
   Palette: deep navy (#0D2B45), clean white, warm
   accent (#2BAADF teal-blue). Typography: DM Serif
   Display (headings) + DM Sans (body).
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── Reset & base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Prevent any element from causing horizontal scroll on mobile */
html, body { overflow-x: hidden; max-width: 100%; }

:root {
  --navy:        #0D2B45;
  --navy-mid:    #1a4468;
  --sky:         #2BAADF;
  --sky-light:   #e6f6fd;
  --sky-dark:    #1a7aab;
  --white:       #ffffff;
  --off-white:   #f8f9fa;
  --warm-grey:   #f2f4f6;
  --text:        #1a2530;
  --text-mid:    #3d5166;
  --text-muted:  #6b839a;
  --border:      #d8e4ec;
  --green:       #27a06a;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 8px rgba(13,43,69,.08);
  --shadow-md:   0 6px 24px rgba(13,43,69,.12);
  --transition:  0.22s ease;
  --max-w:       1120px;
  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }

/* ── Typography ───────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  color: var(--navy);
  line-height: 1.2;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.6rem;
}

/* ── Utility ──────────────────────────────────────── */
.container { width: 90%; max-width: var(--max-w); margin: 0 auto; }
.text-centre { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--sky);
  color: var(--white);
  border-color: var(--sky);
}
.btn-primary:hover {
  background: var(--sky-dark);
  border-color: var(--sky-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn-whatsapp svg { width: 1.15em; height: 1.15em; fill: currentColor; }

/* ── Header / Nav ─────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.logo { display: flex; align-items: center; }
.logo img { height: 46px; width: auto; }

nav ul {
  display: flex;
  list-style: none;
  gap: 0.2rem;
  align-items: center;
}
nav a {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
}
nav a:hover, nav a.active { background: var(--warm-grey); color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: 0.6rem; }

/* Mobile nav: hidden at all sizes by default; JS adds .open to reveal */
#mobile-nav { display: none; }
#mobile-nav.open { display: flex; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--navy);
  border-radius: 2px; transition: var(--transition);
}

/* ── Hero ─────────────────────────────────────────── */
#hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1d5f8a 100%);
  color: var(--white);
  padding: 5rem 0 4.5rem;
  overflow: hidden;
  position: relative;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
#hero .hero-content h1 { color: var(--white); }
.hero-content p {
  font-size: 1.1rem;
  opacity: 0.88;
  margin: 1.25rem 0 2rem;
  max-width: 480px;
  line-height: 1.7;
}
.hero-content h1 span { color: var(--sky); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(4px);
}
.hero-card h3 {
  color: var(--white);
  margin-bottom: 1.2rem;
  font-size: 1.15rem;
}
.hero-facts { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.hero-facts li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: 0.95rem; opacity: 0.9;
}
.hero-facts li::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--sky);
  border-radius: 50%;
  margin-top: 0.5em;
  flex-shrink: 0;
}
.private-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: rgba(43,170,223,.2);
  border: 1px solid rgba(43,170,223,.4);
  color: #92d9f5;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3em 0.8em;
  border-radius: 20px;
  margin-bottom: 1rem;
}

/* ── Sections shared ──────────────────────────────── */
section { padding: 4.5rem 0; }
.section-intro {
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-intro p {
  color: var(--text-mid);
  margin-top: 0.75rem;
  font-size: 1.05rem;
}

/* ── Trust bar ────────────────────────────────────── */
#trust-bar {
  background: var(--warm-grey);
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
}
.trust-icon {
  width: 32px; height: 32px;
  background: var(--sky-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 16px; height: 16px; fill: var(--sky); }

/* ── About section ────────────────────────────────── */
#about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-image-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.about-content .eyebrow { display: block; }
.about-content p { color: var(--text-mid); margin: 1rem 0; font-size: 1rem; }
.about-features { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.9rem; }
.about-features li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.97rem; color: var(--text-mid);
}
.feature-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--sky-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 0.1em;
}
.feature-dot svg { width: 12px; height: 12px; fill: var(--sky); }

/* ── Treatments ───────────────────────────────────── */
#treatments { background: var(--off-white); }
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.treatment-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  transition: var(--transition);
}
.treatment-card:hover {
  border-color: var(--sky);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.treatment-card .t-icon {
  width: 44px; height: 44px;
  background: var(--sky-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.treatment-card .t-icon svg { width: 22px; height: 22px; fill: var(--sky); }
.treatment-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.treatment-card p { font-size: 0.91rem; color: var(--text-mid); line-height: 1.6; }

/* ── Dental Plan section ──────────────────────────── */
#dental-plan { background: var(--navy); color: var(--white); padding: 4.5rem 0; }
#dental-plan h2 { color: var(--white); }
#dental-plan .eyebrow { color: var(--sky); }
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
.plan-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 2rem;
}
.plan-card.featured { border-color: var(--sky); background: rgba(43,170,223,.1); }
.plan-badge {
  display: inline-block;
  background: var(--sky);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25em 0.75em;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.plan-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 0.25rem; }
.plan-price {
  font-size: 2rem;
  font-family: 'DM Serif Display', serif;
  color: var(--sky);
  margin-bottom: 1.25rem;
}
.plan-price span { font-size: 1rem; font-family: 'DM Sans', sans-serif; color: rgba(255,255,255,0.6); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.93rem; color: rgba(255,255,255,0.85);
}
.plan-features li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--sky);
  border-radius: 50%;
  flex-shrink: 0; margin-top: 0.55em;
}
.plan-note {
  margin-top: 2rem;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* ── Pricing page ─────────────────────────────────── */
#pricing { background: var(--white); }
.price-table-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.price-category {
  border-bottom: 1px solid var(--border);
}
.price-category:last-child { border-bottom: none; }
.price-category-header {
  background: var(--warm-grey);
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  transition: background var(--transition);
}
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: var(--sky-light); }
.price-name { color: var(--text); }
.price-amount {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.price-note {
  background: var(--sky-light);
  border-left: 3px solid var(--sky);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* ── Sedation / Air quality feature strip ─────────── */
#features-strip { background: var(--sky-light); padding: 3.5rem 0; }
.features-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.feature-strip-item {
  display: flex; gap: 1rem; align-items: flex-start;
}
.fsi-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
}
.fsi-icon svg { width: 24px; height: 24px; fill: var(--sky); }
.fsi-text h4 { font-family: 'DM Serif Display', serif; font-size: 1rem; color: var(--navy); margin-bottom: 0.25rem; }
.fsi-text p { font-size: 0.87rem; color: var(--text-mid); line-height: 1.55; }

/* ── Testimonial ──────────────────────────────────── */
#testimonial { background: var(--off-white); padding: 4rem 0; text-align: center; }
blockquote {
  max-width: 640px; margin: 0 auto;
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  color: var(--navy);
  line-height: 1.5;
}
blockquote::before { content: '\201C'; }
blockquote::after  { content: '\201D'; }
.testimonial-source { margin-top: 1rem; font-size: 0.9rem; color: var(--text-muted); }

/* ── Contact ──────────────────────────────────────── */
#contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-info h3 { margin-bottom: 1.2rem; }
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-details li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  font-size: 0.95rem; color: var(--text-mid);
}
.contact-details .ci-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--sky-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.contact-details .ci-icon svg { width: 18px; height: 18px; fill: var(--sky); }
.contact-details a { color: var(--sky); }
.contact-details a:hover { text-decoration: underline; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.hours-table td { padding: 0.45rem 0; color: var(--text-mid); }
.hours-table td:last-child { text-align: right; font-weight: 500; color: var(--text); }
.hours-table tr:not(:last-child) td { border-bottom: 1px solid var(--border); }

/* Contact form */
.contact-form-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}
.contact-form-card h3 { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.88rem; font-weight: 500; color: var(--text-mid); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(43,170,223,.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }
/* Honeypot */
.hp-field { display: none !important; visibility: hidden; }
.form-privacy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}
.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}
.form-status.success { background: #e8f8ef; color: #1a6b3c; border: 1px solid #a3dfc0; display: block; }
.form-status.error   { background: #fdeaea; color: #8b1a1a; border: 1px solid #f5a5a5; display: block; }

/* ── Footer ───────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
footer h4 {
  color: var(--white);
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
footer ul li a { font-size: 0.9rem; transition: color var(--transition); }
footer ul li a:hover { color: var(--sky); }
footer p { font-size: 0.9rem; line-height: 1.7; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,.45);
}
.footer-logo img { height: 38px; filter: brightness(0) invert(1); opacity: 0.85; margin-bottom: 0.75rem; }

/* ── WhatsApp floating button ─────────────────────── */
#wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  background: #25D366;
  color: var(--white);
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
#wa-float:hover { background: #1da851; transform: scale(1.08); }
#wa-float svg { width: 28px; height: 28px; fill: var(--white); }
#wa-float-label {
  position: fixed;
  bottom: 1.5rem;
  right: 5rem;
  z-index: 900;
  background: var(--white);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: var(--transition);
}
#wa-float:hover + #wa-float-label,
#wa-float:focus + #wa-float-label { opacity: 1; transform: translateX(0); }

/* ── Subpage hero ─────────────────────────────────── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero p { color: rgba(255,255,255,.75); margin-top: 0.6rem; }

/* ── Breadcrumb ───────────────────────────────────── */
.breadcrumb {
  font-size: 0.84rem;
  color: var(--text-muted);
  padding: 0.8rem 0;
  margin-bottom: 0.5rem;
}
.breadcrumb a { color: var(--sky); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid        { grid-template-columns: 1fr; }
  .hero-card        { display: none; }
  .about-grid       { grid-template-columns: 1fr; }
  .about-image-wrap { order: -1; }
  .about-image-wrap img { height: 260px; }
  .plan-grid        { grid-template-columns: 1fr; }
  .contact-grid     { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  /* ── Header ── */
  /* Logo: smaller height so it doesn't get squashed next to the WA button */
  .logo img { height: 34px; }

  /* WhatsApp header button: keep icon + short label, tighter padding */
  .btn.nav-wa {
    padding: 0.55rem 0.9rem;
    font-size: 0.78rem;
    gap: 0.35rem;
  }
  .btn.nav-wa svg { width: 1.1em; height: 1.1em; }

  /* Hide desktop nav links; show hamburger */
  nav ul, .header-cta .btn:not(.nav-wa) { display: none; }
  .nav-toggle { display: flex; }

  /* ── Mobile nav overlay ── */
  #mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  #mobile-nav.open { transform: translateX(0); }
  #mobile-nav a {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--navy);
  }
  #mobile-nav .mobile-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: none; border: none;
    font-size: 1.5rem; cursor: pointer; color: var(--navy);
  }

  /* ── General ── */
  section { padding: 3rem 0; }
  .treatments-grid { grid-template-columns: 1fr; }
  .price-row { font-size: 0.88rem; padding: 0.75rem 1rem; }
  .price-category-header { padding: 0.75rem 1rem; }

  /* ── Contact page ── */
  /* Prevent the form card from overflowing its column */
  .contact-form-card {
    padding: 1.25rem;
    /* Ensure it never exceeds the viewport */
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Map placeholder / iframe: always full width, never overflow */
  .map-wrap,
  .map-wrap iframe {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Form inputs: prevent any input from pushing outside the container */
  .contact-form-card input,
  .contact-form-card select,
  .contact-form-card textarea {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Force first/last name onto one column on mobile */
  .form-row { grid-template-columns: 1fr; }

  /* Features strip: single column */
  .features-strip-grid { grid-template-columns: 1fr; }
}

/* ── Very small phones only (iPhone SE etc) ─────── */
@media (max-width: 380px) {
  .btn.nav-wa { padding: 0.5rem 0.7rem; font-size: 0; gap: 0; }
  .btn.nav-wa svg { width: 1.35em; height: 1.35em; margin: 0; }
  .logo img { height: 30px; }
}

/* Print */
@media print {
  #site-header, #wa-float, #wa-float-label, footer { display: none; }
}
