/* ===== Vitta Solutions — Clean Green ===== */
:root {
  --green-deep: #0f3d32;
  --green-dark: #145c48;
  --green-mid: #1f7a5f;
  --green-soft: #d8efe6;
  --mint: #f3faf7;
  --mint-strong: #e8f5ef;
  --white: #ffffff;
  --text: #1a2e28;
  --text-muted: #4d655c;
  --border: rgba(15, 61, 50, 0.12);
  --shadow: 0 10px 30px rgba(15, 61, 50, 0.08);
  --radius: 16px;
  --font: 'Inter', -apple-system, sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --section-pad: clamp(4rem, 8vw, 6.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--mint);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

ul {
  list-style: none;
}

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

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.15rem 0;
  background: transparent;
  transition: padding 0.45s ease, background 0.45s ease, box-shadow 0.45s ease;
}

.header.scrolled {
  padding: 0.7rem 0;
  background: rgba(15, 61, 50, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 8px 28px rgba(15, 61, 50, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  position: relative;
  z-index: 2;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.logo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  cursor: pointer;
  padding: 10px;
  backdrop-filter: blur(8px);
}

.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-list a {
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.nav-list a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.nav-cta {
  background: var(--white) !important;
  color: var(--green-deep) !important;
  font-weight: 600;
  margin-left: 0.2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--mint-strong) !important;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--green-deep);
}

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

.hero-media-img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
  transform-origin: center center;
  will-change: transform, opacity;
  transition: opacity 0.2s linear;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 61, 50, 0.35) 0%, rgba(15, 61, 50, 0.28) 35%, rgba(15, 61, 50, 0.78) 72%, rgba(15, 61, 50, 0.96) 100%),
    linear-gradient(90deg, rgba(15, 61, 50, 0.55) 0%, rgba(15, 61, 50, 0.15) 55%, rgba(15, 61, 50, 0.35) 100%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 55vw;
  height: 55vw;
  max-width: 640px;
  max-height: 640px;
  left: -8%;
  bottom: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 122, 95, 0.45) 0%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem 6.5rem;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.1rem;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 1.15rem;
  max-width: 12ch;
}

.hero-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.15));
  margin-top: 1rem;
  border-radius: 2px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-anim {
  opacity: 0;
  transform: translateY(28px);
  animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease, opacity 0.3s ease;
}

.hero-scroll:hover {
  color: rgba(255, 255, 255, 0.9);
}

.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroGlow {
  from { opacity: 0.55; transform: translate3d(0, 0, 0) scale(1); }
  to { opacity: 0.9; transform: translate3d(4%, -3%, 0) scale(1.08); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.35; transform: scaleY(0.65); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.55rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--green-deep);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.btn-light:hover {
  background: var(--mint-strong);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
}

/* ===== Sections ===== */
.section {
  padding: var(--section-pad) 0;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.75rem;
  text-align: center;
}

.section-eyebrow-light {
  color: rgba(255, 255, 255, 0.75);
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1rem;
  color: var(--green-deep);
}

.section-title-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-title-light {
  color: var(--white);
}

.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

.section-lead-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1.5rem;
}

.section-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-note-light {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== Sobre ===== */
.section-sobre {
  background: var(--mint);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.pillar-card h3 {
  font-size: 1.05rem;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ===== Abordagem / Benefícios ===== */
.section-abordagem,
.section-beneficios,
.section-produtos,
.section-relatorios,
.section-proximos {
  background: var(--white);
}

.section-beneficios {
  background: var(--mint-strong);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.approach-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.approach-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 61, 50, 0.12);
}

.approach-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-soft);
}

.approach-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach-card-body {
  padding: 1.35rem 1.4rem 1.6rem;
}

.approach-card-body h3 {
  font-size: 1.15rem;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}

.approach-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.approach-card-body strong {
  color: var(--green-dark);
}

/* ===== Serviços split ===== */
.section-servicos,
.section-concierge {
  background: var(--mint);
}

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

.split-block.reverse {
  direction: rtl;
}

.split-block.reverse > * {
  direction: ltr;
}

.split-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.check-list {
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-mid);
}

/* ===== Produtos ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: var(--mint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform var(--transition), background var(--transition);
}

.product-card:hover {
  transform: translateY(-3px);
  background: var(--mint-strong);
}

.product-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.75rem;
}

.product-card h3 {
  font-size: 1.25rem;
  color: var(--green-deep);
  margin-bottom: 0.65rem;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Fluxo / Timeline ===== */
.section-fluxo {
  background: var(--green-deep);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.timeline-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.15rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.timeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.timeline-card h3 {
  font-size: 1rem;
  color: var(--green-deep);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.timeline-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ===== Carousel ===== */
.carousel-wrapper {
  position: relative;
  margin: 0 calc(-1 * (100vw - 100%) / 2);
  padding: 0.5rem 0 1.5rem;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  padding: 0 1.5rem 0 max(1.5rem, calc((100vw - 1120px) / 2 + 1.5rem));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 min(300px, 82vw);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 61, 50, 0.12);
}

.carousel-card-image {
  overflow: hidden;
  background: var(--mint-strong);
}

.carousel-card-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.carousel-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.carousel-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--green-deep);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(15, 61, 50, 0.18);
  transition: transform var(--transition), background var(--transition);
}

.carousel-btn:hover {
  background: var(--mint-strong);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn-next {
  right: max(1rem, calc((100vw - 1120px) / 2 - 8px));
}

.carousel-btn-prev {
  left: max(1rem, calc((100vw - 1120px) / 2 - 8px));
}

/* ===== Próximos passos / Contato ===== */
.steps-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.step-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: stretch;
}

.step-label {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--green-deep);
  font-size: 1.05rem;
}

.step-box {
  background: var(--green-deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.step-box h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.step-box ul {
  display: grid;
  gap: 0.25rem;
}

.step-box li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  padding-left: 1rem;
  position: relative;
}

.step-box li::before {
  content: '•';
  position: absolute;
  left: 0;
}

.contact-simple {
  margin-top: 0.5rem;
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius);
  background: var(--mint);
  border: 1px solid var(--border);
  text-align: center;
}

.contact-brand {
  height: 26px;
  width: auto;
  margin: 0 auto 1.25rem;
  opacity: 0.92;
}

.contact-simple-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.75rem;
}

.contact-phone {
  display: inline-block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--green-deep);
  transition: color 0.3s ease, transform 0.3s ease;
}

.contact-phone:hover {
  color: var(--green-mid);
  transform: translateY(-1px);
}

.contact-simple-note {
  margin-top: 0.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-logo img {
  height: 28px;
  margin: 0 auto 1rem;
}

.footer-text {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-copy a:hover {
  text-decoration: underline;
}

/* ===== Legal pages ===== */
.legal-page {
  padding: 7rem 1.5rem 4rem;
  background: var(--mint);
  min-height: 80vh;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}

.legal-back {
  display: inline-block;
  color: var(--green-mid);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.legal-back:hover {
  color: var(--green-deep);
}

.legal-container h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}

.legal-container h2 {
  font-size: 1.15rem;
  color: var(--green-deep);
  margin: 1.75rem 0 0.65rem;
}

.legal-container h3 {
  font-size: 1.02rem;
  color: var(--green-dark);
  margin: 1.25rem 0 0.5rem;
}

.legal-container p,
.legal-container li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.legal-container ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-container ol.legal-steps {
  list-style: decimal;
  padding-left: 1.35rem;
  margin: 0.75rem 0 1.25rem;
}

.legal-container ol.legal-steps li {
  margin-bottom: 0.55rem;
  color: var(--text-muted);
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ===== Animações ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.pillar-card,
.approach-card,
.product-card,
.timeline-card,
.step-row {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, background 0.35s ease, border-color 0.35s ease;
}

.stagger-children.visible > * {
  animation: riseIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stagger-children.visible > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { animation-delay: 0.12s; }
.stagger-children.visible > *:nth-child(3) { animation-delay: 0.19s; }
.stagger-children.visible > *:nth-child(4) { animation-delay: 0.26s; }
.stagger-children.visible > *:nth-child(5) { animation-delay: 0.33s; }
.stagger-children.visible > *:nth-child(6) { animation-delay: 0.4s; }

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow,
  .hero-scroll-line,
  .hero-anim,
  .stagger-children.visible > * {
    animation: none !important;
  }

  .animate-on-scroll,
  .hero-anim {
    opacity: 1;
    transform: none;
  }
}

/* ===== Responsivo ===== */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-list {
    gap: 0.15rem;
  }

  .nav-list a {
    padding: 0.5rem 0.7rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 900px) {
  .hero-content {
    padding: 0 1.5rem 5.5rem;
  }

  .hero-title {
    max-width: none;
  }

  .approach-grid,
  .products-grid,
  .split-block {
    grid-template-columns: 1fr;
  }

  .split-block.reverse {
    direction: ltr;
  }

  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .carousel-btn-next {
    right: 0.75rem;
  }

  .carousel-btn-prev {
    left: 0.75rem;
  }

  .carousel-track {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .header {
    background: rgba(15, 61, 50, 0.55);
    backdrop-filter: blur(14px);
  }

  .header.scrolled {
    background: rgba(15, 61, 50, 0.88);
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 86vw);
    height: 100vh;
    background: rgba(15, 61, 50, 0.97);
    backdrop-filter: blur(20px);
    padding: 5.5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding: 0.5rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-list a {
    width: 100%;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
    justify-content: center;
  }

  .pillars-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
