/* ===== Reset & base ===== */
:where(*, *::before, *::after) { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  font-family: var(--gw-font);
  font-weight: 400;
  color: var(--gw-navy);
  background: var(--gw-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:where(h1, h2, h3, h4) {
  font-family: var(--gw-font);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 4.4vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
p { color: var(--gw-muted); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.gw-container {
  max-width: var(--gw-container);
  margin: 0 auto;
  padding: 0 24px;
}

.gw-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gw-blue);
  margin-bottom: var(--gw-sp-sm);
}

/* ===== Buttons ===== */
.gw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--gw-r-btn);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.gw-btn--primary { background: var(--gw-blue); color: var(--gw-white); }
.gw-btn--primary:hover { background: var(--gw-blue-dark); transform: translateY(-2px); }
.gw-btn--outline { background: transparent; color: var(--gw-navy); border-color: var(--gw-navy); }
.gw-btn--outline:hover { background: var(--gw-navy); color: var(--gw-white); transform: translateY(-2px); }
.gw-btn--white { background: var(--gw-white); color: var(--gw-navy); }
.gw-btn--white:hover { background: var(--gw-surface); transform: translateY(-2px); }
.gw-btn--ghost-light { background: transparent; color: var(--gw-white); border-color: rgba(255,255,255,0.4); }
.gw-btn--ghost-light:hover { border-color: #fff; transform: translateY(-2px); }

/* ===== Header ===== */
.gw-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gw-border);
}
.gw-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
.gw-logo { display: flex; align-items: center; gap: 10px; }
.gw-logo img { height: 60px; width: auto; }
.gw-nav { display: flex; align-items: center; gap: 36px; }
.gw-nav__list { display: flex; align-items: center; gap: 32px; }
.gw-nav__list a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gw-navy);
  position: relative;
  padding: 6px 0;
}
.gw-nav__list a:hover { color: var(--gw-blue); }
.gw-nav__list .gw-has-dropdown { position: relative; }
.gw-dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--gw-white);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-r-md);
  box-shadow: var(--gw-shadow);
  min-width: 260px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.gw-has-dropdown:hover .gw-dropdown,
.gw-has-dropdown:focus-within .gw-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.gw-dropdown a { display: block; padding: 10px 14px; border-radius: var(--gw-r-sm); font-weight: 500; }
.gw-dropdown a:hover { background: var(--gw-surface); color: var(--gw-blue); }
.gw-header__cta { display: flex; align-items: center; gap: 20px; }
.gw-menu-toggle { display: none; background: none; border: none; }
@media (max-width: 900px) {
  .gw-nav__list, .gw-header__cta .gw-btn--outline { display: none; }
  .gw-menu-toggle { display: block; }
}

/* Mobile menu panel */
.gw-mobile-panel {
  position: fixed; inset: 0; background: var(--gw-navy); color: #fff;
  z-index: 200; transform: translateX(100%); transition: transform 0.25s ease;
  display: flex; flex-direction: column; padding: 24px;
}
.gw-mobile-panel.is-open { transform: translateX(0); }
.gw-mobile-panel__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.gw-mobile-panel a { display: block; font-size: 1.3rem; font-weight: 700; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12); color: #fff; }
.gw-mobile-panel__close { background: none; border: none; color: #fff; font-size: 1.8rem; }

/* ===== Footer ===== */
.gw-footer { background: var(--gw-navy); color: rgba(255,255,255,0.72); padding: var(--gw-sp-xl) 0 var(--gw-sp-lg); }
.gw-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.gw-footer__brand img { height: 56px; margin-bottom: 16px; }
.gw-footer__tagline { max-width: 280px; font-size: 0.95rem; }
.gw-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 0.02em; }
.gw-footer ul li { margin-bottom: 12px; }
.gw-footer a:hover { color: var(--gw-blue); }
.gw-footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 0.85rem; flex-wrap: wrap; gap: 12px; }
.gw-footer__bottom a { opacity: 0.8; }
@media (max-width: 860px) {
  .gw-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Sections generic ===== */
.gw-section { padding: var(--gw-sp-xl) 0; }
.gw-section--surface { background: var(--gw-surface); }
.gw-section--navy { background: var(--gw-navy); color: #fff; }
.gw-section--navy p { color: rgba(255,255,255,0.75); }
.gw-section--navy h2, .gw-section--navy h3 { color: #fff; }
.gw-section-head { max-width: 680px; margin-bottom: 56px; }
.gw-section-head p { font-size: 1.1rem; margin-top: 16px; }

/* ===== CTA banner ===== */
.gw-cta-banner { background: linear-gradient(120deg, var(--gw-navy) 0%, var(--gw-blue-dark) 100%); padding: 56px 0; }
.gw-cta-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.gw-cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 6px; }
.gw-cta-banner p { color: rgba(255,255,255,0.78); }

/* ===== Cards ===== */
.gw-card {
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-r-md);
  padding: 36px 32px;
}
.gw-card:hover { border-color: var(--gw-blue); }

/* Service cards grid */
.gw-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .gw-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .gw-services-grid { grid-template-columns: 1fr; } }
.gw-service-card { display: flex; flex-direction: column; height: 100%; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.gw-service-card:hover { transform: translateY(-6px); box-shadow: var(--gw-shadow-sm); }
.gw-service-card__icon {
  width: 52px; height: 52px; border-radius: var(--gw-r-sm);
  background: var(--gw-navy); color: var(--gw-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.gw-service-card h3 { margin-bottom: 10px; }
.gw-service-card p { flex: 1; margin-bottom: 20px; font-size: 0.95rem; }
.gw-service-card__link { font-weight: 700; color: var(--gw-blue); font-size: 0.9rem; letter-spacing: 0.02em; }
.gw-service-card__link:hover { text-decoration: underline; }

/* Journey (Build -> Get Found -> Get Customers -> Grow) staggered visual */
.gw-journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 40px; }
.gw-journey__step {
  position: relative; padding: 28px 22px; background: var(--gw-white);
  border: 1px solid var(--gw-border); border-radius: var(--gw-r-md);
}
.gw-journey__step:nth-child(2) { transform: translateY(28px); }
.gw-journey__step:nth-child(3) { transform: translateY(56px); }
.gw-journey__step:nth-child(4) { transform: translateY(84px); }
.gw-journey__num { font-size: 0.8rem; font-weight: 800; color: var(--gw-blue); letter-spacing: 0.08em; margin-bottom: 10px; }
.gw-journey__step h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.gw-journey__step p { font-size: 0.88rem; margin: 0; }
.gw-journey__arrow { position: absolute; top: 50%; right: -14px; transform: translateY(-50%); color: var(--gw-blue); font-size: 1.4rem; z-index: 2; }
.gw-journey__step:last-child .gw-journey__arrow { display: none; }
@media (max-width: 900px) {
  .gw-journey { grid-template-columns: 1fr; gap: 16px; }
  .gw-journey__step:nth-child(2), .gw-journey__step:nth-child(3), .gw-journey__step:nth-child(4) { transform: none; }
  .gw-journey__arrow { display: none; }
}

/* Process steps */
.gw-process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 1000px) { .gw-process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gw-process { grid-template-columns: 1fr; } }
.gw-process__step h4 { margin: 14px 0 8px; }
.gw-process__num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gw-navy); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}

/* Stat strip */
.gw-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gw-stat { text-align: left; }
.gw-stat__num { font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 800; color: var(--gw-blue); }
.gw-stat__label { color: var(--gw-muted); font-size: 0.9rem; margin-top: 4px; }

/* FAQ accordion */
.gw-faq { max-width: 820px; margin: 0 auto; }
.gw-faq-item { border-bottom: 1px solid var(--gw-border); }
.gw-faq-item__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 24px 4px; background: none; border: none; text-align: left;
  font-weight: 700; font-size: 1.05rem; color: var(--gw-navy);
}
.gw-faq-item__icon { font-size: 1.4rem; color: var(--gw-blue); transition: transform 0.2s ease; flex-shrink: 0; margin-left: 16px; }
.gw-faq-item.is-open .gw-faq-item__icon { transform: rotate(45deg); }
.gw-faq-item__a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.gw-faq-item.is-open .gw-faq-item__a { max-height: 320px; }
.gw-faq-item__a p { padding: 0 4px 22px; }

/* Hero */
.gw-hero { padding: 72px 0 var(--gw-sp-xl); position: relative; overflow: hidden; }
.gw-hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .gw-hero__inner { grid-template-columns: 1fr; } }
.gw-hero__trust { display: flex; align-items: center; gap: 10px; color: var(--gw-muted); font-size: 0.85rem; font-weight: 600; margin-top: 28px; flex-wrap: wrap; }
.gw-hero__trust span:first-child { color: var(--gw-navy); }
.gw-hero__cta { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.gw-hero h1 { margin-bottom: 20px; }
.gw-hero p.gw-lead { font-size: 1.15rem; max-width: 46ch; }

/* Hero visual mockup */
.gw-hero-visual { position: relative; }
.gw-mockup {
  background: var(--gw-white);
  border-radius: var(--gw-r-md);
  border: 1px solid var(--gw-border);
  box-shadow: var(--gw-shadow);
  overflow: hidden;
  transform: rotate(-2deg);
}
.gw-mockup__bar { display: flex; gap: 6px; padding: 12px 16px; background: var(--gw-surface); border-bottom: 1px solid var(--gw-border); }
.gw-mockup__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gw-border); }
.gw-mockup__body { padding: 24px; }
.gw-mockup__line { height: 10px; border-radius: 4px; background: var(--gw-border); margin-bottom: 10px; }
.gw-mockup__line--60 { width: 60%; }
.gw-mockup__line--40 { width: 40%; background: var(--gw-blue); opacity: 0.35; }
.gw-mockup__chart { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: 20px; }
.gw-mockup__bar-el { flex: 1; background: linear-gradient(180deg, var(--gw-blue), var(--gw-navy)); border-radius: 4px 4px 0 0; }
.gw-float-card {
  position: absolute; background: #fff; border: 1px solid var(--gw-border);
  border-radius: var(--gw-r-md); box-shadow: var(--gw-shadow-sm); padding: 14px 18px;
  font-size: 0.85rem; font-weight: 700; display: flex; align-items: center; gap: 10px;
}
.gw-float-card--search { top: -20px; right: -10px; transform: rotate(3deg); }
.gw-float-card--growth { bottom: -22px; left: -24px; transform: rotate(-3deg); color: var(--gw-blue); }
.gw-float-card__dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }

/* Problem/Solution */
.gw-problem { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .gw-problem { grid-template-columns: 1fr; gap: 32px; } }
.gw-problem ul li { display: flex; gap: 12px; margin-bottom: 16px; color: var(--gw-navy); font-weight: 600; }
.gw-problem ul li::before { content: "\2014"; color: var(--gw-blue); font-weight: 800; }

/* Why us */
.gw-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .gw-why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gw-why-grid { grid-template-columns: 1fr; } }

/* Portfolio */
.gw-portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .gw-portfolio-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .gw-portfolio-grid { grid-template-columns: 1fr; } }
.gw-portfolio-card { overflow: hidden; }
.gw-portfolio-card__img {
  aspect-ratio: 4/3; border-radius: var(--gw-r-md); margin-bottom: 18px;
  background: linear-gradient(135deg, var(--gw-navy), var(--gw-blue));
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7);
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.gw-portfolio-card__tag { font-size: 0.78rem; font-weight: 700; color: var(--gw-blue); text-transform: uppercase; letter-spacing: 0.04em; }
.gw-portfolio-card h3 { margin: 8px 0 6px; }

/* Placeholder note */
.gw-placeholder-note { font-size: 0.78rem; color: var(--gw-muted); font-style: italic; margin-top: 8px; }

/* Forms */
.gw-form { background: var(--gw-surface); border-radius: var(--gw-r-md); padding: 40px; border: 1px solid var(--gw-border); }
.gw-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 640px) { .gw-form__row { grid-template-columns: 1fr; } }
.gw-form label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 8px; color: var(--gw-navy); }
.gw-form input, .gw-form select, .gw-form textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--gw-r-btn);
  border: 1px solid var(--gw-border); background: #fff; color: var(--gw-navy);
}
.gw-form input:focus, .gw-form select:focus, .gw-form textarea:focus {
  outline: none; border-color: var(--gw-blue); box-shadow: 0 0 0 3px rgba(8,120,209,0.15);
}
.gw-form .gw-hp { position: absolute; left: -9999px; }
.gw-contact-info { display: flex; flex-direction: column; gap: 28px; }
.gw-contact-info__item { display: flex; gap: 16px; }
.gw-contact-info__icon { width: 44px; height: 44px; border-radius: var(--gw-r-sm); background: rgba(8,120,209,0.1); color: var(--gw-blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.2rem; }

/* Utility */
.gw-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .gw-grid-2 { grid-template-columns: 1fr; gap: 32px; } }
.gw-text-center { text-align: center; margin-left: auto; margin-right: auto; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js-ready .reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal, html:not(.js-ready) .reveal { opacity: 1; transform: none; }
