/* =============================================================
   County Appliance Repair — Shared Stylesheet
   Warm brown palette · Oswald headings · Open Sans body
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --color-primary:   #622B14; /* Dark brown — navbar, header bg */
  --color-secondary: #995F2F; /* Medium brown — CTA buttons, highlights */
  --color-accent:    #978F66; /* Warm olive — active links, borders, accents */
  --color-light:     #E4D6A9; /* Cream — text on dark bg, light section bg */
  --color-white:     #ffffff;
  --color-dark-text: #2c1a0e; /* Very dark brown for body text on light bg */

  /* Derived shades */
  --color-primary-darker: #4a2010;
  --color-secondary-dark: #7d4d25;
  --color-light-bg:       #f3ecd6; /* softer cream for large section fills */
  --placeholder-bg:       #c9b99a;

  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1180px;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(44, 26, 14, 0.10);
  --shadow-md: 0 8px 28px rgba(44, 26, 14, 0.16);
  --shadow-lg: 0 18px 50px rgba(44, 26, 14, 0.24);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-dark-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1.1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.section { padding: 86px 0; }
.section--tight { padding: 56px 0; }
.section--warm { background: linear-gradient(180deg, var(--color-light-bg) 0%, #fffbf2 100%); }

.text-center { text-align: center; }

/* Section headline accent underline */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  margin-top: 14px;
  background: var(--color-secondary);
  border-radius: 3px;
}
.text-center .section-title::after { margin-left: auto; margin-right: auto; }

/* ---------- Phone links ---------- */
.phone-link {
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--transition);
}
.phone-link:hover { color: var(--color-accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(-1px); }

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

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

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

/* =============================================================
   HEADER
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.site-header.is-stuck { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }

/* Top bar */
.top-bar {
  background: var(--color-primary);
  color: var(--color-light);
  font-size: 0.86rem;
  border-bottom: 1px solid rgba(228, 214, 169, 0.14);
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.top-bar__tag { letter-spacing: 0.4px; }
.top-bar__phone { display: inline-flex; align-items: center; gap: 8px; }

/* Main nav */
.main-nav {
  background: var(--color-primary-darker);
}
.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
}
.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--color-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand i { color: var(--color-accent); }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-light);
  padding: 10px 16px;
  border-radius: 6px;
  position: relative;
  transition: color var(--transition), background var(--transition);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active {
  color: var(--color-accent);
}
.nav-links a.active::after { transform: scaleX(1); }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 3px;
  background: var(--color-light);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(74, 32, 16, 0.92), rgba(98, 43, 20, 0.86)),
    repeating-linear-gradient(45deg, #5a2613 0, #5a2613 18px, #5e2814 18px, #5e2814 36px);
  color: var(--color-light);
  text-align: center;
  padding: 96px 0 104px;
  overflow: hidden;
}
.hero::before {
  /* soft radial warmth */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(151, 143, 102, 0.32), transparent 55%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.9rem;
  padding: 7px 18px;
  border: 1.5px solid var(--color-accent);
  border-radius: 40px;
  color: var(--color-light);
  margin-bottom: 26px;
  animation: fadeUp 0.6s ease both;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  margin-bottom: 12px;
  color: var(--color-white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeUp 0.6s ease 0.08s both;
}
.hero__sub {
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  max-width: 640px;
  margin: 0 auto 30px;
  color: var(--color-light);
  animation: fadeUp 0.6s ease 0.16s both;
}
.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-white);
  margin-bottom: 32px;
  transition: color var(--transition), transform var(--transition);
  animation: fadeUp 0.6s ease 0.24s both;
}
.hero__phone i { color: var(--color-accent); font-size: 0.8em; }
.hero__phone:hover { color: var(--color-accent); transform: scale(1.03); }

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease 0.32s both;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-light);
  animation: fadeUp 0.6s ease 0.4s both;
}
.hero__badge i { color: var(--color-accent); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================================
   GENERIC TWO-COLUMN BLOCK
   ============================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }

.split__text h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  color: var(--color-primary);
  margin-bottom: 22px;
}

/* Image placeholders */
.img-ph {
  background: var(--placeholder-bg);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-primary);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 24px;
  min-height: 240px;
  border: 2px dashed rgba(98, 43, 20, 0.35);
  box-shadow: var(--shadow-sm);
}
.img-ph i { font-size: 2rem; opacity: 0.65; }
.img-ph.square { aspect-ratio: 1 / 1; min-height: 0; }
.img-ph.banner { min-height: 120px; width: 100%; }
.img-ph small { font-family: var(--font-body); font-weight: 400; opacity: 0.75; text-transform: none; letter-spacing: 0; }

/* =============================================================
   SECTION IMAGES
   ============================================================= */
.split__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: block;
}

.banner-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

/* =============================================================
   SCHEDULE SERVICE FORM
   ============================================================= */
.schedule {
  background: linear-gradient(160deg, var(--color-accent), var(--color-primary));
  color: var(--color-light);
}
.schedule .section-title { color: var(--color-light); }
.schedule .section-title::after { background: var(--color-accent); }
.form-wrap {
  max-width: 720px;
  margin: 28px auto 0;
  background: var(--color-light-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 38px;
  border-top: 6px solid var(--color-secondary);
}
.service-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
/* Paired fields sit two-up and only stack on small phones */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field.trio { /* used inside a sub-grid */ }

.field label {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--color-dark-text);
  transition: color var(--transition);
}
.field label .req { color: var(--color-secondary); }

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark-text);
  padding: 12px 14px;
  border: 1.5px solid #d8ccae;
  border-radius: 8px;
  background: #fdf6e8;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(153, 95, 47, 0.18);
}
.field textarea { resize: vertical; min-height: 110px; }

/* Error state */
.field.error input,
.field.error select,
.field.error textarea {
  border-color: #c0392b;
  background: #fdf3f2;
}
.field.error label { color: #c0392b; }
.field.shake { animation: shake 0.4s; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

/* Consent checkbox */
.consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.88rem;
  line-height: 1.55;
  background: var(--color-light-bg);
  border-radius: 8px;
  padding: 14px 16px;
}
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--color-secondary); }
.consent.error { outline: 2px solid #c0392b; }
.consent a { color: var(--color-secondary); text-decoration: underline; font-weight: 600; }

/* Simple fine-print consent note (no checkbox) */
.form-note {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #6b5640;
  margin: 0;
}
.form-note a { color: var(--color-secondary); text-decoration: underline; font-weight: 600; }

.submit-row { grid-column: 1 / -1; }
.submit-row .btn { width: 100%; justify-content: center; font-size: 1.15rem; padding: 17px; }
.submit-row .btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
  background: #e9f7ec;
  border: 2px solid #57b368;
  border-radius: var(--radius);
  max-width: 720px;
  margin: 28px auto 0;
  animation: fadeUp 0.5s ease both;
}
.form-success.show { display: block; }
.form-success i { font-size: 3rem; color: #3a9d4f; margin-bottom: 14px; }
.form-success h3 { color: var(--color-primary); font-size: 1.6rem; }
.form-success p { color: var(--color-dark-text); margin-bottom: 0; }

/* =============================================================
   APPLIANCES WE SERVICE
   ============================================================= */
.appliances { background: linear-gradient(180deg, var(--color-light) 0%, var(--color-light-bg) 100%); }
.appliance-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 36px;
}
.appliance-card {
  background: var(--color-light-bg);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--color-secondary);
}
.appliance-card h3 {
  color: var(--color-primary);
  font-size: 1.35rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.appliance-card h3 i { color: var(--color-secondary); }
.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.tag-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 600;
  background: var(--color-light);
  color: var(--color-dark-text);
  padding: 7px 13px;
  border-radius: 30px;
  border: 1px solid #c9b99a;
}
.tag-list li i { color: var(--color-accent); font-size: 0.8em; }

/* =============================================================
   REVIEWS CAROUSEL
   ============================================================= */
.reviews {
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-primary) 50%, var(--color-primary-darker) 100%);
  color: var(--color-light);
}
.yelp-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 22px auto 40px;
}
.yelp-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: #d32323;
  background: var(--color-white);
  padding: 4px 16px;
  border-radius: 8px;
  letter-spacing: -1px;
}
.yelp-stars { font-size: 1.15rem; font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.yelp-stars .stars { color: #f4c430; letter-spacing: 2px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.review-card {
  background: var(--color-light);
  color: var(--color-dark-text);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.review-card .stars { color: #f4c430; font-size: 1.3rem; letter-spacing: 3px; margin-bottom: 18px; }
.review-card .quote { font-size: 0.98rem; line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.review-card .quote::before { content: "\201C"; }
.review-card .quote::after  { content: "\201D"; }
.review-card .reviewer {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
}

/* =============================================================
   PAGE BANNER (interior pages)
   ============================================================= */
.page-banner {
  background:
    linear-gradient(135deg, rgba(74, 32, 16, 0.93), rgba(98, 43, 20, 0.88)),
    repeating-linear-gradient(45deg, #5a2613 0, #5a2613 18px, #5e2814 18px, #5e2814 36px);
  color: var(--color-light);
  text-align: center;
  padding: 72px 0 60px;
}
.page-banner h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  color: var(--color-white);
  margin-bottom: 14px;
}
.breadcrumb {
  font-size: 0.95rem;
  color: var(--color-light);
}
.breadcrumb a { color: var(--color-accent); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--color-white); }
.breadcrumb span { opacity: 0.7; margin: 0 8px; }

/* =============================================================
   CTA BANNER (appliance repair page)
   ============================================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
  color: var(--color-light);
  text-align: center;
  padding: 70px 0;
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--color-light);
  margin-bottom: 18px;
}
.cta-banner__phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  color: var(--color-white);
  margin-bottom: 26px;
}
.cta-banner__phone i { color: var(--color-light); font-size: 0.85em; }
.cta-banner__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================================
   PRIVACY POLICY
   ============================================================= */
.policy { background: var(--color-light-bg); }
.policy-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 46px 50px;
  max-width: 880px;
  margin: 0 auto;
}
.policy-card h1 { color: var(--color-primary); font-size: clamp(2rem, 5vw, 2.8rem); }
.policy-updated { color: var(--color-secondary); font-weight: 600; margin-bottom: 30px; }
.policy-card h2 {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-top: 34px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-light-bg);
  display: flex;
  align-items: center;
  gap: 10px;
}
.policy-card h2 .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  background: var(--color-secondary);
  color: var(--color-light);
  border-radius: 50%;
  font-size: 0.95rem;
  flex: 0 0 auto;
}
.policy-card a { color: var(--color-secondary); font-weight: 600; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { background: var(--color-primary); color: var(--color-light); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 52px 0;
}
.footer-col h4 {
  color: var(--color-accent);
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { font-weight: 600; transition: color var(--transition); }
.footer-nav a:hover { color: var(--color-accent); }

.footer-brand {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-light);
  text-transform: uppercase;
  line-height: 1.15;
}
.footer-brand i { display: block; color: var(--color-accent); font-size: 1.6rem; margin-bottom: 8px; }

.footer-phone-col { text-align: right; }
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-light);
  transition: color var(--transition);
}
.footer-phone:hover { color: var(--color-accent); }
.footer-phone i { color: var(--color-accent); }

.footer-bottom {
  background: var(--color-primary-darker);
  text-align: center;
  font-size: 0.88rem;
  padding: 18px 0;
  color: var(--color-light);
}
.footer-bottom a { color: var(--color-accent); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--color-white); }
.footer-bottom .sep { opacity: 0.5; margin: 0 8px; }

/* =============================================================
   SCROLL REVEAL
   ============================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--reverse .split__media { order: 0; }
  .appliance-cols { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .footer-phone-col { text-align: center; }
  .footer-nav a { display: inline-block; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 760px) {
  .top-bar__tag { display: none; }
  .top-bar .container { justify-content: center; }

  .hamburger { display: block; }
  .main-nav .container { position: relative; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-primary-darker);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .nav-links.is-open { max-height: 320px; }
  .nav-links li { border-top: 1px solid rgba(228, 214, 169, 0.12); }
  .nav-links a { display: block; padding: 16px 24px; }
  .nav-links a::after { display: none; }

  .form-wrap { padding: 24px; }
  .policy-card { padding: 30px 22px; }
  .section { padding: 60px 0; }
  .hero { padding: 70px 0 78px; }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  /* Stack the paired name/city-zip fields on small phones */
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero__phone { font-size: 1.8rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
