/* ==========================================================
   DENSI Cleaning — Homepage
   ========================================================== */

:root {
  --navy: #100d6b;
  --navy-2: #1a1790;
  --navy-input: #16139a;
  --orange: #ff7a00;
  --orange-dark: #e86d00;
  --ink: #0c0c0c;
  --muted: #7a7a7a;
  --gray-bg: #f5f5f5;
  --line: #e7e7ee;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1240px;
  --font: "Archivo", 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);
  color: var(--ink);
  background: #fdfdfd;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }

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

.section { padding: 100px 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.eyebrow--orange { color: var(--orange); }

.title {
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 500;
  line-height: 1.12;
}
.title--light { color: var(--white); }
.text-navy { color: var(--navy); }
.text-orange { color: var(--orange); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 500 15px/1.2 var(--font);
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: var(--orange-dark); box-shadow: 0 10px 24px -10px rgba(255,122,0,.7); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); box-shadow: 0 10px 24px -10px rgba(16,13,107,.6); }
.btn--outline { background: transparent; color: var(--navy); border-color: rgba(16,13,107,.45); }
.btn--outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; padding: 15px; }

/* ---------- Shared cards / icons ---------- */
.card-gray {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 34px;
}

.icon-circle {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
}
.icon-circle svg { width: 24px; height: 24px; }
.icon-circle--orange { background: var(--orange); color: var(--navy); width: 44px; height: 44px; }
.icon-circle--orange svg { width: 22px; height: 22px; }

.checklist li,
.checks-inline li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}
.checklist li + li { margin-top: 12px; }
.checklist li::before,
.checks-inline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--navy);
  border-bottom: 2.5px solid var(--navy);
  transform: rotate(-45deg);
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8,8,40,.82) 0%, rgba(8,8,40,.55) 45%, rgba(8,8,40,.15) 100%),
    var(--hero-bg) center / cover no-repeat;
}

/* Nav */
.nav {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.nav__logo img {
  height: 64px;
  width: auto;
  background: var(--white);
  padding: 6px 10px;
}
.nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav__menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: rgba(255,255,255,.92);
  transition: color .2s;
}
.nav__menu > li > a:hover,
.nav__menu > li > a.active { color: var(--orange); }

.nav__dropdown { position: relative; }
.nav__submenu {
  position: absolute;
  top: calc(100% + 16px);
  left: -16px;
  min-width: 240px;
  padding: 10px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .25s;
}
.nav__submenu::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav__dropdown:hover .nav__submenu,
.nav__dropdown:focus-within .nav__submenu { opacity: 1; visibility: visible; transform: none; }
.nav__submenu a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 15px;
}
.nav__submenu a:hover { background: var(--gray-bg); color: var(--navy); }

.nav__logo { justify-self: start; }
.nav__cta { justify-self: end; padding: 15px 28px; font-size: 16px; }
.nav__cta-mobile { display: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__toggle span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero content */
.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero__title {
  font-size: clamp(44px, 6.4vw, 76px);
  font-weight: 500;
  margin-bottom: 26px;
}
.hero__title span { color: var(--orange); }
.hero__text {
  max-width: 660px;
  font-size: 18px;
  color: rgba(255,255,255,.9);
  margin-bottom: 42px;
}
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.hero__rating { display: flex; align-items: center; gap: 16px; }
.hero__rating p { font-size: 15px; line-height: 1.6; }
.avatars { display: flex; }
.avatars img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--white);
  background: var(--white);
}
.avatars img + img { margin-left: -12px; }

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 40px;
}
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px; max-width: 420px; }
.hero__tags li {
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 15px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
}
.hero__social { display: flex; gap: 20px; }
.hero__social a { width: 26px; height: 26px; transition: color .2s, transform .2s; }
.hero__social a:hover { color: var(--orange); transform: translateY(-2px); }
.hero__social svg { width: 100%; height: 100%; }

/* ==========================================================
   ABOUT
   ========================================================== */
.about__intro {
  max-width: 1160px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.about__img img,
.about__story > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.about__img { min-height: 420px; }
.about__img img { object-position: 50% 30%; }

.about__cards { display: flex; flex-direction: column; gap: 22px; }
.about__cards .card-gray { flex: 1; }
.about__cards h3 { font-size: 28px; margin-bottom: 22px; }
.about__cards p { color: var(--muted); font-size: 16px; }

.about__story {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--navy);
}
.about__story > img { height: 290px; border-radius: 0; flex-shrink: 0; }
.about__story-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 32px 36px;
  color: var(--white);
}
.about__story h3 { font-size: 27px; line-height: 1.35; }
.about__story .btn { align-self: flex-start; }

/* Stats */
.stats {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 80px;
}
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat:first-child { align-items: flex-start; }
.stat:last-child { align-items: flex-end; }
.stat__num { font-size: clamp(42px, 5vw, 64px); font-weight: 500; line-height: 1.1; }
.stat__label { margin-top: 18px; color: var(--muted); font-size: 18px; }

/* ==========================================================
   SERVICES
   ========================================================== */
.services { padding-top: 40px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 50px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.service {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 24px;
  padding: 26px;
  background: var(--gray-bg);
  border-radius: var(--radius);
  transition: box-shadow .3s, transform .3s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(16,13,107,.35); }
.service__body { display: flex; flex-direction: column; }
.service__head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.service__head h3 { font-size: 22px; }
.service p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.service__list { margin-bottom: 28px; }
.service__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: #555;
}
.service__list li + li { margin-top: 4px; }
.service__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.service .btn { margin-top: auto; align-self: flex-start; padding: 14px 26px; }
.service__img { border-radius: 6px; overflow: hidden; min-height: 330px; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service:hover .service__img img { transform: scale(1.06); }

/* ==========================================================
   WHY CHOOSE US
   ========================================================== */
.why {
  display: grid;
  grid-template-columns: 41% 1fr;
  background: var(--navy);
  color: var(--white);
}
.why__img { min-height: 100%; }
.why__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.why__content { padding: 70px 8% 90px 92px; max-width: 820px; }
.why__content .title { margin-bottom: 30px; }
.why__lead { font-size: 16px; color: rgba(255,255,255,.88); margin-bottom: 36px; max-width: 580px; }
.why__list { margin-bottom: 40px; max-width: 640px; }
.why__list li {
  display: flex;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.why__list li:first-child { padding-top: 0; }
.why__list li:last-child { border-bottom: 0; }
.why__list h4 { font-size: 26px; margin-bottom: 10px; }
.why__list p { font-size: 15px; color: rgba(255,255,255,.85); }

/* ==========================================================
   PROCESS
   ========================================================== */
.process__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: start;
}
.process__left .title { margin-bottom: 36px; }
.process__img {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 400px;
  background: linear-gradient(135deg, #e9eaf6 0%, #f6efe7 100%);
}
.process__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; mix-blend-mode: multiply; }
.process__img .btn { position: absolute; left: 34px; bottom: 34px; padding: 15px 28px; }

.process__steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.step { padding: 34px; transition: background .3s, color .3s, transform .3s; }
.step__num {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 56px;
  transition: background .3s, color .3s;
}
.step h3 { font-size: 25px; margin-bottom: 16px; }
.step p { color: var(--muted); font-size: 16px; line-height: 1.65; transition: color .3s; }
.step:hover { background: var(--navy); color: var(--white); transform: translateY(-4px); }
.step:hover p { color: rgba(255,255,255,.8); }
.step:hover .step__num { background: var(--orange); color: var(--navy); }

/* ==========================================================
   BLOG
   ========================================================== */
.blog { padding-top: 40px; }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post { background: var(--gray-bg); border-radius: var(--radius-sm); overflow: hidden; }
.post__img { aspect-ratio: 43 / 39; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post:hover .post__img img { transform: scale(1.06); }
.post__body { padding: 28px 26px 32px; }
.post time { display: block; font-size: 16px; color: var(--navy); margin-bottom: 14px; }
.post h3 { font-size: 26px; line-height: 1.35; }
.post h3 a { transition: color .2s; }
.post h3 a:hover { color: var(--navy); }

/* ==========================================================
   BOOKING
   ========================================================== */
.booking { padding-top: 40px; }
.booking__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 66px;
  align-items: stretch;
}
.booking__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 24px;
  padding: 36px 32px;
  background: var(--navy);
  border-radius: 6px;
  color: var(--white);
}
.field { display: flex; flex-direction: column; gap: 14px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--navy-input);
  color: var(--white);
  font: 15px var(--font);
  outline: none;
  transition: border-color .2s, background .2s;
  color-scheme: dark;
}
.field textarea { height: auto; padding: 15px 26px; border-radius: 4px; resize: vertical; min-height: 160px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 22px center; }
.field select:invalid { color: rgba(255,255,255,.6); }
.field select option { color: var(--ink); background: var(--white); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,.6); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--orange); }
.booking__form .btn--block { grid-column: 1 / -1; margin-top: 4px; }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--orange); min-height: 1em; text-align: center; }

.booking__info { display: flex; flex-direction: column; }
.booking__info .title { margin-bottom: 30px; }
.booking__info .muted { font-size: 17px; max-width: 600px; margin-bottom: 26px; }
.checks-inline { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.checks-inline li { font-size: 17px; }
.booking__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: auto;
  padding-top: 40px;
}
.booking__gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: var(--navy); color: var(--white); padding: 40px 0 0; }
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.footer__logo { height: 72px; width: auto; background: var(--white); padding: 6px 10px; margin-bottom: 20px; }
.footer__brand p { max-width: 380px; font-size: 16px; color: rgba(255,255,255,.92); }
.footer__social { display: flex; gap: 10px; margin-top: 60px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(255,255,255,.8);
  border-radius: 50%;
  transition: background .2s, color .2s, border-color .2s;
}
.footer__social a:hover { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.footer__social svg { width: 20px; height: 20px; }

.newsletter {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  margin-top: 24px;
  padding: 24px;
  background: var(--white);
  border-radius: 6px;
  color: var(--ink);
}
.newsletter > img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.newsletter h3 { font-size: 30px; margin: 4px 0 18px; }
.newsletter p { color: var(--muted); font-size: 16px; margin-bottom: 30px; }
.newsletter__form { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.newsletter__form input {
  width: 100%;
  padding: 17px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--gray-bg);
  font: 15px var(--font);
  outline: none;
}
.newsletter__form input:focus { border-color: var(--navy); }
.newsletter__form .btn { padding: 15px 26px; }

.footer__links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 70px 0 50px;
}
.footer__links h4 { font-size: 30px; margin-bottom: 30px; }
.footer__links li { font-size: 17px; color: rgba(255,255,255,.92); }
.footer__links li + li { margin-top: 16px; }
.footer__links a { transition: color .2s; }
.footer__links a:hover { color: var(--orange); }
.badge {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--navy);
  font-size: 12px;
  vertical-align: middle;
}
.footer__contact li { line-height: 1.55; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 15px;
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__bottom a:hover { color: var(--orange); }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
}
.to-top span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
}
.to-top svg { width: 15px; height: 15px; }

/* ==========================================================
   BLOG PAGE
   ========================================================== */
.hero--page {
  min-height: 0;
  background:
    linear-gradient(90deg, rgba(16,13,107,.92) 0%, rgba(16,13,107,.7) 55%, rgba(16,13,107,.35) 100%),
    var(--hero-bg) center / cover no-repeat;
}
.page-hero { padding-top: 60px; padding-bottom: 110px; }
.page-hero .hero__title { margin-bottom: 20px; }
.page-hero .hero__text { margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 15px; color: rgba(255,255,255,.75); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: rgba(255,255,255,.45); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb [aria-current] { color: var(--orange); }

/* Featured */
.featured-wrap { padding-bottom: 0; }
.featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--gray-bg);
  border-radius: var(--radius);
  overflow: hidden;
}
.featured__img { position: relative; min-height: 440px; }
.featured__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured__label {
  position: absolute; top: 24px; left: 24px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--orange); color: var(--navy); font-size: 14px; font-weight: 500;
}
.featured__body { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.featured h2 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.2; margin: 18px 0; }
.featured h2 a:hover { color: var(--navy); }
.featured__body > p { color: var(--muted); font-size: 16px; margin-bottom: 28px; }
.featured .btn { align-self: flex-start; }

.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; color: var(--muted); }
.post__meta > * + *::before { content: "\2022"; margin-right: 16px; color: #c4c4cf; }
.post__cat { color: var(--navy); font-weight: 600; text-transform: uppercase; font-size: 12.5px; letter-spacing: .04em; }
.post__meta time { display: inline; margin: 0; font-size: 14px; color: var(--muted); }

.author { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: var(--white); }
.author strong { display: block; font-weight: 600; font-size: 15px; }
.author span { font-size: 14px; color: var(--muted); }

/* Layout */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 50px;
  align-items: start;
}
.blog-toolbar { margin-bottom: 30px; }
.blog-toolbar .eyebrow { margin-bottom: 14px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-pills a {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(16,13,107,.2);
  font-size: 14.5px;
  color: var(--navy);
  transition: .2s;
}
.filter-pills a:hover { border-color: var(--navy); }
.filter-pills a.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.blog-list .post { display: flex; flex-direction: column; }
.blog-list .post[hidden] { display: none; }
.blog-list .post__img { display: block; aspect-ratio: 16 / 10; }
.blog-list .post__body { flex: 1; display: flex; flex-direction: column; padding: 24px 26px 28px; }
.blog-list .post h3 { font-size: 22px; margin: 14px 0 12px; }
.blog-list .post p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.read-more {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--navy);
}
.read-more svg { width: 18px; height: 18px; transition: transform .25s; }
.read-more:hover svg { transform: translateX(4px); }
.blog-empty { padding: 40px; text-align: center; color: var(--muted); background: var(--gray-bg); border-radius: var(--radius); }

/* Sidebar */
.sidebar { position: sticky; top: 30px; display: flex; flex-direction: column; gap: 22px; }
.widget { background: var(--gray-bg); border-radius: var(--radius); padding: 28px; }
.widget h4 { font-size: 21px; margin-bottom: 18px; }
.search-form { display: flex; background: var(--white); border-radius: 999px; padding: 5px; border: 1px solid var(--line); }
.search-form:focus-within { border-color: var(--navy); }
.search-form input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 16px; font: 15px var(--font); background: transparent; }
.search-form button {
  display: grid; place-items: center;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: var(--navy); color: var(--white); cursor: pointer;
}
.search-form button svg { width: 18px; height: 18px; }
.cat-list li + li { border-top: 1px solid var(--line); }
.cat-list a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; color: #333; transition: color .2s; }
.cat-list a:hover, .cat-list a.is-active { color: var(--navy); font-weight: 500; }
.cat-list span {
  display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 50%;
  background: var(--white); font-size: 13px; color: var(--navy);
}
.cat-list a.is-active span { background: var(--orange); }
.recent li { display: flex; gap: 14px; align-items: center; }
.recent li + li { margin-top: 18px; }
.recent img { width: 76px; height: 64px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.recent time { display: block; font-size: 13px; color: var(--navy); margin-bottom: 4px; }
.recent a { font-size: 15px; font-weight: 500; line-height: 1.35; }
.recent a:hover { color: var(--navy); }
.widget--cta { padding: 0; overflow: hidden; background: var(--navy); color: var(--white); }
.widget--cta img { width: 100%; height: 190px; object-fit: cover; object-position: 50% 20%; }
.widget--cta__body { padding: 26px 28px 30px; }
.widget--cta h4 { margin-bottom: 10px; }
.widget--cta p { font-size: 15px; color: rgba(255,255,255,.85); margin-bottom: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 14px; border-radius: 999px; background: var(--white); font-size: 14px; color: #444; }

/* CTA band */
.cta-band-wrap { padding: 0 0 100px; }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 60px 64px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(255,122,0,.25), transparent 45%),
    var(--navy);
}
.cta-band .title { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 16px; }
.cta-band p { max-width: 620px; color: rgba(255,255,255,.85); }

/* ==========================================================
   SINGLE POST PAGE
   ========================================================== */
.post__img { display: block; }

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 100; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--orange); transition: width .1s linear; }

.page-hero--post { max-width: var(--container); }
.post-badge {
  display: inline-block; margin-bottom: 18px; padding: 6px 16px; border-radius: 999px;
  background: var(--orange); color: var(--navy); font-size: 14px; font-weight: 500;
}
.post-title { font-size: clamp(34px, 4.6vw, 60px); max-width: 960px; line-height: 1.12; }
.post-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; }
.post-hero-meta ul { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; color: rgba(255,255,255,.85); }
.post-hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.post-hero-meta svg { width: 18px; height: 18px; color: var(--orange); }
.author--light { margin: 0; }
.author--light strong { color: var(--white); }
.author--light span { color: rgba(255,255,255,.7); }
.author--light img { border: 2px solid var(--white); }

.article-section { padding-top: 0; }
.article-cover { margin: -60px 0 60px; position: relative; z-index: 2; }
.article-cover img { width: 100%; height: clamp(260px, 42vw, 560px); object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(16,13,107,.45); }

.article { min-width: 0; font-size: 17.5px; line-height: 1.8; color: #2b2b33; }
.article__lead { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.6; color: var(--ink); font-weight: 500; margin-bottom: 36px; }
.article h2 { font-size: clamp(24px, 2.4vw, 32px); color: var(--ink); margin: 48px 0 18px; scroll-margin-top: 30px; }
.article p { margin-bottom: 20px; }
.article p a { color: var(--navy); font-weight: 500; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.article p a:hover { color: var(--orange); }

.callout { display: flex; gap: 20px; margin: 32px 0; padding: 26px 28px; background: #fff6ec; border-left: 4px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0; }
.callout h4 { font-size: 19px; margin-bottom: 6px; color: var(--ink); }
.callout p { margin: 0; font-size: 16px; color: #555; }

.article blockquote { margin: 40px 0; padding: 36px 40px; background: var(--navy); color: var(--white); border-radius: var(--radius); position: relative; overflow: hidden; }
.article blockquote::before { content: "\201C"; position: absolute; right: 28px; top: -6px; font-size: 160px; line-height: 1; color: var(--orange); opacity: .35; }
.article blockquote p { position: relative; font-size: clamp(20px, 2vw, 24px); line-height: 1.5; font-weight: 500; margin-bottom: 14px; }
.article blockquote cite { font-style: normal; color: var(--orange); font-size: 15px; }

.article-figure { margin: 40px 0; }
.article-figure img { width: 100%; max-height: 520px; object-fit: cover; object-position: 50% 12%; border-radius: var(--radius); }
.article-figure figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }

.checklist-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0 20px; }
.checklist-box > div { background: var(--gray-bg); border-radius: var(--radius); padding: 24px; }
.checklist-box h4 { font-size: 19px; color: var(--navy); margin-bottom: 16px; }
.checklist-box .checklist li { font-size: 15px; line-height: 1.5; }

.article-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 44px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-footer .tags li { background: var(--gray-bg); }
.share { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.share__btn {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--gray-bg); color: var(--navy); cursor: pointer; transition: .2s;
}
.share__btn:hover { background: var(--navy); color: var(--white); }
.share__btn svg { width: 18px; height: 18px; }
.share__note { font-size: 14px; color: var(--orange); }

.author-box { display: flex; gap: 24px; margin-top: 40px; padding: 30px; background: var(--gray-bg); border-radius: var(--radius); }
.author-box img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; flex-shrink: 0; background: var(--white); }
.author-box .eyebrow { margin-bottom: 4px; }
.author-box h4 { font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.author-box p { margin: 0; font-size: 15.5px; color: var(--muted); line-height: 1.65; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.post-nav__item { display: flex; flex-direction: column; gap: 6px; padding: 22px 26px; border: 1.5px solid var(--line); border-radius: var(--radius); transition: .25s; }
.post-nav__item span { font-size: 14px; color: var(--muted); }
.post-nav__item strong { font-weight: 500; font-size: 17px; line-height: 1.4; color: var(--ink); }
.post-nav__item--next { text-align: right; }
.post-nav__item:hover { border-color: var(--navy); background: var(--navy); }
.post-nav__item:hover span, .post-nav__item:hover strong { color: var(--white); }

.toc { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc li + li { border-top: 1px solid var(--line); }
.toc a { display: flex; gap: 12px; padding: 11px 0; font-size: 15px; color: #444; line-height: 1.4; transition: color .2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--muted); font-size: 13px; padding-top: 2px; }
.toc a:hover, .toc a.is-active { color: var(--navy); font-weight: 500; }
.toc a.is-active::before { color: var(--orange); }

.related { padding-top: 0; }

/* ==========================================================
   404 PAGE
   ========================================================== */
.nf { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; padding-top: 50px; padding-bottom: 110px; }
.nf__code-sm { display: inline-block; margin-bottom: 18px; padding: 6px 16px; border-radius: 999px; background: rgba(255,255,255,.12); color: var(--orange); font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.nf .hero__title { font-size: clamp(40px, 5.4vw, 68px); margin-bottom: 20px; }
.nf .hero__text { margin-bottom: 36px; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.nf__art { position: relative; display: grid; place-items: center; }
.nf__num {
  display: inline-flex; align-items: center;
  font-size: clamp(130px, 17vw, 250px); font-weight: 700; line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.85);
}
.nf__bubble {
  display: grid; place-items: center;
  width: .78em; height: .78em; margin: 0 .04em;
  border-radius: 50%; background: var(--orange); color: var(--navy);
  -webkit-text-stroke: 0; font-size: .62em;
  box-shadow: 0 0 0 .1em rgba(255,122,0,.2), 0 30px 60px -20px rgba(0,0,0,.45);
  animation: nf-float 4s ease-in-out infinite;
}
.nf__sparkle { position: absolute; width: 26px; height: 26px; background: var(--white); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: nf-twinkle 2.6s ease-in-out infinite; }
.nf__sparkle--1 { top: 4%; left: 14%; }
.nf__sparkle--2 { top: 12%; right: 10%; width: 18px; height: 18px; background: var(--orange); animation-delay: .8s; }
.nf__sparkle--3 { bottom: 6%; left: 46%; width: 16px; height: 16px; animation-delay: 1.5s; }
@keyframes nf-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes nf-twinkle { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1); } }

.section-head.section-head--center { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.nf-links__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.nf-card { display: flex; flex-direction: column; padding: 30px 28px; background: var(--gray-bg); border-radius: var(--radius); transition: background .3s, transform .3s; }
.nf-card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 50%; background: var(--white); color: var(--navy); transition: .3s; }
.nf-card__icon svg { width: 26px; height: 26px; }
.nf-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.nf-card p { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.nf-card:hover { background: var(--navy); transform: translateY(-4px); }
.nf-card:hover h3, .nf-card:hover .read-more { color: var(--white); }
.nf-card:hover p { color: rgba(255,255,255,.75); }
.nf-card:hover .nf-card__icon { background: var(--orange); }
.nf-links__help { margin-top: 44px; text-align: center; color: var(--muted); }
.nf-links__help a { color: var(--navy); font-weight: 500; }
.nf-links__help a:hover { color: var(--orange); }

/* ==========================================================
   MAINTENANCE PAGE
   ========================================================== */
.mt {
  background:
    radial-gradient(circle at 85% 15%, rgba(255,122,0,.18), transparent 40%),
    linear-gradient(90deg, rgba(16,13,107,.95) 0%, rgba(16,13,107,.88) 55%, rgba(16,13,107,.75) 100%),
    var(--hero-bg) center / cover no-repeat;
}
.mt__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; }
.mt__logo { height: 64px; width: auto; background: var(--white); padding: 6px 10px; }
.mt__phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.mt__phone svg { width: 20px; height: 20px; color: var(--orange); }
.mt__phone:hover { color: var(--orange); }

.mt__grid { flex: 1; display: grid; align-content: center; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 60px; padding-top: 50px; padding-bottom: 50px; }
.mt .hero__title { font-size: clamp(40px, 5.2vw, 66px); margin-bottom: 20px; }
.mt .hero__text { margin-bottom: 34px; }

.countdown { display: flex; flex-wrap: wrap; gap: 14px; }
.countdown > div {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 104px; height: 104px; border-radius: var(--radius);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}
.countdown strong { font-size: 40px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { margin-top: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.7); }
.countdown > div:first-child { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.countdown > div:first-child span { color: var(--navy); }
.countdown__note { margin-top: 16px; font-size: 15px; color: rgba(255,255,255,.75); }

.mt__form { margin-top: 34px; max-width: 540px; }
.mt__form label { display: block; margin-bottom: 12px; font-weight: 500; }
.mt__field { display: flex; gap: 8px; padding: 6px; background: var(--white); border-radius: 999px; }
.mt__field input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 18px; font: 15px var(--font); color: var(--ink); background: transparent; }
.mt__field .btn { padding: 14px 26px; }
.mt__form .form-note { text-align: left; margin-top: 10px; }

.mt__contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; margin-top: 34px; max-width: 540px; font-size: 15px; color: rgba(255,255,255,.8); }
.mt__contact a { color: var(--white); font-weight: 500; }
.mt__contact p a:hover { color: var(--orange); }
.mt__contact .footer__social { margin-top: 0; }

.mt__art { position: relative; }
.mt__art img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  border-radius: 200px 200px var(--radius) var(--radius);
  background: linear-gradient(180deg, #fff 0%, #f1f1f7 100%);
  border: 8px solid rgba(255,255,255,.12); background-clip: padding-box;
}
.mt__badge {
  position: absolute; left: -30px; bottom: 50px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 16px; border-radius: var(--radius);
  background: var(--white); color: var(--ink);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.45);
  animation: nf-float 4s ease-in-out infinite;
}
.mt__badge-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--navy); }
.mt__badge-icon svg { width: 22px; height: 22px; }
.mt__badge strong { display: block; font-weight: 600; }
.mt__badge span { font-size: 14px; color: var(--muted); }
.mt__art .nf__sparkle--1 { top: 6%; left: -4%; }
.mt__art .nf__sparkle--2 { top: 30%; right: -5%; }

.mt__copy { padding-bottom: 26px; font-size: 14px; color: rgba(255,255,255,.6); }

/* ==========================================================
   Reveal animation
   ========================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .nf__bubble, .nf__sparkle, .mt__badge { animation: none; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1200px) {
  .nf-links__grid { grid-template-columns: repeat(2, 1fr); }
  .blog-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
  .service { grid-template-columns: 1fr 220px; }
  .why__content { padding: 60px 48px 70px; }
  .newsletter { grid-template-columns: 240px 1fr; }
}

@media (max-width: 1024px) {
  .section { padding: 80px 0; }

  /* mobile nav */
  .nav { display: flex; justify-content: space-between; }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 24px;
    right: 24px;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 24px 48px -16px rgba(0,0,0,.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .25s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__menu > li > a { display: flex; padding: 12px 14px; color: var(--ink); border-radius: 8px; }
  .nav__menu > li > a:hover { background: var(--gray-bg); }
  .nav__submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
  .nav__submenu a { font-size: 14px; color: var(--muted); padding: 7px 14px; }
  .nav__cta-mobile { display: block; padding: 10px 2px 2px; }
  .nav__cta-mobile .btn { width: 100%; }

  .about__grid { grid-template-columns: 1fr 1fr; }
  .about__story { grid-column: 1 / -1; flex-direction: row; }
  .about__story > img { width: 50%; height: auto; min-height: 280px; }

  .services__grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr 300px; }

  .why { grid-template-columns: 1fr; }
  .why__img { height: 460px; }
  .why__content { max-width: none; }

  .process__grid { grid-template-columns: 1fr; gap: 50px; }

  .blog__grid { grid-template-columns: repeat(2, 1fr); }

  .booking__grid { grid-template-columns: 1fr; }
  .booking__info { order: -1; }

  .footer__top { grid-template-columns: 1fr; gap: 30px; }

  .featured { grid-template-columns: 1fr; }
  .featured__img { min-height: 340px; }
  .blog-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 48px 40px; }
  .nf { grid-template-columns: 1fr; padding-bottom: 80px; }
  .nf__art { order: -1; }
  .mt__grid { grid-template-columns: 1fr; padding-top: 30px; }
  .mt__art { max-width: 420px; }
  .article-cover { margin-top: -40px; }
  .footer__social { margin-top: 28px; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .nav__menu { left: 16px; right: 16px; }
  .nav__logo img { height: 50px; }

  .hero__text { font-size: 16px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }

  .about__grid { grid-template-columns: 1fr; }
  .about__img { min-height: 0; height: 420px; }
  .about__story { flex-direction: column; }
  .about__story > img { width: 100%; height: 240px; min-height: 0; }

  .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 16px; margin-top: 56px; }
  .stat, .stat:first-child, .stat:last-child { align-items: center; }
  .stat__label { font-size: 16px; margin-top: 8px; }

  .section-head { flex-direction: column; align-items: flex-start; }

  .service { grid-template-columns: 1fr; }
  .service__img { min-height: 0; height: 240px; order: -1; }

  .why__img { height: 360px; }
  .why__content { padding: 56px 16px 64px; }
  .why__list li { gap: 16px; }
  .why__list h4 { font-size: 21px; }

  .process__steps { grid-template-columns: 1fr; gap: 16px; }
  .step { padding: 28px; }
  .step__num { margin-bottom: 28px; }
  .step h3 { font-size: 24px; }
  .process__img .btn { left: 20px; bottom: 20px; }

  .blog__grid { grid-template-columns: 1fr; }
  .post h3 { font-size: 22px; }

  .booking__form { grid-template-columns: 1fr; padding: 28px 20px; }
  .booking__gallery { gap: 10px; }

  .newsletter { grid-template-columns: 1fr; padding: 16px; gap: 20px; }
  .newsletter > img { min-height: 0; height: 200px; }
  .newsletter h3 { font-size: 24px; }

  .footer__links { grid-template-columns: 1fr 1fr; gap: 36px 20px; padding: 50px 0 36px; }
  .footer__links h4 { font-size: 22px; margin-bottom: 18px; }
  .footer__links li { font-size: 15px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .page-hero { padding-top: 30px; padding-bottom: 70px; }
  .featured__img { min-height: 240px; }
  .featured__body { padding: 28px 22px 32px; }
  .blog-list { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .widget { padding: 24px 20px; }
  .cta-band-wrap { padding-bottom: 64px; }
  .cta-band { padding: 40px 24px; }
  .nf { padding-top: 20px; padding-bottom: 64px; gap: 20px; }
  .nf-links__grid { grid-template-columns: 1fr; }
  .mt__logo { height: 50px; }
  .mt__phone { font-size: 0; gap: 0; }
  .mt__phone svg { width: 22px; height: 22px; }
  .countdown { gap: 10px; }
  .countdown > div { width: calc(25% - 7.5px); height: 84px; }
  .countdown strong { font-size: 28px; }
  .countdown span { font-size: 11px; }
  .mt__field { flex-direction: column; border-radius: 16px; }
  .mt__field input { flex: none; height: 48px; }
  .mt__field .btn { width: 100%; }
  .mt__badge { left: 12px; bottom: 20px; }
  .mt__art .nf__sparkle--1 { left: 2%; }
  .mt__art .nf__sparkle--2 { right: 2%; }

  .article { font-size: 16.5px; }
  .article-cover { margin: -30px 0 36px; }
  .callout { flex-direction: column; gap: 14px; padding: 22px; }
  .article blockquote { padding: 28px 24px; }
  .checklist-box { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; padding: 24px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__item--next { text-align: left; }
}

@media (max-width: 420px) {
  .footer__links { grid-template-columns: 1fr; }
  .hero__actions { gap: 20px; }
}

/* ==========================================================
   WP additions
   ========================================================== */

/* Self-hosted Archivo (variable font, latin subset, 400-700) */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Hero background. Templates can override --hero-bg with the image from the admin. */
:root { --hero-bg: url("../images/hero.webp"); }
@media (max-width: 1024px) {
  :root { --hero-bg: url("../images/hero-1024.webp"); }
}

/* Spam trap field in forms. Hidden from people, bots fill it in. */
.densi-hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* Text for screen readers only (WordPress uses it, e.g. in pagination). */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Blog pagination, same look as the category pills. */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
  display: inline-block;
  min-width: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(16,13,107,.2);
  font-size: 14.5px;
  text-align: center;
  color: var(--navy);
  transition: .2s;
}
.pagination a.page-numbers:hover { border-color: var(--navy); }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pagination .page-numbers.dots { border-color: transparent; }

/* Tags are links in WordPress. */
.tags a:hover { color: var(--navy); }

/* Post content from the block editor. */
.article img { height: auto; }
.article .wp-block-list:not(.checklist) { margin: 0 0 20px; padding-left: 1.4em; }
.article ul.wp-block-list:not(.checklist) { list-style: disc; }
.article ol.wp-block-list { list-style: decimal; }
.article .wp-block-list li + li { margin-top: 6px; }

/* "Next article" stays on the right when there is no previous article. */
@media (min-width: 721px) {
  .post-nav__item--next:only-child { grid-column: 2; }
}
