/* =========================================================
   Nyxel Digital Studio · v3.0
   Estilos globales — todas las variables están en :root.
   ========================================================= */

:root {
  --white:        #FFFFFF;
  --abyss-navy:   #1C2A40;
  --depth-navy:   #2E4470;
  --steel-blue:   #5B7FA0;
  --slate-blue:   #7A9BB8;
  --mist:         #C2D0DF;
  --bone:         #E8E4DC;
  --surface:      #F4F6F9;
  --border:       #E2E8EF;
  --navbar-bg:    #D6DDE6;

  --shadow-sm: 0 1px 2px rgba(28,42,64,0.04);
  --shadow-md: 0 4px 16px rgba(28,42,64,0.06);
  --shadow-lg: 0 8px 30px rgba(28,42,64,0.08);
  --shadow-xl: 0 20px 60px rgba(28,42,64,0.12);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 200ms;
  --t-base: 300ms;
  --t-slow: 500ms;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --container: 1200px;
  --gutter: 24px;

  --nav-height: 72px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--abyss-navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--nav-height);
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--abyss-navy);
}

p { margin: 0; }

/* ---------- Containers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: 96px 0; }
.section--surface { background: var(--surface); }
.section--dark { background: var(--abyss-navy); color: var(--mist); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--bone); }

@media (max-width: 768px) {
  .section { padding: 64px 0; }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-blue);
  margin-bottom: 16px;
}

.display {
  font-weight: 300;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.display-lg {
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.h2 {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.025em;
}

.lede {
  font-weight: 400;
  font-size: 20px;
  color: var(--steel-blue);
  line-height: 1.5;
  letter-spacing: -0.005em;
}

.muted { color: var(--slate-blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast) ease, color var(--t-fast) ease,
              border-color var(--t-fast) ease, transform var(--t-fast) ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--abyss-navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--depth-navy); }

.btn-secondary {
  background: transparent;
  color: var(--abyss-navy);
  border: 1.5px solid var(--abyss-navy);
}
.btn-secondary:hover { background: var(--abyss-navy); color: var(--white); }

.btn-bone {
  background: var(--bone);
  color: var(--abyss-navy);
}
.btn-bone:hover { background: var(--white); }

.btn-pill {
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 14px;
  background: var(--abyss-navy);
  color: var(--bone);
}
.btn-pill:hover { background: var(--depth-navy); }

.btn-block { width: 100%; }

/* ---------- NAVBAR ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--navbar-bg);
  z-index: 100;
  transition: box-shadow var(--t-base) ease;
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--border), 0 4px 16px rgba(28,42,64,0.04); }

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo img { height: 16px; width: auto; display: block; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  position: relative;
  font-weight: 500;
  font-size: 15px;
  color: var(--abyss-navy);
  padding: 4px 0;
  transition: color var(--t-fast) ease;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px;
  width: 100%;
  background: var(--depth-navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease-out);
}
.nav__link:hover { color: var(--depth-navy); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--depth-navy); }

.nav__cta { margin-left: 8px; }

/* Language switcher */
.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  user-select: none;
}
.nav__lang-btn {
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--slate-blue);
  padding: 4px 2px;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color var(--t-fast) ease;
}
.nav__lang-btn:hover { color: var(--abyss-navy); }
.nav__lang-btn.is-active {
  color: var(--abyss-navy);
  font-weight: 700;
}
.nav__lang-sep {
  color: var(--mist);
  font-size: 14px;
  line-height: 1;
}

/* Mobile drawer */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--abyss-navy);
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-fast) ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,42,64,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) ease;
  z-index: 98;
}
.nav__overlay.is-open { opacity: 1; pointer-events: auto; }

@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(320px, 80vw);
    background: var(--navbar-bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: calc(var(--nav-height) + 24px) 24px 24px;
    transform: translateX(100%);
    transition: transform var(--t-base) var(--ease-out);
    box-shadow: -8px 0 30px rgba(28,42,64,0.08);
    z-index: 99;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__link { font-size: 18px; padding: 12px 0; width: 100%; }
  .nav__link::after { display: none; }
  .nav__cta { margin-left: 0; margin-top: 16px; }
  .nav__lang { margin-left: 0; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--border); width: 100%; }
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--abyss-navy);
  color: var(--mist);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
.footer__logo { height: 44px; width: auto; margin-bottom: 20px; }
.footer__tagline {
  font-weight: 400;
  font-size: 16px;
  color: var(--bone);
  max-width: 280px;
  line-height: 1.6;
  letter-spacing: -0.005em;
}
.footer h4 {
  color: var(--bone);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__list a { color: var(--mist); transition: color var(--t-fast) ease; font-size: 15px; }
.footer__list a:hover { color: var(--bone); }
.footer__contact { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__contact a { color: var(--mist); transition: color var(--t-fast) ease; }
.footer__contact a:hover { color: var(--bone); }
.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(194,208,223,0.15);
  font-size: 13px;
  color: var(--slate-blue);
  text-align: center;
}

@media (max-width: 768px) {
  .footer { padding: 48px 0 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- HERO (home) ---------- */
.hero {
  padding: 80px 0 96px;
  background: var(--white);
}
.hero__grid {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 64px;
  align-items: center;
}
.hero__text { display: flex; flex-direction: column; gap: 24px; }
.hero__buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero__visual--floating { animation: float 5s ease-in-out infinite; }

@keyframes logoBreath {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.85; transform: scale(1.015); }
}
.hero__brand-logo {
  display: inline-block;
  transform-origin: center;
  animation: logoBreath 4s ease-in-out infinite;
}
.hero__dot {
  position: absolute;
  border-radius: 50%;
  background: var(--steel-blue);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.hero__dot--a { width: 80px; height: 80px; top: -28px; right: -20px; }
.hero__dot--b { width: 28px; height: 28px; bottom: 30px; left: -16px; opacity: 0.55; }
.hero__line {
  position: absolute;
  background: var(--steel-blue);
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}
.hero__line--a { width: 80px; height: 2px; top: 60px; left: -30px; }
.hero__line--b { width: 2px; height: 60px; bottom: -20px; right: 30px; }

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { margin: 0 auto; max-width: 460px; }
}
@media (max-width: 768px) {
  .hero { padding: 48px 0 64px; }
}

/* ---------- Browser mockup ---------- */
.bm {
  position: relative;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  z-index: 1;
}
.bm__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.bm__dots { display: flex; gap: 6px; flex-shrink: 0; }
.bm__dots span {
  width: 11px; height: 11px; border-radius: 50%;
  display: block;
}
.bm__dots span:nth-child(1) { background: #FF5F57; }
.bm__dots span:nth-child(2) { background: #FEBC2E; }
.bm__dots span:nth-child(3) { background: #28C941; }
.bm__url {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 11px;
  color: var(--slate-blue);
  padding: 5px 10px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.bm__url::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--mist);
  flex-shrink: 0;
}
.bm__viewport {
  background: var(--white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Hero mockup variant — square-ish */
.bm--hero .bm__viewport { aspect-ratio: 16 / 13; padding: 22px; }
.bm-mini-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.bm-mini-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: var(--abyss-navy);
  letter-spacing: 0.02em;
}
.bm-mini-logo::before {
  content: ''; width: 16px; height: 16px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--depth-navy), var(--steel-blue));
}
.bm-mini-links { display: flex; gap: 14px; }
.bm-mini-links span {
  width: 32px; height: 6px; border-radius: 3px;
  background: var(--mist); opacity: 0.7;
}
.bm-mini-links span:last-child { background: var(--abyss-navy); opacity: 1; width: 40px; }

.bm-title-block { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.bm-title-bar {
  height: 14px; border-radius: 4px;
  background: var(--abyss-navy);
}
.bm-title-bar--w1 { width: 88%; }
.bm-title-bar--w2 { width: 64%; }
.bm-title-bar--accent { background: var(--depth-navy); }

.bm-para { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.bm-para span {
  height: 6px; border-radius: 3px;
  background: var(--mist); opacity: 0.8;
}
.bm-para span:nth-child(1) { width: 100%; }
.bm-para span:nth-child(2) { width: 92%; }
.bm-para span:nth-child(3) { width: 68%; }

.bm-btn-row { display: flex; gap: 8px; margin-top: 4px; }
.bm-btn {
  height: 26px;
  border-radius: 5px;
  display: inline-block;
}
.bm-btn--primary { width: 84px; background: var(--abyss-navy); }
.bm-btn--ghost { width: 60px; background: transparent; border: 1px solid var(--border); }

/* Service block visual variants */
.bm--svc { width: 100%; max-width: none; }
.bm--svc .bm__viewport { aspect-ratio: 4 / 3; padding: 20px; gap: 14px; }

/* Servicio 1 — Informativa */
.bm-info-hero {
  background: var(--surface);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bm-info-eyebrow {
  height: 6px; width: 60px; border-radius: 3px;
  background: var(--depth-navy); opacity: 0.7;
}
.bm-info-title {
  height: 14px; width: 78%; border-radius: 4px;
  background: var(--abyss-navy);
}
.bm-info-title.short { width: 50%; }
.bm-info-cta {
  height: 22px; width: 90px;
  background: var(--abyss-navy);
  border-radius: 5px;
  margin-top: 4px;
}
.bm-info-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 4px;
}
.bm-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.bm-info-icon {
  width: 16px; height: 16px; border-radius: 4px;
  background: var(--mist);
}
.bm-info-line {
  height: 5px; border-radius: 2px; background: var(--mist); opacity: 0.7;
}
.bm-info-line.l2 { width: 75%; }

/* Servicio 2 — Interactiva */
.bm-tabs {
  display: flex; gap: 2px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.bm-tab {
  font-size: 10px;
  padding: 8px 12px;
  color: var(--slate-blue);
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.bm-tab.is-active {
  color: var(--depth-navy);
  border-bottom-color: var(--depth-navy);
  font-weight: 600;
}
.bm-slider {
  display: flex; gap: 8px;
  padding: 4px 0;
}
.bm-slide {
  flex: 1;
  background: var(--surface);
  border-radius: 6px;
  aspect-ratio: 5/3;
  position: relative;
}
.bm-slide.is-main {
  background: linear-gradient(135deg, var(--mist), var(--depth-navy));
  flex: 2;
}
.bm-slide-dots {
  display: flex; justify-content: center; gap: 4px;
}
.bm-slide-dots span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--mist);
}
.bm-slide-dots span.is-active { background: var(--depth-navy); width: 14px; border-radius: 3px; }
.bm-cta-row {
  display: flex; gap: 8px;
}
.bm-pill {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px;
  display: flex; align-items: center; gap: 6px;
}
.bm-pill::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--depth-navy);
}
.bm-pill-line {
  flex: 1;
  height: 5px; border-radius: 2px;
  background: var(--mist); opacity: 0.6;
}
.bm-pill.is-active { background: var(--abyss-navy); border-color: var(--abyss-navy); }
.bm-pill.is-active::before { background: var(--bone); }
.bm-pill.is-active .bm-pill-line { background: var(--mist); opacity: 0.5; }

/* Servicio 3 — Tienda */
.bm-shop-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.bm-shop-search {
  flex: 1; height: 22px;
  background: var(--surface);
  border-radius: 999px;
  margin-right: 10px;
  display: flex; align-items: center; padding: 0 12px;
  font-size: 10px; color: var(--slate-blue);
}
.bm-shop-search::before {
  content: ''; width: 8px; height: 8px;
  border: 1.5px solid var(--slate-blue); border-radius: 50%;
  margin-right: 6px;
}
.bm-shop-bag {
  width: 26px; height: 22px;
  background: var(--abyss-navy);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: var(--bone); font-weight: 600;
}
.bm-shop-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  flex: 1;
}
.bm-product {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.bm-product-img {
  aspect-ratio: 1/1;
  background: var(--surface);
  position: relative;
}
.bm-product-img.v1 { background: linear-gradient(135deg, var(--mist), var(--steel-blue)); }
.bm-product-img.v2 { background: linear-gradient(135deg, var(--bone), var(--slate-blue)); }
.bm-product-img.v3 { background: linear-gradient(135deg, var(--surface), var(--mist)); }
.bm-product-info {
  padding: 6px 8px;
  display: flex; flex-direction: column; gap: 4px;
  flex: 1;
}
.bm-product-name {
  height: 5px; border-radius: 2px;
  background: var(--abyss-navy); opacity: 0.85;
  width: 80%;
}
.bm-product-price {
  font-size: 9px; font-weight: 700; color: var(--depth-navy);
  margin-top: auto;
}
.bm-product-add {
  margin: 0 8px 8px;
  background: var(--abyss-navy);
  color: var(--bone);
  border-radius: 4px;
  font-size: 9px; font-weight: 600;
  padding: 5px 0; text-align: center;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .bm--svc .bm__viewport { padding: 16px; gap: 10px; }
  .bm-info-grid { gap: 6px; }
  .bm-info-card { padding: 8px; }
  .bm-shop-grid { gap: 6px; grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Page hero (for inner pages) ---------- */
.page-hero {
  padding: 80px 0 64px;
  background: var(--white);
}
.page-hero__inner { max-width: 820px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero p { font-size: 18px; color: var(--slate-blue); line-height: 1.6; max-width: 680px; }

@media (max-width: 768px) {
  .page-hero { padding: 48px 0 32px; }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.stat {
  text-align: center;
  padding: 24px;
}
.stat__num {
  font-weight: 700;
  font-size: clamp(40px, 5vw, 56px);
  color: var(--depth-navy);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.stat__label {
  font-size: 16px;
  color: var(--slate-blue);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .stats { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Section headers ---------- */
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 17px; color: var(--slate-blue); }

/* ---------- Feature cards (grid 3) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--t-base) ease,
              box-shadow var(--t-base) ease,
              transform var(--t-base) ease;
}
.feature-card:hover {
  border-color: var(--slate-blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature-card__icon {
  display: inline-flex;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--surface);
  align-items: center; justify-content: center;
  color: var(--depth-navy);
}
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 20px; font-weight: 600; }
.feature-card p { color: var(--slate-blue); line-height: 1.6; }
.feature-card__link {
  margin-top: auto;
  font-weight: 600;
  color: var(--depth-navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t-fast) ease;
}
.feature-card__link:hover { gap: 10px; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA dark band ---------- */
.cta-band {
  background: var(--abyss-navy);
  padding: 100px 0;
  text-align: center;
}
.cta-band__inner { max-width: 680px; margin: 0 auto; }
.cta-band h2 {
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 48px);
  color: var(--bone);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.cta-band p { color: var(--mist); font-size: 18px; margin-bottom: 32px; }

.cta-band--surface {
  background: var(--surface);
  padding: 80px 0;
}
.cta-band--surface h2 { color: var(--abyss-navy); }
.cta-band--surface p { color: var(--slate-blue); }

@media (max-width: 768px) {
  .cta-band { padding: 64px 0; }
}

/* ---------- Service blocks (alternating) ---------- */
.svc-block {
  padding: 80px 0;
}
.svc-block + .svc-block { border-top: 1px solid var(--border); }
.svc-block--alt { background: var(--surface); }
.svc-block--alt + .svc-block { border-top: none; }
.svc-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.svc-block--reverse .svc-block__grid > :first-child { order: 2; }
.svc-block__text h2 { margin-bottom: 16px; }
.svc-block__text > p { color: var(--slate-blue); font-size: 17px; line-height: 1.7; margin-bottom: 24px; }
.svc-block__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.svc-block__list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px;
}
.svc-block__list svg {
  flex-shrink: 0; margin-top: 3px; color: var(--depth-navy);
  width: 18px; height: 18px;
}
.svc-block__visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.svc-block__visual--a { background: linear-gradient(135deg, var(--mist), var(--depth-navy)); }
.svc-block__visual--b { background: linear-gradient(135deg, var(--steel-blue), var(--abyss-navy)); }
.svc-block__visual--c { background: linear-gradient(135deg, var(--bone), var(--slate-blue)); }
.svc-block__visual::before,
.svc-block__visual::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.svc-block__visual::before { width: 200px; height: 200px; top: -60px; right: -60px; }
.svc-block__visual::after  { width: 120px; height: 120px; bottom: -30px; left: 30px; opacity: 0.6; }

@media (max-width: 900px) {
  .svc-block__grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-block--reverse .svc-block__grid > :first-child { order: 0; }
}

/* ---------- Process steps ---------- */
.steps { display: flex; flex-direction: column; gap: 8px; position: relative; }
.step {
  position: relative;
  padding: 48px 0 48px 96px;
  border-left: 1px solid var(--border);
  margin-left: 24px;
}
.step:last-child { border-left-color: transparent; }
.step__num {
  position: absolute;
  left: -180px;
  top: -10px;
  font-weight: 700;
  font-size: 140px;
  color: var(--mist);
  line-height: 1;
  opacity: 0.4;
  letter-spacing: -0.05em;
  pointer-events: none;
  z-index: 0;
}
.step__dot {
  position: absolute;
  left: -7px; top: 56px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--depth-navy);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--border);
}
.step__badge {
  display: inline-block;
  background: var(--surface);
  color: var(--depth-navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.step h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.step p {
  color: var(--slate-blue);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 580px;
  position: relative;
  z-index: 1;
}
.step__deliverables {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--steel-blue);
}
.step__deliverables li { display: flex; gap: 8px; align-items: center; }
.step__deliverables li::before { content: '—'; color: var(--mist); }

@media (max-width: 900px) {
  .step { padding-left: 48px; margin-left: 0; }
  .step__num { display: none; }
}

/* ---------- FAQ accordion ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.faq__item.is-open { border-color: var(--slate-blue); box-shadow: var(--shadow-md); }
.faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  color: var(--abyss-navy);
}
.faq__icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--depth-navy);
  transition: transform var(--t-base) var(--ease-out);
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base) var(--ease-out);
}
.faq__panel-inner {
  padding: 0 24px 20px;
  color: var(--slate-blue);
  line-height: 1.7;
  font-size: 15px;
}

/* ---------- Inspiration carousel ---------- */
.carousel { position: relative; }
.carousel__viewport {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  padding: 8px 0;
}
.carousel__viewport.is-dragging { cursor: grabbing; }
.carousel__track {
  display: flex;
  gap: 24px;
  transition: transform 600ms var(--ease-out);
  will-change: transform;
}
.carousel__track.is-dragging { transition: none; }
.tpl-card {
  flex: 0 0 380px;
  width: 380px;
  height: 380px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-base) ease, box-shadow var(--t-base) ease, transform var(--t-base) ease;
}
.tpl-card:hover {
  border-color: var(--slate-blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.tpl-card__frame {
  width: 250%;
  height: 250%;
  border: 0;
  transform: scale(0.4);
  transform-origin: 0 0;
  pointer-events: none;
  background: var(--white);
}
.tpl-card__label {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--abyss-navy);
  color: var(--bone);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  z-index: 2;
}
.tpl-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,42,64,0) 40%, rgba(28,42,64,0.85) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--t-base) ease;
  z-index: 2;
}
.tpl-card:hover .tpl-card__overlay { opacity: 1; }
.tpl-card__cta {
  background: var(--bone);
  color: var(--abyss-navy);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
}

.carousel__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}
.carousel__arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--abyss-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--t-fast) ease, background var(--t-fast) ease, color var(--t-fast) ease;
}
.carousel__arrow:hover { border-color: var(--abyss-navy); background: var(--abyss-navy); color: var(--white); }
.carousel__arrow:disabled { opacity: 0.4; cursor: not-allowed; }
.carousel__dots {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0; margin: 0;
}
.carousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mist);
  transition: background var(--t-fast) ease, transform var(--t-fast) ease;
}
.carousel__dot.is-active { background: var(--depth-navy); transform: scale(1.4); }

@media (max-width: 768px) {
  .tpl-card { flex: 0 0 280px; width: 280px; height: 280px; }
}

/* ---------- Template modal ---------- */
.tpl-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.tpl-modal[hidden] { display: none; }
.tpl-modal.is-open { opacity: 1; pointer-events: auto; }
.tpl-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 42, 64, 0.65);
  backdrop-filter: blur(2px);
}
.tpl-modal__panel {
  position: relative;
  width: 90vw;
  height: 90vh;
  max-width: 1400px;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: scale(0.95);
  transition: transform 200ms var(--ease-out);
}
.tpl-modal.is-open .tpl-modal__panel { transform: scale(1); }
.tpl-modal__header {
  flex-shrink: 0;
  height: 60px;
  padding: 0 16px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.tpl-modal__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.tpl-modal__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  background: var(--abyss-navy);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}
.tpl-modal__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--abyss-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tpl-modal__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.tpl-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--abyss-navy);
  transition: background 150ms ease;
}
.tpl-modal__close:hover { background: var(--surface); }
.tpl-modal__close svg { width: 18px; height: 18px; }
.tpl-modal__body {
  flex: 1;
  background: var(--white);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.tpl-modal__frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  .tpl-modal,
  .tpl-modal__panel { transition: none; }
}
@media (max-width: 768px) {
  .tpl-modal__panel { width: 96vw; height: 92vh; }
  .tpl-modal__header { padding: 0 12px 0 16px; height: 56px; }
  .tpl-modal__title { font-size: 13px; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 64px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; padding-right: 24px; border-right: 1px solid var(--border); }
.contact-info__item { display: flex; align-items: flex-start; gap: 12px; }
.contact-info__item svg { flex-shrink: 0; color: var(--depth-navy); width: 22px; height: 22px; margin-top: 2px; }
.contact-info__item a { color: var(--abyss-navy); font-weight: 500; transition: color var(--t-fast) ease; }
.contact-info__item a:hover { color: var(--depth-navy); }
.contact-info p { color: var(--slate-blue); font-size: 15px; line-height: 1.6; }

.contact-form-col { display: flex; flex-direction: column; gap: 0; }

.launch-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  border-left: 3px solid var(--depth-navy);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--abyss-navy);
}
.launch-banner svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--depth-navy);
  margin-top: 2px;
}
.launch-banner p { margin: 0; font-weight: 400; }

.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__label { font-size: 13px; font-weight: 600; color: var(--abyss-navy); letter-spacing: 0.02em; }
.form__input,
.form__select,
.form__textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--abyss-navy);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--depth-navy);
  box-shadow: 0 0 0 3px rgba(46,68,112,0.1);
}
.form__textarea { resize: vertical; min-height: 140px; font-family: inherit; }
.form__submit { margin-top: 8px; }
.form__note {
  font-size: 13px;
  color: var(--slate-blue);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.form__success {
  display: none;
  background: rgba(46,68,112,0.08);
  border: 1px solid var(--depth-navy);
  color: var(--abyss-navy);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.form__success.is-shown { display: block; }
.form__error {
  display: none;
  background: #fbeaea;
  border: 1px solid #c25555;
  color: #7a1f1f;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.form__error.is-shown { display: block; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-info { padding-right: 0; border-right: none; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
  .form__row { grid-template-columns: 1fr; }
}

/* ---------- Animations (IntersectionObserver) ---------- */
.fx {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
}
.fx.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__shape { animation: none; }
  .fx { opacity: 1; transform: none; }
}

/* ---------- Skip link (accessibility) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  background: var(--abyss-navy);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus { left: 16px; top: 16px; }
