:root {
  --bg: #ffffff;
  --panel: #f8fafc;
  --line: #e2e8f0;
  --ink: #0f172a;
  --muted: #64748b;
  --brand: #ff7a00;
  --brand2: #ffb703;
  --ring: #2563eb33;
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink)
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #ffffffee;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line)
}

.brand {
  margin: 0;
  line-height: 1;
  font-family: "Bebas Neue", Inter, sans-serif;
  letter-spacing: .5px
}

.brand-gradient {
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.brand-run {
  display: inline-block;
  margin-left: 8px
}

.tagline {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px
}

.header-right {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.site-header .btn {
  padding: 14px 22px;
  font-size: 1rem;
  font-weight: 700
}

@media(min-width:992px) {
  .site-header .btn {
    padding: 16px 28px;
    font-size: 1.05rem
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  background: #fff
}

.btn-primary {
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  border: 0;
  color: #fff
}

.btn-outline {
  background: #fff
}

/* Hero */
.hero .hero-img img {
  width: 100%;
  height: 56dvh;
  object-fit: cover;
  object-position: center
}

@media(min-width:768px) {
  .hero .hero-img img {
    height: 68dvh
  }
}

/* Sections & grids */
.section {
  padding: 28px 16px
}

.section-title {
  margin: 0 0 14px;
  font-family: "Poppins", Inter, sans-serif
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px
}

@media(min-width:900px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr
  }
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px
}

/* Split specifics */
.split-left .muted {
  color: var(--muted);
  margin: 0 0 8px
}

.split-right {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff
}

.split-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ffffffcc;
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px
}

.form-field {
  display: block
}

.form-field.full {
  grid-column: 1/-1
}

.form-grid input,
.form-grid select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  outline: none
}

.form-grid input:focus,
.form-grid select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--ring)
}

label span,
legend {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 6px;
  font-weight: 600;
  letter-spacing: .2px
}

.radio-row {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  align-items: center
}

.radio-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

/* Contact */
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-top: 20px
}

.contact-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800
}

.contact-name {
  font-weight: 700
}

.contact-note {
  color: var(--muted);
  font-size: 12px
}

.contact-call-btn {
  margin-left: auto;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  border: 0;
  padding: 8px 12px;
  border-radius: 999px
}

.contact-card.half-width {
  grid-column: 1/2;
  max-width: 100%
}

@media(max-width:900px) {
  .contact-card.half-width {
    grid-column: 1/-1
  }
}


.form-actions .btn-primary  {
  padding: 14px 28px;   
  font-size: 1rem;     
  font-weight: 700;    
  min-width: 220px;    
}
.form-actions  .btn-outline  {
  padding: 14px 28px;  
}

/* === Loader overlay + spinner === */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: #ffffffcc;
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  z-index: 9999;
}
.loader-overlay.hidden { display: none; }

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e5e7eb;
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Disable state for buttons while loading */
.btn[disabled] {
  opacity: 0.7;
  filter: grayscale(0.2);
  cursor: not-allowed;
}

/* === Toasts (success / error banners) === */
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0 0;
  font-weight: 600;
  border: 1px solid var(--line);
}
.toast.hidden { display: none; }
.toast--success {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #065f46;
}
.toast--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #7f1d1d;
}

/* === Loader overlay + spinner (reusable) === */
.loader-overlay {
  position: fixed; inset: 0;
  background: #ffffffcc; backdrop-filter: blur(2px);
  display: grid; place-items: center;
  z-index: 9999;
}
.loader-overlay.hidden { display: none; }
.spinner {
  width: 48px; height: 48px; border: 4px solid #e5e7eb;
  border-top-color: var(--brand); border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === Toasts (top, sticky, readable) === */
.toast-wrap {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%);
  z-index: 10000; width: min(92vw, 560px);
}
.toast {
  display: flex; gap: 10px; align-items: center;
  border-radius: 12px; padding: 12px 14px; margin: 0 auto;
  font-weight: 600; border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.toast.hidden { display: none; }
.toast--success { background:#ecfdf5; border-color:#bbf7d0; color:#065f46; }
.toast--error   { background:#fef2f2; border-color:#fecaca; color:#7f1d1d; }

/* === Modal (centered popup) === */
.modal {
  position: fixed; inset: 0; z-index: 10001;
  display: none; place-items: center;
  background: #0f172a22; backdrop-filter: blur(2px);
}
.modal.show { display: grid; }
.modal__card {
  width: min(92vw, 520px); background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px; padding: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.modal__title { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.modal__text  { margin: 0 0 12px; color: var(--muted); }
.modal__actions { display: flex; justify-content: flex-end; gap: 10px; }

/* === Field error styles === */
.field-error {
  display: block; margin-top: 6px; font-size: 12px; color: #b91c1c;
}
.input-error { border-color: #ef4444 !important; box-shadow: 0 0 0 3px #fecaca88 !important; }

/* Subtle shake on invalid submit (optional) */
@keyframes shake { 10%,90%{transform: translateX(-1px);} 20%,80%{transform: translateX(2px);} 30%,50%,70%{transform: translateX(-4px);} 40%,60%{transform: translateX(4px);} }
.shake { animation: shake .5s ease-in-out; }

/* === Footer refined === */
.site-footer {
  background: #fff;
  border-top: 2px solid var(--brand);
  margin-top: 40px;   /* small gap before line starts */
  padding: 20px 16px 28px; /* reduced padding after the line */
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0 0 10px;
  font-weight: 500;
  color: var(--text);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width 0.25s ease;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-links a:hover::after {
  width: 100%;
}

@media (max-width: 600px) {
  .site-footer {
    font-size: 0.9rem;
    padding: 16px 12px 22px;
  }
  .footer-links {
    gap: 10px;
  }
}
