/*
Theme Name: Sydney Reliable Cleaners
Theme URI: https://sydreliablecleaners.com/
Author: Sydney Reliable Cleaners
Author URI: https://sydreliablecleaners.com/
Description: A clean, modern, mobile-friendly WordPress theme built for cleaning and home-service businesses. Includes a complete homepage (hero, services, why-us, process, pricing, testimonials, FAQ and contact), full WordPress Customizer support so you can edit every business detail with no coding, and built-in Contact Form 7 and Classic Editor compatibility.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: src
Tags: business, services, custom-logo, custom-menu, featured-images, footer-widgets, threaded-comments, translation-ready, blog
*/

/* =========================================================================
   Sydney Reliable Cleaners — Design System
   Identity: "Fresh & Spotless" — water-blue to mint, calm and trustworthy.
   ------------------------------------------------------------------------- */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --brand:        #0E63C9; /* trustworthy water blue */
  --brand-600:    #0B57B4;
  --brand-700:    #0A4D9E; /* hover / strong */
  --navy:         #14233F; /* deep ink for headings */
  --mint:         #14C2A3; /* fresh / clean */
  --mint-600:     #0FB093;
  --mint-soft:    #E5FBF4;
  --amber:        #FFB627; /* review stars only */

  /* Neutrals */
  --ink:          #1C2A44; /* body text */
  --muted:        #5B6B86; /* secondary text */
  --line:         #E6EDF7; /* hairline borders */
  --line-2:       #D8E2F0;
  --bg:           #FFFFFF;
  --bg-soft:      #F4F8FD; /* alternate section bg */
  --bg-tint:      #EEF5FE;
  --white:        #FFFFFF;

  /* Brand atmosphere gradient (water -> fresh) */
  --grad: linear-gradient(135deg, #0E63C9 0%, #1488C9 45%, #14C2A3 100%);
  --grad-soft: linear-gradient(135deg, #EEF5FE 0%, #E5FBF4 100%);

  /* Type */
  --font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Shape & depth */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(20, 35, 63, .06), 0 2px 6px rgba(20, 35, 63, .05);
  --shadow:    0 10px 30px rgba(14, 99, 201, .10), 0 4px 10px rgba(20, 35, 63, .05);
  --shadow-lg: 0 24px 60px rgba(14, 99, 201, .16), 0 8px 20px rgba(20, 35, 63, .08);

  /* Layout */
  --container: 1180px;
  --gap: 28px;
  --section-y: 96px;

  --transition: .25s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-700); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
strong { font-weight: 600; color: var(--navy); }
blockquote {
  margin: 1.5em 0; padding: 1em 1.4em;
  border-left: 4px solid var(--mint);
  background: var(--bg-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---------- Accessibility ---------- */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--grad-soft); }
.section--navy { background: var(--navy); }
.section--tight { padding-block: 64px; }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p.lead { color: var(--muted); font-size: 1.06rem; margin-top: .2em; }

/* Eyebrow with sparkle signature */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 16px; height: 16px; flex: none;
  background-color: var(--mint);
  -webkit-mask: var(--spark) center / contain no-repeat;
          mask: var(--spark) center / contain no-repeat;
}
.section-head.left .eyebrow { justify-content: flex-start; }

/* Sparkle mask (the signature mark) */
:root {
  --spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 5.7 3.3 8.4 9 9-5.7.6-8.4 3.3-9 9-.6-5.7-3.3-8.4-9-9 5.7-.6 8.4-3.3 9-9Z'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 16px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(14, 99, 201, .28); }
.btn--primary:hover { background: var(--brand-700); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(14, 99, 201, .34); }
.btn--accent { background: var(--mint); color: #06352c; box-shadow: 0 8px 20px rgba(20, 194, 163, .3); }
.btn--accent:hover { background: var(--mint-600); color: #06352c; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--bg-tint); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--brand); }
.btn--white:hover { background: #fff; color: var(--brand-700); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ============================== HEADER ============================== */
.topbar {
  background: var(--navy); color: #cfe0f7;
  font-size: .86rem; letter-spacing: .01em;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 9px; flex-wrap: wrap; }
.topbar a { color: #eaf2ff; font-weight: 500; }
.topbar a:hover { color: #fff; }
.topbar__left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { width: 15px; height: 15px; color: var(--mint); }
.topbar__socials { display: flex; align-items: center; gap: 14px; }
.topbar__socials a { display: inline-flex; opacity: .85; }
.topbar__socials a:hover { opacity: 1; transform: translateY(-1px); }
.topbar__socials svg { width: 16px; height: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition), padding var(--transition);
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(20, 35, 63, .08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { max-height: 52px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; color: var(--navy); letter-spacing: -.02em; }
.brand__name span { color: var(--brand); }
.brand__tag { font-size: .72rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: var(--grad); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(14,99,201,.3);
}
.brand__mark svg { width: 22px; height: 22px; color: #fff; }

/* Primary nav */
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.primary-nav li { margin: 0; position: relative; }
.primary-nav a {
  display: block; padding: 10px 14px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 500; font-size: .98rem; color: var(--ink);
}
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--brand); background: var(--bg-tint); }
/* dropdowns */
.primary-nav ul ul {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; flex-direction: column; align-items: stretch; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--transition); z-index: 60;
}
.primary-nav li:hover > ul, .primary-nav li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav ul ul a { padding: 10px 14px; font-size: .94rem; }

.header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header__phone { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; color: var(--navy); }
.header__phone svg { width: 20px; height: 20px; color: var(--brand); }
.header__phone small { display: block; font-weight: 500; font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; line-height: 1; margin-bottom: 3px; }
.header__phone span { font-size: 1.06rem; line-height: 1; }

/* Hamburger */
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); background: #fff;
  border-radius: 12px; cursor: pointer; padding: 0; place-items: center; color: var(--navy);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ============================== HERO ============================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-soft);
  padding-block: clamp(56px, 8vw, 104px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(20,194,163,.16), transparent 60%),
    radial-gradient(760px 520px at 5% 110%, rgba(14,99,201,.12), transparent 60%);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  padding: 8px 16px 8px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  font-family: var(--font-display); color: var(--navy); margin-bottom: 22px; letter-spacing: .01em;
}
.hero__eyebrow b { color: var(--brand); font-weight: 700; }
.hero__eyebrow .spark { width: 18px; height: 18px; background: var(--mint); -webkit-mask: var(--spark) center/contain no-repeat; mask: var(--spark) center/contain no-repeat; flex: none; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .28em; z-index: -1;
  background: var(--mint-soft); border-radius: 4px;
}
.hero__lead { font-size: 1.16rem; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__trust-item { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; font-size: .95rem; color: var(--navy); }
.hero__trust-item svg { width: 20px; height: 20px; color: var(--mint-600); flex: none; }

/* Hero visual */
.hero__media { position: relative; }
.hero__photo {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: var(--grad);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
/* When the hero holds a logo/graphic rather than a photo, show the whole thing on a clean card */
.hero__photo--contain { background: #fff; border: 1px solid var(--line); }
.hero__photo--contain img { object-fit: contain; padding: 12%; }
/* Decorative fallback when no photo is set */
.hero__photo--placeholder { display: grid; place-items: center; }
.hero__photo--placeholder .ph-art { width: 56%; opacity: .92; color: rgba(255,255,255,.95); }
.hero__photo--placeholder .ph-note { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-size: .82rem; font-family: var(--font-display); letter-spacing: .04em; }

.hero__badge {
  position: absolute; left: -22px; bottom: 38px; z-index: 3;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 16px 20px; display: flex; align-items: center; gap: 14px; max-width: 250px;
}
.hero__badge .ring {
  width: 50px; height: 50px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--mint-soft); color: var(--mint-600);
}
.hero__badge .ring svg { width: 26px; height: 26px; }
.hero__badge b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); line-height: 1.1; }
.hero__badge small { color: var(--muted); font-size: .82rem; }

.hero__rating {
  position: absolute; right: -16px; top: 30px; z-index: 3;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px 18px; text-align: center;
}
.hero__rating .stars { color: var(--amber); display: flex; gap: 2px; justify-content: center; margin-bottom: 4px; }
.hero__rating .stars svg { width: 16px; height: 16px; }
.hero__rating b { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); display: block; line-height: 1; }
.hero__rating small { color: var(--muted); font-size: .76rem; }

/* Stats band */
.stats-band { position: relative; z-index: 2; margin-top: clamp(48px, 6vw, 72px); }
.stats-band__inner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.stat { padding: 26px 22px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--brand); line-height: 1; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: .92rem; font-weight: 500; }

/* ============================== TRUST LOGOS / FEATURES MINI ============================== */
.featurelet { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.featurelet__item { display: flex; gap: 16px; align-items: flex-start; }
.featurelet__icon {
  width: 54px; height: 54px; flex: none; border-radius: 14px; display: grid; place-items: center;
  background: var(--mint-soft); color: var(--mint-600);
}
.featurelet__icon svg { width: 26px; height: 26px; }
.featurelet__item h3 { font-size: 1.12rem; margin-bottom: .25em; }
.featurelet__item p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ============================== SERVICES ============================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--grad-soft); color: var(--brand);
}
.service-card__icon svg { width: 32px; height: 32px; }
.service-card h3 { margin-bottom: .4em; }
.service-card p { color: var(--muted); font-size: .97rem; margin-bottom: 1em; }
.service-card .more {
  font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--brand);
  display: inline-flex; align-items: center; gap: 7px;
}
.service-card .more svg { width: 16px; height: 16px; transition: transform var(--transition); }
.service-card:hover .more svg { transform: translateX(4px); }

/* ============================== ABOUT ============================== */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.about-media { position: relative; }
.about-media__img {
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 6; background: var(--grad);
}
.about-media__img img { width: 100%; height: 100%; object-fit: cover; }
.about-media__img.placeholder { display: grid; place-items: center; }
.about-media__img.placeholder svg { width: 46%; color: rgba(255,255,255,.92); }
.about-badge {
  position: absolute; right: -18px; bottom: 34px;
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 20px 26px; text-align: center; box-shadow: var(--shadow-lg);
}
.about-badge b { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; display: block; }
.about-badge b .plus { color: var(--mint); }
.about-badge span { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #b9cbe6; }

.about-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 14px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; color: var(--ink); font-weight: 500; }
.about-list li svg { width: 22px; height: 22px; color: var(--mint-600); flex: none; margin-top: 2px; }

/* ============================== WHY US ============================== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--bg-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.why-card__icon svg { width: 28px; height: 28px; }
.why-card h3 { font-size: 1.16rem; margin-bottom: .35em; }
.why-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ============================== PROCESS ============================== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); counter-reset: step; }
.process-step { position: relative; text-align: center; padding: 0 8px; }
.process-step__num {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line-2); position: relative;
}
.process-step__num svg { width: 34px; height: 34px; color: var(--brand); }
.process-step__num::after {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -8px; right: -8px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--mint); color: #06352c; font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  display: grid; place-items: center; box-shadow: 0 4px 10px rgba(20,194,163,.4);
}
.process-step h3 { font-size: 1.14rem; margin-bottom: .35em; }
.process-step p { color: var(--muted); font-size: .94rem; margin: 0; }
/* connector line */
.process-grid .process-step::before {
  content: ""; position: absolute; top: 38px; left: calc(50% + 50px); right: calc(-50% + 50px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px);
}
.process-grid .process-step:last-child::before { display: none; }

/* ============================== PRICING ============================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 32px;
  display: flex; flex-direction: column; position: relative; transition: transform var(--transition), box-shadow var(--transition);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.is-featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.price-card__tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .76rem;
  letter-spacing: .08em; text-transform: uppercase; padding: 7px 18px; border-radius: 999px; box-shadow: var(--shadow);
}
.price-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--navy); margin-bottom: 6px; }
.price-card__sub { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.price-card__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 22px; }
.price-card__price .cur { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--navy); }
.price-card__price .amt { font-family: var(--font-display); font-weight: 700; font-size: 3.1rem; color: var(--navy); line-height: 1; }
.price-card__price .per { color: var(--muted); font-size: 1rem; }
.price-card__features { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.price-card__features li { display: flex; gap: 11px; align-items: flex-start; margin: 0; font-size: .95rem; color: var(--ink); }
.price-card__features li svg { width: 20px; height: 20px; color: var(--mint-600); flex: none; margin-top: 1px; }
.price-card .btn { margin-top: auto; }
.pricing-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 32px; }

/* ============================== TESTIMONIALS ============================== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.testi-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px;
  display: flex; flex-direction: column; position: relative;
}
.testi-card__quote { color: var(--mint); opacity: .5; }
.testi-card__quote svg { width: 40px; height: 40px; }
.testi-card .stars { color: var(--amber); display: flex; gap: 3px; margin: 14px 0; }
.testi-card .stars svg { width: 18px; height: 18px; }
.testi-card p { color: var(--ink); font-size: 1rem; margin-bottom: 22px; flex: 1; }
.testi-card__who { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.testi-card__avatar {
  width: 50px; height: 50px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
}
.testi-card__who b { font-family: var(--font-display); color: var(--navy); display: block; font-size: 1rem; }
.testi-card__who span { color: var(--muted); font-size: .85rem; }

/* ============================== CTA BAND ============================== */
.cta-band { position: relative; overflow: hidden; }
.cta-band__inner {
  background: var(--grad); border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 68px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 36px; align-items: center; position: relative; overflow: hidden;
}
.cta-band__inner::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.10);
}
.cta-band__inner::after {
  content: ""; position: absolute; left: 8%; bottom: -90px; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cta-band h2 { color: #fff; position: relative; z-index: 1; margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.92); position: relative; z-index: 1; margin: 0; font-size: 1.08rem; }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.cta-band__phone { color: #fff; font-family: var(--font-display); font-weight: 600; text-align: center; }
.cta-band__phone span { display: block; font-weight: 400; font-size: .82rem; color: rgba(255,255,255,.8); margin-bottom: 4px; }
.cta-band__phone a { color: #fff; font-size: 1.5rem; }
.cta-band__phone a:hover { color: #fff; }

/* ============================== FAQ ============================== */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; transition: box-shadow var(--transition); }
.faq-item.is-open { box-shadow: var(--shadow); border-color: transparent; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: var(--navy);
}
.faq-q:hover { color: var(--brand); }
.faq-q .ic { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--bg-tint); color: var(--brand); display: grid; place-items: center; transition: transform var(--transition), background var(--transition); }
.faq-q .ic svg { width: 18px; height: 18px; }
.faq-item.is-open .faq-q .ic { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a__inner { padding: 0 26px 24px; color: var(--muted); }
.faq-a__inner p { margin-bottom: .8em; }

/* ============================== CONTACT ============================== */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 60px); align-items: start; }
.contact-info__card {
  background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 40px 38px; height: 100%;
}
.contact-info__card h3 { color: #fff; }
.contact-info__card > p { color: #b9cbe6; }
.contact-rows { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.contact-rows li { display: flex; gap: 16px; align-items: flex-start; margin: 0; }
.contact-rows li > span:not(.ic) { min-width: 0; flex: 1 1 auto; }
.contact-rows .ic { width: 48px; height: 48px; flex: none; border-radius: 14px; background: rgba(255,255,255,.08); color: var(--mint); display: grid; place-items: center; }
.contact-rows .ic svg { width: 22px; height: 22px; }
.contact-rows b { font-family: var(--font-display); display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #8fa6c6; margin-bottom: 4px; font-weight: 600; }
.contact-rows a, .contact-rows span { color: #fff; font-size: 1.06rem; overflow-wrap: anywhere; word-break: break-word; }
.contact-rows a:hover { color: var(--mint); }
.contact-socials { display: flex; gap: 12px; margin-top: 30px; }
.contact-socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; transition: var(--transition); }
.contact-socials a:hover { background: var(--mint); color: #06352c; transform: translateY(-2px); }
.contact-socials svg { width: 19px; height: 19px; }

.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 40px 38px; }
.contact-form-card h3 { margin-bottom: .3em; }
.contact-form-card > p.sub { color: var(--muted); margin-bottom: 26px; }

/* Style Contact Form 7 (and a graceful fallback) */
.wpcf7 .wpcf7-form p { margin-bottom: 18px; }
.wpcf7-form label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 7px; }
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form input[type=url],
.wpcf7-form input[type=number],
.wpcf7-form input[type=date],
.wpcf7-form select,
.wpcf7-form textarea,
.fallback-form input,
.fallback-form select,
.fallback-form textarea {
  width: 100%; padding: 14px 16px; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--bg-soft); border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); transition: var(--transition);
}
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus,
.fallback-form input:focus, .fallback-form select:focus, .fallback-form textarea:focus {
  outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(14,99,201,.10);
}
.wpcf7-form textarea, .fallback-form textarea { min-height: 130px; resize: vertical; }
.wpcf7-form .wpcf7-submit,
.fallback-form button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 16px 34px; border-radius: 999px; border: 0; cursor: pointer; color: #fff;
  background: var(--brand); box-shadow: 0 8px 20px rgba(14,99,201,.28); transition: var(--transition); width: 100%;
}
.wpcf7-form .wpcf7-submit:hover, .fallback-form button:hover { background: var(--brand-700); transform: translateY(-2px); }
.wpcf7-form .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.wpcf7 .wpcf7-response-output { border-radius: var(--radius-sm); margin: 18px 0 0; padding: 14px 18px; border-width: 1.5px; }
.wpcf7-not-valid-tip { color: #d63638; font-size: .85rem; }
span.wpcf7-list-item { margin-left: 0; }

/* ============================== BLOG / ARTICLES ============================== */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card__thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--grad-soft); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__thumb img { transform: scale(1.05); }
.post-card__thumb.placeholder { display: grid; place-items: center; color: var(--brand); opacity: .55; }
.post-card__thumb.placeholder svg { width: 64px; height: 64px; }
.post-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .82rem; color: var(--muted); margin-bottom: 10px; display: flex; gap: 14px; flex-wrap: wrap; }
.post-card__meta .cat { color: var(--brand); font-weight: 600; }
.post-card h3 { font-size: 1.2rem; margin-bottom: .5em; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--brand); }
.post-card p { color: var(--muted); font-size: .95rem; margin-bottom: 1em; flex: 1; }
.post-card .more { font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--brand); display: inline-flex; align-items: center; gap: 7px; }

/* Single + page content (Classic Editor friendly) */
.content-area { padding-block: var(--section-y); }
.page-hero { background: var(--grad-soft); padding-block: clamp(48px, 6vw, 80px); text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 80% 0%, rgba(20,194,163,.14), transparent 60%); }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumbs { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.breadcrumbs a { color: var(--brand); }

/* ============================== SERVICE PAGES ============================== */
.page-hero__lead { max-width: 640px; margin: 14px auto 0; color: var(--muted); font-size: 1.12rem; line-height: 1.6; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }
.page-hero .breadcrumbs { margin-top: 26px; }
.service-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.service-intro__copy p { color: var(--muted); font-size: 1.06rem; margin-bottom: 1em; }
.service-intro__copy p:first-child { font-size: 1.18rem; line-height: 1.6; color: var(--ink); }
.service-includes { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px; }
.service-includes h2 { font-size: 1.3rem; margin-bottom: 18px; }
.service-includes .about-list { margin: 0; }
@media (max-width: 980px) {
  .service-intro { grid-template-columns: 1fr; }
}

.entry { max-width: 800px; margin: 0 auto; }
.entry img { border-radius: var(--radius); margin: 1.5em 0; }
.entry h2 { margin-top: 1.6em; }
.entry h3 { margin-top: 1.4em; }
.entry .wp-block-button__link { background: var(--brand); color: #fff; border-radius: 999px; padding: 14px 28px; font-family: var(--font-display); font-weight: 600; }
.entry figure { margin: 1.5em 0; }
.entry figcaption { text-align: center; color: var(--muted); font-size: .88rem; margin-top: .6em; }
.wp-caption { max-width: 100%; }
.aligncenter { margin-inline: auto; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.sticky, .bypostauthor { display: block; }

.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.post-nav a { font-family: var(--font-display); font-weight: 600; color: var(--navy); }
.post-nav a:hover { color: var(--brand); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 12px;
  border: 1px solid var(--line-2); font-family: var(--font-display); font-weight: 600; color: var(--navy); background: #fff;
}
.pagination .page-numbers:hover, .pagination .page-numbers.current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Comments */
.comments-area { max-width: 800px; margin: 56px auto 0; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { background: var(--bg-soft); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 18px; }
.comment-author { font-family: var(--font-display); font-weight: 600; }
.comment-form input, .comment-form textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg-soft); margin-bottom: 16px; font-family: var(--font-body); }
.comment-form .submit { background: var(--brand); color: #fff; border: 0; padding: 14px 30px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; cursor: pointer; }

/* Widgets / sidebar */
.widget { margin-bottom: 36px; }
.widget-title { font-size: 1.15rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.widget ul { list-style: none; padding: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid var(--line); }

/* ============================== FOOTER ============================== */
.site-footer { background: var(--navy); color: #b9cbe6; padding-top: 76px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 56px; }
.footer-col h4 { color: #fff; font-size: 1.08rem; margin-bottom: 22px; }
.footer-about .brand__name { color: #fff; }
.footer-about .brand__name span { color: var(--mint); }
.footer-about p { color: #97acc9; font-size: .96rem; margin: 18px 0 22px; max-width: 320px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: #b9cbe6; font-size: .96rem; }
.footer-col ul a:hover { color: var(--mint); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; color: #b9cbe6; font-size: .96rem; }
.footer-contact li svg { width: 19px; height: 19px; color: var(--mint); flex: none; margin-top: 3px; }
.footer-contact a { color: #b9cbe6; }
.footer-contact a:hover { color: var(--mint); }
.footer-socials { display: flex; gap: 12px; margin-top: 6px; }
.footer-socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.07); color: #fff; display: grid; place-items: center; transition: var(--transition); }
.footer-socials a:hover { background: var(--mint); color: #06352c; transform: translateY(-3px); }
.footer-socials svg { width: 18px; height: 18px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 24px; }
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: #8fa6c6; }
.footer-bottom a { color: #b9cbe6; }
.footer-bottom a:hover { color: var(--mint); }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 50px; height: 50px; border-radius: 14px;
  background: var(--brand); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: var(--transition);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-700); transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }

/* Floating mobile call bar */
.mobile-callbar { display: none; }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 1080px) {
  :root { --section-y: 80px; }
  .hero__rating { right: 8px; }
  .hero__badge { left: 0; }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__media { max-width: 480px; margin: 0 auto; width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media { max-width: 460px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; text-align: center; }
  .cta-band__actions { align-items: center; }
  .services-grid, .why-grid, .testi-grid, .posts-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process-grid .process-step::before { display: none; }
  .featurelet { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  /* Mobile navigation */
  .hide-sm { display: none !important; }
  .topbar__left { gap: 14px; }
  .nav-toggle { display: grid; }
  .header__phone-text { display: none; }
  /* Keep the header on one tidy row: let the brand shrink instead of overflowing */
  .header__inner { gap: 12px; }
  .brand { flex: 0 1 auto; min-width: 0; gap: 10px; }
  .brand__text { min-width: 0; }
  .brand__name { font-size: 1.08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand img { max-height: 42px; }
  .header__actions { gap: 10px; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw); background: #fff;
    flex-direction: column; align-items: stretch; padding: 90px 24px 32px; gap: 0;
    box-shadow: -20px 0 60px rgba(20,35,63,.18); transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
    overflow-y: auto; z-index: 105;
  }
  body.nav-open .primary-nav { transform: translateX(0); }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .primary-nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .primary-nav ul ul {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    background: var(--bg-soft); padding: 4px 4px 4px 12px; margin: 2px 0 6px; border-radius: 12px;
  }
  .nav-overlay { position: fixed; inset: 0; background: rgba(20,35,63,.45); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 104; }
  body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
  .nav-toggle { z-index: 106; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --section-y: 64px; --gap: 20px; }
  .stats-band__inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .services-grid, .why-grid, .testi-grid, .posts-grid, .pricing-grid, .process-grid { grid-template-columns: 1fr; }
  .price-card.is-featured { order: -1; }
  .hero__rating, .hero__badge { position: static; margin: 0; box-shadow: var(--shadow); }
  .hero__media { display: flex; flex-direction: column; gap: 14px; }
  .hero__photo { order: -1; }
  .hero__extras { display: flex; gap: 12px; }
  .hero__extras .hero__rating, .hero__extras .hero__badge { flex: 1; }
  .about-badge { right: 12px; bottom: 12px; padding: 14px 18px; }
  .about-badge b { font-size: 1.7rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom__inner { flex-direction: column; text-align: center; }
  .wpcf7-form .two-col, .contact-form-card .two-col { grid-template-columns: 1fr; }
  .contact-info__card, .contact-form-card { padding: 28px 22px; }
  .to-top { right: 14px; bottom: 80px; }

  /* sticky mobile call bar */
  .mobile-callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20,35,63,.08);
  }
  .mobile-callbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; font-family: var(--font-display); font-weight: 600; font-size: .96rem; }
  .mobile-callbar a svg { width: 18px; height: 18px; }
  .mobile-callbar a.call { color: var(--brand); }
  .mobile-callbar a.book { background: var(--brand); color: #fff; }
  body { padding-bottom: 56px; }
}

@media (max-width: 420px) {
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__extras { flex-direction: column; }
  .brand__tag { display: none; }
  .brand__name { font-size: 1rem; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__mark svg { width: 20px; height: 20px; }
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.section-cta { text-align: center; margin-top: 48px; }
.is-hidden { display: none !important; }

/* ============================== BLOG LAYOUT ============================== */
.blog-layout { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 60px); align-items: start; }
.blog-layout.has-sidebar .blog-main { min-width: 0; }
@media (min-width: 981px) {
  .blog-layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 320px; }
  .blog-layout.has-sidebar .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
.blog-sidebar .widget:first-child { margin-top: 0; }
.blog-sidebar .widget select,
.blog-sidebar .widget input[type="search"] {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2);
  border-radius: var(--radius-sm); background: var(--bg-soft); font-family: var(--font-body); font-size: .95rem;
}
.blog-sidebar a { color: var(--ink); }
.blog-sidebar a:hover { color: var(--brand); }

/* Search form */
.search-form { display: flex; gap: 10px; }
.search-form .search-field {
  flex: 1; padding: 13px 16px; border: 1.5px solid var(--line-2);
  border-radius: var(--radius-sm); background: var(--bg-soft); font-family: var(--font-body); font-size: 1rem;
}
.search-form .search-field:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(14,99,201,.10); }
.search-form .search-submit {
  border: 0; cursor: pointer; padding: 0 22px; border-radius: var(--radius-sm);
  background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 600;
}
.search-form .search-submit:hover { background: var(--brand-700); }

/* 404 */
.notfound { text-align: center; max-width: 620px; margin: 0 auto; }
.notfound__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 14vw, 8rem); line-height: 1; color: var(--brand); opacity: .9; }
.notfound__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.notfound .search-form { max-width: 420px; margin: 26px auto 0; }

