/* ==========================================================================
   Yorkshire Boilers & Heating Services — Global Stylesheet
   Mobile-first, navy / gold / white, conversion-focused
   ========================================================================== */

:root{
  --navy:#061A33;
  --navy-dark:#031120;
  --gold:#D7A53A;
  --gold-light:#F3D27A;
  --white:#FFFFFF;
  --off-white:#F7F8FA;
  --grey-light:#E8ECF1;
  --text-grey:#3B4652;
  --green:#0E8F4F;
  --red:#B3261E;

  --font:'Inter',Arial,Helvetica,sans-serif;
  --maxw:1180px;
  --radius:10px;
  --shadow:0 6px 24px rgba(6,26,51,.10);
  --shadow-sm:0 2px 8px rgba(6,26,51,.08);
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--font);
  color:var(--text-grey);
  background:var(--white);
  line-height:1.6;
  font-size:17px;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--navy);text-decoration:none}
a:hover{text-decoration:underline}
ul{list-style:none}

h1,h2,h3,h4{color:var(--navy);line-height:1.2;font-weight:800;letter-spacing:-.01em}
h1{font-size:1.9rem;margin-bottom:.6rem}
h2{font-size:1.5rem;margin-bottom:.8rem}
h3{font-size:1.2rem;margin-bottom:.5rem}
p{margin-bottom:1rem}
p:last-child{margin-bottom:0}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 18px}
.section{padding:46px 0}
.section--tight{padding:30px 0}
.section--alt{background:var(--off-white)}
.section--navy{background:var(--navy);color:#dbe4ef}
.section--navy h1,.section--navy h2,.section--navy h3{color:#fff}
.eyebrow{display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:var(--gold);margin-bottom:.6rem}
.lead{font-size:1.08rem}
.center{text-align:center}

/* ---------- Skip link ---------- */
.skip{position:absolute;left:-999px;top:0;background:var(--gold);color:var(--navy);
  padding:10px 16px;z-index:2000;font-weight:700;border-radius:0 0 8px 0}
.skip:focus{left:0}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-weight:700;font-size:1rem;line-height:1;text-align:center;
  padding:15px 22px;border-radius:var(--radius);border:2px solid transparent;
  cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,background .12s ease;
  text-decoration:none;
}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn:focus-visible{outline:3px solid var(--gold-light);outline-offset:2px}
.btn--primary{background:var(--gold);color:var(--navy);box-shadow:var(--shadow-sm)}
.btn--primary:hover{background:var(--gold-light)}
.btn--secondary{background:var(--navy);color:#fff;border-color:var(--gold)}
.btn--secondary:hover{background:var(--navy-dark)}
.btn--ghost{background:transparent;color:var(--navy);border-color:var(--navy)}
.btn--ghost:hover{background:var(--navy);color:#fff}
.btn--lg{padding:17px 28px;font-size:1.06rem}
.btn--block{width:100%}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}
.btn-row--center{justify-content:center}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:900;background:#fff;border-bottom:1px solid var(--grey-light);
  box-shadow:0 1px 0 rgba(6,26,51,.04)}
.header-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 18px;
  max-width:var(--maxw);margin:0 auto}
.brand img{height:42px;width:auto}
.nav-desktop{display:none}
.nav-desktop ul{display:flex;align-items:center;gap:18px}
.nav-desktop a{font-weight:600;font-size:.95rem;color:var(--navy)}
.nav-desktop a:hover{color:var(--gold);text-decoration:none}
.header-cta{display:none;align-items:center;gap:10px}
.header-phone{font-weight:800;color:var(--navy);white-space:nowrap}
.header-phone:hover{color:var(--gold);text-decoration:none}

.header-mobile-actions{display:flex;align-items:center;gap:8px}
.icon-btn{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:.9rem;
  padding:9px 12px;border-radius:8px}
.icon-btn--call{background:var(--gold);color:var(--navy)}
.icon-btn--call:hover{text-decoration:none}
.menu-toggle{background:var(--navy);color:#fff;border:0;border-radius:8px;padding:9px 12px;
  font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-size:.9rem}

/* Mobile drawer */
.nav-mobile{position:fixed;inset:0 0 0 auto;width:min(86%,340px);background:var(--navy);
  color:#fff;transform:translateX(100%);transition:transform .25s ease;z-index:1100;
  padding:18px;overflow-y:auto;box-shadow:-8px 0 40px rgba(0,0,0,.3)}
.nav-mobile.open{transform:translateX(0)}
.nav-mobile .close{background:none;border:0;color:#fff;font-size:1.6rem;cursor:pointer;
  position:absolute;top:12px;right:16px;line-height:1}
.nav-mobile h2{color:var(--gold);font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;
  margin:18px 0 8px}
.nav-mobile ul{display:flex;flex-direction:column;gap:2px}
.nav-mobile a{color:#fff;font-weight:600;padding:11px 8px;border-radius:8px;display:block}
.nav-mobile a:hover{background:rgba(255,255,255,.08);text-decoration:none}
.nav-overlay{position:fixed;inset:0;background:rgba(3,17,32,.55);opacity:0;visibility:hidden;
  transition:.25s;z-index:1050}
.nav-overlay.open{opacity:1;visibility:visible}
.nav-mobile .drawer-cta{margin-top:18px;display:flex;flex-direction:column;gap:10px}

/* ---------- Hero ---------- */
.hero{position:relative;background:var(--navy);color:#e7eefa;overflow:hidden}
.hero__inner{display:grid;gap:24px;padding:34px 18px 38px;max-width:var(--maxw);margin:0 auto}
.hero h1{color:#fff;font-size:2rem}
.hero p{color:#cdd9ea}
.hero .lead{font-size:1.1rem}
.hero__media{border-radius:14px;overflow:hidden;box-shadow:var(--shadow);position:relative}
.hero__media img{width:100%;height:100%;object-fit:cover;aspect-ratio:3/2}
.hero__price{display:inline-block;background:var(--gold);color:var(--navy);font-weight:800;
  padding:8px 14px;border-radius:8px;margin-bottom:14px;font-size:1rem}
.hero__cta{margin-top:18px}

/* ---------- Trust strip ---------- */
.trust-strip{background:var(--navy-dark);color:#cdd9ea;border-top:3px solid var(--gold)}
.trust-strip ul{display:grid;grid-template-columns:1fr;gap:8px;padding:16px 18px;
  max-width:var(--maxw);margin:0 auto}
.trust-strip li{display:flex;align-items:center;gap:10px;font-weight:600;font-size:.95rem}
.trust-strip li::before{content:"";flex:0 0 auto;width:18px;height:18px;border-radius:50%;
  background:var(--gold);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat}

/* ---------- Cards ---------- */
.card-grid{display:grid;grid-template-columns:1fr;gap:18px}
.card{background:#fff;border:1px solid var(--grey-light);border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;
  transition:transform .14s ease,box-shadow .14s ease}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.card__img{aspect-ratio:16/10;overflow:hidden;background:var(--grey-light)}
.card__img img{width:100%;height:100%;object-fit:cover}
.card__body{padding:18px 18px 20px;display:flex;flex-direction:column;flex:1}
.card__body h3{margin-bottom:.4rem}
.card__body p{font-size:.96rem;margin-bottom:14px}
.card__link{margin-top:auto;font-weight:700;color:var(--navy);display:inline-flex;align-items:center;gap:6px}
.card__link::after{content:"→";color:var(--gold);font-weight:800}
.card__link:hover{color:var(--gold);text-decoration:none}

/* ---------- Feature / two-column ---------- */
.two-col{display:grid;grid-template-columns:1fr;gap:26px;align-items:center}
.two-col__media img{border-radius:14px;box-shadow:var(--shadow);width:100%;object-fit:cover}
.ticks li{position:relative;padding-left:30px;margin-bottom:10px;font-weight:600;color:var(--navy)}
.ticks li::before{content:"";position:absolute;left:0;top:3px;width:20px;height:20px;border-radius:50%;
  background:var(--green);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/13px no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/13px no-repeat}

/* ---------- Offer band ---------- */
.offer{background:linear-gradient(135deg,var(--navy),var(--navy-dark));color:#e7eefa;
  border-radius:16px;padding:28px 22px;border:1px solid rgba(215,165,58,.35)}
.offer .price{font-size:2.1rem;font-weight:800;color:var(--gold);display:block;margin:4px 0 10px}
.offer h2{color:#fff}

/* ---------- Areas ---------- */
.area-chips{display:flex;flex-wrap:wrap;gap:10px}
.area-chips a{background:#fff;border:1px solid var(--grey-light);border-radius:30px;
  padding:9px 16px;font-weight:600;font-size:.92rem;color:var(--navy);box-shadow:var(--shadow-sm)}
.area-chips a:hover{background:var(--navy);color:#fff;text-decoration:none;border-color:var(--navy)}

/* ---------- Steps ---------- */
.steps{display:grid;grid-template-columns:1fr;gap:16px;counter-reset:step}
.step{background:#fff;border:1px solid var(--grey-light);border-radius:var(--radius);
  padding:20px 18px 18px;position:relative;box-shadow:var(--shadow-sm)}
.step::before{counter-increment:step;content:counter(step);position:absolute;top:-14px;left:18px;
  width:34px;height:34px;border-radius:50%;background:var(--gold);color:var(--navy);
  font-weight:800;display:grid;place-items:center;box-shadow:var(--shadow-sm)}
.step h3{margin-top:8px}

/* ---------- FAQ accordion ---------- */
.faq{max-width:820px;margin:0 auto}
.faq details{background:#fff;border:1px solid var(--grey-light);border-radius:var(--radius);
  margin-bottom:12px;overflow:hidden;box-shadow:var(--shadow-sm)}
.faq summary{cursor:pointer;list-style:none;padding:16px 48px 16px 18px;font-weight:700;
  color:var(--navy);position:relative;font-size:1.02rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);
  font-size:1.5rem;color:var(--gold);font-weight:800;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq summary:focus-visible{outline:3px solid var(--gold-light);outline-offset:-3px}
.faq .faq__a{padding:0 18px 18px;color:var(--text-grey)}

/* ---------- Final CTA ---------- */
.cta-band{background:linear-gradient(135deg,var(--navy),var(--navy-dark));color:#e7eefa;text-align:center}
.cta-band h2{color:#fff}
.cta-band p{color:#cdd9ea;max-width:640px;margin:0 auto 18px}

/* ---------- Forms ---------- */
.form-card{background:#fff;border:1px solid var(--grey-light);border-radius:14px;
  padding:22px 20px;box-shadow:var(--shadow)}
.form-card h2,.form-card h3{color:var(--navy)}
.wpf{display:grid;gap:14px;margin-top:6px}
.wpf .field{display:flex;flex-direction:column;gap:6px}
.wpf .field--row{display:grid;grid-template-columns:1fr;gap:14px}
.wpf label{font-weight:700;color:var(--navy);font-size:.92rem}
.wpf .req{color:var(--red)}
.wpf input,.wpf select,.wpf textarea{
  font-family:inherit;font-size:1rem;padding:13px 14px;border:1.5px solid var(--grey-light);
  border-radius:9px;background:var(--off-white);color:var(--text-grey);width:100%}
.wpf input:focus,.wpf select:focus,.wpf textarea:focus{outline:none;border-color:var(--gold);
  background:#fff;box-shadow:0 0 0 3px rgba(215,165,58,.18)}
.wpf textarea{min-height:96px;resize:vertical}
.wpf fieldset{border:0}
.wpf .radio-row{display:flex;gap:18px;flex-wrap:wrap}
.wpf .radio-row label{font-weight:600;display:flex;align-items:center;gap:7px;cursor:pointer}
.wpf .radio-row input{width:auto}
.form-note{font-size:.82rem;color:var(--text-grey);margin-top:4px}
.form-success{display:none;background:#eaf7f0;border:1.5px solid var(--green);color:#0a5a33;
  padding:16px;border-radius:10px;font-weight:600;margin-top:14px}
.form-success.show{display:block}

/* ---------- Contact details block ---------- */
.contact-grid{display:grid;grid-template-columns:1fr;gap:24px}
.detail-list li{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--grey-light);align-items:flex-start}
.detail-list li:last-child{border-bottom:0}
.detail-list .k{font-weight:800;color:var(--navy);min-width:96px}
.detail-list a{font-weight:600}

/* ---------- Breadcrumbs ---------- */
.crumbs{background:var(--off-white);border-bottom:1px solid var(--grey-light);font-size:.86rem}
.crumbs ol{display:flex;flex-wrap:wrap;gap:6px;padding:11px 18px;max-width:var(--maxw);margin:0 auto;color:var(--text-grey)}
.crumbs li{display:flex;gap:6px;align-items:center}
.crumbs li+li::before{content:"/";color:#9aa6b3}
.crumbs a{color:var(--navy);font-weight:600}
.crumbs [aria-current]{color:var(--text-grey)}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy-dark);color:#aebccd;padding:42px 0 0;font-size:.93rem}
.footer-top{display:grid;grid-template-columns:1fr;gap:28px;max-width:var(--maxw);margin:0 auto;padding:0 18px}
.footer-brand img{height:54px;margin-bottom:14px}
.footer-brand p{color:#aebccd;max-width:340px}
.footer-col h3{color:#fff;font-size:.95rem;letter-spacing:.04em;margin-bottom:12px}
.footer-col ul{display:flex;flex-direction:column;gap:8px}
.footer-col a{color:#aebccd}
.footer-col a:hover{color:var(--gold);text-decoration:none}
.footer-contact li{margin-bottom:8px}
.footer-contact a{color:#fff;font-weight:600}
.gas-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(215,165,58,.14);
  border:1px solid rgba(215,165,58,.4);color:var(--gold-light);font-weight:700;
  padding:8px 12px;border-radius:8px;margin-top:14px;font-size:.85rem}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);margin-top:34px;padding:18px;
  text-align:center;font-size:.82rem;color:#8595a6}
.footer-bottom a{color:#aebccd}

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta{position:fixed;left:0;right:0;bottom:0;z-index:950;display:grid;
  grid-template-columns:1fr 1fr 1fr;background:var(--navy);border-top:2px solid var(--gold);
  box-shadow:0 -4px 18px rgba(0,0,0,.25)}
.sticky-cta a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  padding:9px 4px;color:#fff;font-weight:700;font-size:.78rem;text-align:center;border-right:1px solid rgba(255,255,255,.1)}
.sticky-cta a:last-child{border-right:0}
.sticky-cta a:hover{text-decoration:none;background:var(--navy-dark)}
.sticky-cta a.is-primary{background:var(--gold);color:var(--navy)}
.sticky-cta a.is-primary:hover{background:var(--gold-light)}
.sticky-cta svg{width:20px;height:20px}
body{padding-bottom:62px}

/* ---------- Prose (legal pages) ---------- */
.prose{max-width:780px;margin:0 auto}
.prose h2{margin-top:1.6rem}
.prose h3{margin-top:1.2rem}
.prose ul{list-style:disc;padding-left:22px;margin-bottom:1rem}
.prose ul li{margin-bottom:6px}
.prose a{font-weight:600;text-decoration:underline}

/* ---------- Utility ---------- */
.mt0{margin-top:0}.mb0{margin-bottom:0}
.related-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.related-links a{font-weight:600;color:var(--navy);background:var(--off-white);
  border:1px solid var(--grey-light);padding:8px 14px;border-radius:8px}
.related-links a:hover{background:var(--navy);color:#fff;text-decoration:none;border-color:var(--navy)}

/* ==========================================================================
   Tablet / Desktop
   ========================================================================== */
@media(min-width:680px){
  h1{font-size:2.3rem}
  h2{font-size:1.8rem}
  .hero h1{font-size:2.5rem}
  .card-grid{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .trust-strip ul{grid-template-columns:repeat(2,1fr);gap:10px 26px}
  .wpf .field--row{grid-template-columns:1fr 1fr}
  .footer-top{grid-template-columns:1.4fr 1fr 1fr;gap:30px}
  .contact-grid{grid-template-columns:1.1fr .9fr}
}

@media(min-width:920px){
  body{padding-bottom:0}
  .sticky-cta{display:none}
  .nav-desktop{display:block}
  .header-cta{display:flex}
  .header-mobile-actions{display:none}
  .menu-toggle{display:none}
  .section{padding:60px 0}
  .hero__inner{grid-template-columns:1.05fr .95fr;align-items:center;padding:52px 18px 56px}
  .hero h1{font-size:2.9rem}
  .card-grid{grid-template-columns:repeat(3,1fr)}
  .card-grid--2{grid-template-columns:repeat(2,1fr)}
  .two-col{grid-template-columns:1fr 1fr;gap:42px}
  .two-col--reverse .two-col__media{order:2}
  .steps{grid-template-columns:repeat(4,1fr)}
  .trust-strip ul{grid-template-columns:repeat(5,1fr)}
  .footer-top{grid-template-columns:1.5fr 1fr 1fr 1fr}
  .offer{padding:36px 34px}
}

@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* ---- Finance (Ideal4Finance) ---- */
.finance-section{background:var(--off-white)}
.finance-rep{background:#fff;border:1px solid var(--light-grey);border-radius:12px;padding:18px 20px;margin:18px 0}
.finance-rep__head{margin:0 0 12px;color:var(--text-grey)}
.finance-rep__table{width:100%;border-collapse:collapse;font-size:15px}
.finance-rep__table th,.finance-rep__table td{text-align:left;padding:8px 6px;border-bottom:1px solid var(--light-grey)}
.finance-rep__table th{font-weight:600;color:var(--navy);width:60%}
.finance-rep__table td{color:var(--text-grey)}
.finance-rep__table tr:last-child th,.finance-rep__table tr:last-child td{border-bottom:0;font-weight:700;color:var(--navy)}
.finance-legal{margin-top:16px;font-size:13px;line-height:1.5;color:var(--text-grey)}
.finance-legal__disclosure,.finance-legal__risk{margin:0 0 8px}
.finance-card{background:#fff;border:1px solid var(--light-grey);border-left:4px solid var(--gold);border-radius:10px;padding:14px 16px;font-weight:600;color:var(--navy)}
.footer-finance{margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.15);font-size:12px;line-height:1.5;color:rgba(255,255,255,.6)}
.footer-finance p{margin:0 0 8px}

/* Inline text-style button for secondary link rows */
.btn--link{background:none;border:0;color:var(--navy);text-decoration:underline;padding:6px 8px;font-weight:600}
.btn--link:hover{color:var(--gold)}

/* Supporting Google Maps link (small, inline — not a CTA) */
.maps-link{font-size:14px;font-weight:600;color:var(--navy);text-decoration:underline;white-space:nowrap}
.maps-link:hover{color:var(--gold)}

/* hero-van-image-css */
/* Van hero image enhancements — added for van homepage hero */
.hero__media img{object-fit:cover;object-position:center center}
.hero__copy{background:rgba(6,26,51,.72);border-radius:12px;padding:28px 24px;backdrop-filter:blur(2px)}
.van-caption{font-size:12px;color:var(--text-grey,#6b7280);padding:6px 8px;
  background:rgba(0,0,0,.55);color:#cdd9ea;text-align:center;border-radius:0 0 14px 14px}
@media(min-width:920px){
  .hero__copy{background:rgba(6,26,51,.80);padding:36px 32px}
}


/* ==========================================================================
   Homepage survey form — dark CTA band overrides
   Scoped entirely to .home-survey-form-section so no other WPForms instance
   on the site is affected. The cta-band section is navy, so labels and text
   must be light; inputs stay white with dark text for readability.
   ========================================================================== */

/* --- Container --- */
.home-survey-form-section {
  margin-top: 36px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* --- WPForms container reset --- */
.home-survey-form-section .wpforms-container,
.home-survey-form-section .wpforms-form {
  margin: 0;
  padding: 0;
}

/* --- Labels: white on dark background --- */
.home-survey-form-section .wpforms-field-label,
.home-survey-form-section label,
.home-survey-form-section .wpforms-label-hide + .wpforms-field-label {
  color: #ffffff !important;
  font-weight: 700;
  font-size: .92rem;
}

/* --- Sub-labels: light grey --- */
.home-survey-form-section .wpforms-field-sublabel,
.home-survey-form-section .wpforms-field-description {
  color: #cdd9ea !important;
  font-size: .82rem;
}

/* --- Required asterisk: gold --- */
.home-survey-form-section .wpforms-required-label,
.home-survey-form-section .wpforms-field-label .wpforms-required-label {
  color: var(--gold-light) !important;
}

/* --- Input, select, textarea: white background, navy text --- */
.home-survey-form-section input[type="text"],
.home-survey-form-section input[type="email"],
.home-survey-form-section input[type="tel"],
.home-survey-form-section input[type="number"],
.home-survey-form-section input[type="url"],
.home-survey-form-section select,
.home-survey-form-section textarea {
  background: #ffffff !important;
  color: var(--navy) !important;
  border: 1.5px solid rgba(255, 255, 255, .35) !important;
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 1rem;
  width: 100%;
}

.home-survey-form-section input:focus,
.home-survey-form-section select:focus,
.home-survey-form-section textarea:focus {
  border-color: var(--gold) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(215, 165, 58, .25);
}

.home-survey-form-section textarea {
  min-height: 96px;
  resize: vertical;
}

/* --- Field spacing --- */
.home-survey-form-section .wpforms-field {
  margin-bottom: 18px;
}

/* --- Two-column row on wider screens --- */
@media (min-width: 600px) {
  .home-survey-form-section .wpforms-field-row,
  .home-survey-form-section .wpforms-columns-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* --- Submit button: gold with navy text --- */
.home-survey-form-section .wpforms-submit,
.home-survey-form-section button[type="submit"],
.home-survey-form-section input[type="submit"] {
  background: var(--gold) !important;
  color: var(--navy) !important;
  border: none !important;
  border-radius: var(--radius);
  padding: 14px 32px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  letter-spacing: .01em;
  transition: background .2s, transform .1s;
}

.home-survey-form-section .wpforms-submit:hover,
.home-survey-form-section button[type="submit"]:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

/* --- Error messages: stay visible on dark background --- */
.home-survey-form-section .wpforms-field-container .wpforms-error,
.home-survey-form-section label.wpforms-error {
  color: #ffb3b0 !important;
  font-size: .85rem;
  margin-top: 4px;
}

/* --- Mobile: single column, comfortable tap targets --- */
@media (max-width: 599px) {
  .home-survey-form-section input[type="text"],
  .home-survey-form-section input[type="email"],
  .home-survey-form-section input[type="tel"],
  .home-survey-form-section select,
  .home-survey-form-section textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
    padding: 13px 14px;
  }
  .home-survey-form-section .wpforms-submit,
  .home-survey-form-section button[type="submit"] {
    padding: 15px 24px;
  }
}
