/* ==========================================================================
   Art of Clean — design system
   Brand palette and Jost typography carried over from the original site.
   ========================================================================== */

:root {
  --navy: #0a3d5e;
  --navy-900: #072e47;
  --navy-800: #0d4a71;
  --blue: #1f80c4;
  --blue-700: #1a6ea9;
  --pink: #e37497;
  --pink-700: #d15c82;
  --pink-ink: #c13b6b;
  --blue-ink: #1a6ea9;
  --gold-ink: #b45309;
  --muted: #396383;
  --ink: #212121;
  --body: #465a67;
  --ice: #f5fbff;
  --ice-2: #e3f1fa;
  --line: #dbe7f0;
  --white: #fff;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(10, 61, 94, 0.06);
  --shadow: 0 14px 34px rgba(10, 61, 94, 0.10);
  --shadow-lg: 0 26px 60px rgba(10, 61, 94, 0.18);

  --maxw: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --space: clamp(56px, 8vw, 104px);

  --font: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; }
a { color: var(--blue-ink); text-decoration: none; }
a:hover { color: var(--pink-ink); }
img { max-width: 100%; height: auto; display: block; }

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

.section { padding: var(--space) 0; }
.section--ice { background: var(--ice); }
.section--tint { background: linear-gradient(180deg, var(--ice) 0%, var(--white) 100%); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink-ink);
  margin-bottom: 14px;
}

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.section-head--start { margin-left: 0; text-align: left; }

.lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-800); color: #fff; box-shadow: var(--shadow); }
.btn--accent { background: var(--pink-ink); color: #fff; }
.btn--accent:hover { background: #a52f5a; color: #fff; box-shadow: var(--shadow); }
.btn--blue { background: var(--blue-700); color: #fff; }
.btn--blue:hover { background: #155c8c; color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--navy); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--ice-2); color: var(--navy); }
.btn--sm { padding: 11px 22px; font-size: 0.92rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.86rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 500; }
.topbar a:hover { color: var(--ice-2); }
.topbar__group { display: flex; align-items: center; gap: 22px; }
.topbar__group span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }

.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block;
  padding: 10px 13px;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--ice-2); color: var(--navy); }

.has-menu { position: relative; }
.has-menu > a::after { content: "\25BE"; font-size: 0.7em; margin-left: 6px; opacity: 0.6; }
.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}
.has-menu:hover .submenu { display: block; }
.submenu a { font-size: 0.92rem; padding: 9px 12px; }

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(7, 46, 71, 0.94) 0%, rgba(10, 61, 94, 0.82) 45%, rgba(31, 128, 196, 0.35) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: clamp(70px, 10vw, 130px); padding-bottom: clamp(70px, 10vw, 130px); }
.hero__inner { max-width: 760px; }
.hero h1 { color: #fff; }
.hero p { color: rgba(255, 255, 255, 0.9); font-size: 1.15rem; max-width: 640px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__rating { display: flex; align-items: center; gap: 14px; margin-top: 34px; color: #fff; }
.stars { color: #ffbc7d; letter-spacing: 2px; font-size: 1.1rem; }
.hero__badges { display: flex; gap: 24px; align-items: center; margin-top: 26px; opacity: 0.95; }
.hero__badges img { height: 62px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding-top: 26px; padding-bottom: 26px; }
.trust img { height: 56px; width: auto; }
.trust__item { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 600; }
.trust__item strong { display: block; font-size: 1.25rem; line-height: 1; }
.trust__item span { font-size: 0.82rem; color: var(--muted); font-weight: 500; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split__media .float-card {
  position: absolute;
  right: -14px;
  bottom: -22px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.float-card strong { font-size: 1.6rem; color: var(--navy); line-height: 1; display: block; }
.float-card span { font-size: 0.82rem; color: var(--muted); }
.tick-list { list-style: none; margin: 20px 0 26px; padding: 0; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 34px; color: var(--body); }
.tick-list li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--pink-ink);
  color: #fff;
  font-size: 0.7rem;
  display: grid; place-items: center;
  margin-top: 4px;
}

/* ---------- Service grid ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 8px; }
.card__body p { color: var(--muted); font-size: 0.96rem; margin-bottom: 18px; }
.card__link { margin-top: auto; font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 8px; }
.card__link::after { content: "\2192"; transition: transform 0.2s ease; }
.card:hover .card__link::after { transform: translateX(4px); }

/* ---------- Why choose ---------- */
.feature { background: #fff; border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.feature__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--ice-2);
  color: var(--navy);
  display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 700;
  margin-bottom: 18px;
}
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- Process steps ---------- */
.process { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; max-width: 980px; margin: 0 auto; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step__num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  display: grid; place-items: center;
}
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding-right: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; color: var(--pink-ink); font-weight: 400;
}
.faq[open] summary::after { content: "\2212"; }
.faq p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(36px, 5vw, 60px); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(227,116,151,.35), transparent 70%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 620px; margin-bottom: 26px; }

/* ---------- Reviews ---------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.review__stars { color: #ffbc7d; letter-spacing: 2px; margin-bottom: 12px; }
.review p { color: var(--body); font-style: italic; }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.review__author .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ice-2); color: var(--navy); display: grid; place-items: center; font-weight: 700; }
.review__author strong { color: var(--navy); display: block; font-size: 0.95rem; }
.review__author span { font-size: 0.82rem; color: var(--muted); }

/* ---------- Rating band ---------- */
.rating-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(28px, 4vw, 46px);
}
.rating-band__score { text-align: center; padding-right: 36px; border-right: 1px solid var(--line); }
.rating-band__score strong { display: block; font-size: 3rem; line-height: 1; color: var(--navy); }
.rating-band__score .stars { color: var(--gold-ink); }
.rating-band h2 { margin-bottom: 6px; }
.rating-band p { margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .rating-band { grid-template-columns: 1fr; text-align: center; }
  .rating-band__score { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
}

/* ---------- Guarantee ---------- */
.guarantee { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.guarantee img { max-width: 200px; margin: 0 auto; }

/* ---------- Knowledge cards ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 24px 26px 28px; }
.post-card__meta { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--pink-ink); font-weight: 600; margin-bottom: 10px; }
.post-card h3 { font-size: 1.12rem; }
.post-card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 72px 0 30px; }
.site-footer h3, .site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.94rem; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; background: #fff; padding: 8px 12px; border-radius: 10px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 0.85rem; }
.footer-bottom a { color: rgba(255,255,255,.7); }

/* ---------- Contact form ---------- */
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 36px); }
.contact-form h3 { margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-family: var(--font); font-size: 0.98rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ice); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); background: #fff; }
.consent { display: flex; gap: 10px; font-size: 0.84rem; color: var(--muted); margin: 6px 0 20px; align-items: flex-start; }
.consent input { margin-top: 4px; }

/* ---------- Contact list ---------- */
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { padding-left: 18px; border-left: 3px solid var(--pink); }
.contact-list strong { display: block; color: var(--navy); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }

/* ---------- Misc lists ---------- */
.feature .role { color: var(--pink-ink); font-weight: 600; font-size: 0.86rem; margin-bottom: 8px; }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.link-list a { display: block; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--navy); font-weight: 500; }
.link-list a:hover { border-color: var(--blue); color: var(--blue); }
.reviews-widget-placeholder {
  margin-top: 24px; padding: 60px 20px; border: 2px dashed var(--line);
  border-radius: var(--radius); color: var(--muted); font-style: italic; background: #fff;
}
@media (max-width: 620px) { .link-list { grid-template-columns: 1fr; } }

/* ---------- Breadcrumb / page hero ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy-900), var(--navy) 55%, var(--blue)); color: #fff; padding: clamp(56px, 7vw, 90px) 0; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 680px; margin: 0; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.85); }

/* ---------- Blog / article ---------- */
.post-meta { color: rgba(255,255,255,.8); font-size: 0.9rem; font-weight: 500; margin-bottom: 12px; letter-spacing: 0.04em; }
.post-meta a { color: #fff; }
.post-meta a:hover { color: var(--ice-2); }
.post-featured { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.post-featured img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: -60px; position: relative; z-index: 3; }
.article-body { margin: 0 auto; }
.prose { max-width: 780px; }
.prose img { border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); margin: 24px 0; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.prose h3 { font-size: 1.2rem; }
.prose blockquote { border-left: 4px solid var(--pink); background: var(--ice); padding: 16px 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 24px 0; color: var(--navy); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article-cta { max-width: 780px; margin: 56px auto 0; background: var(--ice); border-radius: var(--radius); padding: 36px; text-align: center; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--blue-ink); }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination a { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--navy); font-weight: 500; }
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination a.is-current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Misc ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { background: var(--ice-2); color: var(--navy); border-radius: var(--radius-pill); padding: 8px 16px; font-size: 0.86rem; font-weight: 500; }
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.skip-link { position: absolute; left: -999px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav, .header-cta .btn--primary { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px;
  }
  .nav-toggle span { width: 26px; height: 2px; background: var(--navy); border-radius: 2px; }
  .site-header.open .nav {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px var(--gutter);
  }
  .site-header.open .nav > ul { flex-direction: column; align-items: stretch; }
  .site-header.open .submenu { position: static; display: block; box-shadow: none; border: 0; padding-left: 14px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .guarantee { grid-template-columns: 1fr; text-align: center; }
  .trust .container { justify-content: center; }
}

@media (max-width: 620px) {
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .split__media .float-card { position: static; margin-top: 16px; }
}
