/* ============================================
   Whitten Ltd — whittenltd.co.uk
   Brand: violet #7C3AED on ink #2A2444
   ============================================ */

:root {
  --violet: #762EFF;
  --violet-dark: #6224DB;
  --violet-soft: #F1EAFF;
  --ink: #2C2340;
  --muted: #5C5578;
  --bg: #FFFFFF;
  --soft: #F7F5FC;
  --line: #E8E4F5;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(42, 36, 68, 0.10);
  --shadow-soft: 0 6px 18px rgba(42, 36, 68, 0.06);
  --maxw: 1120px;
  --font-head: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--violet-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--violet);
  color: #fff;
}
.btn-primary:hover {
  background: var(--violet-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(118, 46, 255, 0.35);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--violet);
  color: var(--violet-dark);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--violet-dark);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 12, 44, 0.35);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-soft); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }

.brand-lockup {
  height: 46px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
}
.nav-links a:hover { color: var(--violet-dark); text-decoration: none; }

.header-cta { flex-shrink: 0; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(118, 46, 255, 0.10), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(118, 46, 255, 0.06), transparent 60%),
    var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding-top: 96px;
  padding-bottom: 88px;
}

.kicker {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-dark);
  display: block;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--violet);
}

.hero .lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-trust {
  font-size: 0.88rem;
  color: var(--muted);
}
.hero-trust strong { color: var(--ink); font-weight: 600; }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.hero-art .big-mark {
  width: min(330px, 70%);
  filter: drop-shadow(0 18px 40px rgba(118, 46, 255, 0.22));
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
}
.chip-1 { top: 8%; left: 2%; animation-delay: 0s; }
.chip-2 { top: 42%; right: -2%; animation-delay: 1.8s; }
.chip-3 { bottom: 6%; left: 10%; animation-delay: 3.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Sections ---------- */

section { padding: 88px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-head p { color: var(--muted); font-size: 1.02rem; }

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(118, 46, 255, 0.35);
}

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--violet-soft);
  color: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 30px; height: 30px; }

.card h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.card p { font-size: 0.94rem; color: var(--muted); }

/* ---------- Why us ---------- */

.why { background: var(--soft); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1020px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
}

.why-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.why-item .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--violet);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.why-item h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.why-item p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Reviews ---------- */

.stars {
  color: #F6A609;
  letter-spacing: 3px;
  font-size: 1.05rem;
}

.agg-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  margin-top: 4px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  margin: 0;
}

.review-card blockquote {
  font-size: 1rem;
  color: var(--ink);
  margin: 14px 0 18px;
  line-height: 1.7;
}

.review-card figcaption {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
}

.reviews-cta {
  margin-top: 26px;
  font-size: 0.95rem;
}

/* ---------- Contact ---------- */

.contact-band {
  background: linear-gradient(135deg, var(--violet) 0%, #8F55FF 55%, #A87CFF 100%);
  border-radius: 26px;
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 60px rgba(118, 46, 255, 0.35);
}

.contact-band h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}

.contact-band p {
  max-width: 56ch;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
}

.contact-band .small-note {
  margin: 22px auto 0;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 36px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand { display: block; }
.footer-brand .brand-lockup { height: 52px; }

.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-links a:hover { color: var(--violet-dark); }

.footer-legal {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 64px;
    padding-bottom: 56px;
    gap: 40px;
  }
  .hero-art { min-height: 320px; }
  section { padding: 68px 0; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .chip-2 { right: 2%; }
  .contact-band { padding: 48px 24px; }
}
