/* =========================================================
   EHPAC Services LTD — Professional visual theme
   Visual polish only; content unchanged.
   ========================================================= */

:root {
  --navy-950: #071422;
  --navy-900: #0b1f33;
  --navy-800: #122a42;
  --navy-700: #1a3a56;
  --blue-600: #1b6ca8;
  --blue-500: #2580c4;
  --blue-400: #3b93d4;
  --blue-100: #e8f3fb;
  --blue-50: #f3f8fc;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --off-white: #f7f9fb;
  --success-bg: #ecfdf5;
  --success-border: #6ee7b7;
  --success-text: #065f46;
  --shadow-sm: 0 1px 2px rgba(7, 20, 34, 0.05);
  --shadow-md: 0 8px 24px rgba(7, 20, 34, 0.08);
  --shadow-lg: 0 18px 40px rgba(7, 20, 34, 0.12);
  --shadow-xl: 0 28px 60px rgba(7, 20, 34, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --header-h: 76px;
  --max: 1120px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate-900);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Layout ---------- */

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section--tight {
  padding: 3.5rem 0;
}

.section--white {
  background: var(--white);
}

.section--soft {
  background: var(--blue-50);
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--blue-600);
  background: var(--blue-50);
}

.nav-links a.is-active {
  color: var(--blue-600);
  background: var(--blue-100);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(180deg, var(--blue-500), var(--blue-600));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(27, 108, 168, 0.28);
  padding: 0.75rem 1.35rem;
  font-size: 0.95rem;
}

.btn-primary:hover {
  background: linear-gradient(180deg, var(--blue-400), var(--blue-500));
  box-shadow: 0 12px 28px rgba(27, 108, 168, 0.35);
}

.btn-primary--lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.2rem;
  border-radius: var(--radius-md);
}

.btn-primary--xl {
  width: 100%;
  padding: 1.15rem 1.5rem;
  font-size: 1.25rem;
  border-radius: var(--radius-md);
}

.btn-desktop {
  display: none;
}

.hamburger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--navy-900);
  font-size: 1.35rem;
  transition: background 0.2s var(--ease);
}

.hamburger:hover {
  background: var(--slate-100);
}

.mobile-menu {
  display: none;
  padding: 0.5rem 0 1.1rem;
  border-top: 1px solid var(--slate-200);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.85rem 0.35rem;
  font-weight: 500;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-100);
}

.mobile-menu a:last-child {
  border-bottom: none;
  color: var(--blue-600);
  font-weight: 700;
  padding-top: 1rem;
}

.mobile-menu a.is-active {
  color: var(--blue-600);
  font-weight: 700;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 70% at 15% 20%, rgba(37, 128, 196, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 60% at 85% 80%, rgba(27, 108, 168, 0.28), transparent 50%),
    linear-gradient(155deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black, transparent);
}

.hero--home {
  padding: 3.25rem 0 3.75rem;
}

.hero--page {
  padding: 4.25rem 0 4.5rem;
  text-align: center;
}

.hero-inner {
  text-align: center;
}

.hero-logo {
  width: min(360px, 78vw);
  margin: 0 auto 1.75rem;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}

.hero-tagline {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.01em;
}



.hero-sub {
  margin: 1.15rem auto 0;
  max-width: 32rem;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.hero-title-row img {
  width: clamp(2.5rem, 5vw, 3.5rem);
  height: clamp(2.5rem, 5vw, 3.5rem);
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
  flex-shrink: 0;
}

.hero-title-row h1 {
  margin: 0;
}

/* Contact page icon row */
.hero-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.65rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-icons img {
  width: clamp(2.4rem, 5vw, 3.5rem);
  height: clamp(2.4rem, 5vw, 3.5rem);
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}



/* ---------- Values ---------- */

.values-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .values-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.85rem;
}

.section-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 3.5vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy-900);
  line-height: 1.15;
}

.section-title--center {
  text-align: center;
}

.section-title--light {
  color: var(--white);
}

.lead {
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.body-copy {
  margin: 0;
  font-size: 1.05rem;
  color: var(--slate-700);
  line-height: 1.75;
}

.body-copy + .body-copy,
.body-copy br + br {
  /* spacing handled by br in content */
}

.values-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: var(--blue-50);
  border: 1px solid rgba(27, 108, 168, 0.12);
  border-radius: var(--radius-md);
}

.values-list .bullet {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--blue-500), var(--blue-600));
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.1rem;
  box-shadow: 0 4px 10px rgba(27, 108, 168, 0.3);
}

.values-list strong {
  font-size: 1.05rem;
  color: var(--navy-900);
  font-weight: 650;
  line-height: 1.35;
}

.values-visual {
  display: flex;
  justify-content: center;
}

.values-visual figure {
  margin: 0;
  padding: 1.5rem;
  background: linear-gradient(160deg, var(--white), var(--blue-50));
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.values-visual img {
  max-width: 260px;
  margin: 0 auto;
}

/* ---------- Service cards (home) ---------- */

.section--dark {
  position: relative;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 60% at 80% 10%, rgba(37, 128, 196, 0.25), transparent 55%),
    linear-gradient(165deg, var(--navy-950), var(--navy-800));
}

.section--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.section--dark .section-title {
  color: var(--white);
  margin-bottom: 2.5rem;
}

.home-services {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .home-services {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .home-services {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.35rem;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--slate-900);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.45rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  height: 100%;
}

a.service-card {
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.service-card.lifted {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-card__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.15rem;
  object-fit: contain;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  text-align: center;
}

.service-card p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.55;
  text-align: center;
  flex: 1;
}

.service-card__arrow {
  margin-top: 1.15rem;
  align-self: flex-end;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 1.15rem;
  font-weight: 600;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

a.service-card:hover .service-card__arrow {
  background: var(--blue-600);
  color: white;
  transform: translateX(3px);
}

/* ---------- Gallery cards (trade pages) ---------- */

.gallery-intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.75rem;
}

.gallery-intro p {
  margin: 0.65rem 0 0;
  color: var(--slate-600);
  font-size: 1.08rem;
}

/* Flex + centered wrap: last incomplete row sits centered under fuller rows.
   Column count is set by site.js via --gallery-cols (prefers fuller rows, e.g. 5+4 for 9 cards). */
.gallery-grid {
  --gallery-cols: 1;
  --gallery-gap: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--gallery-gap);
}

.gallery-grid .gallery-card {
  /* Equal card widths for the chosen column count; leftover row centers via justify-content */
  flex: 0 1 calc(
    (100% - (var(--gallery-cols) - 1) * var(--gallery-gap)) / var(--gallery-cols)
  );
  max-width: calc(
    (100% - (var(--gallery-cols) - 1) * var(--gallery-gap)) / var(--gallery-cols)
  );
  min-width: 0;
  box-sizing: border-box;
}

.gallery-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.15rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  height: auto;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27, 108, 168, 0.22);
}

.gallery-card__media {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  padding: 0.75rem;
  background: linear-gradient(180deg, var(--blue-50), var(--slate-100));
  border-radius: var(--radius-md);
}

.gallery-card__media img {
  max-height: 120px;
  width: auto;
  object-fit: contain;
}

.gallery-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy-900);
  line-height: 1.3;
}

.gallery-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.5;
  flex: 1;
}

/* ---------- Brands ---------- */

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
  }
}

.brand-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
  letter-spacing: 0.01em;
}

.brands-note {
  margin: 0;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-band .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  color: var(--white);
  padding: 2.75rem 0;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.site-footer__name {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-footer__area {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.98rem;
}

.site-footer__copy {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.contact-block {
  margin-bottom: 2rem;
}

.contact-block:last-child {
  margin-bottom: 0;
}

.contact-label {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
}

.contact-link {
  display: inline-block;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: color 0.2s var(--ease);
}

.contact-link:hover {
  color: var(--blue-500);
}

.contact-note {
  margin: 0.65rem 0 0;
  color: var(--slate-500);
  font-size: 0.98rem;
}

.contact-panel {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
  .contact-panel {
    padding: 2rem;
  }
}

.contact-panel h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  margin-bottom: 1rem;
}

.form-field:last-of-type {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 1rem;
  color: var(--slate-900);
  background: var(--off-white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(37, 128, 196, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 150px;
}

.form-hint {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var(--slate-500);
}

.form-field--file input[type="file"] {
  padding: 0.85rem 1rem;
  background: var(--white);
  font-size: 0.92rem;
}

.success-box {
  display: none;
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-text);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
}

.success-box.is-visible {
  display: block;
}

.success-box .check {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.success-box h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.success-box p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
}

.form-hidden {
  display: none !important;
}

/* ---------- Desktop nav ---------- */

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .btn-desktop {
    display: inline-flex;
  }

  .hamburger {
    display: none;
  }

  .mobile-menu,
  .mobile-menu.is-open {
    display: none;
  }

  .hero-logo {
    width: min(400px, 42vw);
  }
}

/* ---------- Focus visibility ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(37, 128, 196, 0.45);
  outline-offset: 2px;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .service-card:hover,
  .gallery-card:hover,
  .service-card.lifted {
    transform: none;
  }
}

/* =========================================================
   Mobile optimization
   ========================================================= */

/* Sticky call / request bar (shown only on small screens via CSS) */
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 899px) {
  :root {
    --header-h: 64px;
  }

  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  }

  /* Hide sticky bar on contact — call/email already on page */
  body.is-contact-page {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  body.is-contact-page .mobile-sticky-cta {
    display: none !important;
  }

  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .section {
    padding: 3rem 0;
  }

  .section--tight {
    padding: 2.25rem 0;
  }

  /* Header */
  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .nav {
    min-height: 60px;
    gap: 0.5rem;
  }

  .nav-logo img {
    height: 42px;
  }

  .hamburger {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu {
    padding: 0.35rem 0 calc(0.75rem + env(safe-area-inset-bottom, 0px));
  }

  .mobile-menu a {
    padding: 0.95rem 0.5rem;
    font-size: 1.05rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu a:last-child {
    margin-top: 0.35rem;
    justify-content: center;
    background: linear-gradient(180deg, var(--blue-500), var(--blue-600));
    color: var(--white) !important;
    border-radius: 999px;
    border-bottom: none;
    font-weight: 700;
    padding: 0.9rem 1rem;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* Hero */
  .hero--home {
    padding: 2rem 0 2.35rem;
  }

  .hero--page {
    padding: 2.35rem 0 2.5rem;
  }

  .hero-logo {
    width: min(280px, 72vw);
    margin-bottom: 1.25rem;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 7.2vw, 2.25rem);
    margin-bottom: 0.75rem;
    padding-inline: 0.15rem;
  }

  .hero-tagline {
    font-size: clamp(0.95rem, 3.8vw, 1.1rem);
    padding-inline: 0.25rem;
  }

  .hero-sub {
    font-size: 0.98rem;
    margin-top: 0.85rem;
    padding-inline: 0.35rem;
  }

  /* Trade heroes: one icon above the title on phones (hide the second side icon) */
  .hero-title-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 0.5rem;
  }

  .hero-title-row img {
    width: 2.5rem;
    height: 2.5rem;
  }

  .hero-title-row img:last-of-type {
    display: none;
  }

  .hero-title-row h1 {
    order: 1;
    margin: 0;
    padding-inline: 0.35rem;
  }

  .hero-title-row img:first-of-type {
    order: 0;
  }

  .hero-icons {
    gap: 0.55rem;
    margin-bottom: 1.1rem;
  }

  .hero-icons img {
    width: 2.15rem;
    height: 2.15rem;
  }

  /* Values */
  .section-title {
    font-size: clamp(1.55rem, 6.5vw, 2rem);
  }

  .lead,
  .body-copy {
    font-size: 1rem;
  }

  .values-list li {
    padding: 0.85rem 0.95rem;
  }

  .values-visual figure {
    padding: 1.1rem;
  }

  .values-visual img {
    max-width: 200px;
  }

  /* Home service cards */
  .home-services {
    gap: 0.95rem;
  }

  .service-card {
    padding: 1.35rem 1.15rem 1.15rem;
  }

  .service-card h3 {
    font-size: 1.15rem;
  }

  .service-card p {
    font-size: 0.92rem;
  }

  /* Gallery */
  .gallery-grid {
    --gallery-gap: 0.9rem;
    gap: var(--gallery-gap);
  }

  .gallery-card {
    padding: 1.1rem 0.95rem 1.15rem;
  }

  .gallery-card__media {
    height: 130px;
    margin-bottom: 0.85rem;
    padding: 0.55rem;
  }

  .gallery-card__media img {
    max-height: 100px;
  }

  .gallery-card h3 {
    font-size: 1.02rem;
  }

  .gallery-intro {
    margin-bottom: 1.75rem;
  }

  /* Brands: 2 columns is cleaner on phones */
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .brand-chip {
    min-height: 3.1rem;
    font-size: 0.82rem;
    padding: 0.65rem 0.4rem;
  }

  /* CTAs */
  .cta-band {
    padding: 2.25rem 0;
  }

  .btn-primary--lg {
    width: 100%;
    max-width: 22rem;
    padding: 1rem 1.25rem;
    font-size: 1.08rem;
  }

  .btn-primary--xl {
    padding: 1.05rem 1.15rem;
    font-size: 1.1rem;
  }

  /* Contact */
  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  /* On small screens: form first, contact cards below */
  .is-contact-page .contact-panel,
  .ask-page .contact-panel {
    order: 1;
  }

  .is-contact-page .contact-aside,
  .ask-page .contact-aside {
    order: 2;
  }

  .contact-intro {
    font-size: 0.98rem;
    margin-bottom: 1.15rem;
  }

  .contact-card {
    padding: 1rem 1rem;
    gap: 0.85rem;
    margin-bottom: 0.7rem;
  }

  .contact-card__value {
    font-size: 1.1rem;
  }

  .contact-card__value--email {
    font-size: 0.98rem;
  }

  .contact-card__sub {
    font-size: 0.88rem;
  }

  .contact-panel {
    padding: 1.25rem 1.1rem;
    border-radius: var(--radius-lg);
  }

  .form-field input,
  .form-field textarea,
  .form-field select {
    font-size: 16px; /* prevents iOS input zoom */
    padding: 0.9rem 1rem;
  }

  .form-row {
    gap: 0.85rem;
  }

  /* Footer */
  .site-footer {
    padding: 2rem 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }

  .site-footer__area {
    font-size: 0.92rem;
    padding-inline: 0.5rem;
  }

  /* Sticky bottom CTA */
  .mobile-sticky-cta {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 0.55rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--slate-200);
    box-shadow: 0 -8px 28px rgba(7, 20, 34, 0.1);
  }

  .mobile-sticky-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.98rem;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-sticky-cta__call {
    background: var(--blue-50);
    color: var(--blue-600);
    border: 1.5px solid rgba(27, 108, 168, 0.25);
  }

  .mobile-sticky-cta__request {
    background: linear-gradient(180deg, var(--blue-500), var(--blue-600));
    color: var(--white);
    box-shadow: 0 6px 16px rgba(27, 108, 168, 0.28);
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.55rem;
  }

  .contact-card__value {
    font-size: 1rem;
  }

  .mobile-sticky-cta a {
    font-size: 0.9rem;
  }
}

/* Tablet middle ground */
@media (min-width: 640px) and (max-width: 899px) {
  .btn-primary--lg {
    width: auto;
    min-width: 16rem;
  }
}

/* ---------- Contact page polish ---------- */

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-intro {
  margin: -0.5rem 0 1.5rem;
  color: var(--slate-600);
  font-size: 1.05rem;
  line-height: 1.55;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  margin-bottom: 0.85rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.contact-card:hover {
  border-color: rgba(27, 108, 168, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-card__icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 1.05rem;
}

.contact-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.contact-card__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-500);
}

.contact-card__value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: -0.02em;
  line-height: 1.25;
  word-break: break-word;
}

.contact-card__value--email {
  font-size: 1.1rem;
}

.contact-card--action {
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(27, 108, 168, 0.12);
  text-decoration: none;
  color: inherit;
}

.contact-card--action:active {
  transform: scale(0.99);
  border-color: rgba(27, 108, 168, 0.4);
}

.contact-card--rates {
  cursor: default;
}

.contact-card--rates:hover {
  transform: none;
  border-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}

/* Free quotes banner — between hero and contact body */
.quote-banner {
  background: #f3f8fc;
  border-bottom: 1px solid rgba(27, 108, 168, 0.16);
  border-top: 1px solid rgba(27, 108, 168, 0.1);
}

.quote-banner .quote-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  padding: 1.5rem 0.5rem;
  text-align: center;
  width: 100%;
}

.quote-banner .quote-banner__mark {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(180deg, #2580c4, #1b6ca8);
  color: #ffffff;
  font-size: 0.9rem;
  box-shadow: 0 6px 14px rgba(27, 108, 168, 0.28);
}

.quote-banner .quote-banner__text {
  margin: 0;
  padding: 0;
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  font-weight: 600;
  color: #1b6ca8;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-align: center;
}

.quote-banner .quote-banner__dot {
  margin: 0 0.15rem;
  color: #3b93d4;
  font-weight: 700;
}

@media (max-width: 899px) {
  .quote-banner .quote-banner__inner {
    padding: 1.25rem 0.25rem;
    gap: 0.7rem;
  }

  .quote-banner .quote-banner__text {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .quote-banner .quote-banner__mark {
    width: 2rem;
    height: 2rem;
    font-size: 0.8rem;
  }
}

.contact-card__sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate-600);
  line-height: 1.4;
}

/* Hint under Email Us — mainly useful on phones */
.contact-card__sub--hint {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--slate-500);
}

@media (min-width: 900px) {
  .contact-card__sub--hint {
    display: none;
  }
}

.contact-note {
  margin: 0.75rem 0 0;
  color: var(--slate-500);
  font-size: 0.98rem;
}

.form-next {
  margin: -0.35rem 0 1.35rem;
  color: var(--slate-600);
  font-size: 0.98rem;
  line-height: 1.5;
}

.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.form-field .req {
  color: var(--blue-600);
}

.form-field .opt {
  font-weight: 500;
  color: var(--slate-500);
  font-size: 0.85rem;
}

.form-field select {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 1rem;
  color: var(--slate-900);
  background: var(--off-white);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364758b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  cursor: pointer;
}

.form-field select:focus {
  outline: none;
  border-color: var(--blue-500);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(37, 128, 196, 0.15);
}

.form-row .form-field {
  margin-bottom: 0;
}

.form-row {
  margin-bottom: 1rem;
}

.form-field {
  margin-bottom: 1rem;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.error-box {
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-md);
  color: #991b1b;
  font-size: 0.95rem;
  line-height: 1.5;
}

.error-box[hidden] {
  display: none !important;
}

.error-box strong {
  display: block;
  margin-bottom: 0.25rem;
}

.error-box p {
  margin: 0;
}

.error-box a {
  color: #b91c1c;
  font-weight: 700;
  text-decoration: underline;
}

.success-backup {
  margin: 1rem 0 0 !important;
  font-size: 0.95rem !important;
  color: var(--success-text);
  opacity: 0.9;
}

.success-backup a {
  color: var(--success-text);
  font-weight: 700;
  text-decoration: underline;
}

#submit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

/* =========================================================
   Ballpark estimator modal
   ========================================================= */

body.est-open {
  overflow: hidden;
}

.contact-card--rates.contact-card--action:hover {
  border-color: rgba(27, 108, 168, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.est-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
}

.est-modal[hidden] {
  display: none !important;
}

.est-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 34, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.est-modal__panel {
  position: relative;
  width: min(100%, 34rem);
  max-height: min(92vh, 52rem);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
}

.est-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--slate-100);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.est-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.est-modal__header h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.est-close {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--slate-600);
  background: var(--slate-100);
  flex-shrink: 0;
}

.est-close:hover {
  background: var(--slate-200);
  color: var(--navy-900);
}

.est-modal__body {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.est-lead {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.98rem;
  line-height: 1.5;
}

.est-field {
  margin: 0;
  border: 0;
  padding: 0;
  min-width: 0;
}

.est-field legend,
.est-field > label {
  display: block;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.est-optional {
  font-weight: 500;
  color: var(--slate-500);
  font-size: 0.85rem;
}

.est-field input[type="number"],
.est-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 16px;
  background: var(--off-white);
  color: var(--slate-900);
}

.est-field input:focus,
.est-field select:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(37, 128, 196, 0.15);
}

.est-hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.4;
}

.est-grid-2 {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 520px) {
  .est-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.est-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.est-chip {
  cursor: pointer;
  position: relative;
}

.est-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.est-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid var(--slate-200);
  background: var(--off-white);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.est-chip input:checked + span {
  background: var(--blue-50);
  border-color: var(--blue-500);
  color: var(--blue-600);
}

.est-chip input:focus-visible + span {
  outline: 3px solid rgba(37, 128, 196, 0.35);
  outline-offset: 2px;
}

.est-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--slate-700);
  line-height: 1.4;
  cursor: pointer;
}

.est-check input {
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--blue-600);
  flex-shrink: 0;
}

.est-prefix-input {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--off-white);
  overflow: hidden;
}

.est-prefix-input span {
  padding: 0 0.35rem 0 0.95rem;
  font-weight: 700;
  color: var(--slate-500);
}

.est-prefix-input input {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding-left: 0.25rem !important;
}

.est-result {
  margin-top: 0.25rem;
  padding: 1.1rem 1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--blue-50), #f8fafc);
  border: 1px solid rgba(27, 108, 168, 0.15);
}

.est-result__main {
  text-align: center;
  margin-bottom: 0.85rem;
}

.est-result__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 0.25rem;
}

.est-result__amount {
  display: block;
  font-size: clamp(2rem, 8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  line-height: 1.1;
}

.est-result__plus {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-600);
}

.est-breakdown {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  border-top: 1px dashed rgba(27, 108, 168, 0.2);
  padding-top: 0.65rem;
}

.est-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--slate-700);
}

.est-breakdown strong {
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.est-muted {
  font-style: normal;
  color: var(--slate-500);
  font-weight: 500;
}

.est-disclaimer {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--slate-500);
}

.est-disclaimer a {
  color: var(--blue-600);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.est-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0.9rem 1.25rem 1.15rem;
  border-top: 1px solid var(--slate-100);
  background: var(--white);
  position: sticky;
  bottom: 0;
}

.est-modal__footer .btn {
  flex: 1 1 10rem;
  min-height: 48px;
  border-radius: 999px;
}

.est-btn-secondary {
  flex: 0 1 auto;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 650;
  color: var(--slate-700);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
}

.est-btn-secondary:hover {
  background: var(--slate-200);
}

@media (max-width: 520px) {
  .est-modal {
    padding: 0;
    place-items: end center;
  }

  .est-modal__panel {
    width: 100%;
    max-height: 94vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }
}

/* =========================================================
   Ask-a-question demo page
   ========================================================= */

.ask-kicker {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fef3c7;
  background: rgba(251, 191, 36, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.hero--ask .hero-tagline {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.ask-banner .quote-banner__text {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
}

.quote-banner__inner--stacked {
  flex-direction: row;
  align-items: center;
}

.quote-banner__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

.quote-banner__sub {
  margin: 0;
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  font-weight: 600;
  color: #1b6ca8;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.ask-banner .quote-banner__sub {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
}

.contact-card--phone {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.contact-card--phone:hover {
  border-color: rgba(27, 108, 168, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.phone-card__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.2rem 1rem;
  text-decoration: none;
  color: inherit;
}

.phone-card__note {
  padding: 0.85rem 1.15rem 1rem;
  border-top: 1px solid #fed7aa;
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
}

.phone-card__note p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #9a3412;
}

.phone-card__note p + p {
  margin-top: 0.4rem;
}

.phone-card__note strong {
  font-weight: 750;
  color: #7c2d12;
}

@media (max-width: 899px) {
  .contact-card--phone {
    padding: 0;
  }

  .phone-card__top {
    padding: 1rem 1rem 0.85rem;
    gap: 0.85rem;
  }

  .phone-card__note {
    padding: 0.75rem 1rem 0.9rem;
  }
}

.ask-promise {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

@media (min-width: 900px) {
  .ask-promise {
    grid-template-columns: 1.4fr 1fr;
    align-items: stretch;
    gap: 1.5rem;
  }
}

.ask-promise__card {
  display: flex;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  background: var(--blue-50);
  border: 1px solid rgba(27, 108, 168, 0.14);
  border-radius: var(--radius-lg);
}

.ask-promise__icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--blue-500), var(--blue-600));
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 8px 18px rgba(27, 108, 168, 0.25);
}

.ask-promise__card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.ask-promise__card p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.55;
  font-size: 1rem;
}

.ask-promise__list {
  list-style: none;
  margin: 0;
  padding: 1.2rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.ask-promise__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--slate-700);
  font-size: 0.98rem;
  line-height: 1.4;
  font-weight: 550;
}

.ask-promise__list i {
  color: var(--blue-600);
  margin-top: 0.2rem;
}

.ask-examples {
  margin-top: 1.75rem;
  padding: 1.15rem 1.1rem;
  background: var(--off-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
}

.ask-examples h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--navy-900);
}

.ask-examples__hint {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--slate-500);
}

.ask-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ask-chip {
  appearance: none;
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.15s;
}

.ask-chip:hover {
  border-color: rgba(27, 108, 168, 0.35);
  color: var(--blue-600);
  background: var(--blue-50);
}

.ask-chip.is-active {
  border-color: var(--blue-500);
  background: var(--blue-50);
  color: var(--blue-600);
}

.ask-reply {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.ask-reply legend {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.5rem;
}

.ask-reply__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.ask-reply__option {
  cursor: pointer;
  position: relative;
}

.ask-reply__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ask-reply__option span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--slate-200);
  background: var(--off-white);
  font-weight: 650;
  color: var(--slate-700);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.ask-reply__option input:checked + span {
  border-color: var(--blue-500);
  background: var(--blue-50);
  color: var(--blue-600);
}

.ask-reply__option input:focus-visible + span {
  outline: 3px solid rgba(37, 128, 196, 0.35);
  outline-offset: 2px;
}

.ask-fineprint {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 899px) {
  .ask-promise {
    margin-bottom: 2rem;
  }

  .ask-chip {
    width: 100%;
  }
}

.phone-card__note-sub {
  margin-top: 0.2rem !important;
  font-size: 0.84rem !important;
  color: #9a3412 !important;
  font-weight: 550;
}

/* Desktop default: “on the right” */
.note-when-above {
  display: none !important;
}

.note-when-side {
  display: inline !important;
}

/* Phones / small tablets: form is above — must come AFTER desktop defaults */
@media (max-width: 899px) {
  .note-when-side {
    display: none !important;
  }

  .note-when-above {
    display: inline !important;
  }
}