/* SDM Accountants — minimal, fast, static */

:root {
  --color-bg: #f9f8f5;
  --color-bg-alt: #ffffff;
  --color-surface: #ffffff;
  --color-text: #141b2d;
  --color-text-muted: #5a6275;
  --color-text-light: #8a91a0;
  --color-primary: #0a1f38;
  --color-primary-light: #142d4d;
  --color-accent: #b08d3e;
  --color-accent-light: #c9a85a;
  --color-border: rgba(10, 31, 56, 0.09);
  --color-border-strong: rgba(10, 31, 56, 0.16);

  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  --shadow-sm: 0 1px 2px rgba(10, 31, 56, 0.04);
  --shadow-md: 0 2px 12px rgba(10, 31, 56, 0.06);

  --header-height: 80px;
  --topbar-height: 42px;
  --site-offset: calc(var(--topbar-height) + var(--header-height));
  --container-max: 1160px;
  --section-padding: clamp(72px, 9vw, 120px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 36px);
}

/* ── Cursor spotlight (desktop) ── */

.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.cursor-glow.active { opacity: 1; }

.cursor-glow-outer,
.cursor-glow-inner {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  will-change: transform;
}

.cursor-glow-outer {
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  background: radial-gradient(
    circle,
    rgba(176, 141, 62, 0.11) 0%,
    rgba(176, 141, 62, 0.04) 38%,
    transparent 68%
  );
}

.cursor-glow-inner {
  width: 160px;
  height: 160px;
  margin: -80px 0 0 -80px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(176, 141, 62, 0.1) 45%,
    transparent 72%
  );
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    700px circle at var(--mx, -999px) var(--my, -999px),
    rgba(176, 141, 62, 0.045) 0%,
    transparent 55%
  );
}

main {
  position: relative;
  z-index: 2;
}

@media (hover: none), (pointer: coarse) {
  .cursor-glow,
  body::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-glow,
  body::before { display: none; }
}

/* ── Topbar ── */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--topbar-height);
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  height: 100%;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.75);
}

.topbar-item svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.7; }
.topbar-item { transition: color 0.25s ease; }
.topbar-item:hover { color: #fff; }
.topbar-phone { font-weight: 600; color: var(--color-accent-light); transition: color 0.25s ease; }
.topbar-phone:hover { color: #fff; }

/* ── Header ── */

.header {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(249, 248, 245, 0.96);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(249, 248, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--color-border);
  box-shadow: 0 1px 20px rgba(10, 31, 56, 0.05);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  transition: width 0.1s linear;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1001;
}

.logo-mark {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
  color: var(--color-primary);
  letter-spacing: -0.03em;
  transition: color 0.25s ease;
}

.logo:hover .logo-mark { color: var(--color-accent); }

.logo-divider {
  width: 2px;
  height: 32px;
  background: linear-gradient(180deg, var(--color-accent) 0%, rgba(176, 141, 62, 0.3) 100%);
  flex-shrink: 0;
}

.logo-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.3;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.25s ease;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:not(.nav-cta):hover {
  color: var(--color-primary);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 11px 22px;
  background: var(--color-primary);
  color: #fff !important;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.nav-cta:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 31, 56, 0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.nav-toggle.active span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle.active span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 30px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, filter 0.3s ease;
}

.btn svg { width: 15px; height: 15px; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }

.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  box-shadow: 0 1px 2px rgba(10, 31, 56, 0.12), 0 8px 20px rgba(10, 31, 56, 0.14);
}

.btn-primary:hover {
  filter: brightness(1.12);
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(10, 31, 56, 0.16), 0 14px 28px rgba(10, 31, 56, 0.2);
}

.btn-primary:active { transform: translateY(-1px); }

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

.btn-ghost:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: rgba(10, 31, 56, 0.04);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(10, 31, 56, 0.14);
}

.btn-full { width: 100%; }

.btn-light {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-light:hover {
  background: var(--color-accent-light);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

/* ── Hero ── */

.hero {
  position: relative;
  margin-top: var(--site-offset);
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: var(--color-primary);
}

.hero-content {
  max-width: 640px;
  padding-top: 72px;
  padding-bottom: 72px;
  animation: heroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content { animation: none; }
}

.hero-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
}

.hero-actions .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

/* ── Welcome ── */

.welcome { background: var(--color-bg-alt); }

.welcome-content {
  max-width: 680px;
}

.welcome-content .lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.65;
  margin: 14px 0 16px;
}

.welcome-content p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.welcome-content .btn { margin-top: 12px; }

/* ── Why Us ── */

.why-us { background: var(--color-bg); border-top: 1px solid var(--color-border); }

.why-us-content {
  max-width: 680px;
}

.why-list {
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-list li {
  position: relative;
  padding-left: 22px;
  color: var(--color-text-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.why-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ── Pillars ── */

.pillars { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); }

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

.pillar-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(10, 31, 56, 0.03);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card:hover::before { transform: scaleX(1); }

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 31, 56, 0.1);
  border-color: var(--color-border-strong);
}

.pillar-body {
  padding: 36px 32px;
}

.pillar-number {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-accent);
  margin-bottom: 14px;
  opacity: 0.85;
}

.pillar-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.pillar-body p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── Service Showcase ── */

.service-showcase { border-top: 1px solid var(--color-border); }

.section-header-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header-center .section-desc { margin-left: auto; margin-right: auto; }

.service-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-tile {
  position: relative;
  display: block;
  padding: 22px 22px 22px 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.service-tile::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-accent), var(--color-accent-light));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-tile:hover::before { transform: scaleY(1); }

.service-tile:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-4px) translateX(2px);
  box-shadow: 0 14px 28px rgba(10, 31, 56, 0.08);
}

.service-tile h3 {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 5px;
  transition: color 0.25s ease;
}

.service-tile:hover h3 { color: var(--color-accent); }

.service-tile p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ── Values Strip ── */

.values-strip {
  padding: 56px 0;
  background: var(--color-primary);
  color: #fff;
}

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

.value-item { text-align: center; }

.value-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--color-accent-light);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.value-item:hover .value-icon {
  transform: scale(1.1) rotate(-4deg);
  background: rgba(255, 255, 255, 0.14);
}

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

.value-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.value-item p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
  max-width: 280px;
  margin: 0 auto;
}

/* ── Testimonials ── */

.testimonials { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); }

.testimonials-slider {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-track { position: relative; min-height: 160px; }

.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.testimonial-slide p {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1.65;
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-slide cite {
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border-strong);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.testimonial-dot:hover { transform: scale(1.3); }

.testimonial-dot.active { background: var(--color-accent); transform: scale(1.2); }

/* ── CTA Banner ── */

.cta-banner {
  min-height: 280px;
  display: flex;
  align-items: center;
  background: var(--color-primary);
}

.cta-banner-content {
  width: 100%;
  text-align: center;
  padding: 64px 0;
}

.cta-banner-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-banner-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

/* ── Legacy hero (removed) ── */

/* ── Sections ── */

.section { padding: var(--section-padding) 0; }

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.15;
}

.section-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 500px;
  margin-top: 14px;
  line-height: 1.7;
}

.section-header { margin-bottom: clamp(40px, 5vw, 60px); }

/* ── About ── */

.about { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.about-text .lead {
  font-size: 1.15rem;
  color: var(--color-primary);
  line-height: 1.65;
  margin-bottom: 16px;
  font-weight: 500;
}

.about-text p { color: var(--color-text-muted); line-height: 1.75; }

.about-cards { display: grid; gap: 12px; }

.about-card {
  padding: 24px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}

.about-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(176, 141, 62, 0.1);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  color: var(--color-accent);
  transition: background 0.3s ease, transform 0.3s ease;
}

.about-card:hover .about-card-icon {
  background: var(--color-accent);
  color: #fff;
  transform: scale(1.08);
}

.about-card-icon svg { width: 20px; height: 20px; }

.about-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ── Services ── */

.services { border-top: 1px solid var(--color-border); }

.services-grid { display: flex; flex-direction: column; gap: 8px; }

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card.active { border-color: var(--color-border-strong); box-shadow: var(--shadow-sm); }

.service-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  transition: background 0.25s ease;
}

.service-card-header:hover { background: rgba(10, 31, 56, 0.02); }

.service-number {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--color-accent);
  min-width: 28px;
}

.service-card-header h3 {
  flex: 1;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-primary);
}

.service-toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.service-toggle svg { width: 14px; height: 14px; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }

.service-card.active .service-toggle {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.service-card.active .service-toggle svg { transform: rotate(45deg); }

.service-card-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), padding 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card.active .service-card-body {
  max-height: 900px;
  padding: 0 24px 24px;
}

@media (prefers-reduced-motion: reduce) {
  .service-card-body { transition: none; }
}

.service-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 4px;
}

.service-section { padding-bottom: 16px; }

.service-section h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.service-section ul { display: flex; flex-direction: column; gap: 8px; }

.service-section li {
  position: relative;
  padding-left: 14px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.service-section li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.75rem;
}

/* ── Process ── */

.process {
  background: var(--color-primary);
  color: #fff;
}

.process .section-tag { color: var(--color-accent-light); }
.process .section-title { color: #fff; }
.process .section-desc { color: rgba(255, 255, 255, 0.6); }

.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.process-step {
  position: relative;
  padding: 30px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step:hover::before { transform: scaleX(1); }

.process-step:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.process-step-number {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-accent-light);
  margin-bottom: 14px;
}

.process-step-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step-content p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.58);
}

/* ── Contact ── */

.contact {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.contact-info p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: 14px;
  margin-bottom: 32px;
}

.contact-details { display: flex; flex-direction: column; gap: 12px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

a.contact-item:hover {
  border-color: var(--color-border-strong);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(176, 141, 62, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

a.contact-item:hover .contact-icon {
  background: var(--color-accent);
  color: #fff;
}

.contact-icon svg { width: 18px; height: 18px; }

.contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: 3px;
}

.contact-value {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.45;
}

.contact-form {
  padding: 32px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(10, 31, 56, 0.08);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6275' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 12px;
}

.contact-form.submitted .btn-primary {
  background: #2d5a45;
  pointer-events: none;
}

/* ── Footer ── */

.footer {
  padding: 56px 0 0;
  background: #071525;
  color: rgba(255, 255, 255, 0.65);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-about .logo-mark { color: #fff; font-size: 2rem; }
.footer-about .logo-text { color: rgba(255, 255, 255, 0.5); }
.footer-about .logo-divider { height: 28px; }

.footer-about p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 340px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-light);
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-col a:hover { color: #fff; padding-left: 4px; }

.footer-contact li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-nav { display: flex; gap: 24px; }

.footer-nav a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.25s ease;
}

.footer-nav a:hover { color: #fff; }

/* ── Scroll reveal ── */

.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  filter: blur(6px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Staggered entrance for grid/list items */
.pillars-grid .reveal:nth-child(1) { transition-delay: 0s; }
.pillars-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.pillars-grid .reveal:nth-child(3) { transition-delay: 0.24s; }

.service-tiles .reveal:nth-child(1) { transition-delay: 0s; }
.service-tiles .reveal:nth-child(2) { transition-delay: 0.06s; }
.service-tiles .reveal:nth-child(3) { transition-delay: 0.12s; }
.service-tiles .reveal:nth-child(4) { transition-delay: 0.18s; }
.service-tiles .reveal:nth-child(5) { transition-delay: 0.06s; }
.service-tiles .reveal:nth-child(6) { transition-delay: 0.12s; }
.service-tiles .reveal:nth-child(7) { transition-delay: 0.18s; }
.service-tiles .reveal:nth-child(8) { transition-delay: 0.24s; }
.service-tiles .reveal:nth-child(9) { transition-delay: 0.06s; }
.service-tiles .reveal:nth-child(10) { transition-delay: 0.12s; }
.service-tiles .reveal:nth-child(11) { transition-delay: 0.18s; }
.service-tiles .reveal:nth-child(12) { transition-delay: 0.24s; }

.values-grid .reveal:nth-child(1) { transition-delay: 0s; }
.values-grid .reveal:nth-child(2) { transition-delay: 0.14s; }
.values-grid .reveal:nth-child(3) { transition-delay: 0.28s; }

.services-grid .reveal:nth-child(1) { transition-delay: 0s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.05s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.05s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.05s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.05s; }

.process-timeline .reveal:nth-child(1) { transition-delay: 0s; }
.process-timeline .reveal:nth-child(2) { transition-delay: 0.08s; }
.process-timeline .reveal:nth-child(3) { transition-delay: 0.16s; }
.process-timeline .reveal:nth-child(4) { transition-delay: 0.08s; }
.process-timeline .reveal:nth-child(5) { transition-delay: 0.08s; }
.process-timeline .reveal:nth-child(6) { transition-delay: 0.08s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ── Responsive ── */

@media (max-width: 1024px) {
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .service-tiles { grid-template-columns: repeat(3, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-height: 68px; --topbar-height: 0px; }

  .topbar { display: none; }

  .header { top: 0; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    background: rgba(249, 248, 245, 0.98);
    opacity: 0;
    visibility: hidden;
  }

  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a { font-size: 1.1rem; }

  .logo-mark { font-size: 1.75rem; }
  .logo-divider { height: 26px; }

  .hero {
    margin-top: var(--header-height);
    min-height: 50vh;
  }

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

  .service-tiles { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; }

  .service-columns { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .service-tiles { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}