:root {
  --text-primary: #1e1e1e;
  --text-secondary: #3b3b3d;
  --text-tertiary: #a1a1a1;
  --text-on-color: #fff;
  --bg-primary: #fff;
  --bg-secondary: #f9f9f9;
  --bg-contrast: #1e1e1e;
  --border: #e5e5e5;
  --blue: #4374FF;
  --blue-hover: #3465e8;
  --blue-light: rgba(67, 116, 255, 0.06);
  --black: #1e1e1e;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
  --transition: 0.2s ease;
}

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

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

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--text-primary);
  background: var(--bg-primary); overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }

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

/* Typography */
h1, h2, h3, h4, h5, h6 { color: var(--text-primary); font-weight: 600; }

.heading-72px { font-size: 72px; font-weight: 600; line-height: 1.08; letter-spacing: -2px; }
.heading-56px { font-size: 56px; font-weight: 600; line-height: 1.1; letter-spacing: -1.5px; }
.heading-48px { font-size: 48px; font-weight: 600; line-height: 1.12; letter-spacing: -1px; }
.heading40-48 { font-size: 40px; font-weight: 600; line-height: 1.2; letter-spacing: -0.5px; }
.heading-32px { font-size: 32px; font-weight: 600; line-height: 1.25; letter-spacing: -0.3px; }
.heading-28px { font-size: 28px; font-weight: 600; line-height: 1.3; }
.heading-24px { font-size: 24px; font-weight: 600; line-height: 1.3; }
.heading-20px { font-size: 20px; font-weight: 600; line-height: 1.4; }
.text-20px { font-size: 20px; line-height: 1.5; }
.text-18px { font-size: 18px; line-height: 1.55; }
.text16-24 { font-size: 16px; line-height: 1.5; }
.text14-20 { font-size: 14px; line-height: 1.43; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-blue { color: var(--blue); }
._w-semibold { font-weight: 600; }
._w-bold { font-weight: 700; }

/* Section */
.section { padding: 100px 0; position: relative; }
.section.is-bg-secondary { background: var(--blue); color: var(--text-on-color); }
.section.is-bg-secondary .section__badge { color: rgba(255,255,255,0.7); }
.section.is-bg-secondary .section__title,
.section.is-bg-secondary h1, .section.is-bg-secondary h2, .section.is-bg-secondary h3, .section.is-bg-secondary h4,
.section.is-bg-secondary .section__subtitle,
.section.is-bg-secondary > .container > p,
.section.is-bg-secondary > .container > div > p,
.section.is-bg-secondary .text-secondary { color: rgba(255,255,255,0.85); }
.section.is-bg-secondary a:not(.button) { color: rgba(255,255,255,0.9); text-decoration: underline; text-underline-offset: 2px; }
.section.is-bg-secondary a:not(.button):hover { color: #fff; }
.section.is-bg-secondary .tech-stack span { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); }
.section.is-bg-secondary .tech-stack span:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.section.is-bg-secondary .vibe-tools span { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); color: #fff; }
.section.is-bg-secondary .vibe-tools span:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }
/* Cards on coloured sections keep their own dark text */
.section.is-bg-secondary .card,
.section.is-bg-secondary .benefit-card,
.section.is-bg-secondary .service-card,
.section.is-bg-secondary .case-card,
.section.is-bg-secondary .pricing-card,
.section.is-bg-secondary .scenario-card,
.section.is-bg-secondary .team-card,
.section.is-bg-secondary .testimonial-card,
.section.is-bg-secondary .vs-card { color: var(--text-primary); }
.section.is-bg-secondary .card h1, .section.is-bg-secondary .card h2, .section.is-bg-secondary .card h3, .section.is-bg-secondary .card h4,
.section.is-bg-secondary .benefit-card h1, .section.is-bg-secondary .benefit-card h2, .section.is-bg-secondary .benefit-card h3, .section.is-bg-secondary .benefit-card h4,
.section.is-bg-secondary .service-card h1, .section.is-bg-secondary .service-card h2, .section.is-bg-secondary .service-card h3, .section.is-bg-secondary .service-card h4,
.section.is-bg-secondary .case-card h1, .section.is-bg-secondary .case-card h2, .section.is-bg-secondary .case-card h3, .section.is-bg-secondary .case-card h4,
.section.is-bg-secondary .pricing-card h1, .section.is-bg-secondary .pricing-card h2, .section.is-bg-secondary .pricing-card h3, .section.is-bg-secondary .pricing-card h4,
.section.is-bg-secondary .scenario-card h1, .section.is-bg-secondary .scenario-card h2, .section.is-bg-secondary .scenario-card h3, .section.is-bg-secondary .scenario-card h4,
.section.is-bg-secondary .team-card h1, .section.is-bg-secondary .team-card h2, .section.is-bg-secondary .team-card h3, .section.is-bg-secondary .team-card h4,
.section.is-bg-secondary .vs-card h1, .section.is-bg-secondary .vs-card h2, .section.is-bg-secondary .vs-card h3, .section.is-bg-secondary .vs-card h4 { color: var(--text-primary); }
.section.is-bg-secondary .benefit-card__text,
.section.is-bg-secondary .card p,
.section.is-bg-secondary .service-card__text,
.section.is-bg-secondary .case-card__text,
.section.is-bg-secondary .scenario-card p,
.section.is-bg-secondary .team-card__text { color: var(--text-secondary); }
.section.is-bg-light { background: var(--bg-secondary); }
.section.is-bg-contrast { background: var(--bg-contrast); color: var(--text-on-color); }
.section.is-bg-contrast h1, .section.is-bg-contrast h2, .section.is-bg-contrast h3, .section.is-bg-contrast h4 { color: var(--text-on-color); }
.section.is-border-top { border-top: 1px solid var(--border); }
.section.is-bg-secondary.is-border-top { border-top: 1px solid rgba(255,255,255,0.12); }
.section__header { margin-bottom: 48px; }
.section__badge {
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
.section__title { margin-bottom: 12px; }
.section__subtitle { color: var(--text-secondary); font-size: 18px; max-width: 600px; line-height: 1.55; }

/* Navigation */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #fff;
}
nav .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.navbar_logo { display: flex; align-items: center; }
.navbar_logo img { height: 36px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 6px 12px; font-size: 13px; font-weight: 500;
  color: var(--text-secondary); border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  cursor: pointer; position: relative;
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-secondary); }
.nav-link.nav-link--active { color: var(--text-primary); background: var(--bg-secondary); }
.nav-button-wrapper { margin-left: 8px; }

/* Mega-menu dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown__menu {
  position: absolute; top: 100%; left: 0; margin-top: 8px;
  background: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  min-width: 200px; padding: 8px; display: none; z-index: 100;
}
.nav-dropdown:hover .nav-dropdown__menu { display: block; }
.nav-dropdown__group { padding: 4px 0; }
.nav-dropdown__group + .nav-dropdown__group { margin-top: 4px; padding-top: 8px; }
.nav-dropdown__group-title {
  padding: 6px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-tertiary);
}
.nav-dropdown__link {
  display: block; padding: 6px 10px; font-size: 13px; font-weight: 500;
  color: var(--text-secondary); border-radius: var(--radius-sm);
  transition: all var(--transition); white-space: nowrap;
}
.nav-dropdown__link:hover { background: var(--bg-secondary); color: var(--blue); }
.nav-dropdown__link-desc { font-size: 12px; color: var(--text-tertiary); font-weight: 400; margin-top: 1px; }
.nav-dropdown__link--all { color: var(--blue); font-weight: 600; }
.nav-dropdown__arrow { font-size: 10px; margin-left: 4px; color: var(--text-tertiary); }
.nav-dropdown:hover .nav-dropdown__arrow { color: var(--blue); }

/* Mega-menu multi-column */
.nav-dropdown__menu--wide {
  position: absolute; top: 100%; left: 0; margin-top: 8px;
  background: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  min-width: 580px; display: none; padding: 16px; z-index: 100;
  grid-template-columns: 1fr 1fr; gap: 8px;
}
.nav-dropdown:hover .nav-dropdown__menu--wide { display: grid; }
.nav-dropdown:last-child .nav-dropdown__menu,
.nav-dropdown:last-child .nav-dropdown__menu--wide { left: auto; right: 0; }
.nav-dropdown__col { display: flex; flex-direction: column; gap: 2px; }
.nav-dropdown__col-title {
  padding: 6px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-tertiary); margin-bottom: 4px;
}
.nav-dropdown__col-title:not(:first-child) { margin-top: 8px; padding-top: 12px; }

/* Buttons */
@keyframes buttonPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 100px;
  font-size: 15px; font-weight: 600; line-height: 1.4;
  text-decoration: none; cursor: pointer; border: none;
  position: relative; overflow: hidden;
  transition: all var(--transition); white-space: nowrap;
}
.button.is-pulsing { animation: buttonPulse 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); }
.button::before {
  content: ''; position: absolute; z-index: -1;
  top: 100%; left: 0; width: 100%; height: 15rem;
  border-radius: 100%; background: var(--blue);
  transition: top 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              border-radius 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.button:hover::before {
  top: 0; border-radius: 0; height: 100%;
}
.button--primary { background: var(--black); color: var(--text-on-color); z-index: 1; }
.button--white {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border);
}
.button--white::before { display: none; }
.button--white:hover { border-color: var(--blue); }
.button--large { padding: 16px 32px; font-size: 16px; }
.button--small { padding: 10px 24px; font-size: 12px; }
.button--blue { background: var(--blue); color: var(--text-on-color); z-index: 1; }
.button--blue::before { background: var(--black); }
.button--blue:hover { color: var(--text-on-color); }
.button--outline-light {
  background: transparent; color: var(--text-on-color);
  border: 1px solid rgba(255,255,255,0.3); z-index: 1;
}
.button--outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
.section.is-bg-secondary .button::before { display: none; }

/* Hero */
.hero { padding: 130px 0 60px; position: relative; overflow: hidden; min-height: 0; }
.hero__wave {
  position: absolute;
  top: 80px; left: 0; right: 0; bottom: 80px;
  width: 100%;
  pointer-events: none; z-index: 1;
  -webkit-mask-image: radial-gradient(ellipse 65% 70% at 58% 50%, #000 20%, rgba(0,0,0,0.55) 60%, transparent 95%);
          mask-image: radial-gradient(ellipse 65% 70% at 58% 50%, #000 20%, rgba(0,0,0,0.55) 60%, transparent 95%);
}
@media (max-width: 768px) {
  .hero__wave {
    top: auto; bottom: 0;
    height: 48%;
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 55%, #000 20%, rgba(0,0,0,0.5) 60%, transparent 95%);
            mask-image: radial-gradient(ellipse 90% 80% at 50% 55%, #000 20%, rgba(0,0,0,0.5) 60%, transparent 95%);
  }
}
.hero__content { max-width: 820px; position: relative; z-index: 2; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  background: var(--blue-light); color: var(--blue);
  margin-bottom: 20px;
}
.hero__title { margin-bottom: 16px; }
.hero__title-line {
  display: inline-block;
}
@media (min-width: 1024px) {
  .hero__title-line { white-space: nowrap; }
}
.hero__title .highlight { color: var(--blue); }
.hero__text { font-size: 17px; color: var(--text-secondary); max-width: 560px; margin-bottom: 28px; line-height: 1.55; }
.hero__buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 32px; margin-top: 40px; }
.hero__stats > div { min-width: 0; }
.hero__stat-num { font-size: 40px; font-weight: 700; letter-spacing: -1px; color: var(--blue); line-height: 1.1; }
.hero__stat-label { font-size: 14px; color: var(--text-tertiary); margin-top: 4px; line-height: 1.4; }

/* Grids */
.grid_2col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid_3col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.grid_4col { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 20px; }
.grid_auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.grid_auto-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.is-gap_16 { gap: 16px; }
.is-gap_20 { gap: 20px; }
.is-gap_24 { gap: 24px; }
.is-gap_32 { gap: 32px; }
.is-gap_40 { gap: 40px; }

/* Service card */
.service-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none; color: inherit; display: block;
  position: relative;
  transition: all var(--transition);
}
.service-card__icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--blue-light);
  margin-bottom: 16px;
  font-size: 18px; color: var(--blue);
}
.service-card__title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.service-card__text { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }
.service-card__speed {
  display: inline-block;
  margin-top: 14px; font-size: 12px; font-weight: 600;
  color: var(--blue);
}
.service-card__arrow {
  float: right; font-size: 16px; color: var(--text-tertiary);
  margin-top: 16px; transition: all var(--transition);
}
.service-card:hover .service-card__arrow { color: var(--blue); }

/* Card (generic) */
.card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 22px;
}
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }
.card__features {
  margin-top: 16px; padding-top: 16px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.card__title { margin-bottom: 8px; }
.card__text { font-size: 15px; color: var(--text-secondary); line-height: 1.55; }
.card__features {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px;
  padding-top: 16px;
}
.card__features span {
  padding: 4px 10px; background: var(--blue-light); border-radius: 4px; font-size: 13px;
}

/* Case card */
.case-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none; color: inherit; display: block;
  transition: all var(--transition);
}
.case-card__body { padding: 24px 28px 28px; }
.case-card__tags { display: flex; gap: 8px; margin-bottom: 12px; }
.case-card__tag {
  padding: 4px 10px; border-radius: 100px;
  font-size: 12px; font-weight: 500;
  background: var(--bg-secondary); color: var(--text-secondary);
}
.case-card__tag.is-blue { background: var(--blue-light); color: var(--blue); }
.case-card__title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.case-card__text { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }
.case-card__result {
  margin-top: 16px; padding-top: 16px;
  font-size: 14px; font-weight: 600; color: var(--blue);
}

/* Vibe block */
.vibe-block {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
}
.vibe-block__title { margin-bottom: 16px; }
.vibe-block__title span { color: var(--blue); }
.vibe-block__text { color: var(--text-secondary); max-width: 700px; margin-bottom: 36px; line-height: 1.65; }
.vibe-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 24px; margin-bottom: 40px;
}
.vibe-metrics__num { font-size: 40px; font-weight: 700; color: var(--blue); line-height: 1.1; letter-spacing: -1px; }
.vibe-metrics__label { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.pipeline {
  display: flex; gap: 0; margin-bottom: 40px;
  position: relative; padding: 36px 0 0;
}
.pipeline::before {
  content: ''; position: absolute; top: 33px; left: 20px; right: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), rgba(67,116,255,0.15));
  z-index: 0;
}
.pipeline__item {
  flex: 1; text-align: center; position: relative; z-index: 1;
  padding: 16px 10px 0;
}
.pipeline__item::before {
  content: ''; position: absolute; top: -9px; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--blue); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--blue);
}
.pipeline__day { font-size: 11px; font-weight: 700; color: var(--blue); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 8px; }
.pipeline__item h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.pipeline__item p { font-size: 13px; color: var(--text-secondary); line-height: 1.45; }
.section.is-bg-secondary .pipeline::before { background: linear-gradient(90deg, rgba(255,255,255,0.5), rgba(255,255,255,0.08)); }
.section.is-bg-secondary .pipeline__item::before { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 2px #fff; }
.section.is-bg-secondary .pipeline__day { color: rgba(255,255,255,0.7); }
.section.is-bg-secondary .pipeline__item h4 { color: #fff; }
.section.is-bg-secondary .pipeline__item p { color: rgba(255,255,255,0.65); }

/* Pricing cards */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.pricing-card { background: var(--bg-primary); border-radius: var(--radius-lg); padding: 32px; transition: all var(--transition); display: flex; flex-direction: column; }
.pricing-card.is-popular { border-color: var(--blue); }
.pricing-card__badge { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--blue); letter-spacing: 0.5px; margin-bottom: 8px; }
.pricing-card__name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.pricing-card__price { font-size: 36px; font-weight: 800; letter-spacing: -1px; color: var(--black); margin-bottom: 4px; }
.pricing-card__price-note { font-size: 13px; color: var(--text-tertiary); margin-bottom: 24px; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 32px; flex: 1; }
.pricing-card__features li { padding: 8px 0; font-size: 14px; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.pricing-card__features li::before { content: ''; width: 5px; height: 5px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }
.pricing-card .button { margin-top: auto; }
.vibe-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.vibe-tools span {
  padding: 6px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); font-size: 13px; color: var(--text-secondary);
}
.vibe-block__disclaimer {
  padding: 20px 24px; border-radius: var(--radius);
  border: 1px solid var(--border); font-size: 14px;
  color: var(--text-secondary); line-height: 1.5;
}

/* Tech stack */
.tech-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-stack span {
  padding: 8px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); font-size: 13px; color: var(--text-secondary);
  background: var(--bg-primary); transition: all var(--transition);
}
.tech-stack span:hover { border-color: var(--blue); color: var(--blue); }

/* Benefits */
.benefit-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 28px; text-align: center;
}
.benefit-card__icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin: 0 auto 16px;
  border-radius: var(--radius); background: var(--blue-light);
  font-size: 20px; color: var(--blue);
}
.benefit-card__title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.benefit-card__text { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* Testimonials */
.testimonial-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.testimonial-card__text {
  font-size: 15px; color: var(--text-secondary); line-height: 1.6;
  margin-bottom: 24px; font-style: italic;
}
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; color: var(--text-tertiary); font-size: 15px; flex-shrink: 0;
}
.testimonial-card__name { font-weight: 600; font-size: 15px; }
.testimonial-card__role { font-size: 13px; color: var(--text-tertiary); }

/* Comparison table */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vs-card { background: var(--bg-primary); border-radius: var(--radius-lg); padding: 32px; }
.vs-card__title { font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.vs-card ul { list-style: none; }
.vs-card ul li { padding: 6px 0; font-size: 14px; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 8px; }
.vs-card.is-blue ul li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; margin-top: 8px; flex-shrink: 0; }
.vs-card.is-gray { background: var(--bg-secondary); }
.vs-card.is-gray ul li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: #e74c3c; border-radius: 50%; margin-top: 8px; flex-shrink: 0; }

/* Scenarios grid */
.scenarios-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.scenario-card { background: var(--bg-primary); border-radius: var(--radius-lg); padding: 28px; text-align: center; }
.scenario-card__icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin: 0 auto 16px;
  border-radius: var(--radius); background: var(--bg-secondary);
  font-size: 20px; color: var(--blue);
}
.scenario-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.scenario-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.45; }

/* FAQ */
.faq-grid { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 17px; font-weight: 500; user-select: none; }
.faq-q__toggle { font-size: 22px; color: var(--text-tertiary); flex-shrink: 0; margin-left: 16px; transition: transform var(--transition); }
.faq-q.is-open .faq-q__toggle { transform: rotate(45deg); }
.faq-a {
  color: var(--text-secondary); font-size: 15px; line-height: 1.6;
  max-height: 0; overflow: hidden; opacity: 0; padding-top: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease,
              padding-top 0.3s ease;
}
.faq-a.is-open { max-height: 500px; opacity: 1; padding-top: 12px; }

/* Contact form */
.contact-form { max-width: 560px; }
.contact-form.grid_2col { max-width: 720px; gap: 16px 24px; }
.contact-form .form-group { margin-bottom: 0; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; line-height: 1.3; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg-primary);
  color: var(--text-primary); font-family: inherit; font-size: 15px;
  transition: border-color var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--black); box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.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='8' fill='%23a1a1a1'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

/* Team section */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.team-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px; text-align: center;
}
.team-card__avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--bg-secondary); margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--text-tertiary);
}
.team-card__name { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.team-card__role { font-size: 14px; color: var(--blue); font-weight: 500; margin-bottom: 12px; }
.team-card__text { font-size: 14px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 16px; }
.team-card__cta { font-size: 14px; font-weight: 600; color: var(--blue); }

/* Partner logos */
.partners-strip {
  display: flex; gap: 40px; align-items: center; overflow-x: auto;
  padding: 16px 0; flex-wrap: wrap; justify-content: center;
}
.partners-strip span {
  font-size: 15px; font-weight: 500; color: var(--text-tertiary);
  white-space: nowrap; letter-spacing: 0.5px;
}

/* Service page hero */
.service-hero { padding: 140px 0 60px; position: relative; overflow: hidden; }
.service-hero__title { margin-bottom: 16px; }
.service-hero__text { color: var(--text-secondary); font-size: 18px; max-width: 600px; margin-bottom: 32px; line-height: 1.6; }

/* Nav back link */
.nav-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  padding: 8px 16px; border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-back:hover { color: var(--blue); background: var(--blue-light); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 60px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer__legal { font-size: 13px; line-height: 1.5; color: var(--text-tertiary); margin-top: 40px; max-width: 300px; }
.footer__heading { font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; color: var(--text-secondary); transition: color var(--transition); }
.footer__links a:hover { color: var(--blue); }
.footer__links--with-icons a { display: flex; align-items: center; gap: 8px; }
.footer__links--with-icons a svg { flex-shrink: 0; color: var(--text-tertiary); transition: color var(--transition); }
.footer__links--with-icons a:hover svg { color: var(--blue); }
.footer__bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__bottom-legal { font-size: 13px; color: var(--text-tertiary); }
.footer__bottom-rights { font-size: 13px; color: var(--text-tertiary); }
.contact-info { margin-top: 40px; display: flex; gap: 32px; flex-wrap: wrap; }
.contact-info a { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.8); font-size: 14px; text-decoration: none; transition: color var(--transition); }
.contact-info a:hover { color: #fff; }
.contact-info a svg { flex-shrink: 0; }

/* Burger menu */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; position: relative; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); margin: 5px 0; border-radius: 2px; transition: all 0.25s ease; transform-origin: center; }
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Responsive */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .vs-grid { grid-template-columns: 1fr; }
  .grid_4col { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .heading-72px { font-size: 36px; letter-spacing: -0.5px; }
  .heading-56px { font-size: 30px; letter-spacing: -0.3px; }
  .heading-48px { font-size: 26px; }
  .heading40-48 { font-size: 24px; letter-spacing: -0.2px; }
  .heading-32px { font-size: 20px; }
  .heading-28px { font-size: 19px; }
  .heading-24px { font-size: 18px; }
  .heading-20px { font-size: 17px; }
  .text-20px { font-size: 16px; }
  .text-18px { font-size: 15px; }
  body { font-size: 15px; }
  .section { padding: 80px 0; }
  .section__header { margin-bottom: 36px; }
  .section__subtitle { font-size: 15px; }
  .hero { padding: 140px 0 80px; min-height: 0; }
  .hero__title { margin-bottom: 20px; }
  .hero__title-line { white-space: normal; }
  .hero__text { font-size: 15px; margin-bottom: 40px; line-height: 1.65; }
  .hero__badge { font-size: 12px; padding: 6px 14px; margin-bottom: 28px; }
  .hero__buttons { gap: 14px; }
  .service-card { padding: 22px; }
  .service-card__title { font-size: 16px; }
  .service-card__text { font-size: 13px; }
  .case-card__body { padding: 20px 22px 22px; }
  .case-card__title { font-size: 16px; }
  .case-card__text { font-size: 13px; }
  .case-card__result { font-size: 13px; }
  .benefit-card__title { font-size: 16px; }
  .benefit-card__text { font-size: 13px; }
  .pricing-card__name { font-size: 17px; }
  .pricing-card__price { font-size: 30px; }
  .vibe-block__text { font-size: 14px; }
  .vibe-metrics__num { font-size: 32px; }
  .vibe-metrics__label { font-size: 12px; }
  .pipeline__item h4 { font-size: 14px; }
  .pipeline__item p { font-size: 12px; }
  .tech-stack span { font-size: 12px; padding: 6px 12px; }
  .vibe-tools span { font-size: 12px; padding: 5px 12px; }
  .faq-q { font-size: 15px; }
  .faq-a { font-size: 14px; }

  /* Pipeline → vertical on mobile */
  .pipeline {
    flex-direction: column; gap: 0;
    padding: 0 0 0 32px;
  }
  .pipeline::before {
    top: 12px; bottom: 12px; left: 11px; right: auto;
    height: auto; width: 2px;
    background: linear-gradient(180deg, var(--blue), rgba(67,116,255,0.15));
  }
  .pipeline__item {
    text-align: left; padding: 4px 0 24px 16px;
    flex: none; width: 100%;
  }
  .pipeline__item:last-child { padding-bottom: 0; }
  .pipeline__item::before {
    top: 6px; left: -26px;
    transform: none;
    width: 12px; height: 12px;
  }
  .section.is-bg-secondary .pipeline::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0.08));
  }

  .menu-toggle { display: block; }
  .nav-menu {
    display: flex; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--bg-primary);
    flex-direction: column; align-items: stretch;
    padding: 8px 0 32px; gap: 0;
    min-height: calc(100vh - 72px); overflow-y: auto;
    opacity: 0; pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-dropdown { width: 100%; display: block; }
  .nav-link {
    padding: 14px 24px; font-size: 15px;
    display: block; width: 100%; box-sizing: border-box;
    text-align: left;
  }
  .nav-dropdown > .nav-link { text-align: left; }
  .nav-button-wrapper { margin-left: 0; padding: 4px 24px; }
  .nav-button-wrapper .button { width: 100%; justify-content: center; padding: 14px 24px; font-size: 15px; }
  .nav-dropdown__menu, .nav-dropdown__menu--wide {
    position: static; box-shadow: none; border: none;
    padding: 0 0 4px 0; min-width: auto; display: none;
    text-align: left;
  }
  .nav-dropdown__menu--wide { grid-template-columns: 1fr; min-width: auto; gap: 0; }
  .nav-dropdown:hover .nav-dropdown__menu, .nav-dropdown:hover .nav-dropdown__menu--wide { display: none; }
  .nav-dropdown.is-open .nav-dropdown__menu, .nav-dropdown.is-open .nav-dropdown__menu--wide { display: block; }
  .nav-dropdown.is-open .nav-dropdown__menu--wide { display: grid; }
  .nav-dropdown__arrow { display: none; }
  .nav-dropdown__col { width: 100%; align-items: stretch; }
  .nav-dropdown__link {
    padding: 12px 36px; font-size: 14px; white-space: normal;
    display: block; width: 100%; box-sizing: border-box;
    text-align: left;
  }
  .nav-dropdown__col-title {
    padding: 14px 24px 6px; font-size: 11px;
    text-align: left; display: block; width: 100%; box-sizing: border-box;
  }
  .nav-dropdown__link--all { padding: 12px 36px; text-align: left; }

  .hero__stats { grid-template-columns: 1fr 1fr; gap: 28px 24px; margin-top: 56px; }
  .hero__stat-num { font-size: 32px; }
  .grid_2col, .grid_3col { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .vibe-block { padding: 28px; }
  .vibe-metrics { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .grid_4col { grid-template-columns: 1fr; }
  .service-hero { padding: 120px 0 40px; }
  .team-grid { grid-template-columns: 1fr; }
  .speed-ladder { flex-direction: column; gap: 0; padding-left: 24px; }
  .speed-ladder::before { left: 8px; height: 100%; width: 2px; }
  .speed-ladder__step { flex-direction: row; align-items: flex-start; gap: 16px; padding: 16px 0; }
  .speed-ladder__dot { margin: 0; flex-shrink: 0; }
  .contact-form.grid_2col { max-width: 100%; grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .benefit-card { padding: 24px; }
  .scenario-card { padding: 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .heading40-48 { font-size: 22px; }
  .heading-56px { font-size: 26px; }
  .section { padding: 64px 0; }
  .section__header { margin-bottom: 28px; }
  .hero { padding: 120px 0 64px; }
  .hero__title { font-size: 26px; margin-bottom: 18px; }
  .hero__text { font-size: 14px; margin-bottom: 32px; line-height: 1.65; }
  .hero__badge { margin-bottom: 24px; }
  .hero__buttons { flex-direction: column; gap: 12px; }
  .hero__buttons .button { width: 100%; justify-content: center; }
  .hero__stats { gap: 24px 20px; margin-top: 48px; }
  .hero__stat-num { font-size: 26px; }
  .hero__stat-label { font-size: 12px; }
  .service-hero { padding: 96px 0 32px; }
  .vibe-metrics { grid-template-columns: 1fr; gap: 16px; }
  .vibe-block { padding: 22px; }
  .contact-info { flex-direction: column; gap: 12px; }
  .footer__grid { gap: 20px; }
  .card-grid { grid-template-columns: 1fr; }
  .pains-grid { grid-template-columns: 1fr; }
}

/* Swiper overrides */
.swiper-slide { height: auto; }
.swiper-slide .case-card { height: 100%; }
.swiper-pagination-bullet { background: var(--border); opacity: 1; width: 10px; height: 10px; }
.swiper-pagination-bullet-active { background: var(--blue); }
.swiper-pagination { position: relative; margin-top: 24px; }

/* AOS tweaks */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* CountUp prep */
.hero__stat-num { display: inline-flex; align-items: baseline; }

/* Sidebar */
.sidebar-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.sidebar-overlay.is-open { opacity: 1; pointer-events: auto; }
.sidebar {
  position: fixed; top: 0; right: 0; z-index: 9999;
  width: min(720px, 92vw); max-width: 100%; height: 100vh;
  background: var(--bg-primary);
  display: flex; flex-direction: column;
  transform: translateX(110%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: none;
}
.sidebar.is-open {
  transform: translateX(0);
  box-shadow: -30px 0 80px -10px rgba(0,0,0,0.22), -10px 0 28px -10px rgba(0,0,0,0.1);
}
.sidebar__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 36px; border-bottom: 1px solid var(--border);
}
.sidebar__header h3 { font-size: 15px; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.1px; }
.sidebar__close {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-secondary); border: none; cursor: pointer;
  font-size: 16px; color: var(--text-primary); transition: all var(--transition);
  flex-shrink: 0;
}
.sidebar__close:hover { background: var(--border); }
.sidebar__body { padding: 36px; flex: 1; display: flex; flex-direction: column; }
.sidebar__body .section__badge { margin-bottom: 8px; }
.sidebar__body h2 { font-size: 26px; line-height: 1.25; margin-bottom: 12px; font-weight: 600; letter-spacing: -0.3px; }
.sidebar__body > p { font-size: 15px; color: var(--text-secondary); line-height: 1.55; margin-bottom: 28px; }
.sidebar__body .form-group { margin-bottom: 20px; }
.sidebar__body .form-group label { font-size: 14px; font-weight: 500; margin-bottom: 8px; display: block; color: var(--text-primary); line-height: 1.3; }
.sidebar__body .form-group input,
.sidebar__body .form-group select,
.sidebar__body .form-group textarea {
  width: 100%; padding: 14px 16px; font-size: 15px; font-family: inherit; line-height: 1.4;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-primary); color: var(--text-primary);
  outline: none; transition: all var(--transition);
}
.sidebar__body .form-group input:focus,
.sidebar__body .form-group select:focus,
.sidebar__body .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-light); }
.sidebar__body .form-group textarea { resize: vertical; min-height: 110px; }
.sidebar__body .button { margin-top: 8px; font-size: 15px; padding: 14px 28px; }
.sidebar__footer {
  padding: 20px 36px; border-top: 1px solid var(--border);
  display: flex; gap: 24px; flex-wrap: wrap;
}
.sidebar__footer a { font-size: 14px; }
.sidebar__footer a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-secondary); text-decoration: none;
  transition: color var(--transition);
}
.sidebar__footer a:hover { color: var(--blue); }
.sidebar__footer svg { flex-shrink: 0; color: var(--blue); }

/* Pipeline-steps (alternative timeline used on orchestration page) */
.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.pipeline-step {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; flex-direction: column;
  position: relative;
  transition: all var(--transition);
}
.pipeline-step:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); }
.pipeline-step__num {
  display: inline-flex;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.pipeline-step h4 {
  font-size: 18px; font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.pipeline-step p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}
.pipeline-step__duration {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 12px; font-weight: 600;
  color: #fff;
}
/* Variant on light section */
.section:not(.is-bg-secondary) .pipeline-step {
  background: var(--bg-primary);
  border-color: var(--border);
}
.section:not(.is-bg-secondary) .pipeline-step__num { background: var(--blue-light); color: var(--blue); }
.section:not(.is-bg-secondary) .pipeline-step h4 { color: var(--text-primary); }
.section:not(.is-bg-secondary) .pipeline-step p { color: var(--text-secondary); }
.section:not(.is-bg-secondary) .pipeline-step__duration { background: var(--blue-light); color: var(--blue); }

/* Breadcrumbs — global, aligned with container padding, with breathing room */
.breadcrumbs.container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  color: var(--text-tertiary);
  padding: 110px 24px 0;
  margin-bottom: 0;
}
.breadcrumbs.container a { color: var(--text-secondary); transition: color var(--transition); }
.breadcrumbs.container a:hover { color: var(--blue); }
.breadcrumbs.container span { color: var(--text-tertiary); }

/* Hero of detail pages (industries + services index/mvp) — more breathing room between breadcrumbs/badge/title/desc/buttons */
.breadcrumbs.container + .section,
.breadcrumbs.container + .service-hero { padding-top: 40px; }
.breadcrumbs.container + .section > .container > .section__badge,
.breadcrumbs.container + .service-hero > .container > .section__badge { margin-bottom: 16px; }
.breadcrumbs.container + .section > .container > h1,
.breadcrumbs.container + .service-hero > .container > h1 { margin-bottom: 24px; }
.breadcrumbs.container + .section > .container > .section__subtitle { margin-top: 24px !important; margin-bottom: 0; }

/* Service-hero spacing tune */
.service-hero__title { margin-bottom: 24px; }
.service-hero__text { margin-bottom: 40px; }

/* Card border for visibility on white sections (additive — bg/grey/blue stay fine) */
.card { border: 1px solid var(--border); }
.section.is-bg-secondary .card,
.section.is-bg-secondary .benefit-card,
.section.is-bg-secondary .pricing-card { border-color: transparent; }

/* Sidebar — mobile overrides (placed after base to win cascade order) */
@media (max-width: 768px) {
  .sidebar { width: 100vw; max-width: 100vw; }
}
@media (max-width: 480px) {
  .sidebar__header { padding: 18px 22px; }
  .sidebar__body { padding: 22px; }
  .sidebar__footer { padding: 14px 22px; flex-direction: column; gap: 10px; }
}

/* Mobile nav — polished look + smooth dropdown expand + bottom-pinned CTA */
@media (max-width: 768px) {
  .nav-menu {
    padding: 8px 0 0; gap: 0;
    overflow-y: auto;
  }
  .nav-menu > .nav-link,
  .nav-menu > .nav-dropdown > .nav-link {
    padding: 16px 24px; font-size: 16px; font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease, color 0.2s ease;
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav-menu > .nav-link:active,
  .nav-menu > .nav-dropdown > .nav-link:active { background: var(--bg-secondary); }
  .nav-menu > .nav-link:last-of-type { border-bottom: 1px solid var(--border); }
  .nav-dropdown { border-bottom: 1px solid var(--border); }
  .nav-dropdown > .nav-link { border-bottom: none !important; }

  /* Arrow back on mobile, rotates on open */
  .nav-dropdown__arrow {
    display: inline-block !important;
    font-size: 10px; margin-left: 8px;
    color: var(--text-tertiary);
    transition: transform 0.3s ease;
  }
  .nav-dropdown.is-open > .nav-link .nav-dropdown__arrow { transform: rotate(180deg); color: var(--blue); }
  .nav-dropdown.is-open > .nav-link { color: var(--blue); }

  /* Smooth dropdown expand via max-height (replaces display: none/block) */
  .nav-dropdown__menu, .nav-dropdown__menu--wide {
    display: block !important;
    max-height: 0; overflow: hidden;
    padding: 0; box-shadow: none; border: none;
    background: var(--bg-secondary);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  }
  .nav-dropdown.is-open .nav-dropdown__menu,
  .nav-dropdown.is-open .nav-dropdown__menu--wide {
    max-height: 800px;
    padding: 8px 0 12px;
  }
  .nav-dropdown__link {
    padding: 11px 36px; font-size: 14px;
    color: var(--text-secondary);
    border-radius: 0;
  }
  .nav-dropdown__link:hover, .nav-dropdown__link:active {
    background: rgba(67, 116, 255, 0.06);
    color: var(--blue);
  }
  .nav-dropdown__col-title {
    padding: 12px 24px 4px; font-size: 10px;
    color: var(--text-tertiary);
  }

  /* "Запустить проект" — pinned to bottom of menu */
  .nav-button-wrapper {
    margin-top: auto;
    position: sticky; bottom: 0;
    padding: 16px 24px 24px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
  }
  .nav-button-wrapper .button {
    width: 100%; justify-content: center;
    padding: 16px 24px; font-size: 15px;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9990;
  background: var(--bg-contrast);
  color: var(--text-on-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  transform: translateY(calc(100% + 32px));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 22px;
}
.cookie-banner__text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
}
.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__text a:hover { color: rgba(255,255,255,0.7); }
.cookie-banner__accept {
  flex-shrink: 0;
  background: #fff;
  color: var(--text-primary);
  border: none;
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cookie-banner__accept:hover { background: rgba(255,255,255,0.85); }
@media (max-width: 600px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 18px; }
  .cookie-banner__accept { width: 100%; padding: 12px; }
}

/* Personal data consent checkbox inside forms */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-top: 14px;
  cursor: pointer;
  user-select: none;
}
.form-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  cursor: pointer;
  accent-color: var(--blue);
}
.form-consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:hover { color: var(--blue-hover); }
/* On blue sections: light variant */
.section.is-bg-secondary .form-consent { color: rgba(255,255,255,0.85); }
.section.is-bg-secondary .form-consent a { color: #fff; }
.section.is-bg-secondary .form-consent a:hover { color: rgba(255,255,255,0.75); }
