/* ============================================================
   Capelaro Solutions — style.css
   Brand palette (from Logo/logo.svg):
   blue #2b6bea · sky #0099e5 · navy #183056 · slate #98a2b3
   ============================================================ */

/* ===== RESET & TOKENS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --bg-ice: #f4f7fc;
  --surface: #ffffff;
  --surface-2: #eef3fa;
  --border: #e2e9f4;
  --border-strong: #cdd9ec;
  --ink: #14273f;          /* headings — derived from logo navy #183056 */
  --text: #33465f;
  --muted: #5f7089;
  --blue: #2b6bea;
  --blue-deep: #1e53c4;
  --sky: #0099e5;
  --navy: #0f2036;         /* dark grounds: featured card, CTA, footer */
  --navy-2: #16294a;
  --on-navy: #eaf1fb;
  --on-navy-muted: #93a5c2;
  --success: #14a06b;
  --danger: #d64545;
  --gradient: linear-gradient(120deg, #2b6bea 0%, #0099e5 100%);
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-head: 'Sora', var(--font-body);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 6px 28px rgba(24, 48, 86, 0.08);
  --shadow-lg: 0 24px 64px rgba(24, 48, 86, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { display: block; }
button { font-family: inherit; }

::selection { background: rgba(43, 107, 234, 0.2); color: var(--ink); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 800; line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.15; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(43, 107, 234, 0.32);
}
.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(43, 107, 234, 0.42);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 4px;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 700;
  transition: color 0.25s;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--blue); }
.link-arrow:hover svg { transform: translateX(3px); }
.btn-light {
  background: #fff;
  color: var(--navy-2);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28); }
.btn-full { width: 100%; }

/* ===== SECTION COMMON ===== */
section { padding: 110px 0; position: relative; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--muted); font-size: 1.05rem; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43, 107, 234, 0.08);
  color: var(--blue);
  border: 1px solid rgba(43, 107, 234, 0.22);
  padding: 5px 15px;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: padding 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  padding: 11px 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border), 0 8px 24px rgba(24, 48, 86, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; }
.logo-img { height: 55px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a:not(.nav-cta) {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  transition: color 0.25s;
  padding: 4px 0;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta).active { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after { transform: scaleX(1); }

.nav-cta { padding: 10px 20px; font-size: 0.87rem; margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1002;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 90px;
  overflow: hidden;
  background: linear-gradient(180deg, #f6f9fe 0%, #ffffff 100%);
}

/* Hexagon field — echoes the hexagonal logo mark */
.hero-hex-bg {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='%232b6bea' stroke-opacity='0.09'%3E%3Cpath d='M28 1 54 16v30L28 61 2 46V16Z'/%3E%3Cpath d='M28 49.5 54 64.5v30L28 109.5 2 94.5v-30Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 97px;
  mask-image: radial-gradient(ellipse 75% 60% at 60% 35%, black 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 60% 35%, black 15%, transparent 75%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -260px; left: 55%;
  transform: translateX(-50%);
  width: 900px; height: 620px;
  background: radial-gradient(ellipse at center,
    rgba(43, 107, 234, 0.14) 0%,
    rgba(0, 153, 229, 0.06) 45%,
    transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--blue);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 26px;
  box-shadow: 0 2px 10px rgba(24, 48, 86, 0.06);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.badge:hover { border-color: rgba(43, 107, 234, 0.4); transform: translateY(-1px); }
.badge svg { width: 13px; height: 13px; }
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 10px var(--sky);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-text h1 { margin-bottom: 22px; }
.hero-text > p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 36px;
}
.inline-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(43, 107, 234, 0.35);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.25s;
}
.inline-link:hover { text-decoration-color: var(--blue); }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* --- Hero visual: app window --- */
.hero-visual { position: relative; }

.app-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.app-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-ice);
}
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; }
.dots span:nth-child(1) { background: #ff5f57; }
.dots span:nth-child(2) { background: #febc2e; }
.dots span:nth-child(3) { background: #28c840; }
.app-title { font-size: 0.78rem; color: var(--muted); font-weight: 600; }

/* --- Hero mockup: generic client-project preview --- */
.dev-body { padding: 24px 24px 28px; }

.dev-browserbar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-ice);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 9px 16px;
  margin-bottom: 18px;
}
.dev-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex-shrink: 0; }
.dev-url { font-size: 0.78rem; color: var(--muted); font-weight: 600; }

.dev-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.dev-kpi {
  background: var(--bg-ice);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dev-kpi-label { font-size: 0.66rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.dev-kpi-val { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.dev-kpi-delta { font-size: 0.7rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.dev-kpi-delta.up { color: var(--success); }

.dev-chart-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 6px 0;
  overflow: hidden;
}
.dev-chart-card svg { width: 100%; height: 116px; }
.dev-chart-line {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: drawLine 2.2s 0.5s var(--ease) forwards;
}
.dev-chart-area {
  opacity: 0;
  animation: fadeIn 1s 1.6s ease forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

/* Floating cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 17px;
  box-shadow: var(--shadow);
}
.float-card svg { width: 22px; height: 22px; flex-shrink: 0; }
.float-card strong { display: block; font-size: 0.82rem; color: var(--ink); font-weight: 700; line-height: 1.3; }
.float-card span { font-size: 0.73rem; color: var(--muted); }

.float-card-1 {
  top: -26px; right: -14px;
  animation: float 6s 0.8s ease-in-out infinite;
}
.float-card-2 {
  bottom: -24px; left: -18px;
  animation: float 6.5s 1.6s ease-in-out infinite;
}
.mini-avatars { display: flex; }
.mini-avatars span {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid #fff;
  margin-left: -8px;
}
.mini-avatars span:first-child { margin-left: 0; background: linear-gradient(135deg, #2b6bea, #5b8cf5); }
.mini-avatars span:nth-child(2) { background: linear-gradient(135deg, #0099e5, #3fc0ff); }
.mini-avatars span:nth-child(3) { background: var(--surface-2); color: var(--muted); }

/* ===== PRODUCTS ===== */
.products { background: var(--bg-ice); }
.products::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43, 107, 234, 0.35), transparent);
}

.flagship {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 40px;
}

.product-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.status-beta { background: rgba(20, 160, 107, 0.1); color: var(--success); border: 1px solid rgba(20, 160, 107, 0.3); }

.flagship-text .product-tagline {
  color: var(--blue);
  font-size: 0.94rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.flagship-text > p:not(.product-tagline) {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 22px;
  max-width: 460px;
}

.product-points {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 30px;
}
.product-points li {
  font-size: 0.92rem;
  color: var(--text);
  padding-left: 26px;
  position: relative;
}
.product-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 5px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: rgba(0, 153, 229, 0.1);
  border: 1px solid rgba(0, 153, 229, 0.4);
}
.product-points li::after {
  content: '';
  position: absolute;
  left: 4.5px; top: 9.5px;
  width: 6px; height: 3.5px;
  border-left: 1.5px solid var(--sky);
  border-bottom: 1.5px solid var(--sky);
  transform: rotate(-45deg);
}

.flagship-logo { height: 34px; width: auto; margin-bottom: 16px; }

/* --- Flagship visual: real product banner --- */
.flagship-visual { position: relative; min-height: 300px; display: flex; align-items: center; }
.flagship-banner {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}

/* --- "More products" teaser strip --- */
.more-products {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-ice);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 32px;
}
.more-products-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(43, 107, 234, 0.08);
  border: 1px solid rgba(43, 107, 234, 0.22);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.more-products-icon svg { width: 20px; height: 20px; }
.more-products strong { display: block; color: var(--ink); font-size: 0.98rem; margin-bottom: 3px; }
.more-products span { color: var(--muted); font-size: 0.9rem; }

/* ===== SELECTED WORK ===== */
.selected-work { padding: 0 0 70px; }
.selected-work-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 22px 28px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.selected-work-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}
.selected-work-logo {
  flex-shrink: 0;
  opacity: 0.9;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.selected-work-logo:hover { opacity: 1; transform: translateY(-1px); }
.selected-work-logo img { height: 26px; width: auto; }
.selected-work-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-left: auto;
}

/* ===== SERVICES ===== */
.services { background: var(--bg-ice); }

.services-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 56px;
  align-items: start;
}

.section-header-side {
  text-align: left;
  max-width: none;
  margin: 0;
}
.section-header-side h2 { margin-bottom: 14px; }
.section-header-side p { color: var(--muted); font-size: 0.98rem; }

.services-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(43, 107, 234, 0.1);
  border: 1px solid rgba(43, 107, 234, 0.22);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 20px; height: 20px; }
.service-item h4 { margin-bottom: 8px; font-size: 1rem; }
.service-item p { color: var(--muted); font-size: 0.87rem; }

/* ===== PROCESS ===== */
.process-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 56px;
  align-items: start;
}

.process-row {
  display: flex;
}

.process-step {
  position: relative;
  flex: 1;
  text-align: center;
  padding: 0 12px;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  width: 100%;
  border-top: 2px dotted var(--border-strong);
  z-index: 0;
}

.step-icon {
  position: relative;
  z-index: 1;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-ice);
  border: 1.5px solid rgba(43, 107, 234, 0.3);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-icon svg { width: 21px; height: 21px; }

.step-num {
  display: block;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--sky);
  margin-bottom: 6px;
  letter-spacing: 0.1em;
}
.process-step h4 { margin-bottom: 8px; font-size: 1.02rem; }
.process-step p { color: var(--muted); font-size: 0.84rem; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-text h2 { margin: 0 0 22px; }
.about-text > p { color: var(--muted); margin-bottom: 16px; max-width: 520px; }

.about-values { display: flex; flex-direction: column; gap: 20px; margin-top: 34px; }
.value { display: flex; gap: 16px; align-items: flex-start; }
.value > svg {
  width: 42px; height: 42px;
  padding: 10px;
  flex-shrink: 0;
  border-radius: 11px;
  background: rgba(0, 153, 229, 0.08);
  border: 1px solid rgba(0, 153, 229, 0.25);
  color: var(--sky);
}
.value strong { display: block; color: var(--ink); font-size: 0.97rem; margin-bottom: 2px; }
.value span { color: var(--muted); font-size: 0.88rem; }

/* --- About visual: stacked terminal (kept navy — the brand's dark note) --- */
.about-visual { position: relative; min-height: 340px; }
.stack-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.stack-card-back {
  background: rgba(43, 107, 234, 0.06);
  transform: rotate(4deg) translate(14px, 10px);
}
.stack-card-mid {
  background: rgba(0, 153, 229, 0.06);
  transform: rotate(-3deg) translate(-10px, 6px);
}
.stack-card-front {
  position: relative;
  background: var(--navy);
  border: 1px solid var(--navy-2);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 340px;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--navy-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: var(--on-navy-muted);
}
.terminal-body {
  padding: 24px 22px;
  font-family: 'Cascadia Code', 'Consolas', 'Menlo', monospace;
  font-size: 0.86rem;
  line-height: 2.1;
  color: var(--on-navy);
}
.t-prompt { color: #3fc0ff; font-weight: 600; margin-right: 6px; }
.t-dim { color: var(--on-navy-muted); }
.t-ok { color: #4ade9d; font-weight: 600; }
.t-cursor {
  display: inline-block;
  width: 9px; height: 17px;
  background: #3fc0ff;
  vertical-align: text-bottom;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ===== CTA BAND ===== */
.cta-band { padding: 0 0 110px; }
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background:
    radial-gradient(ellipse 60% 130% at 88% 15%, rgba(0, 153, 229, 0.4), transparent 60%),
    radial-gradient(ellipse 60% 130% at 8% 95%, rgba(43, 107, 234, 0.45), transparent 60%),
    var(--navy);
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  box-shadow: 0 24px 60px rgba(15, 32, 54, 0.3);
}
.cta-card h2 { margin-bottom: 10px; font-size: clamp(1.6rem, 2.8vw, 2.2rem); color: #fff; }
.cta-card p { color: var(--on-navy-muted); max-width: 480px; }

/* ===== CONTACT ===== */
.contact { background: var(--bg-ice); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 48px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.info-card:hover { border-color: rgba(43, 107, 234, 0.4); box-shadow: var(--shadow); }
.info-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 11px;
  background: rgba(43, 107, 234, 0.08);
  border: 1px solid rgba(43, 107, 234, 0.22);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-icon svg { width: 21px; height: 21px; }
.info-card strong { display: block; color: var(--ink); margin-bottom: 3px; font-size: 0.95rem; }
.info-card p { color: var(--muted); font-size: 0.88rem; }

.social-links { display: flex; gap: 12px; margin-top: 4px; }
.social-btn {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.25s var(--ease);
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-3px);
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-ice);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--ink);
  font-size: 0.94rem;
  font-family: var(--font-body);
  width: 100%;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%235f7089' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9aa8bd; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 107, 234, 0.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select option { background: #fff; color: var(--ink); }

.form-note {
  display: none;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 18px;
  padding: 13px;
  border-radius: 10px;
}
.form-note.success {
  display: block;
  color: var(--success);
  background: rgba(20, 160, 107, 0.07);
  border: 1px solid rgba(20, 160, 107, 0.25);
}
.form-note.error {
  display: block;
  color: var(--danger);
  background: rgba(214, 69, 69, 0.06);
  border: 1px solid rgba(214, 69, 69, 0.25);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  padding-top: 70px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 72px;
  padding-bottom: 56px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}
.footer-logo-mark { height: 40px; width: auto; }
.footer-logo-text {
  font-family: var(--font-head);
  font-size: 1.28rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
}
.footer-logo-text em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--on-navy-muted);
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.footer-brand p { color: var(--on-navy-muted); font-size: 0.9rem; max-width: 340px; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col strong {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.footer-col a { color: var(--on-navy-muted); font-size: 0.88rem; transition: color 0.25s; width: fit-content; }
.footer-col a:hover { color: #6db9f7; }
.footer-note { color: var(--on-navy-muted); font-size: 0.88rem; opacity: 0.65; width: fit-content; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { color: var(--on-navy-muted); font-size: 0.82rem; }
.footer-tag { opacity: 0.75; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@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;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .hero-content { grid-template-columns: 1fr; gap: 72px; text-align: center; }
  .hero-text > p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .float-card-1 { right: 0; }
  .float-card-2 { left: 0; }

  .flagship { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .flagship-text > p:not(.product-tagline) { margin-left: auto; margin-right: auto; }
  .product-points { text-align: left; max-width: 340px; margin-left: auto; margin-right: auto; }
  .flagship-visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .more-products { flex-direction: column; text-align: center; }
  .services-layout, .process-layout { grid-template-columns: 1fr; gap: 32px; }
  .section-header-side { text-align: center; max-width: 640px; margin: 0 auto; }
  .services-row { grid-template-columns: repeat(2, 1fr); }

  .about-grid { grid-template-columns: 1fr; gap: 64px; }
  .about-visual { max-width: 520px; margin: 0 auto; width: 100%; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 44px; }
}

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

  .hamburger { display: flex; }
  .logo-img { height: 34px; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 60px rgba(24, 48, 86, 0.12);
    z-index: 1001;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a:not(.nav-cta) { font-size: 1.1rem; }
  .nav-cta { margin-left: 0; }

  .services-row { grid-template-columns: 1fr; gap: 32px; }
  .process-row { flex-wrap: wrap; row-gap: 32px; }
  .process-step { flex: 1 1 40%; }
  .process-step:not(:last-child)::after { display: none; }

  .cta-card { flex-direction: column; text-align: center; padding: 44px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }

  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .float-card { padding: 10px 13px; }
  .float-card strong { font-size: 0.75rem; }
  .float-card-1 { top: -18px; }
  .float-card-2 { bottom: -18px; }

  .process-step { flex: 1 1 100%; }
  .footer-links { grid-template-columns: 1fr; }

  .dev-kpi-row { grid-template-columns: 1fr 1fr; }
  .dev-kpi:last-child { display: none; }
}