/* Easy Care London – site styles */

/* Figtree font, hosted with the site (SIL Open Font License) */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/figtree-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/figtree-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/figtree-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/figtree-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/figtree-latin-800-normal.woff2') format('woff2'); }

:root {
  --navy: #2B3445;
  --navy-2: #36415A;
  --navy-line: #44506A;
  --peach: #FFAA77;
  --peach-light: #FFF1E6;
  --peach-mid: #FFD2B3;
  --peach-dot: #FFB98A;
  --rust: #B5541C;
  --rust-dark: #8A3E12;
  --sage: #E3EFE9;
  --sage-dark: #2F6B57;
  --cream: #FFFAF6;
  --line: #F1E2D6;
  --input-line: #E4D3C5;
  --text: #2B3445;
  --text-soft: #4A5468;
  --muted: #5A6475;
  --on-dark: #D5DAE3;
  --on-dark-soft: #B7BFCC;
  --shadow: 0 16px 40px rgba(43, 52, 69, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--rust); }
a:hover { color: var(--rust-dark); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; z-index: 100; }
.skip-link:focus { left: 16px; color: #fff; }

/* Placeholders still to fill in */
mark.todo { background: #FFE94D; color: var(--navy); padding: 1px 6px; border-radius: 4px; font-weight: 700; }

/* Layout */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-mid { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-tight { padding: 72px 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.grid-sm { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.grid-lg { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; }
.section-head { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: flex-end; }
.section-head > div { max-width: 680px; display: flex; flex-direction: column; gap: 12px; }
.center { text-align: center; align-items: center; }

/* Type */
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--rust); }
.dark .eyebrow { color: var(--peach-dot); }
.h1 { font-size: clamp(38px, 6vw, 58px); line-height: 1.06; font-weight: 800; letter-spacing: -1.5px; }
.h1-page { font-size: clamp(36px, 5.5vw, 54px); line-height: 1.06; font-weight: 800; letter-spacing: -1.5px; }
.h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.12; font-weight: 800; letter-spacing: -0.5px; }
.h2-sm { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15; font-weight: 800; }
.h3 { font-size: 21px; font-weight: 800; }
.lede { font-size: clamp(18px, 2vw, 20px); line-height: 1.6; color: var(--text-soft); }
.body { font-size: 17px; line-height: 1.65; color: var(--text-soft); }
.small { font-size: 15px; color: var(--text-soft); }
.accent { color: var(--rust); }
.more-link { font-weight: 700; font-size: 17px; }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 12px; font-weight: 800; font-size: 17px; text-decoration: none; border: 0; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #1E2533; color: #fff; }
.btn-light { background: #fff; color: var(--navy); font-weight: 700; }
.btn-light:hover { color: var(--navy); background: #FBF4EE; }
.btn-peach { background: var(--peach); color: var(--navy); }
.btn-peach:hover { background: #FF9B62; color: var(--navy); }
.btn-outline { background: #fff; color: var(--navy); border: 2px solid var(--navy); font-weight: 700; }
.btn-outline:hover { color: var(--navy); background: var(--peach-light); }

/* Cards & tiles */
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
a.card { text-decoration: none; color: var(--text); transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.card-soft { background: var(--peach-light); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.card-cream { background: var(--cream); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.tile { width: 54px; height: 54px; border-radius: 16px; background: var(--peach-light); color: var(--rust); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tile.sage { background: var(--sage); color: var(--sage-dark); }
.tile.lg { width: 64px; height: 64px; border-radius: 18px; }
.tile.sm { width: 42px; height: 42px; border-radius: 12px; }
.tile.navy { background: var(--navy); color: #fff; width: 40px; height: 40px; border-radius: 10px; }
.num { font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--rust); }
.num.sage { color: var(--sage-dark); }

/* Lists */
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-weight: 600; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex-shrink: 0; margin-top: 3px; color: var(--rust); }
.bullets { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.8; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 10px 16px; border-radius: 999px; background: var(--peach-light); font-weight: 700; font-size: 15px; }
.pill.sage { background: var(--sage); }

/* Photos */
.photo { position: relative; border-radius: 28px; overflow: hidden; background: var(--peach-light); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.dots { position: absolute; width: 150px; height: 150px; border-radius: 24px; background-image: radial-gradient(var(--peach) 2px, transparent 2px); background-size: 16px 16px; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 3px solid var(--peach); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.logo-mark { width: 44px; height: 44px; border-radius: 11px; background: var(--peach); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 23px; font-weight: 800; letter-spacing: 0.5px; }
.brand-name span { color: #D9762F; }
.brand-tag { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; color: var(--rust); text-transform: uppercase; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 16px; font-weight: 600; }
.main-nav a { color: var(--navy); text-decoration: none; padding: 10px 14px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.main-nav a:hover { background: var(--peach-light); }
.main-nav a[aria-current="page"] { color: var(--rust); background: var(--peach-light); }
.main-nav a.nav-cta { background: var(--navy); color: #fff; padding: 10px 20px; margin-left: 8px; }
.main-nav a.nav-cta:hover { background: #1E2533; }
.main-nav a.nav-cta[aria-current="page"] { background: var(--rust); color: #fff; }

.menu-toggle { display: none; }
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .menu-toggle summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 16px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 800; font-size: 16px; }
  .menu-toggle summary::-webkit-details-marker { display: none; }
  .menu-toggle[open] summary { background: var(--rust); }
  .mobile-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 3px solid var(--peach); box-shadow: 0 20px 30px rgba(43,52,69,0.12); padding: 12px 24px 24px; display: flex; flex-direction: column; gap: 4px; }
  .mobile-nav a { color: var(--navy); text-decoration: none; font-size: 18px; font-weight: 700; padding: 14px 12px; border-radius: 10px; }
  .mobile-nav a[aria-current="page"] { color: var(--rust); background: var(--peach-light); }
  .mobile-nav a.nav-cta { background: var(--navy); color: #fff; text-align: center; margin-top: 8px; }
  .mobile-nav .mobile-call { text-align: center; border: 2px solid var(--navy); }
}
@media (max-width: 420px) {
  .brand-name { font-size: 19px; }
  .brand-tag { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--peach-light); padding: 80px 0; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -90px; top: -110px; width: 360px; height: 360px; border-radius: 999px; background: var(--peach-mid); }
.page-hero::after { content: ""; position: absolute; right: 220px; bottom: 28px; width: 180px; height: 110px; background-image: radial-gradient(var(--peach-dot) 2px, transparent 2px); background-size: 16px 16px; }
.page-hero > * { position: relative; z-index: 1; }
.page-hero .wrap.stack > * { max-width: 860px; }

/* ---------- Home hero ---------- */
.hero { background: var(--peach-light); }
.hero-inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 40px; overflow-x: clip; }
.hero-copy { flex: 999 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-badge { align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; background: #fff; border-radius: 999px; padding: 8px 16px 8px 10px; font-size: 14px; font-weight: 700; color: var(--rust); }
.hero-badge span { width: 22px; height: 22px; border-radius: 999px; background: var(--peach); display: flex; align-items: center; justify-content: center; color: #fff; }
.hero-visual { flex: 1 1 400px; min-width: 0; position: relative; padding: 24px 0 24px 24px; }
.hero-blob { position: absolute; right: -60px; top: -30px; width: 360px; height: 360px; color: var(--peach-mid); }
.hero-photo { position: relative; height: 440px; border-radius: 220px 220px 28px 28px; overflow: hidden; background: var(--peach-mid); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float { position: absolute; background: #fff; box-shadow: 0 12px 32px rgba(43,52,69,0.14); display: flex; gap: 12px; align-items: center; }
.float-oncall { left: 0; bottom: 0; border-radius: 16px; padding: 14px 18px; }
.float-dbs { right: 8px; top: 40px; border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 800; gap: 8px; color: var(--navy); }
.float-dbs svg { color: var(--sage-dark); }
.trust-strip { background: #fff; border-radius: 20px; padding: 22px 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px 28px; box-shadow: var(--shadow); transform: translateY(40px); position: relative; z-index: 2; }
.trust-strip > div { display: flex; gap: 12px; align-items: center; font-size: 15px; font-weight: 700; line-height: 1.35; }
.after-hero { padding-top: 128px; }
@media (max-width: 640px) {
  .hero-photo { height: 340px; }
  .hero-blob { width: 260px; height: 260px; right: -40px; }
  .float-dbs { top: 16px; }
}

/* ---------- Dark sections ---------- */
.dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.dark .body, .dark p { color: var(--on-dark); }
.dark a.more-link { color: var(--peach-dot); }
.rings { position: absolute; right: -120px; bottom: -140px; width: 420px; height: 420px; opacity: 0.12; color: var(--peach); }
.step-line { border-top: 2px dashed #5B6782; padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.step-num { font-size: 52px; font-weight: 800; line-height: 1; color: var(--peach); }
.step-num.sm { font-size: 44px; }

/* How it works list */
.step-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; gap: 24px; }
.step-badge { width: 56px; height: 56px; border-radius: 18px; background: var(--peach); font-weight: 800; font-size: 24px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
@media (max-width: 560px) { .step-card { flex-direction: column; gap: 16px; padding: 26px; } }

.callout-photo { position: relative; }
.callout-photo .photo { height: 400px; }
.callout { position: absolute; left: 32px; bottom: -28px; max-width: 420px; background: var(--navy); color: #fff; border-radius: 20px; padding: 24px 28px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 16px 40px rgba(43,52,69,0.2); }
.callout .eyebrow { color: var(--peach-dot); font-size: 13px; }
.callout p { font-size: 18px; line-height: 1.5; font-weight: 600; color: #fff; }
@media (max-width: 640px) {
  .callout { position: relative; left: auto; bottom: auto; margin-top: -40px; margin-left: 16px; margin-right: 16px; }
}

/* Banners */
.band { border-radius: 28px; overflow: hidden; display: flex; flex-wrap: wrap; align-items: stretch; }
.band-peach { background: var(--peach); }
.band-copy { flex: 1 1 520px; min-width: 0; padding: 48px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.band-photo { flex: 1 1 360px; min-height: 320px; position: relative; }
.band-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.cta-dark { background: var(--navy); color: #fff; border-radius: 24px; padding: 48px; display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; justify-content: space-between; }
.cta-dark p { color: var(--on-dark); font-size: 18px; }
@media (max-width: 560px) { .band-copy, .cta-dark { padding: 32px 26px; } }

.final-cta { background: var(--peach-light); padding: 88px 0; position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; left: -40px; top: -40px; width: 220px; height: 220px; background-image: radial-gradient(#FFC29A 2px, transparent 2px); background-size: 18px 18px; }
.final-cta::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 999px; background: var(--peach-mid); }
.final-cta > * { position: relative; z-index: 1; }

/* CQC card */
.cqc-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; display: flex; gap: 16px; align-items: center; }
.cqc-label { font-size: 13px; font-weight: 800; letter-spacing: 1.2px; color: var(--muted); text-transform: uppercase; }
.cqc-rating { font-size: 20px; font-weight: 800; }
.cqc-widget { margin-top: 4px; display: flex; flex-direction: column; gap: 8px; }
.cqc-frame { width: 100%; max-width: 320px; height: 240px; border: 0; }

/* FAQ accordion */
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; min-height: 64px; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex-shrink: 0; color: var(--rust); transition: transform .2s ease; }
.faq[open] summary svg { transform: rotate(180deg); }
.faq p { padding: 0 22px 22px; font-size: 16px; line-height: 1.7; color: var(--text-soft); }

/* Contact cards */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px 28px; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; color: var(--text); text-decoration: none; }
a.contact-card:hover { color: var(--text); box-shadow: var(--shadow); }
.contact-card .label { font-size: 15px; font-weight: 800; letter-spacing: 1.2px; color: var(--rust); }
.contact-card .value { font-size: 23px; font-weight: 800; word-break: break-word; }
.contact-card .value.xl { font-size: 30px; }

/* Legal pages */
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-flex; padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 600; }
.toc a:hover { background: var(--peach-light); }
.legal section { display: flex; flex-direction: column; gap: 14px; padding-top: 36px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.legal h2 { font-size: 26px; line-height: 1.25; font-weight: 800; }
.legal h3 { font-size: 19px; font-weight: 800; margin-top: 8px; }
.legal p, .legal ul { font-size: 17px; line-height: 1.7; color: #3E475A; }
.legal ul { margin: 0; padding-left: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark); padding: 64px 0 32px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-cols > div, .footer-cols > nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-cols .col-brand { flex: 1 1 280px; gap: 14px; }
.footer-cols .col-links { flex: 1 1 160px; }
.footer-cols .col-policies { flex: 1 1 200px; }
.footer-cols .col-contact { flex: 1 1 240px; }
.footer-title { font-weight: 800; color: #fff; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; color: #fff; }
.footer-brand .logo-mark { width: 40px; height: 40px; border-radius: 10px; }
.footer-brand span span { color: var(--peach-dot); }
.footer-legal { border-top: 1px solid var(--navy-line); margin-top: 40px; padding-top: 24px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.6; color: var(--on-dark-soft); }

@media (max-width: 640px) {
  .page-hero::after { display: none; }
  .page-hero::before { width: 240px; height: 240px; right: -110px; top: -90px; opacity: 0.7; }
}
