:root{
  --yellow: #f3c200;       /* theme yellow */
  --yellow-dark:#d2a700;
  --black:#0b0b0b;
  --white:#ffffff;
  --muted:#6b7280;
  --bg:#f7f7f7;
  --card:#ffffff;
  --line:#e6e6e6;
  --shadow: 0 12px 30px rgba(0,0,0,.14);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:var(--font);
  color:var(--black);
  background:var(--bg);
}

.container{
  width:min(1120px, 92vw);
  margin:0 auto;
}

/* Header */
.site-header{ background:linear-gradient(180deg, #fff 0%, #fff 45%, var(--bg) 100%); }
.topbar{
  background:#fff;
  border-bottom:1px solid var(--line);
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.logo-wrap{ display:flex; align-items:center; gap:12px; }
.logo-placeholder{
  width:46px; height:46px;
  border:2px dashed rgba(0,0,0,.25);
  border-radius:10px;
  display:grid; place-items:center;
  font-weight:800;
  background: #fff;
}
.brand-text{ line-height:1.05; }
.brand-name{ font-weight:800; letter-spacing:.6px; }
.brand-sub{ font-weight:600; color:rgba(0,0,0,.65); font-size:13px; }

.contact-pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  background: #fff;
  border:1px solid var(--line);
  border-radius:999px;
}
.pill-label{ color:var(--muted); font-size:13px; }
.pill-phone{ color:var(--black); font-weight:800; text-decoration:none; }
.pill-phone:hover{ text-decoration:underline; }

/* Hero */
.hero{
  padding:28px 0 44px;
}
.hero-inner{
  display: grid;
  grid-template-columns: 1fr !important;  /* FORCE single column */
  gap: 18px;
  align-items: start;
}

.hero-right{
  display:flex;
  justify-content:center;
}
.hero-left{
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.hero-left h1{
  margin:10px 0 12px;
  font-size:48px;
  letter-spacing:-1px;
}

.sub{
  margin:0 0 20px;
  color:rgba(0,0,0,.72);
  line-height:1.6;
  max-width: 700px;
  text-align: center;
}

.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
}

.trust-chip{
  background:rgba(243,194,0,.16);
  border:1px solid rgba(243,194,0,.35);
  color:#4b3a00;
  font-weight:700;
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
}

/* Card */
.card{
      width:min(920px, 96vw);      /* wider card, centered */

  background:var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card-head{
  background: var(--yellow);
  padding:18px 18px 14px;
  border-bottom: 1px solid rgba(0,0,0,.12);
}
.card-head h2{
  margin:0;
  font-size:22px;
  letter-spacing:-.3px;
}
.card-head p{
  margin:6px 0 0;
  font-size:13px;
  color:rgba(0,0,0,.7);
}
.intro-panel{
  width: 100%;
  border-radius: 22px;
  padding: 26px 18px 10px;
  background:
    radial-gradient(900px 260px at 50% 0%,
      rgba(243,194,0,.18) 0%,
      rgba(243,194,0,.08) 35%,
      rgba(255,255,255,0) 70%),
    linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(247,247,247,0) 100%);
}
.intro-divider{
  margin: 22px auto 0;
  width: min(920px, 92vw);
  height: 1px;
  background: linear-gradient(90deg,
    rgba(0,0,0,0),
    rgba(0,0,0,.14),
    rgba(0,0,0,0));
}


form{ padding:18px; }
.field{ margin-bottom:14px; }
label{
  display:block;
  font-weight:700;
  font-size:13px;
  margin:0 0 6px;
}
.req{ color:#a00000; font-weight:900; }
.hint{
  font-size:12px;
  color:var(--muted);
  margin-top:6px;
  line-height:1.35;
}
input, textarea, select{
  width:100%;
  padding:12px 12px;
  border-radius: 10px;
  border:1px solid #d9d9d9;
  outline:none;
  font: inherit;
  background:#fff;
}
textarea{ resize:vertical; }
input:focus, textarea:focus{
  border-color: rgba(0,0,0,.45);
  box-shadow: 0 0 0 3px rgba(243,194,0,.25);
}
.err{
  margin-top:6px;
  font-size:12px;
  color:#b00020;
  min-height: 14px;
}

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.grid-3{
  display:grid;
  grid-template-columns: 1fr .45fr 1fr;
  gap:12px;
}

@media (max-width: 620px){
  .grid-3{ grid-template-columns: 1fr; }
}

.divider{
  height:1px;
  background:var(--line);
  margin:14px 0;
}

.badge-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.badge-title{ font-weight:900; }
.badge-sub{ color:var(--muted); font-size:13px; margin-top:4px; }

.status-row{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.status-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:800;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
}
.status-warn{ border-color: rgba(176,0,32,.25); background: rgba(176,0,32,.06); }
.status-ok{ border-color: rgba(16,185,129,.35); background: rgba(16,185,129,.08); }

.btn{
  border:0;
  border-radius: 12px;
  padding:12px 14px;
  font-weight:900;
  font-family:var(--font);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.btn:disabled{
  opacity:.55;
  cursor:not-allowed;
}
.btn-primary{
  background: var(--black);
  color:#fff;
}
.btn-primary:hover{ filter: brightness(1.06); }
.btn-outline{
  background:#fff;
  border:1px solid rgba(0,0,0,.22);
  color:var(--black);
}
.btn-outline:hover{ border-color: rgba(0,0,0,.5); }

.fineprint{
  margin:12px 0 0;
  font-size:12px;
  color:var(--muted);
  line-height:1.4;
}

.submit-message{
  margin-top:12px;
  font-size:13px;
  font-weight:700;
  min-height: 18px;
}

/* Modal */
.backdrop{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.45);
  z-index:50;
}
.modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index:60;
}
.modal-inner{
  width:min(860px, 96vw);
  background:#fff;
  border-radius: var(--radius);
  border:1px solid rgba(0,0,0,.14);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  background: var(--yellow);
  padding:16px 16px 12px;
  border-bottom:1px solid rgba(0,0,0,.12);
}
.modal-head h3{ margin:0; font-size:20px; }
.modal-sub{ margin:6px 0 0; font-size:13px; color:rgba(0,0,0,.72); }
.icon-btn{
  border:0;
  background: rgba(255,255,255,.6);
  width:40px;
  height:40px;
  border-radius:12px;
  font-size:18px;
  cursor:pointer;
}
.icon-btn:hover{ background: rgba(255,255,255,.85); }

.modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top: 10px;
}
.checkrow{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin: 10px 0 0;
}
.checkrow input{ width:auto; margin-top:3px; }

@media (max-width: 940px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-left h1{ font-size:34px; }
}
@media (max-width: 620px){
  .grid-2{ grid-template-columns: 1fr; }
  .badge-row{ flex-direction:column; align-items:stretch; }
}
/* Ensure HTML hidden attribute always wins */
[hidden] { 
  display: none !important; 
}
.progress-wrap{
  width:100%;
}


.progress-steps{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.step{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 0;
}

.step .dot{
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,.25);
  background: #fff;
  flex: 0 0 auto;
}

.step .meta{
  line-height: 1.05;
}

.step .label{
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .3px;
  text-transform: uppercase;
}

.step .title{
  font-size: 13px;
  font-weight: 900;
  color: rgba(0,0,0,.80);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.connector{
  height: 2px;
  flex: 1 1 auto;
  background: rgba(0,0,0,.10);
  border-radius: 999px;
}

/* states */
.step.active .dot{
  border-color: rgba(0,0,0,.45);
  background: rgba(243,194,0,.25);
}

.step.complete .dot{
  border-color: rgba(16,185,129,.60);
  background: rgba(16,185,129,.25);
}

.step.complete .title{
  color: rgba(0,0,0,.90);
}

.progress-steps .connector.complete{
  background: rgba(16,185,129,.35);
}
.hero-left{
  text-align: center;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.sub{
  margin:0 0 20px;
  color:rgba(0,0,0,.72);
  line-height:1.6;
  max-width: 700px;
  text-align:center;
}

.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
}


.form-stack{
  width:min(920px, 96vw);
  display:flex;
  flex-direction:column;
  gap:16px;
}
/* ---- Mobile-friendly modal sizing + internal scrolling ---- */
.modal{
  padding: 12px;                 /* smaller gutters on phones */
}

.modal-inner{
  width: min(860px, 96vw);
  max-height: calc(100dvh - 24px); /* fit within viewport */
  display: flex;
  flex-direction: column;
  overflow: hidden;              /* keep header/actions clean */
}

/* Make the header stay visible */
.modal-head{
  position: sticky;
  top: 0;
  z-index: 2;
}

/* Ensure your modal body becomes the scroll area */
.modal-body{
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
  flex: 1 1 auto;
}

/* Keep actions visible at bottom */
.modal-actions{
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: #fff;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
}

/* Slightly tighter spacing on small screens */
@media (max-width: 520px){
  .modal{ padding: 10px; }
  .modal-body{ padding: 14px; }
  .modal-actions{ padding: 10px 14px 14px; }
}
@media (max-width: 520px){
  input, select, textarea { font-size: 16px; }
}
