/* ============================================================
   Find My Fixes — modern theme
   Designed 2026 · Mobile-first · 0 build step required
   ============================================================ */

/* Tokens ---------------------------------------------------- */
:root {
  --c-bg: #ffffff;
  --c-bg-alt: #f7f8fa;
  --c-bg-dark: #0b0b0f;
  --c-surface: #ffffff;
  --c-border: #e6e7eb;
  --c-text: #18181b;
  --c-text-muted: #5b5d6b;
  --c-text-on-dark: #f3f4f6;
  --c-text-on-dark-muted: #a1a1aa;

  --c-brand: #e63946;
  --c-brand-dark: #9d0208;
  --c-brand-soft: #fde8ea;
  --c-accent: #0ea5a3;

  --grad-brand: linear-gradient(135deg, #e63946 0%, #9d0208 100%);
  --grad-hero: radial-gradient(1200px 600px at 80% -10%, rgba(230,57,70,.35), transparent 60%),
               radial-gradient(800px 400px at -10% 110%, rgba(14,165,163,.18), transparent 60%),
               linear-gradient(180deg, #0b0b0f 0%, #18181b 100%);

  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --shadow-md: 0 4px 6px -1px rgba(15,23,42,.08), 0 2px 4px -2px rgba(15,23,42,.06);
  --shadow-lg: 0 16px 32px -12px rgba(15,23,42,.18), 0 4px 8px -4px rgba(15,23,42,.08);
  --shadow-glow: 0 8px 32px -8px rgba(230,57,70,.45);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1200px;
  --container-sm: 880px;
  --container-md: 1040px;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(.22,.61,.36,1);
  --t-fast: .15s;
  --t: .25s;
  --t-slow: .4s;
}

/* Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }

/* Typography ------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-text);
}
h1 { font-size: clamp(2rem, 4.6vw + 1rem, 4rem); }
h2 { font-size: clamp(1.6rem, 2.6vw + 1rem, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.4vw + 1rem, 1.7rem); }
h4 { font-size: 1.15rem; }
p { color: var(--c-text); }
.lead { font-size: clamp(1.05rem, .6vw + .9rem, 1.25rem); color: var(--c-text-muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-brand);
}
.eyebrow::before {
  content: ""; width: 32px; height: 2px;
  background: var(--c-brand); border-radius: 2px;
}
.section-title { text-align: center; margin: .5rem auto 1rem; max-width: 720px; }
.section-sub { text-align: center; max-width: 700px; margin: 0 auto 3rem; color: var(--c-text-muted); }

/* Layout ---------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.container.sm { max-width: var(--container-sm); }
.container.md { max-width: var(--container-md); }
.section { padding: clamp(3rem, 6vw, 6rem) 0; }
.section.alt { background: var(--c-bg-alt); }
.section.dark { background: var(--c-bg-dark); color: var(--c-text-on-dark); }
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: var(--c-text-on-dark); }
.section.dark .lead, .section.dark p { color: var(--c-text-on-dark-muted); }

.grid { display: grid; gap: 1.5rem; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (min-width: 768px) {
  .grid.md-cols-2 { grid-template-columns: 1fr 1fr; }
  .grid.md-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Standalone grid-3 / grid-2 (used by blog index, related-posts, etc.) */
.grid-2, .grid-3 { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; font-weight: 600; font-size: .98rem;
  border-radius: var(--radius-pill);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out), background var(--t), color var(--t);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn.primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.btn.primary:hover { box-shadow: 0 12px 28px -8px rgba(230,57,70,.55); }
.btn.ghost { background: transparent; color: var(--c-text); border-color: var(--c-border); }
.btn.ghost:hover { background: var(--c-bg-alt); }
.btn.dark { background: var(--c-text); color: #fff; }
.btn.dark:hover { background: #2a2a2f; }
.btn.lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn.sm { padding: .55rem 1rem; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Header / Nav ---------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  border-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 0;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--c-text); font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; }
.brand img { height: 36px; width: auto; }
.brand .word { display: inline; }
.brand .word b { color: var(--c-brand); }

.nav-menu { display: none; gap: .25rem; align-items: center; }
.nav-menu a {
  padding: .55rem .9rem; font-weight: 500; color: var(--c-text);
  border-radius: var(--radius-pill);
  transition: color var(--t), background var(--t);
}
.nav-menu a:hover { color: var(--c-brand); background: var(--c-brand-soft); }
.nav-menu a.active { color: var(--c-brand); }
.nav-cta { display: none; align-items: center; gap: .5rem; }

.menu-btn {
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-border); background: #fff;
}
.menu-btn svg { width: 22px; height: 22px; }
@media (min-width: 960px) {
  .nav-menu { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-btn { display: none; }
}
.mobile-menu {
  display: none; flex-direction: column; gap: .25rem;
  padding: .8rem 1.25rem 1.25rem;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--c-border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: .85rem 1rem; border-radius: 12px; font-weight: 500;
}
.mobile-menu a:hover { background: var(--c-bg-alt); color: var(--c-brand); }
.mobile-menu .btn { margin-top: .6rem; }

/* Hero ------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate;
  padding: 9rem 0 5rem;
  background: var(--grad-hero);
  color: var(--c-text-on-dark);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero .grid-content { position: relative; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 11rem 0 7rem; }
  .hero .grid-content { grid-template-columns: 1.2fr .8fr; gap: 4rem; }
}
.hero h1 { color: #fff; }
.hero h1 .accent {
  background: linear-gradient(90deg, #fca5a5, #ef4444);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--c-text-on-dark-muted); margin-top: 1.25rem; max-width: 36rem; font-size: 1.1rem; }
.hero .stats {
  display: flex; flex-wrap: wrap; gap: 1.75rem; margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem;
}
.hero .stat .num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: #fff; }
.hero .stat .lbl { font-size: .82rem; color: var(--c-text-on-dark-muted); }
.hero .visual {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  display: grid; place-items: center; padding: 2rem;
  overflow: hidden;
}
.hero .visual img { object-fit: cover; height: 100%; width: 100%; border-radius: var(--radius); }
.hero .badge {
  position: absolute; bottom: 1rem; left: 1rem;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem .85rem; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.96); color: var(--c-text);
  font-size: .85rem; font-weight: 600;
  box-shadow: var(--shadow-md);
}
.hero .badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.25); }

/* Trust strip ---------------------------------------------- */
.trust-strip {
  background: #fff; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border);
  padding: 1.25rem 0;
}
.trust-strip .row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 768px) { .trust-strip .row { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; gap: .8rem; align-items: center; }
.trust-item .ico {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--c-brand-soft); color: var(--c-brand);
  display: grid; place-items: center; flex-shrink: 0;
}
.trust-item .ico svg { width: 22px; height: 22px; }
.trust-item .num { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.trust-item .lbl { font-size: .85rem; color: var(--c-text-muted); }

/* Cards ----------------------------------------------------- */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out), border-color var(--t);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card.feature .ico {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--grad-brand); color: #fff;
  display: grid; place-items: center; margin-bottom: 1rem;
  box-shadow: var(--shadow-glow);
}
.card.feature .ico svg { width: 28px; height: 28px; }
.card.feature h3 { margin-bottom: .5rem; }
.card.feature p { color: var(--c-text-muted); font-size: .98rem; }

/* Services grid -------------------------------------------- */
.service-card {
  position: relative; overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  transition: all var(--t) var(--ease-out);
  display: flex; flex-direction: column; gap: 1rem;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-brand);
}
.service-card .icon-wrap {
  width: 64px; height: 64px; border-radius: 18px;
  background: var(--c-brand-soft);
  display: grid; place-items: center;
}
.service-card .icon-wrap img { width: 36px; height: 36px; }
.service-card h3 { margin: 0; }
.service-card p { color: var(--c-text-muted); font-size: .96rem; }
.service-card .more {
  margin-top: auto; display: inline-flex; align-items: center; gap: .35rem;
  color: var(--c-brand); font-weight: 600; font-size: .92rem;
}
.service-card .more::after { content: "→"; transition: transform var(--t); }
.service-card:hover .more::after { transform: translateX(4px); }

/* Pricing --------------------------------------------------- */
.pricing-table {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.pricing-table table { width: 100%; border-collapse: collapse; }
.pricing-table th, .pricing-table td {
  padding: 1rem 1.25rem; text-align: left;
  border-bottom: 1px solid var(--c-border);
}
.pricing-table th { background: var(--c-bg-alt); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; color: var(--c-text-muted); }
.pricing-table tr:last-child td { border-bottom: 0; }
.pricing-table td.price { text-align: right; font-family: var(--font-display); font-weight: 700; color: var(--c-brand); }
.pricing-note { color: var(--c-text-muted); font-size: .85rem; margin-top: .75rem; text-align: center; }

/* Stats / Achievements ------------------------------------- */
.stats-band {
  position: relative; isolation: isolate;
  padding: 4rem 0; overflow: hidden;
  background: var(--grad-hero);
  color: #fff;
  border-radius: var(--radius-lg);
}
.stats-band .stat { text-align: center; padding: .5rem; }
.stats-band .stat .n {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4vw + 1rem, 3.4rem); color: #fff;
}
.stats-band .stat .l { color: var(--c-text-on-dark-muted); margin-top: .25rem; }

/* Testimonials --------------------------------------------- */
.testimonial {
  padding: 1.75rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--c-border);
  display: flex; flex-direction: column; gap: 1rem;
  height: 100%;
}
.testimonial .stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: .15em; }
.testimonial p { color: var(--c-text); font-size: .98rem; }
.testimonial .who { display: flex; gap: .75rem; align-items: center; margin-top: auto; }
.testimonial .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-brand); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.testimonial .name { font-weight: 700; }
.testimonial .meta { color: var(--c-text-muted); font-size: .85rem; }

/* FAQ accordion -------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: .8rem; }
.faq-item {
  border: 1px solid var(--c-border); border-radius: var(--radius);
  background: #fff; overflow: hidden; transition: border-color var(--t);
}
.faq-item[open] { border-color: var(--c-brand); box-shadow: var(--shadow-md); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem; cursor: pointer; font-weight: 600;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; color: var(--c-brand); font-weight: 400;
  transition: transform var(--t);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .body { padding: 0 1.25rem 1.1rem; color: var(--c-text-muted); }

/* Forms ----------------------------------------------------- */
.form { display: grid; gap: 1rem; }
.form .field { display: flex; flex-direction: column; gap: .35rem; }
.form label { font-size: .9rem; font-weight: 500; color: var(--c-text); }
.form input, .form textarea, .form select {
  border: 1.5px solid var(--c-border);
  background: #fff;
  padding: .8rem 1rem;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color var(--t), box-shadow var(--t);
  width: 100%;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--c-brand);
  box-shadow: 0 0 0 4px rgba(230,57,70,.15);
}
.form textarea { resize: vertical; min-height: 120px; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form .row-2 { grid-template-columns: 1fr; } }

/* Floating action buttons ---------------------------------- */
.fab-stack {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  display: flex; flex-direction: column; gap: .6rem;
}
.fab {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow-lg);
  transition: transform var(--t);
}
.fab:hover { transform: scale(1.07); }
.fab.whatsapp { background: #25d366; }
.fab.call { background: var(--c-brand); }
.fab svg { width: 24px; height: 24px; }

/* Footer ---------------------------------------------------- */
.site-footer {
  background: #0b0b0f; color: var(--c-text-on-dark-muted);
  padding: 4rem 0 1.5rem;
}
.site-footer .grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .site-footer .grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; letter-spacing: .04em; text-transform: uppercase; }
.site-footer ul { display: flex; flex-direction: column; gap: .65rem; }
.site-footer a { color: var(--c-text-on-dark-muted); transition: color var(--t); }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }
.site-footer .brand img { filter: brightness(1); }
.site-footer .legal {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
  font-size: .88rem;
}
.site-footer .socials { display: flex; gap: .5rem; }
.site-footer .socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.06); display: grid; place-items: center;
  transition: background var(--t);
}
.site-footer .socials a:hover { background: var(--c-brand); }
.site-footer .socials img { width: 18px; height: 18px; filter: invert(1) brightness(2); }

/* Page banner ---------------------------------------------- */
.page-banner {
  position: relative; isolation: isolate;
  padding: 7rem 0 3rem;
  background: var(--grad-hero); color: #fff;
  text-align: center;
}
.page-banner h1 { color: #fff; }
.page-banner .breadcrumb {
  display: inline-flex; gap: .5rem; align-items: center;
  font-size: .9rem; color: var(--c-text-on-dark-muted);
  margin-bottom: 1rem;
}
.page-banner .breadcrumb a { color: var(--c-text-on-dark-muted); }
.page-banner .breadcrumb a:hover { color: #fff; }
.page-banner .breadcrumb .sep { color: rgba(255,255,255,.3); }

/* Blog ------------------------------------------------------ */
.blog-card {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card .img-wrap { aspect-ratio: 16/9; overflow: hidden; }
.blog-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.blog-card:hover .img-wrap img { transform: scale(1.05); }
.blog-card .body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.blog-card .tag {
  display: inline-block; align-self: flex-start;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-brand); padding: .25rem .6rem; background: var(--c-brand-soft);
  border-radius: var(--radius-pill);
}
.blog-card h3 { font-size: 1.2rem; }
.blog-card .meta { color: var(--c-text-muted); font-size: .85rem; margin-top: auto; }

.post-content {
  max-width: 700px; margin: 3rem auto; padding: 0 1.25rem;
  font-size: 1.06rem; line-height: 1.8;
}
.post-content h2 { margin-top: 2.5rem; margin-bottom: .8rem; }
.post-content h3 { margin-top: 2rem; margin-bottom: .6rem; }
.post-content p { margin-bottom: 1.1rem; color: #2c2c33; }
.post-content ul, .post-content ol {
  padding-left: 1.4rem; margin-bottom: 1.2rem;
}
.post-content ul li { list-style: disc; margin-bottom: .5rem; }
.post-content ol li { list-style: decimal; margin-bottom: .5rem; }
.post-content blockquote {
  border-left: 4px solid var(--c-brand);
  padding: .25rem 0 .25rem 1.25rem; margin: 1.5rem 0;
  color: var(--c-text-muted); font-style: italic;
}
.post-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.post-content a { color: var(--c-brand); font-weight: 600; border-bottom: 1px solid currentColor; }

.post-hero {
  padding: 7rem 0 2rem;
  background: var(--grad-hero); color: #fff;
}
.post-hero .container { max-width: 760px; }
.post-hero .tag {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fca5a5; margin-bottom: 1rem;
}
.post-hero h1 { color: #fff; margin-bottom: 1rem; }
.post-hero .meta { color: var(--c-text-on-dark-muted); display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* CTA band -------------------------------------------------- */
.cta-band {
  position: relative; isolation: isolate;
  padding: 4rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--grad-brand);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 40%),
                    radial-gradient(circle at 80% 80%, rgba(255,255,255,.12), transparent 40%);
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.92); position: relative; max-width: 540px; margin: 1rem auto 2rem; }
.cta-band .btn-row { position: relative; justify-content: center; }
.cta-band .btn.ghost { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.cta-band .btn.ghost:hover { background: rgba(255,255,255,.12); }

/* Logos strip ---------------------------------------------- */
.logos-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  align-items: center;
}
@media (min-width: 600px) { .logos-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .logos-grid { grid-template-columns: repeat(8, 1fr); } }
.logos-grid img {
  width: 100%; max-height: 60px; object-fit: contain;
  filter: grayscale(1) opacity(.55);
  transition: filter var(--t);
}
.logos-grid img:hover { filter: grayscale(0) opacity(1); }

/* Utilities ------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.muted { color: var(--c-text-muted); }
.brand-color { color: var(--c-brand); }
.hidden { display: none; }

/* Reveal-on-scroll animation ------------------------------- */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Additional layout helpers (extension) ============== */

/* Inner page hero — dark gradient banner like home hero, but compact */
.page-hero {
  position: relative;
  background:
    radial-gradient(1100px 480px at 80% -10%, rgba(230,57,70,0.30), transparent 60%),
    radial-gradient(700px 380px at 5% 110%, rgba(157,2,8,0.30), transparent 60%),
    linear-gradient(180deg, #0b0b0f 0%, #18181b 100%);
  color: #fff;
  padding: 7rem 0 4.5rem;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(circle at center, #000 35%, transparent 75%);
          mask-image: radial-gradient(circle at center, #000 35%, transparent 75%);
  z-index: -1;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  margin: .6rem 0 1rem;
  line-height: 1.1;
  color: #fff;
}
.page-hero .lede {
  max-width: 720px;
  font-size: 1.075rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

/* Layout helpers ------------------------------------------ */
.container.narrow, .narrow { max-width: 800px; margin-left: auto; margin-right: auto; }
.section { padding: 5rem 0; }
.section.bg-soft { background: #f9fafb; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; }
.section-head .lede { color: var(--c-text-muted, #4b5563); margin-top: .8rem; }
.section-head + .grid-3, .section-head + .grid-2 { margin-top: 1rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

/* Stats band on inner pages */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; color: #fff; }
.stats-grid .num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.stats-grid .lbl { color: rgba(255,255,255,0.7); margin-top: .25rem; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* Steps list */
ol.steps { list-style: none; padding: 0; counter-reset: step; max-width: 820px; margin: 0 auto; }
ol.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.3rem 1.4rem 1.3rem 4rem;
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 14px;
  margin-bottom: .9rem;
  font-size: 1.02rem;
  line-height: 1.55;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem; top: 1.1rem;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  display: grid; place-items: center;
  font-size: 1rem;
}

/* Brand grid */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  max-width: 940px; margin: 0 auto;
}
.brand-grid span {
  background: #fff;
  border: 1px solid #ececef;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  color: #2a2a2e;
  font-size: .93rem;
}
@media (max-width: 720px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }

/* Contact items */
.contact-item {
  display: flex; gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #ececef;
}
.contact-item:last-child { border-bottom: 0; }
.contact-item .ic {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
  border-radius: 12px;
  font-size: 1.25rem;
}
.contact-item h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.contact-item p { margin: 0 0 .25rem; color: #6b7280; font-size: .92rem; }
.big-link { font-weight: 700; color: var(--c-brand); font-size: 1.08rem; }

/* Form */
.form { background: #fff; padding: 1.75rem; border-radius: 18px; border: 1px solid #ececef; box-shadow: 0 8px 24px rgba(0,0,0,0.04); }
.form h2 { margin-top: 0; font-family: var(--font-display); }
.form label { display: block; margin-top: 1rem; }
.form label > span { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .92rem; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font: inherit;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 0;
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.15);
}
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form .row-2 { grid-template-columns: 1fr; gap: 0; } }
.form button { margin-top: 1.4rem; }
.form-note { margin-top: 1rem; font-size: .8rem; color: #6b7280; text-align: center; }

/* Map */
.map-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #ececef;
  aspect-ratio: 16 / 7;
}
.map-frame iframe { border: 0; width: 100%; height: 100%; display: block; }
@media (max-width: 720px) { .map-frame { aspect-ratio: 4 / 3; } }

/* FAQ */
.faq-group { margin-bottom: 2.5rem; }
.faq-group h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid #ececef;
}
.faq-item {
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-bottom: .65rem;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-item[open] { border-color: rgba(230,57,70,0.4); box-shadow: 0 4px 14px rgba(0,0,0,0.04); }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #18181b;
  list-style: none;
  position: relative;
  padding-right: 2rem;
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem; color: var(--c-brand);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: .8rem 0 0; color: #4b5563; line-height: 1.65; }

/* Post / article content */
.post-hero {
  background: linear-gradient(180deg, #18181b 0%, #0b0b0f 100%);
  color: #fff;
  padding: 6rem 0 3rem;
}
.post-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.2;
  color: #fff;
  margin: 1rem 0 0;
  max-width: 800px;
}
.post-meta {
  color: rgba(255,255,255,0.7);
  font-size: .92rem;
}
.post-meta a { color: rgba(255,255,255,0.85); text-decoration: none; }
.post-meta a:hover { color: #fff; }

.post-content { font-size: 1.075rem; line-height: 1.78; color: #2a2a2e; }
.post-content > p:first-child.lede {
  font-size: 1.2rem;
  color: #18181b;
  border-left: 4px solid var(--c-brand);
  padding-left: 1.1rem;
  margin: 0 0 2rem;
  font-weight: 500;
}
.post-content h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 2.4rem 0 1rem;
  line-height: 1.25;
  color: #18181b;
}
.post-content h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin: 1.8rem 0 .8rem;
  color: #18181b;
}
.post-content p { margin: 0 0 1.15rem; }
.post-content ul, .post-content ol { padding-left: 1.4rem; margin: 0 0 1.4rem; }
.post-content li { margin-bottom: .5rem; }
.post-content a { color: var(--c-brand); text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: var(--c-brand-dark); }
.post-content b, .post-content strong { color: #18181b; font-weight: 700; }
.post-content .callout {
  background: #fff7f6;
  border: 1px solid #ffd5d8;
  border-left: 4px solid var(--c-brand);
  padding: 1.1rem 1.3rem;
  border-radius: 10px;
  margin: 1.5rem 0;
}
.post-content .callout.warn { background: #fff8e6; border-color: #ffe1a1; border-left-color: #d97706; }
.post-content .callout h3 { margin-top: 0; font-size: 1.05rem; }
.post-content .callout p { margin: 0; }

/* Author card */
.author-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem;
  background: #f9fafb;
  border: 1px solid #ececef;
  border-radius: 16px;
}
.author-card img { border-radius: 12px; }
.author-card p { margin: .25rem 0 0; color: #4b5563; font-size: .94rem; }

/* Post inline CTA */
.post-cta {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
  border: 1px solid #fecaca;
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
}
.post-cta h3 { margin-top: 0; font-family: var(--font-display); }

/* Blog cards */
.blog-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s var(--ease-out);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(0,0,0,0.07); border-color: rgba(230,57,70,0.3); }
.blog-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #18181b, #2a2a2e);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-thumb-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.blog-thumb-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10.5px;
  letter-spacing: 1.6px;
  font-weight: 700;
  padding: 5px 11px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
}
.blog-thumb-icon {
  width: 84px;
  height: 84px;
  color: rgba(255, 255, 255, 0.94);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
  transition: transform .35s var(--ease-out);
}
.blog-thumb-icon svg { width: 100%; height: 100%; }
.blog-card:hover .blog-thumb-icon { transform: scale(1.06) rotate(-2deg); }
.blog-card .blog-meta {
  padding: 1rem 1.25rem 0;
  font-size: .82rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.blog-card h3 {
  padding: .4rem 1.25rem .4rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0;
}
.blog-card p { padding: 0 1.25rem; color: #4b5563; flex: 1; }
.blog-card .link {
  padding: 1rem 1.25rem;
  color: var(--c-brand);
  font-weight: 600;
}

/* Thank-you & 404 */
.thank-you, .not-found {
  padding: 6rem 0 5rem;
  text-align: center;
}
.thank-you .check {
  width: 88px; height: 88px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--grad-brand);
  display: grid; place-items: center;
  font-size: 2.2rem; color: #fff;
  box-shadow: 0 12px 32px rgba(230,57,70,0.35);
}
.thank-you h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); }
.thank-you .lede, .not-found .lede { max-width: 640px; margin: 1rem auto; color: #4b5563; font-size: 1.05rem; }
.not-found .big-num {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  line-height: 1;
}
.not-found h1 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 1rem 0 0; }
.not-found .grid-3 { text-align: left; max-width: 980px; margin: 2.5rem auto 0; }

/* Print styles --------------------------------------------- */
@media print {
  .site-header, .site-footer, .fab-stack, .cta-band, .menu-btn { display: none !important; }
  .hero, .page-banner, .page-hero, .post-hero { background: none !important; color: #000 !important; padding: 1rem 0 !important; }
  .hero h1, .page-banner h1, .page-hero h1, .post-hero h1 { color: #000 !important; }
}
