/* www.estolo.co.za — Estolo brand (Design/estolo/tokens). Mobile first. */
:root {
  --blue: #1e3a8a;
  --navy: #172554;
  --navy-deep: #0f1a3d;
  --orange: #ea580c;
  --orange-text: #c2410c;
  --orange-on-dark: #fb923c;
  --orange-tint: #ffedd5;
  --cream: #fff8ee;
  --ink: #1c2526;
  --muted: #4a5556;
  --line: #e7dfd3;
  --pay: #15803d;
  --white: #ffffff;
  --radius: 14px;
  --radius-btn: 16px;
  --display: "Plus Jakarta Sans", "Noto Sans", system-ui, sans-serif;
  --body: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.eyebrow { font: 700 .85rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-text); margin-bottom: .8em; display: block; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px; padding: 0 1.5em; border-radius: var(--radius-btn);
  font: 700 1.05rem/1 var(--display); text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .1s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: #c2410c; color: var(--white); }
.btn-ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-ghost:hover { background: rgba(23, 37, 84, .06); color: var(--navy); }
.btn-light { border-color: rgba(255, 248, 238, .7); color: var(--cream); }
.btn-light:hover { background: rgba(255, 248, 238, .1); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }
.small-note { font-size: .95rem; color: var(--muted); margin-top: .8em; }

/* header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand img { width: 150px; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 2px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy); cursor: pointer;
}
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: flex; align-items: center; min-height: 48px; font: 600 1.05rem var(--display); color: var(--navy); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--orange-text); }
.nav-extra { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.lang-switch { display: inline-flex; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch a, .lang-switch span { padding: 6px 12px; font: 700 .9rem var(--display); text-decoration: none; min-height: 0; }
.lang-switch span { background: var(--navy); color: var(--cream); }
.lang-switch a { color: var(--navy); }
.nav-extra .btn { min-height: 48px; }

@media (min-width: 1180px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; padding: 0; border: 0; align-items: center; gap: 24px; }
  .site-nav ul { display: flex; gap: 18px; }
  .site-nav a { min-height: 44px; font-size: 1rem; white-space: nowrap; }
  .nav-extra { margin: 0; flex-wrap: nowrap; }
  .site-header .wrap { max-width: 1240px; }
  .nav-extra .signin { font: 600 1rem var(--display); color: var(--navy); }
}

/* hero */
.hero { background: var(--navy); color: var(--cream); overflow: hidden; }
.hero .wrap { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 56px; align-items: center; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: var(--orange-on-dark); }
.hero .lead { color: #dbe3f5; }
.hero .small-note { color: #b9c4e0; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; padding-top: 72px; padding-bottom: 80px; } }

.page-hero { background: var(--white); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-top: 48px; padding-bottom: 40px; }

/* awning stripe under heroes, from the logo */
.awning { height: 18px; background:
  radial-gradient(circle at 12px 0, var(--orange) 11.5px, transparent 12px) 0 0 / 24px 18px repeat-x; }
.page-hero + .awning, .hero + .awning { margin-bottom: 0; }

/* phone mockup */
.phone { width: min(320px, 100%); margin: 0 auto; background: #0b1230; border-radius: 36px; padding: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.screen { background: var(--cream); border-radius: 26px; overflow: hidden; color: var(--ink); font-size: .9rem; }
.screen-top { background: var(--navy); color: var(--cream); padding: 12px 14px; display: flex; justify-content: space-between; font: 700 .85rem var(--display); }
.screen-cam { margin: 10px; height: 64px; border-radius: 12px; background: linear-gradient(135deg, #3b3f4a, #23262e); position: relative; }
.screen-cam::after { content: ""; position: absolute; left: 12%; right: 12%; top: 50%; height: 2px; background: #ef4444; box-shadow: 0 0 8px #ef4444; }
.screen-line { display: flex; justify-content: space-between; padding: 8px 14px; border-bottom: 1px solid var(--line); background: var(--white); }
.screen-line b { font-weight: 600; }
.screen-total { display: flex; justify-content: space-between; padding: 12px 14px; font: 800 1.25rem var(--display); color: var(--navy); }
.screen-pay { margin: 0 10px 12px; background: var(--pay); color: var(--white); border-radius: 14px; text-align: center; padding: 14px; font: 800 1.1rem var(--display); }

/* sections */
.section { padding: 64px 0; }
.section.alt { background: var(--white); }
.section-head { margin-bottom: 32px; }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.section.alt .card { background: var(--cream); }
.card p:last-child { margin-bottom: 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--orange-tint); color: var(--orange-text); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.icon svg { width: 26px; height: 26px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(step); display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--cream); font: 800 1.1rem var(--display); align-items: center; justify-content: center; margin-bottom: 12px; }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: .55em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--pay) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* pricing */
.price-card { background: var(--white); border: 3px solid var(--navy); border-radius: 20px; padding: 28px; max-width: 520px; margin: 0 auto; }
.price { font: 800 3.4rem/1 var(--display); color: var(--navy); }
.price small { font-size: 1.05rem; font-weight: 600; color: var(--muted); }
.badge { display: inline-block; background: var(--orange-tint); color: var(--orange-text); font: 700 .9rem var(--display); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
table.compare { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.compare th { font-family: var(--display); color: var(--navy); }

/* faq */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 20px; font: 700 1.08rem var(--display); color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--orange-text); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }

/* cta band */
.cta-band { background: var(--blue); color: var(--cream); padding: 56px 0; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #dbe3f5; }

/* forms */
.form { display: grid; gap: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid #cfc6b8; border-radius: 12px;
  font: inherit; background: var(--white); color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.notice.ok { background: #dcfce7; color: #14532d; }
.notice.err { background: #fee2e2; color: #7f1d1d; }
.contact-ways { display: grid; gap: 12px; }
.contact-ways a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); font-weight: 600; }
.contact-ways svg { width: 28px; height: 28px; flex: none; }

/* prose (legal) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }

/* footer */
.site-footer { background: var(--navy-deep); color: #c9d2ea; padding: 48px 0 24px; font-size: .97rem; }
.site-footer a { color: #e8edf9; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { color: var(--white); font-size: 1rem; margin-bottom: .8em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45em; }
.footer-logo { width: 150px; margin-bottom: 14px; }
.legal-line { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: .88rem; color: #9aa6c6; }

/* floating WhatsApp */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { color: var(--white); transform: scale(1.05); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .wa-float { transition: none; } }
