/* ==========================================================================
   BLÄNK — Städfirma i Malmö
   Design system: Soft Structuralism × Asymmetrical Bento
   Fonts: Cormorant Garamond (display) + Outfit (body/UI)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand palette — Cleaning/Residential row, elevated */
  --bg: #f8faff;
  --bg-alt: #ffffff;
  --bg-mist: #eef3fc;
  --ink: #10131c;
  --ink-soft: #4c5566;
  --ink-faint: #8891a3;
  --accent: #5ba3f5;
  --accent-deep: #2f6fd6;
  --accent-soft: #dbeafe;
  --secondary: #4ecdc4;
  --dark: #12142a;
  --dark-soft: #1c2040;
  --shine: #f4cf85;      /* rare "gleam" highlight — the brand's namesake glint */
  --shine-deep: #d9a84c;
  --line: rgba(16, 19, 28, 0.08);
  --line-soft: rgba(16, 19, 28, 0.05);
  --white: #ffffff;

  /* Type */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);

  /* Shadow — soft, diffused, never harsh */
  --shadow-sm: 0 2px 12px rgba(16, 19, 28, 0.04);
  --shadow-md: 0 12px 40px rgba(16, 19, 28, 0.07);
  --shadow-lg: 0 24px 80px rgba(16, 19, 28, 0.10);
  --shadow-glow: 0 20px 60px rgba(91, 163, 245, 0.18);
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

main { overflow-x: hidden; width: 100%; max-width: 100%; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.75rem, 6vw, 5.5rem); font-weight: 600; }
h2 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); }

p { color: var(--ink-soft); }

.serif-italic { font-style: italic; font-weight: 500; color: var(--accent-deep); }

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 768px) { .container { padding-inline: 2.5rem; } }
@media (min-width: 1280px) { .container { padding-inline: 3.5rem; } }

.section {
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
  position: relative;
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-deep);
}

.section-head p.lede {
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  margin-top: 1.1rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.6rem 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.5s var(--ease-soft), box-shadow 0.5s var(--ease-soft), background-color 0.5s var(--ease-soft);
}

.btn:active { transform: scale(0.97); }

.btn-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: transform 0.5s var(--ease-spring), background-color 0.4s var(--ease-soft);
  flex-shrink: 0;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary .btn-icon { background: rgba(255,255,255,0.14); }

.btn-primary:hover { box-shadow: var(--shadow-glow); }
.btn-primary:hover .btn-icon { transform: translate(2px, -2px) scale(1.06); background: var(--accent); }

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.85rem 0.6rem 0.85rem 1.6rem;
}

.btn-ghost .btn-icon { background: var(--bg-mist); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-ghost:hover .btn-icon { transform: translate(2px, -2px) scale(1.06); background: var(--accent-soft); color: var(--accent-deep); }

.btn-light { background: var(--white); color: var(--ink); }
.btn-light .btn-icon { background: var(--bg-mist); }

.btn-block { width: 100%; justify-content: space-between; }

/* ==========================================================================
   NAV — floating glass pill + mobile morph
   ========================================================================== */

.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-top: 1.35rem;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  width: min(94%, 1180px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.65rem 0.65rem 0.65rem 1.5rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(16, 19, 28, 0.08);
  transition: box-shadow 0.5s var(--ease-soft), transform 0.5s var(--ease-soft);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .dot { color: var(--accent-deep); font-style: italic; }

.nav-links {
  display: none;
  align-items: center;
  gap: 2.1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links a { position: relative; padding-block: 0.3rem; transition: color 0.35s var(--ease-soft); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-soft);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { display: none; }

.nav-hamburger {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.nav-hamburger span {
  width: 18px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.5s var(--ease-spring), opacity 0.3s var(--ease-soft);
}

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(16, 19, 28, 0.94);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.4rem;
  padding: 2rem 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease-soft), visibility 0.6s;
}

.nav-mobile.is-open { opacity: 1; visibility: visible; }

.nav-mobile a {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 8vw, 3rem);
  font-weight: 600;
  color: var(--white);
  padding-block: 0.35rem;
  opacity: 0;
  transform: translateY(3rem);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.nav-mobile.is-open a { opacity: 1; transform: translateY(0); }
.nav-mobile.is-open a:nth-child(1) { transition-delay: 0.08s; }
.nav-mobile.is-open a:nth-child(2) { transition-delay: 0.14s; }
.nav-mobile.is-open a:nth-child(3) { transition-delay: 0.20s; }
.nav-mobile.is-open a:nth-child(4) { transition-delay: 0.26s; }
.nav-mobile.is-open a:nth-child(5) { transition-delay: 0.32s; }

.nav-mobile-foot {
  margin-top: 2.2rem;
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.7s var(--ease-out) 0.4s, transform 0.7s var(--ease-out) 0.4s;
}
.nav-mobile.is-open .nav-mobile-foot { opacity: 1; transform: translateY(0); }
.nav-mobile-foot a { font-family: var(--font-body); font-size: 1rem; color: var(--white); opacity: 0.75; }

@media (min-width: 980px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding-top: 8rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,12,20,0.32) 0%, rgba(10,12,20,0.52) 45%, rgba(10,12,20,0.92) 100%),
    linear-gradient(90deg, rgba(10,12,20,0.72) 0%, rgba(10,12,20,0.22) 62%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}

.hero-eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 rgba(78,205,196,0.6);
  animation: pulseDot 2.4s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(78,205,196,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(78,205,196,0); }
  100% { box-shadow: 0 0 0 0 rgba(78,205,196,0); }
}

.hero h1 {
  max-width: 44rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--shine);
}

.hero-sub {
  max-width: 32rem;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 2.5rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.86);
}

.hero-trust-item svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--secondary); }

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  right: clamp(1.5rem, 4vw, 3.5rem);
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.65);
}

.scroll-cue-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), transparent);
  overflow: hidden;
  position: relative;
}
.scroll-cue-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--white);
  animation: scrollLine 2.2s var(--ease-soft) infinite;
}
@keyframes scrollLine { to { top: 100%; } }

@media (min-width: 768px) { .scroll-cue { display: flex; } }

/* ==========================================================================
   MARQUEE STRIP
   ========================================================================== */

.marquee-strip {
  background: var(--dark);
  padding-block: 1.4rem;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 3.5rem;
  animation: marquee 32s linear infinite;
}

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.marquee-strip:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(255,255,255,0.88);
}

.marquee-item svg { width: 18px; height: 18px; color: var(--shine); flex-shrink: 0; }

/* ==========================================================================
   BENTO GRID — Services
   ========================================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-flow: dense;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .bento-grid { grid-template-columns: repeat(4, 1fr); }
}

.bento-item { grid-column: span 1; }

@media (min-width: 768px) {
  .bento-item.span-4 { grid-column: span 4; }
  .bento-item.span-3 { grid-column: span 3; }
  .bento-item.span-2 { grid-column: span 2; }
  .bento-item.row-2 { grid-row: span 2; }
}

/* Double-bezel card shell */
.card-shell {
  display: block;
  padding: 0.5rem;
  background: rgba(16, 19, 28, 0.035);
  border: 1px solid var(--line);
  border-radius: 2rem;
  height: 100%;
}

.card-core {
  position: relative;
  background: var(--white);
  border-radius: calc(2rem - 0.5rem);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.6);
}

.service-card {
  min-height: 21rem;
  color: var(--white);
  justify-content: flex-end;
  padding: 1.75rem;
  transition: transform 0.7s var(--ease-out);
}

.service-card .card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-card .card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}

.service-card:hover .card-media img { transform: scale(1.08); }

.service-card .card-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,20,0.12) 0%, rgba(10,12,20,0.18) 22%, rgba(10,12,20,0.72) 62%, rgba(10,12,20,0.95) 100%);
}

.service-card .card-body { position: relative; z-index: 1; }

.service-card .card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.6rem;
}

.service-card h3 { color: var(--white); margin-bottom: 0.5rem; font-size: clamp(1.35rem, 2vw, 1.7rem); }
.service-card p { color: rgba(255,255,255,0.82); font-size: 0.94rem; max-width: 24rem; }

.service-card .card-arrow {
  position: absolute;
  top: 1.75rem; right: 1.75rem;
  z-index: 1;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: transform 0.6s var(--ease-spring), background-color 0.4s;
}

.service-card:hover .card-arrow { transform: translate(3px, -3px) rotate(8deg); background: var(--accent-deep); }

/* Typographic add-on card (no image) */
.addon-card { padding: 2rem; justify-content: flex-start; background: var(--dark); color: var(--white); }
.addon-card h3 { color: var(--white); margin-bottom: 1.1rem; }
.addon-list { display: flex; flex-direction: column; gap: 0.85rem; }
.addon-list li {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.95rem; color: rgba(255,255,255,0.82);
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.addon-list li:last-child { border-bottom: none; padding-bottom: 0; }
.addon-list svg { width: 16px; height: 16px; color: var(--secondary); flex-shrink: 0; }

/* ==========================================================================
   FOUNDER — Editorial split
   ========================================================================== */

.founder-section { background: var(--bg-alt); }

.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 980px) {
  .founder-grid { grid-template-columns: 0.85fr 1.15fr; gap: 4.5rem; }
}

.founder-media {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}

.founder-media img { width: 100%; height: 100%; object-fit: cover; }

.founder-badge {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-radius: 1.1rem;
  padding: 0.9rem 1.15rem;
  display: flex; align-items: center; gap: 0.75rem;
  box-shadow: var(--shadow-md);
}

.founder-badge .avatar-ring {
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.founder-badge strong { display: block; font-size: 0.9rem; }
.founder-badge span { display: block; font-size: 0.78rem; color: var(--ink-faint); }

.founder-copy p { font-size: 1.05rem; margin-bottom: 1.2rem; }
.founder-copy p:last-of-type { margin-bottom: 1.8rem; }

.founder-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.founder-stats .stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--accent-deep);
  line-height: 1;
}

.founder-stats .stat-label {
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-top: 0.4rem;
}

/* ==========================================================================
   PROCESS
   ========================================================================== */

.process-section { background: var(--bg-mist); }

.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 900px) { .process-list { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }

.process-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.9rem 1.6rem;
  position: relative;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.process-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.process-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--accent-soft);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-item h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.process-item p { font-size: 0.92rem; }

.process-connector {
  display: none;
  position: absolute;
  top: 2.4rem; right: -1.35rem;
  color: var(--ink-faint);
}

@media (min-width: 900px) {
  .process-item:not(:last-child) .process-connector { display: block; }
}

/* ==========================================================================
   WHY US
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  overflow: hidden;
}

@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-item {
  background: var(--white);
  padding: 2.2rem 2rem;
  transition: background-color 0.5s var(--ease-soft);
}

.why-item:hover { background: var(--bg); }

.why-icon {
  width: 3rem; height: 3rem;
  border-radius: 1rem;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}

.why-icon svg { width: 22px; height: 22px; }

.why-item h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.why-item p { font-size: 0.92rem; }

/* ==========================================================================
   AREA / SERVICE MAP
   ========================================================================== */

.area-section { background: var(--dark); color: var(--white); overflow: hidden; }
.area-section .eyebrow { background: rgba(255,255,255,0.1); color: var(--secondary); }
.area-section h2 { color: var(--white); }
.area-section .lede { color: rgba(255,255,255,0.7); }

.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 980px) { .area-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 1.5rem;
}

.area-list li {
  padding-block: 0.65rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.area-list a {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.86);
  transition: color 0.35s var(--ease-soft);
}

.area-list a:hover { color: var(--secondary); }

.area-list svg { width: 15px; height: 15px; color: var(--secondary); flex-shrink: 0; }

.area-map {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.area-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.25) contrast(1.05); }

/* ==========================================================================
   PRICING EXPLAINER
   ========================================================================== */

.rut-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-mist));
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 900px) { .rut-card { grid-template-columns: 1fr 1fr; align-items: center; } }

.rut-figure {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  color: var(--accent-deep);
  line-height: 0.9;
}

.rut-figure span { font-size: 0.35em; font-weight: 500; }

.factor-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.6rem; }
.factor-list li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); }
.factor-list .factor-num {
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--white); color: var(--accent-deep);
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-list { display: flex; flex-direction: column; gap: 0.85rem; max-width: 52rem; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  overflow: hidden;
  transition: border-color 0.4s var(--ease-soft);
}

.faq-item.is-open { border-color: var(--accent); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 1.6rem;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
}

.faq-plus {
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  background: var(--bg-mist);
  flex-shrink: 0;
  position: relative;
  transition: background-color 0.4s var(--ease-soft), transform 0.5s var(--ease-spring);
}

.faq-plus::before, .faq-plus::after {
  content: '';
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-soft);
}
.faq-plus::before { top: 50%; left: 28%; right: 28%; height: 1.5px; transform: translateY(-50%); }
.faq-plus::after { left: 50%; top: 28%; bottom: 28%; width: 1.5px; transform: translateX(-50%); }

.faq-item.is-open .faq-plus { background: var(--ink); transform: rotate(180deg); }
.faq-item.is-open .faq-plus::before, .faq-item.is-open .faq-plus::after { background: var(--white); }
.faq-item.is-open .faq-plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-soft);
}

.faq-answer-inner { padding: 0 1.6rem 1.5rem; font-size: 0.95rem; color: var(--ink-soft); max-width: 42rem; }

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact-section { background: var(--bg-mist); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 980px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; } }

.contact-info-card {
  background: var(--dark);
  color: var(--white);
  border-radius: 2rem;
  padding: clamp(2rem, 4vw, 2.75rem);
  height: fit-content;
}

.contact-info-card h3 { color: var(--white); margin-bottom: 0.9rem; }
.contact-info-card > p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; font-size: 0.98rem; }

.contact-info-row {
  display: flex; align-items: center; gap: 1rem;
  padding-block: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-info-row:first-of-type { border-top: none; }

.contact-info-row .ic {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--secondary);
}
.contact-info-row .ic svg { width: 18px; height: 18px; }

.contact-info-row strong { display: block; font-size: 0.95rem; font-weight: 500; }
.contact-info-row span { display: block; font-size: 0.83rem; color: rgba(255,255,255,0.6); }

.form-shell {
  background: rgba(16, 19, 28, 0.035);
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: 0.6rem;
}

.form-core {
  background: var(--white);
  border-radius: calc(2rem - 0.6rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.6);
}

.form-row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-bottom: 1.1rem; }
@media (min-width: 620px) { .form-row.two { grid-template-columns: 1fr 1fr; } }

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.35s var(--ease-soft), background-color 0.35s var(--ease-soft);
}

.field textarea { resize: vertical; min-height: 6.5rem; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.field-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.field-consent input {
  width: 1.15rem; height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--accent-deep);
  flex-shrink: 0;
}

.field-consent label { font-size: 0.83rem; color: var(--ink-faint); line-height: 1.5; }
.field-consent a { color: var(--accent-deep); text-decoration: underline; }

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  padding: 0.85rem 1.1rem;
  border-radius: 0.8rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: #e4f8ee; color: #1a7a4c; }
.form-status.err { background: #fdeceb; color: #b23b2f; }

/* ==========================================================================
   GALLERY — image-rich proof section
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
  gap: 1rem;
}

@media (min-width: 720px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item { position: relative; border-radius: 1.4rem; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow-sm); }
.gallery-item.tall { aspect-ratio: 1 / 1.35; }
@media (min-width: 720px) {
  .gallery-item.wide { grid-column: span 2; aspect-ratio: 16 / 10; }
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.07); }

.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,20,0.02) 45%, rgba(10,12,20,0.86) 100%);
}

.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 1.1rem 1.2rem;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
}

/* ==========================================================================
   SUBPAGE HERO — pSEO service pages
   ========================================================================== */

.subhero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding-top: 8rem;
  overflow: hidden;
}

.subhero-media { position: absolute; inset: 0; z-index: 0; }
.subhero-media img { width: 100%; height: 100%; object-fit: cover; }

.subhero-wash {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,12,20,0.34) 0%, rgba(10,12,20,0.55) 45%, rgba(10,12,20,0.93) 100%),
    linear-gradient(90deg, rgba(10,12,20,0.72) 0%, rgba(10,12,20,0.24) 62%);
}

.subhero-content { position: relative; z-index: 2; padding-bottom: clamp(2.5rem, 6vw, 4rem); }

.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(255,255,255,0.9); }
.breadcrumb a:hover { text-decoration: underline; }

.subhero h1 { color: var(--white); max-width: 38rem; margin-bottom: 1.1rem; }
.subhero-sub { max-width: 30rem; font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(255,255,255,0.84); margin-bottom: 2rem; }

/* Checklist block used on service pages */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
@media (min-width: 700px) { .checklist-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem 2rem; } }

.checklist-grid li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.97rem; color: var(--ink-soft);
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--line-soft);
}
.checklist-grid svg { width: 17px; height: 17px; color: var(--accent-deep); flex-shrink: 0; margin-top: 0.15rem; }

/* Related services strip */
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 700px) { .related-grid { grid-template-columns: repeat(4, 1fr); } }

.related-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.4rem;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.related-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.related-card span.tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); }
.related-card h4 { font-family: var(--font-display); font-size: 1.25rem; margin-top: 0.5rem; margin-bottom: 0.4rem; }
.related-card p { font-size: 0.86rem; margin-bottom: 0; }

/* ==========================================================================
   GUIDES / BLOG
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 700px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.blog-card-media { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.blog-card:hover .blog-card-media img { transform: scale(1.06); }

.blog-card-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  color: var(--accent-deep);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.4rem 0.85rem; border-radius: 999px;
}

.blog-card-body { padding: 1.5rem; }
.blog-card-body h3 { font-size: 1.25rem; margin-bottom: 0.6rem; line-height: 1.25; }
.blog-card-body p { font-size: 0.9rem; margin-bottom: 0; }
.blog-card-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--ink-faint); margin-top: 1rem; }

/* Article body typography */
.article-body {
  max-width: 44rem;
  margin-inline: auto;
}
.article-body h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin-top: 2.75rem;
  margin-bottom: 1rem;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p { font-size: 1.05rem; margin-bottom: 1.15rem; line-height: 1.75; }
.article-body ul, .article-body ol { margin: 0 0 1.4rem 0; padding-left: 1.4rem; }
.article-body li { font-size: 1.02rem; color: var(--ink-soft); margin-bottom: 0.6rem; line-height: 1.65; }
.article-body strong { color: var(--ink); }

.article-lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  color: var(--ink-soft);
  border-left: 3px solid var(--accent);
  padding-left: 1.3rem;
  margin-bottom: 2.25rem;
}

.takeaway-box {
  background: var(--bg-mist);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}
.takeaway-box h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1rem;
}
.takeaway-box ul { margin-bottom: 0; padding-left: 0; }
.takeaway-box li {
  list-style: none;
  display: flex; align-items: flex-start; gap: 0.7rem;
  margin-bottom: 0.7rem; font-size: 0.98rem;
}
.takeaway-box li:last-child { margin-bottom: 0; }
.takeaway-box svg { width: 17px; height: 17px; color: var(--accent-deep); flex-shrink: 0; margin-top: 0.2rem; }

.article-cta {
  background: var(--dark);
  border-radius: 1.5rem;
  padding: 2rem 2.25rem;
  margin: 2.5rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.article-cta p { color: var(--white); font-size: 1.05rem; margin-bottom: 0; max-width: 26rem; }
.article-cta strong { display: block; font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.3rem; }

.article-meta-row {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.7);
  margin-bottom: 1.4rem;
}
.article-meta-row .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.5); }

.article-hero-img { border-radius: 1.5rem; overflow: hidden; margin-bottom: -4rem; box-shadow: var(--shadow-lg); }
.article-hero-img img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }


footer { background: var(--ink); color: rgba(255,255,255,0.7); }

.footer-top {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr; gap: 2.5rem; } }

.footer-brand .nav-logo { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.55); margin-top: 1.1rem; max-width: 22rem; font-size: 0.92rem; }

.footer-col h4 { font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.72); transition: color 0.35s; }
.footer-col a:hover { color: var(--secondary); }

.footer-social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.footer-social a {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.35s;
}
.footer-social a:hover { background: var(--accent-deep); }
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); transition: color 0.35s; }
.footer-bottom-links a:hover { color: var(--white); }

/* ==========================================================================
   REVEAL ANIMATION HOOKS (driven by IntersectionObserver / GSAP in main.js)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(3.5rem);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }

.reveal-scale { opacity: 0; transform: scale(0.94); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

/* Stagger via inline delay custom property */
.reveal[style*="--d"] { transition-delay: var(--d); }

/* Legibility helper for cards on light bg */
.text-on-dark h2, .text-on-dark h3 { color: var(--white); }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--white);
  padding: 0.8rem 1.2rem; border-radius: 0 0 0.6rem 0; z-index: 999;
}
.skip-link:focus { left: 0; }

/* Utility */
.mono-note { font-family: var(--font-body); font-size: 0.78rem; color: var(--ink-faint); margin-top: 0.75rem; }
