/* Layout: one centered column; deep pool-water hero and bands joined to light sections by curved wave edges */
:root {
  --bg: #F7F8FD;        /* white with a lavender hint */
  --surface: #FFFFFF;
  --ink: #1B1F3B;       /* deep indigo ink */
  --muted: #555B7D;
  --line: #E1E3F1;
  --ocean: #1E5BB8;
  --lagoon: #2AA7CF;
  --violet: #6A4CC7;
  --deep: #241C63;      /* hero top */
  --night: #161A36;     /* footer */
  --tint-top: #ECEBFB;  /* lilac */
  --tint-bottom: #E5F2FB; /* pool mist */
  --on-dark: #F4F6FF;
  --on-dark-muted: #C9D3F2;

  --display: "Outfit", "Segoe UI", "Trebuchet MS", sans-serif;
  --body: "Nunito Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1080px;
  --gutter: 20px;
  --wave: 56px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--ocean); text-underline-offset: 3px; }
a:hover { color: var(--violet); }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0; max-width: 65ch; }
.small { font-size: 0.95rem; color: var(--muted); }

.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet); }

/* Header */
.site-header { background: var(--surface); box-shadow: 0 1px 0 var(--line); position: relative; z-index: 3; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.7rem; }
.brand-sub { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.nav a { font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: var(--ink); text-decoration: none; padding-block: 4px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ocean); }
.nav a[aria-current="page"] { border-bottom-color: var(--lagoon); }
.nav .nav-call { background: linear-gradient(120deg, var(--ocean), var(--violet)); color: var(--on-dark); padding: 7px 16px; border-radius: 999px; border: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.nav .nav-call:hover { color: var(--on-dark); filter: brightness(1.1); }

/* Hero: light on the pool floor */
.hero {
  position: relative; color: var(--on-dark);
  background:
    radial-gradient(ellipse 60% 70% at 85% 20%, rgba(42,167,207,0.45), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(106,76,199,0.55), transparent 70%),
    linear-gradient(180deg, var(--deep), var(--ocean));
}
.hero .wrap { padding-block: 60px calc(64px + var(--wave)); display: grid; gap: 20px; position: relative; z-index: 1; }
.hero .eyebrow { color: #B9E6F4; }
.hero p { font-size: 1.15rem; color: var(--on-dark-muted); }
.hero h1 { max-width: 20ch; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: var(--wave);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23F7F8FD' d='M0,44 C300,92 620,4 960,34 C1180,54 1320,50 1440,30 L1440,80 L0,80 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 1.1rem; padding: 12px 24px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; font-variant-numeric: tabular-nums; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--surface); color: var(--ocean); box-shadow: 0 6px 20px rgba(22,26,54,0.25); }
.btn-primary:hover { color: var(--violet); }
.btn-ghost { border-color: rgba(244,246,255,0.7); color: var(--on-dark); }
.btn-ghost:hover { color: var(--on-dark); background: rgba(244,246,255,0.12); }

/* Fact card floating over the wave */
.facts { position: relative; z-index: 2; margin-top: -48px; padding-inline: var(--gutter); }
.facts ul.wrap {
  list-style: none; margin: 0 auto; max-width: calc(var(--wrap) - 2 * var(--gutter));
  padding: 22px 28px; background: var(--surface); border-radius: 22px;
  box-shadow: 0 12px 36px rgba(36,28,99,0.12);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px 24px;
}
.facts li { display: flex; flex-direction: column; }
.facts strong { font-family: var(--display); font-size: 1.7rem; line-height: 1.1; background: linear-gradient(120deg, var(--ocean), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.facts span { font-size: 0.92rem; color: var(--muted); }

/* Sections */
.section { padding-block: 64px; position: relative; }
.section-head { display: grid; gap: 10px; margin-bottom: 30px; }
.lede { font-size: 1.12rem; color: var(--muted); }
.stack { display: grid; gap: 16px; align-content: start; }

/* Tinted bands with wave edges top and bottom */
.tint { background: linear-gradient(180deg, var(--tint-top), var(--tint-bottom)); margin-block: var(--wave); }
.tint::before, .tint::after { content: ""; position: absolute; left: 0; right: 0; height: var(--wave); pointer-events: none; }
.tint::before {
  bottom: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ECEBFB' d='M0,50 C240,6 520,10 760,42 C1000,74 1220,70 1440,28 L1440,80 L0,80 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.tint::after {
  top: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23E5F2FB' d='M0,0 L1440,0 L1440,26 C1120,78 820,8 500,42 C300,62 130,54 0,30 Z'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
}
.tint:has(+ .cta)::after, main > .tint:last-child::after { display: none; }
.tint:has(+ .cta), main > .tint:last-child { margin-bottom: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px 40px; }
.grid-2 > * { min-width: 0; }

.service { display: grid; gap: 10px; align-content: start; padding: 26px; background: var(--surface); border-radius: 22px; box-shadow: 0 6px 24px rgba(36,28,99,0.07); }
.service h3 { color: var(--ocean); }
.service a.more { font-weight: 700; }

.callout { background: linear-gradient(160deg, var(--surface), var(--tint-top)); border: 1px solid var(--line); border-radius: 22px; padding: 26px 28px; display: grid; gap: 12px; align-content: start; }
.tint .callout { background: var(--surface); border-color: transparent; box-shadow: 0 6px 24px rgba(36,28,99,0.07); }

ul.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
ul.ticks li { padding-left: 28px; position: relative; max-width: 65ch; }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 13px; height: 13px; border-radius: 50%; background: linear-gradient(135deg, var(--lagoon), var(--violet)); }

ol.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
ol.steps li { counter-increment: s; display: grid; gap: 8px; min-width: 0; align-content: start; }
ol.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-family: var(--display); font-weight: 700; color: var(--on-dark); background: linear-gradient(135deg, var(--ocean), var(--violet)); }

/* Service area */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px 40px; }
.tier { display: grid; gap: 14px; align-content: start; min-width: 0; }
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.areas a, .areas span { display: inline-block; padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.areas a { color: var(--ocean); border-color: rgba(30,91,184,0.35); }
.areas a:hover { background: var(--ocean); color: var(--on-dark); }
.regions { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.regions li { display: grid; gap: 2px; padding: 14px 18px; background: var(--surface); border-radius: 16px; border: 1px solid var(--line); }
.regions strong { font-family: var(--display); font-weight: 600; color: var(--violet); }
.regions span { color: var(--muted); }

.quote { margin: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--lagoon); font-size: 1.1rem; font-style: italic; max-width: 65ch; display: grid; gap: 12px; }
.signoff { font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: var(--violet); }

.contact-card { background: var(--surface); border-radius: 22px; box-shadow: 0 10px 32px rgba(36,28,99,0.1); padding: 28px; display: grid; gap: 18px; align-content: start; }
.contact-row { display: grid; gap: 2px; }
.contact-row .eyebrow { color: var(--muted); }
.contact-row a, .contact-row strong { font-family: var(--display); font-size: 1.4rem; font-weight: 600; word-break: break-word; font-variant-numeric: tabular-nums; }

/* CTA band */
.cta { position: relative; color: var(--on-dark); margin-top: var(--wave);
  background: radial-gradient(ellipse 50% 80% at 90% 100%, rgba(42,167,207,0.4), transparent 70%), linear-gradient(180deg, #2A1F6E, var(--ocean)); }
.cta::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--wave);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%232A1F6E' d='M0,36 C260,80 560,74 820,40 C1060,8 1260,12 1440,46 L1440,80 L0,80 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
.cta .wrap { padding-block: 40px calc(48px + var(--wave)); display: grid; gap: 14px; }
.cta p { color: var(--on-dark-muted); }
.cta a:not(.btn) { color: var(--on-dark); }

/* Footer */
.site-footer { position: relative; background: var(--night); color: #B6BEDF; font-size: 0.95rem; margin-top: var(--wave); }
.cta + .site-footer { margin-top: 0; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--wave);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23161A36' d='M0,52 C320,10 640,14 900,44 C1140,70 1300,62 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
.site-footer .wrap { padding-block: 36px; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer h3 { color: var(--on-dark); font-size: 1.1rem; margin-bottom: 8px; }
.site-footer a { color: #E4E8FF; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fineprint { border-top: 1px solid #2B3058; }
.fineprint .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-block: 16px; font-size: 0.85rem; }

@media (max-width: 520px) {
  :root { --gutter: 16px; --wave: 36px; }
  .section { padding-block: 44px; }
  .hero .wrap { padding-block: 40px calc(52px + var(--wave)); }
  .facts ul.wrap { padding: 18px 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Service area rings */
.rings { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.ring { display: grid; gap: 12px; align-content: start; min-width: 0; padding: 26px; background: var(--surface); border-radius: 22px; box-shadow: 0 6px 24px rgba(36,28,99,0.07); }
.ring-tag { justify-self: start; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; color: var(--on-dark); background: linear-gradient(120deg, var(--ocean), var(--violet)); }
.ring:nth-child(3) .ring-tag { background: var(--tint-top); color: var(--violet); }
.regions a { display: grid; gap: 2px; text-decoration: none; color: inherit; }
.regions li:has(a):hover { border-color: var(--ocean); }
