/* Version 2: bold gradient bands after the Canva reference (assets/reference/design-3.jpeg), magenta shades only */
@font-face { font-family: "Outfit"; font-weight: 400; font-display: swap; src: url(../fonts/outfit-400.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-display: swap; src: url(../fonts/outfit-500.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-display: swap; src: url(../fonts/outfit-600.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 700; font-display: swap; src: url(../fonts/outfit-700.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 800; font-display: swap; src: url(../fonts/outfit-800.woff2) format("woff2"); }

:root {
  --m-900: #3f0a2b;
  --m-800: #6b0f48;
  --m-700: #9a1466;
  --m-600: #c2187c;   /* SB magenta, from the logo */
  --m-500: #e03d9a;
  --m-400: #ee6fb7;
  --m-300: #f59fcf;
  --m-200: #fac7e3;
  --m-100: #fde6f2;
  --orchid: #c77fd6;  /* the reference's lilac, pulled towards magenta */
  --cream: #fff6f3;
  --ink: #1b1220;
  --muted: #5f5160;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.55 "Outfit", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; position: relative; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer; border: 0;
  font: 700 13px/1 "Outfit", sans-serif; letter-spacing: .06em; text-transform: uppercase;
  padding: 13px 22px; border-radius: 999px; background: var(--m-500); color: #fff;
  box-shadow: 0 6px 18px rgba(194,24,124,.35); transition: transform .15s, background .15s;
}
.pill:hover { transform: translateY(-2px); background: var(--m-600); }
.pill.white { background: #fff; color: var(--m-700); box-shadow: 0 6px 18px rgba(63,10,43,.15); }
.pill.dark { background: var(--m-900); box-shadow: none; }
.pill.big { font-size: 15px; padding: 17px 30px; }

.huge { font-weight: 800; letter-spacing: -0.045em; line-height: .92; margin: 0; }

/* 1 · Hero band */
.hero { background: linear-gradient(180deg, var(--orchid) 0%, #e39ad6 45%, var(--m-200) 100%); color: #fff; padding-bottom: 36px; }
.bar { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; gap: 16px; }
.brand { display: inline-flex; align-items: center; background: #fff; border-radius: 999px; padding: 6px 16px 6px 8px; text-decoration: none; }
.brand img { height: 38px; width: auto; }
.bar nav { display: flex; gap: 26px; font-weight: 600; font-size: 15px; }
.bar nav a { text-decoration: none; opacity: .9; }
.bar nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.hero h1 { font-size: clamp(44px, 8.4vw, 112px); margin: 34px 0 22px; text-shadow: 0 2px 30px rgba(107,15,72,.15); }
.hero .sub { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.hero .sub p { margin: 0; max-width: 42ch; font-size: 19px; font-weight: 500; color: #fff; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid3 figure { margin: 0; aspect-ratio: 6/5.4; overflow: hidden; background: #fff; }
.grid3 img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.grid3 figure:hover img { transform: scale(1.04); }

/* 2 · Magenta → blush band */
.band2 { background: linear-gradient(180deg, var(--m-500) 0%, var(--m-400) 45%, var(--m-200) 100%); padding: 32px 0 40px; }
.band2 .wrap { display: grid; grid-template-columns: 1.1fr .7fr 1fr; gap: 16px; align-items: stretch; }
.band2 .bigimg { grid-row: span 2; min-height: 560px; overflow: hidden; }
.band2 .bigimg img, .band2 .smallimg img { width: 100%; height: 100%; object-fit: cover; }
.band2 .smallimg { aspect-ratio: 1/1.05; overflow: hidden; }
.band2 .copy { grid-column: 2 / span 2; align-self: end; padding: 0 0 12px 32px; color: var(--m-900); }
.band2 h2 { font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -.02em; color: #fff; margin: 0 0 14px; }
.band2 p { margin: 0 0 22px; max-width: 44ch; font-weight: 500; }
.stat { grid-column: 3; grid-row: 1; align-self: start; color: #fff; padding: 8px 0 0 8px; }
.stat b { display: block; font-size: 64px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat span { font-weight: 600; font-size: 15px; opacity: .95; }

/* 3 · Why choose us */
.why { padding: 70px 0 80px; }
.why h2 { font-size: clamp(54px, 9vw, 120px); color: var(--m-500); margin-bottom: 34px; }
.wide { aspect-ratio: 16/6; overflow: hidden; }
.wide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 34px; }
.cols3 h3 { color: var(--m-500); font-weight: 600; font-size: 26px; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 10px; }
.cols3 p { margin: 0; color: var(--muted); }

/* 4 · Trusted band */
.trusted { background: linear-gradient(135deg, var(--m-800) 0%, var(--m-600) 60%, var(--m-500) 100%); color: #fff; padding: 64px 0 70px; overflow: hidden; }
.trusted h2 { font-size: clamp(48px, 8.4vw, 116px); }
.trusted .row { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-top: 40px; }
.trusted .logos { display: flex; align-items: center; gap: 46px; flex-wrap: wrap; }
.trusted .logos a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; opacity: .92; transition: opacity .15s; }
.trusted .logos a:hover { opacity: 1; }
.trusted .logos img { filter: brightness(0) invert(1); height: 30px; width: auto; }
.trusted .logos .rw img { height: 34px; mix-blend-mode: screen; }
.trusted .logos .rw span { font-weight: 700; font-size: 30px; letter-spacing: -.03em; }
.trusted .who { display: flex; flex-wrap: wrap; gap: 8px; }
.trusted .who span { border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 14px; }

/* 5 · Services */
.services { padding: 90px 0; }
.kicker { font: 700 13px/1 "Outfit", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--m-600); margin: 0 0 14px; }
.services h2, .team h2, .find-sec h2 { font-weight: 800; font-size: clamp(40px, 5.4vw, 72px); letter-spacing: -.04em; line-height: .95; margin: 0 0 40px; color: var(--m-900); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { padding: 30px 28px 32px; min-height: 250px; display: flex; flex-direction: column; text-decoration: none; transition: transform .2s; }
.tile:hover { transform: translateY(-4px); }
.tile .n { font-weight: 800; font-size: 46px; letter-spacing: -.04em; line-height: 1; margin-bottom: auto; opacity: .9; }
.tile h3 { font-weight: 700; font-size: 23px; margin: 26px 0 8px; letter-spacing: -.01em; }
.tile p { margin: 0; font-size: 15.5px; }
.t1 { background: var(--m-600); color: #fff; }
.t2 { background: var(--m-200); color: var(--m-900); }
.t3 { background: var(--orchid); color: #fff; }
.t4 { background: var(--m-100); color: var(--m-900); }
.t5 { background: var(--m-800); color: #fff; }
.t6 { background: var(--m-400); color: #fff; }

/* 6 · Team */
.team { padding: 0 0 90px; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person { text-decoration: none; }
.person .ph { aspect-ratio: 3/3.6; overflow: hidden; background: var(--m-100); }
.person img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.person:hover img { transform: scale(1.04); }
.person b { display: block; margin-top: 12px; font-size: 19px; font-weight: 700; color: var(--m-900); }
.person span { color: var(--m-600); font-weight: 500; font-size: 14.5px; }
.team .head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.team .head h2 { margin: 0; }

/* 7 · Map (same behaviour as version 1, js/map.js) */
.find-sec { background: var(--m-100); padding: 90px 0; }
.find { display: grid; grid-template-columns: 380px 1fr; gap: 16px; }
.panel { background: #fff; padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.panel address { font-style: normal; font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--m-900); }
.panel address small { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 6px; }
.routes { display: grid; gap: 10px; }
.route { all: unset; cursor: pointer; display: flex; gap: 14px; align-items: center; border: 2px solid var(--m-100); padding: 14px 16px; border-radius: 14px; transition: border-color .15s, background .15s; }
.route:hover { border-color: var(--m-300); }
.route[aria-pressed="true"] { border-color: var(--m-600); background: var(--m-100); }
.route .u { flex: none; width: 34px; height: 34px; border-radius: 8px; background: #0065ae; color: #fff; display: grid; place-items: center; font-weight: 700; }
.route b { display: block; font-weight: 700; font-size: 15px; }
.route span { color: var(--muted); font-size: 13.5px; }
.route .time { margin-left: auto; font-weight: 700; font-size: 14px; color: var(--m-700); white-space: nowrap; }
.navlinks { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.map { position: relative; min-height: 470px; overflow: hidden; background: #f1e3ec; }
.map .leaflet { position: absolute; inset: 0; }
.map .leaflet-tile-pane { filter: grayscale(1) sepia(.25) hue-rotate(280deg) saturate(1.3) brightness(1.04); }
.map-consent { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center;
  background: repeating-linear-gradient(32deg, transparent 0 46px, rgba(255,255,255,.7) 46px 52px), repeating-linear-gradient(-58deg, transparent 0 70px, rgba(255,255,255,.85) 70px 80px), var(--m-200); }
.map-consent .box { background: #fff; padding: 24px 26px; max-width: 360px; border-radius: 18px; }
.map-consent strong { display: block; font-size: 18px; margin-bottom: 6px; color: var(--m-900); }
.map-consent p { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.pin { width: 22px; height: 22px; border-radius: 50%; background: var(--m-600); border: 4px solid #fff; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(194,24,124,.5); } 70% { box-shadow: 0 0 0 18px rgba(194,24,124,0); } 100% { box-shadow: 0 0 0 0 rgba(194,24,124,0); } }
.ustop { width: 26px; height: 26px; border-radius: 6px; background: #0065ae; color: #fff; font: 700 15px/26px "Outfit", sans-serif; text-align: center; border: 2px solid #fff; }
.leaflet-tooltip.sb-tip { font-family: "Outfit", sans-serif; border-radius: 10px; border: 0; box-shadow: 0 6px 16px rgba(0,0,0,.12); padding: 6px 10px; }

/* 8 · CTA + footer */
.cta { background: linear-gradient(180deg, var(--orchid) 0%, var(--m-500) 100%); color: #fff; padding: 90px 0; text-align: center; }
.cta h2 { font-size: clamp(48px, 8vw, 110px); margin-bottom: 26px; }
.cta p { font-size: 19px; font-weight: 500; margin: 0 auto 30px; max-width: 46ch; }
.cta .acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
footer { background: var(--m-900); color: rgba(255,255,255,.75); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 30px; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }

/* Design switcher (preview only, remove before launch) */
.switch { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 1000; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(27,18,32,.88); backdrop-filter: blur(8px); font: 600 13px/1 "Outfit", sans-serif; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.switch span { color: rgba(255,255,255,.6); padding: 9px 6px 9px 12px; }
.switch a { color: #fff; text-decoration: none; padding: 9px 14px; border-radius: 999px; }
.switch a[aria-current] { background: #c2187c; }

@media (max-width: 980px) {
  .wrap { padding: 0 24px; }
  .bar nav { display: none; }
  .band2 .wrap { grid-template-columns: 1fr 1fr; }
  .band2 .bigimg { grid-row: auto; grid-column: 1 / -1; min-height: 420px; }
  .band2 .copy { grid-column: 1 / -1; padding: 10px 0 0; }
  .stat { grid-column: 2; grid-row: 2; }
  .cols3 { grid-template-columns: 1fr; gap: 26px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .people { grid-template-columns: 1fr 1fr; }
  .find { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .grid3 figure:first-child { grid-column: 1 / -1; aspect-ratio: 4/3; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .wide { aspect-ratio: 4/3; }
  .brand img { height: 30px; }
  .pill { padding: 11px 16px; font-size: 12px; }
  .map { min-height: 380px; }
}
