/* ===========================================================
   Madd Enterprise LLC — Design System
   Clean, minimal, Apple-inspired. Blue + warm coral accent.
   =========================================================== */

:root {
  /* Brand */
  --blue:        #1E50E5;
  --blue-600:    #2E6BFF;
  --blue-700:    #163FB8;
  --blue-50:     #EEF3FF;
  --blue-100:    #DCE6FF;

  /* Complementary warm accent (blue's complement) */
  --accent:      #FF7A3C;
  --accent-soft: #FFF1EA;

  /* Ink / neutrals */
  --ink:         #0B1437;
  --ink-2:       #334155;
  --muted:       #64748B;
  --line:        #E6EAF2;
  --bg:          #FFFFFF;
  --bg-soft:     #F7F9FC;
  --bg-tint:     #F0F4FF;

  /* System */
  --radius:      18px;
  --radius-sm:   12px;
  --radius-lg:   28px;
  --shadow-sm:   0 1px 2px rgba(11,20,55,.06), 0 1px 3px rgba(11,20,55,.05);
  --shadow:      0 10px 30px -12px rgba(11,20,55,.18);
  --shadow-lg:   0 30px 60px -20px rgba(11,20,55,.25);
  --maxw:        1140px;
  --ease:        cubic-bezier(.16,1,.3,1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
          Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- 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(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.section-tint { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 16px;
}
.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 19px; margin-top: 14px; }

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 21px; letter-spacing: -0.01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 16px; font-weight: 600; line-height: 1;
  padding: 15px 28px; border-radius: 980px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(30,80,229,.55); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(30,80,229,.6); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-lg { padding: 18px 34px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(230,234,242,.8);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav .logo { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle span + span { margin-top: 5px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 110px 0 90px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 75% 0%, var(--bg-tint) 0%, transparent 60%),
    radial-gradient(50% 45% at 10% 15%, var(--accent-soft) 0%, transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 980px;
  padding: 7px 15px 7px 11px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero p.lead { font-size: 20px; color: var(--ink-2); margin: 22px 0 34px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 22px; margin-top: 38px; color: var(--muted); font-size: 14px; }
.hero-trust strong { color: var(--ink); font-size: 22px; font-weight: 700; display: block; letter-spacing: -.02em; }

.hero-visual {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 5 / 6; box-shadow: var(--shadow-lg);
  background: linear-gradient(150deg, #14245C, #1E50E5 55%, #2E6BFF);
}
.hero-visual .glass {
  position: absolute; left: 22px; right: 22px; bottom: 22px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 18px; padding: 20px 22px; color: #fff;
}
.hero-visual .glass strong { font-size: 17px; }
.hero-visual .glass span { display: block; color: rgba(255,255,255,.8); font-size: 14px; margin-top: 4px; }
.hero-visual .orbs { position: absolute; inset: 0; }
.hero-visual .orbs i {
  position: absolute; border-radius: 50%; filter: blur(2px);
  background: rgba(255,255,255,.12);
}
.hero-visual .orbs i:nth-child(1){ width:160px; height:160px; top:-30px; right:-30px; }
.hero-visual .orbs i:nth-child(2){ width:90px; height:90px; top:40%; left:-20px; background:rgba(255,122,60,.35); }
.hero-visual .orbs i:nth-child(3){ width:120px; height:120px; bottom:30%; right:18%; }

/* ---------- Logos / trust strip ---------- */
.metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.metric { text-align: center; padding: 8px; }
.metric .num { font-size: clamp(34px,4vw,46px); font-weight: 800; letter-spacing: -.03em; color: var(--blue); }
.metric .lbl { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid p { font-size: 18px; color: var(--ink-2); margin-top: 18px; }
.about-card {
  background: linear-gradient(160deg, var(--blue-50), #fff);
  border: 1px solid var(--blue-100); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow);
}
.about-card .row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--blue-100); }
.about-card .row:last-child { border-bottom: 0; }
.about-card .ic { flex: 0 0 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--blue); box-shadow: var(--shadow-sm); }
.about-card .row b { display: block; font-size: 16px; }
.about-card .row span { color: var(--muted); font-size: 14.5px; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue); margin-bottom: 20px;
}
.card:nth-child(2) .ic, .card:nth-child(4) .ic, .card:nth-child(6) .ic { background: var(--accent-soft); color: var(--accent); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Why choose ---------- */
.why { background: var(--ink); color: #fff; border-radius: 0; }
.why .eyebrow { color: #8FB0FF; }
.why .section-head p { color: rgba(255,255,255,.7); }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.why-item {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 30px; transition: background .3s, transform .3s var(--ease);
}
.why-item:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); }
.why-item .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(46,107,255,.2); color: #9DB8FF; display: grid; place-items: center; margin-bottom: 18px; }
.why-item h3 { color: #fff; margin-bottom: 8px; }
.why-item p { color: rgba(255,255,255,.65); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 14px; background: #fff; overflow: hidden; transition: box-shadow .3s, border-color .3s;
}
.faq[open] { box-shadow: var(--shadow); border-color: var(--blue-100); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 17.5px; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; transition: transform .3s var(--ease); }
.faq[open] summary .chev { transform: rotate(45deg); }
.faq .answer { padding: 0 26px 24px; color: var(--ink-2); font-size: 16px; }

/* ---------- Booking / CTA form ---------- */
.book { position: relative; overflow: hidden; background: var(--bg-tint); }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.book-copy h2 { margin-bottom: 16px; }
.book-copy p { color: var(--ink-2); font-size: 18px; margin-bottom: 26px; }
.book-list { display: grid; gap: 14px; }
.book-list li { display: flex; gap: 12px; align-items: center; font-size: 16px; color: var(--ink-2); }
.book-list .tick { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 13px; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px; box-shadow: var(--shadow-lg);
}
.form-card h3 { font-size: 24px; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg-soft); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #9AA6B8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(30,80,229,.12);
}
.field textarea { resize: vertical; min-height: 96px; }
.field.invalid input, .field.invalid select { border-color: #E5484D; box-shadow: 0 0 0 4px rgba(229,72,77,.1); }
.field .err { display: none; color: #E5484D; font-size: 13px; margin-top: 6px; }
.field.invalid .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 22px; }
.consent input { margin-top: 3px; }
.form-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .logo { height: 40px; margin-bottom: 20px; }
.footer-brand p { font-size: 15px; max-width: 320px; }
.footer-brand .contact { margin-top: 20px; display: grid; gap: 8px; font-size: 15px; }
.footer-brand .contact a:hover { color: #fff; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 14px; }
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom .links a:hover { color: #fff; }

/* ---------- Legal pages ---------- */
.legal { padding: 70px 0 90px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(34px,5vw,52px); margin-bottom: 10px; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 40px; }
.legal h2 { font-size: 24px; margin: 38px 0 12px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16.5px; margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--blue); }

/* ---------- Thank you ---------- */
.thanks { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 80px 0;
  background: radial-gradient(60% 60% at 50% 0%, var(--bg-tint), #fff 70%); }
.thanks .badge {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 30px;
  background: var(--blue); color: #fff; display: grid; place-items: center;
  box-shadow: 0 20px 40px -12px rgba(30,80,229,.5); animation: pop .6s var(--ease) both;
}
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.thanks h1 { margin-bottom: 16px; }
.thanks p { color: var(--ink-2); font-size: 19px; max-width: 560px; margin: 0 auto 14px; }
.thanks .summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; max-width: 460px; margin: 28px auto; text-align: left; box-shadow: var(--shadow); }
.thanks .summary div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.thanks .summary div:last-child { border-bottom: 0; }
.thanks .summary span { color: var(--muted); }
.thanks .summary b { color: var(--ink); font-weight: 600; text-align: right; }
.thanks .actions { margin-top: 22px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .book-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; }
  .cards, .why-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: 70px; left: 0; right: 0; background: #fff;
    padding: 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .metrics, .cards, .why-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 26px 20px; }
  .nav-cta .btn-ghost { display: none; }
}
