/* === RUNDAY — Design System v3 === */
/* Palette: Earth & Cream | Font: Space Grotesk + Inter | Voice: The Partner */

:root {
  --bg: #F0E8DC;
  --bg-white: #FAF6EF;
  --dark: #2C2418;
  --terracotta: #C24B2A;
  --terracotta-hover: #A83D22;
  --terracotta-subtle: rgba(194, 75, 42, 0.1);
  --terracotta-border: rgba(194, 75, 42, 0.18);
  --olive: #6B7B5E;
  --olive-subtle: rgba(107, 123, 94, 0.12);
  --text-primary: #2C2418;
  --text-secondary: #7A6E60;
  --text-muted: #9C8E7C;
  --border: #D8CCBD;
  --card-bg: #FAF6EF;
  --card-border: #E2D8CB;
  --nav-height: 72px;
  --grid-color: rgba(194, 75, 42, 0.06);
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-accent: 'Georgia', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === NAV === */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(240, 232, 220, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
}

/* === RUNNING 8-BIT BUNNY (loops across top, over the nav) === */

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--dark);
}

.nav-logo span {
  color: var(--terracotta);
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(44, 36, 24, 0.18);
}

/* Footer logo: drop the badge tile, keep just the wordmark */
.footer-brand .nav-logo .nav-logo-mark { display: none; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--dark);
  font-size: 24px;
  cursor: pointer;
}

/* === HERO === */

.hero {
  position: relative;
  padding: 160px 0 100px;
  text-align: center;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  animation: gridDrift 20s linear infinite;
  pointer-events: none;
}

@keyframes gridDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 64px 64px, 64px 64px; }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-sub {
  display: inline-block;
  color: var(--terracotta);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--dark);
}

.hero p {
  color: var(--text-secondary);
  font-size: 19px;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === BUTTONS === */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 1px 3px rgba(194, 75, 42, 0.2), 0 4px 12px rgba(194, 75, 42, 0.15);
}

.btn-primary:hover {
  background: var(--terracotta-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(194, 75, 42, 0.25), 0 8px 24px rgba(194, 75, 42, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
  background: rgba(44, 36, 24, 0.03);
  transform: translateY(-1px);
}

/* === SECTIONS === */

.section {
  padding: 100px 0;
}

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

.section-sub {
  color: var(--terracotta);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.section h2 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.2px;
  margin-bottom: 48px;
  color: var(--dark);
}

.section-centered {
  text-align: center;
}

.section-intro {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
  max-width: 600px;
  margin: -32px auto 56px;
  text-align: center;
}

/* === SERVICE CARDS === */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  border-color: var(--terracotta-border);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(44, 36, 24, 0.08);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--terracotta);
  opacity: 0;
  transition: opacity 0.25s;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .card-label {
  color: var(--terracotta);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.service-card h3 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  background: var(--olive-subtle);
  color: var(--olive);
  font-size: 13px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
}

/* === VALUE PROPS === */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: border-color 0.25s, transform 0.25s;
}

.value-card:hover {
  border-color: var(--terracotta-border);
  transform: translateY(-2px);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--terracotta-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
}

.value-icon svg {
  width: 26px;
  height: 26px;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* === CTA BANNER === */

.cta-banner {
  position: relative;
  background: var(--dark);
  border-radius: 20px;
  padding: 80px 48px;
  text-align: center;
  margin: 0 24px;
  overflow: hidden;
}

.cta-banner .cta-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(194, 75, 42, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(194, 75, 42, 0.1) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 10%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 10%, transparent 60%);
  animation: gridDrift 25s linear infinite;
  pointer-events: none;
}

.cta-banner .cta-content {
  position: relative;
  z-index: 1;
}

.cta-banner .section-sub {
  color: var(--terracotta);
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 38px;
  margin-bottom: 16px;
  color: #fff;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.cta-banner .hero-ctas {
  justify-content: center;
}

/* === STEPS === */

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--terracotta-subtle);
  color: var(--terracotta);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* === RUNDAYOS PROCESS — staggered animated steps === */

.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: start;
}

/* Rising diagonal stagger (left low → right high) */
.process-step:nth-child(1) { margin-top: 132px; }
.process-step:nth-child(2) { margin-top: 88px; }
.process-step:nth-child(3) { margin-top: 44px; }
.process-step:nth-child(4) { margin-top: 0; }

.process-label {
  display: block;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 18px;
  color: var(--olive);
  margin: 0 0 14px 4px;
}

.proc-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  height: 152px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px -22px rgba(44, 36, 24, 0.4);
  overflow: hidden;
}

.proc-illu {
  width: 100%;
  height: 100%;
}

.proc-text {
  margin-top: 22px;
}

.proc-num {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 1px;
}

.proc-text h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  margin: 4px 0 10px;
  letter-spacing: -0.3px;
}

.proc-text p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* --- Illustration animations --- */
/* Architecture: the intro (paths/bars/line) draws in ONCE when the card
   scrolls into view (.process-step.visible), then settles. Only loop-safe
   ambient motion (sweep, flowing dots, tracing comet, pulses) runs forever. */

/* SVG elements that scale/translate need a local box + origin */
.d-radar, .b-node, .b-plan, .bd-ring, .bd-badge, .g-pt, .g-dot, .g-halo {
  transform-box: fill-box;
  transform-origin: center;
}
.bd-bar { transform-box: fill-box; transform-origin: 50% 100%; }

/* Pre-reveal base states */
.b-track { stroke-dasharray: 168; stroke-dashoffset: 168; }
.b-node  { fill: #6B7B5E; opacity: 0; transform: scale(0.4); }
.b-plan  { opacity: 0.55; }
.b-dot1, .b-dot2, .b-glow1, .b-glow2 { opacity: 0; }
.bd-bar  { transform: scaleY(0); }
.bd-badge{ transform: scale(0); }
.bd-check{ stroke-dasharray: 30; stroke-dashoffset: 30; }
.bd-ring { opacity: 0; }
.g-line  { stroke-dasharray: 190; stroke-dashoffset: 190; }
.g-area  { opacity: 0; }
.g-pt    { transform: scale(0); }
.g-dot   { transform: scale(0); opacity: 0; }
.g-comet, .g-halo { opacity: 0; }

/* Card hover micro-interaction — the step lifts toward you */
.proc-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease, border-color 0.35s ease;
}
.process-step:hover .proc-card {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px -22px rgba(44, 36, 24, 0.55);
  border-color: var(--terracotta-border);
}

/* 01 Diagnose — magnifier sweeps clockwise; each task lights up as it's found */
.process-step.visible .d-node  { animation: dPulse 6s ease-in-out infinite; }
.d-node1 { animation-delay: 0s; }
.d-node2 { animation-delay: 1.5s; }
.d-node4 { animation-delay: 3s; }
.d-node3 { animation-delay: 4.5s; }
.d-node  { fill: #6B7B5E; opacity: 0.16; }
@keyframes dPulse {
  0%   { fill: #6B7B5E; opacity: 0.16; }
  6%   { fill: #C24B2A; opacity: 0.85; }
  16%  { fill: #6B7B5E; opacity: 0.16; }
  100% { fill: #6B7B5E; opacity: 0.16; }
}
.process-step.visible .d-radar { animation: dRadar 3s ease-out infinite; }
@keyframes dRadar {
  0%        { transform: scale(0.3); opacity: 0.45; }
  80%, 100% { transform: scale(2.3); opacity: 0; }
}
.process-step.visible .d-lens  { animation: dScan 6s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes dScan {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(100px, 2px); }
  50%      { transform: translate(100px, 52px); }
  75%      { transform: translate(18px, 52px); }
}

/* 02 Blueprint — paths draw in once, twin dots flow to the plan, which pulses */
.process-step.visible .b-track  { animation: bDraw 1s ease-in-out both; }
.process-step.visible .b-track2 { animation-delay: 0.12s; }
@keyframes bDraw { to { stroke-dashoffset: 0; } }
.process-step.visible .b-node   { animation: bNodeIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.b-node-a { animation-delay: 0.2s; }
.b-node-b { animation-delay: 0.45s; }
.b-node-c { animation-delay: 0.55s; }
@keyframes bNodeIn {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1);   opacity: 0.18; }
  100% { transform: scale(1);   opacity: 0.18; }
}
.process-step.visible .b-dot1, .process-step.visible .b-glow1 {
  animation: bFlowTop 3s ease-in-out 0.9s infinite;
}
.process-step.visible .b-dot2, .process-step.visible .b-glow2 {
  animation: bFlowBottom 3s ease-in-out 2.4s infinite;
}
@keyframes bFlowTop {
  0%   { transform: translate(0, 0);        opacity: 0; }
  8%   { opacity: 1; }
  38%  { transform: translate(38px, -27px); }
  58%  { transform: translate(78px, -27px); }
  82%  { transform: translate(108px, 0);    opacity: 1; }
  92%  { transform: translate(108px, 0);    opacity: 0; }
  100% { transform: translate(108px, 0);    opacity: 0; }
}
@keyframes bFlowBottom {
  0%   { transform: translate(0, 0);        opacity: 0; }
  8%   { opacity: 1; }
  38%  { transform: translate(38px, 27px);  }
  58%  { transform: translate(78px, 27px);  }
  82%  { transform: translate(108px, 0);    opacity: 1; }
  92%  { transform: translate(108px, 0);    opacity: 0; }
  100% { transform: translate(108px, 0);    opacity: 0; }
}
.process-step.visible .b-plan { animation: bPlan 3s ease-in-out 0.9s infinite; }
@keyframes bPlan {
  0%, 70% { opacity: 0.55; transform: scale(1); }
  82%     { opacity: 1;    transform: scale(1.14); }
  100%    { opacity: 0.7;  transform: scale(1); }
}

/* 03 Build & Deploy — bars spring up once, a check confirms, ring keeps pulsing */
.process-step.visible .bd-bar { animation: bdRise 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes bdRise {
  0%   { transform: scaleY(0);    opacity: 0; }
  20%  { opacity: 1; }
  65%  { transform: scaleY(1.06); }
  100% { transform: scaleY(1);    opacity: 1; }
}
.process-step.visible .bd-badge { animation: bdBadge 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s both; }
@keyframes bdBadge { 0% { transform: scale(0); } 100% { transform: scale(1); } }
.process-step.visible .bd-check { animation: bdCheck 0.5s ease-out 1.05s both; }
@keyframes bdCheck { to { stroke-dashoffset: 0; } }
.process-step.visible .bd-ring  { animation: bdRing 2.6s ease-out 1.2s infinite; }
@keyframes bdRing {
  0%   { transform: scale(0.55); opacity: 0; }
  35%  { opacity: 0.55; }
  100% { transform: scale(1.7);  opacity: 0; }
}

/* 04 Grow — line + area draw in once with a comet, points pop, halo pulses */
.process-step.visible .g-line  { animation: gDraw 1.3s ease-in-out both; }
@keyframes gDraw { to { stroke-dashoffset: 0; } }
.process-step.visible .g-area  { animation: gArea 1s ease-out 0.7s both; }
@keyframes gArea { to { opacity: 1; } }
.process-step.visible .g-pt    { animation: gPtIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.g-pt1 { animation-delay: 0.25s; }
.g-pt2 { animation-delay: 0.5s; }
.g-pt3 { animation-delay: 0.8s; }
.g-pt4 { animation-delay: 1.05s; }
@keyframes gPtIn { 0% { transform: scale(0); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }
.process-step.visible .g-dot   { animation: gDotIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.25s both; }
@keyframes gDotIn { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.process-step.visible .g-comet { animation: gComet 3.6s ease-in-out 1.4s infinite; }
@keyframes gComet {
  0%   { transform: translate(0, 0);          opacity: 0; }
  6%   { opacity: 1; }
  22%  { transform: translate(38px, -14px); }
  44%  { transform: translate(76px, -8px); }
  66%  { transform: translate(114px, -40px); }
  86%  { transform: translate(156px, -66px);  opacity: 1; }
  96%  { transform: translate(156px, -66px);  opacity: 0; }
  100% { opacity: 0; }
}
.process-step.visible .g-halo  { animation: gHalo 2.4s ease-in-out 1.4s infinite; }
@keyframes gHalo {
  0%, 100% { transform: scale(0.6); opacity: 0; }
  50%      { transform: scale(1.4); opacity: 0.65; }
}

@media (prefers-reduced-motion: reduce) {
  .process-step.visible .d-node, .process-step.visible .d-radar, .process-step.visible .d-lens,
  .process-step.visible .b-track, .process-step.visible .b-node, .process-step.visible .b-plan,
  .process-step.visible .b-dot1, .process-step.visible .b-dot2,
  .process-step.visible .b-glow1, .process-step.visible .b-glow2,
  .process-step.visible .bd-bar, .process-step.visible .bd-ring,
  .process-step.visible .bd-badge, .process-step.visible .bd-check,
  .process-step.visible .g-area, .process-step.visible .g-line, .process-step.visible .g-comet,
  .process-step.visible .g-pt, .process-step.visible .g-dot, .process-step.visible .g-halo {
    animation: none;
  }
  .d-radar, .b-glow1, .b-glow2, .b-dot1, .b-dot2, .bd-ring, .g-comet, .g-halo { opacity: 0; }
  .b-track, .g-line { stroke-dashoffset: 0; }
  .b-node { transform: scale(1); opacity: 0.18; }
  .b-plan { opacity: 1; }
  .bd-bar { transform: scaleY(1); opacity: 1; }
  .bd-badge { transform: scale(1); }
  .bd-check { stroke-dashoffset: 0; }
  .g-area { opacity: 1; }
  .g-pt, .g-dot { transform: scale(1); opacity: 1; }
}

/* === TOOLS === */

.tools-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 32px 0;
  margin-bottom: 16px;
}

.tool-item {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  transition: border-color 0.2s, color 0.2s;
}

.tool-item:hover {
  border-color: var(--terracotta-border);
  color: var(--text-secondary);
}

.tools-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* === FAQ === */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--card-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  padding: 22px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(44, 36, 24, 0.03);
}

.faq-question .chevron {
  font-size: 14px;
  color: var(--text-muted);
  transition: transform 0.3s;
}

.faq-item.open .faq-question .chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 28px 22px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* === CONTACT === */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px var(--terracotta-subtle);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.contact-info {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-detail {
  margin-bottom: 20px;
}

.contact-detail .label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-detail p {
  color: var(--text-secondary);
  font-size: 15px;
}

.contact-detail a {
  color: var(--terracotta);
  transition: opacity 0.2s;
}

.contact-detail a:hover {
  opacity: 0.8;
}

/* === ABOUT === */

.about-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-content p strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* === FOOTER === */

.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 0;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.footer-brand .nav-logo {
  margin-bottom: 8px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 32px;
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* === SCROLL ANIMATIONS === */

.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }

/* === PRICING === */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.pricing-card:hover {
  border-color: var(--terracotta-border);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(44, 36, 24, 0.08);
}

.pricing-card.featured {
  border-color: var(--terracotta);
  box-shadow: 0 4px 20px rgba(194, 75, 42, 0.12);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card .card-label {
  color: var(--terracotta);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.pricing-price-note {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.pricing-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features li {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  padding: 6px 0;
  padding-left: 22px;
  position: relative;
}

.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--olive);
  font-weight: 700;
  font-size: 13px;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* Phase labels (Setup / Retainer) */
.pricing-phase-label {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

.pricing-phase-label span {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 8px;
  letter-spacing: 0;
}

.retainer-label {
  margin-top: 56px;
}

/* Retainer grid — 2 columns */
.retainer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
  font-family: var(--font-accent);
}

/* === PHASE LAYOUT (services page) === */

.phase-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.phase-header .step-number {
  margin-bottom: 0;
  flex-shrink: 0;
}

.phase-header h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.phase-body {
  max-width: 720px;
}

.phase-body p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.phase-roi {
  background: var(--terracotta-subtle);
  border-left: 3px solid var(--terracotta);
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--terracotta);
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
}

.phase-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.phase-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.phase-detail strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  font-weight: 600;
}

.phase-detail span {
  font-size: 15px;
  color: var(--text-primary);
}

.phase-price {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--terracotta);
}

/* === FLOATING CHAT === */

.fab-chat {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 99;
}

.fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s, box-shadow 0.25s;
}

.fab-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}

.fab-wa {
  background: #25D366;
}

.fab-msg {
  background: #0084FF;
}

/* === FORM STATES === */

.form-success {
  text-align: center;
  padding: 48px 24px;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--olive-subtle);
  color: var(--olive);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.form-error {
  background: rgba(194, 75, 42, 0.08);
  color: var(--terracotta);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 20px;
  border-radius: 10px;
  margin-top: 16px;
  text-align: center;
}

/* === RESPONSIVE === */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === RECENT WORK === */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.work-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

a.work-card:hover {
  border-color: var(--terracotta-border);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(44, 36, 24, 0.08);
}

.work-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.work-tag {
  color: var(--olive);
  background: var(--olive-subtle);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}

.work-live,
.work-soon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.work-live { color: var(--olive); }
.work-soon { color: var(--text-muted); }

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 0 rgba(107, 123, 94, 0.5);
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(107, 123, 94, 0.45); }
  70%  { box-shadow: 0 0 0 7px rgba(107, 123, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(107, 123, 94, 0); }
}

.work-card h3 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.work-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.work-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--terracotta);
}

.work-link-muted {
  color: var(--text-muted);
}

/* === FAQ === */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: var(--card-bg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--terracotta-border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--terracotta);
  line-height: 1;
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 26px 24px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.faq-answer a {
  color: var(--terracotta);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .process-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 28px;
  }
  .process-step:nth-child(1),
  .process-step:nth-child(3) { margin-top: 56px; }
  .process-step:nth-child(2),
  .process-step:nth-child(4) { margin-top: 0; }
}

@media (max-width: 768px) {
  .hero {
    padding: 130px 0 70px;
  }

  .hero h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .hero p {
    font-size: 16px;
  }

  .section h2 {
    font-size: 30px;
  }

  .section-intro {
    font-size: 16px;
    margin: -24px auto 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }


  .values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-flow {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .process-step:nth-child(1),
  .process-step:nth-child(2),
  .process-step:nth-child(3),
  .process-step:nth-child(4) { margin-top: 0; }

  .phase-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .phase-details {
    flex-direction: column;
    gap: 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 56px 24px;
    margin: 0 16px;
    border-radius: 16px;
  }

  .cta-banner h2 {
    font-size: 28px;
  }

  .nav {
    background: rgba(240, 232, 220, 0.95);
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-mobile-toggle {
    display: block;
  }

  .footer .container {
    flex-direction: column;
    gap: 24px;
  }

  .tools-row {
    gap: 8px;
  }

  .tool-item {
    padding: 8px 14px;
    font-size: 13px;
  }

  .pricing-grid,
  .retainer-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-price {
    font-size: 36px;
  }

  .fab-chat {
    bottom: 16px;
    right: 16px;
  }

  .fab-btn {
    width: 46px;
    height: 46px;
  }

  .fab-btn svg {
    width: 20px;
    height: 20px;
  }
}
