/* ==========================================================================
   OUZIR — Web Development & SEO
   Design tokens
   ========================================================================== */
:root {
  --bg-0: #060B14;
  --bg-1: #0A1220;
  --bg-2: #0E1728;
  --panel: #0F1A2E;
  --border: rgba(148, 176, 214, 0.14);
  --border-strong: rgba(148, 176, 214, 0.26);

  --blue: #2F6FF0;
  --blue-soft: #4C86FF;
  --cyan: #4FD8E8;

  --text-0: #EAF0FB;
  --text-1: #B7C4DA;
  --text-2: #8393AD;

  --grad-accent: linear-gradient(135deg, var(--cyan), var(--blue));

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --container: 1180px;
  --section-pad: clamp(72px, 9vw, 128px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
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, h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

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

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--text-0); letter-spacing: -0.01em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-accent);
  color: #051019;
  box-shadow: 0 8px 24px -8px rgba(47, 111, 240, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(79, 216, 232, 0.55); }
.btn-ghost {
  background: transparent;
  color: var(--text-0);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--cyan); background: rgba(79, 216, 232, 0.06); }
.btn-secondary {
  background: rgba(79, 216, 232, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(79, 216, 232, 0.35);
}
.btn-secondary:hover { background: rgba(79, 216, 232, 0.18); }
.btn-small { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: gap 0.2s var(--ease), border-color 0.2s var(--ease);
}
.text-link:hover { gap: 10px; border-color: var(--cyan); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 11, 20, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { display: flex; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; }
.logo-sub { font-size: 0.68rem; color: var(--text-2); letter-spacing: 0.04em; }

.main-nav ul { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 0.92rem;
  color: var(--text-1);
  font-weight: 500;
  transition: color 0.2s var(--ease);
  position: relative;
}
.main-nav a:hover { color: var(--text-0); }
.main-nav a.nav-priority { color: var(--text-0); font-weight: 600; }
.main-nav a.nav-priority::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-0);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 12px 4px;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text-1);
  border-bottom: 1px solid var(--border);
}
.mobile-nav.is-open { display: flex; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 130%;
  background-image:
    linear-gradient(rgba(79, 216, 232, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 216, 232, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 20%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 60% 20%, black, transparent 70%);
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(47, 111, 240, 0.28), transparent 65%);
  filter: blur(20px);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 22px;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px 2px rgba(79, 216, 232, 0.6);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  line-height: 1.1;
  max-width: 15ch;
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-1);
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }

.hero-focus { display: flex; align-items: center; gap: 20px; }
.hero-focus-item { display: flex; flex-direction: column; gap: 4px; }
.hero-focus-label { font-size: 0.72rem; color: var(--text-2); text-transform: lowercase; }
.hero-focus-value { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.hero-focus-divider { width: 1px; height: 32px; background: var(--border-strong); }

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

.mockup-browser {
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
  animation: floatY 7s ease-in-out infinite;
}
.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.mockup-topbar span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
}
.mockup-url {
  margin-left: 10px;
  font-size: 0.72rem;
  color: var(--text-2);
  background: var(--bg-1);
  padding: 4px 12px;
  border-radius: 6px;
  font-family: monospace;
}
.mockup-body { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.mockup-line { height: 10px; border-radius: 6px; background: var(--border-strong); }
.mockup-line-1 { width: 60%; height: 16px; background: linear-gradient(90deg, var(--cyan), var(--blue)); opacity: 0.85; }
.mockup-line-2 { width: 85%; }
.mockup-line-3 { width: 40%; margin-top: 4px; }
.mockup-blocks { display: flex; gap: 10px; margin: 6px 0; }
.mockup-block { flex: 1; height: 64px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--border); }

.floating-card {
  position: absolute;
  background: rgba(15, 26, 46, 0.9);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.55);
}
.floating-card-serp {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  width: 220px;
  top: -8%;
  left: -8%;
  animation: floatY 6s ease-in-out infinite 0.4s;
}
.serp-rank {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--cyan);
  background: rgba(79, 216, 232, 0.12);
  border-radius: 8px;
  padding: 6px 9px;
  flex-shrink: 0;
}
.serp-lines { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.serp-line { height: 6px; border-radius: 4px; background: var(--border-strong); }
.serp-line-title { width: 90%; height: 8px; background: var(--text-1); }
.serp-line-url { width: 60%; }
.serp-line-desc { width: 100%; }

.floating-card-metric {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  bottom: 6%;
  right: -6%;
  font-size: 0.78rem;
  color: var(--text-1);
  animation: floatY 6.5s ease-in-out infinite 0.8s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   Positioning strip
   ========================================================================== */
.positioning {
  padding: 44px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
}
.positioning-text {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.08rem;
  color: var(--text-1);
}

/* ==========================================================================
   Section eyebrow / headings
   ========================================================================== */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 16px;
}
.section-eyebrow-center { display: flex; justify-content: center; width: 100%; }
.center-heading { text-align: center; max-width: 640px; margin: 0 auto 20px; }
.center-lead { text-align: center; margin-left: auto; margin-right: auto; }

.section-lead {
  font-size: 1.05rem;
  color: var(--text-1);
  max-width: 50ch;
  margin-bottom: 30px;
}

.feature-list li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-1);
  position: relative;
  padding-left: 20px;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
.feature-list li:last-child { border-bottom: 1px solid var(--border); }
.feature-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  margin-bottom: 32px;
}

/* ==========================================================================
   Major service sections (Web Dev / SEO)
   ========================================================================== */
.service-major { padding: var(--section-pad) 0; }
.service-major-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.service-major-reverse .service-major-grid { direction: rtl; }
.service-major-reverse .service-major-grid > * { direction: ltr; }

.service-major h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 18px; }

.code-panel {
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.6);
}
.code-panel-header {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.code-panel-header span { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.code-panel-body {
  padding: 24px;
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.9;
  color: var(--text-1);
  overflow-x: auto;
}
.tok-tag { color: var(--blue-soft); }
.tok-attr { color: var(--cyan); }
.tok-str { color: #9FE8A0; }
.tok-comment { color: var(--text-2); font-style: italic; }

.seo-panel {
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.6);
}
.seo-panel-row { display: flex; flex-direction: column; gap: 10px; }
.seo-panel-label { font-size: 0.85rem; color: var(--text-1); font-weight: 500; }
.seo-bar { height: 8px; border-radius: 6px; background: var(--bg-2); overflow: hidden; }
.seo-bar span { display: block; height: 100%; border-radius: 6px; background: var(--grad-accent); }

/* ==========================================================================
   Minor services
   ========================================================================== */
.services-minor { padding: var(--section-pad) 0; background: var(--bg-1); }
.minor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
}
.minor-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.minor-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.minor-card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(79, 216, 232, 0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.minor-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.minor-card > p { color: var(--text-1); margin-bottom: 20px; }
.minor-card .feature-list { margin-bottom: 24px; }

/* ==========================================================================
   Why
   ========================================================================== */
.why { padding: var(--section-pad) 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.why-card {
  background: var(--bg-0);
  padding: 34px;
}
.why-card svg { margin-bottom: 18px; }
.why-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.why-card p { color: var(--text-1); font-size: 0.94rem; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { padding: var(--section-pad) 0; background: var(--bg-1); }
.process-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
}
.process-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.process-item:last-child { border-bottom: 1px solid var(--border); }
.process-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.process-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.process-item p { color: var(--text-1); }

/* ==========================================================================
   Team
   ========================================================================== */
.team { padding: var(--section-pad) 0; }
.team-grid-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.team-grid-support {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.team-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.team-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.team-card-lead { display: flex; align-items: center; gap: 20px; padding: 24px; }
.team-card-lead img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-strong); flex-shrink: 0; }
.team-card-lead .team-card-body { padding: 0; }

.team-grid-support .team-card { text-align: center; padding: 32px 24px; }
.team-grid-support img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; border: 2px solid var(--border-strong); }

.team-avatar-placeholder {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-2);
  border: 2px solid var(--border-strong);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cyan);
}

.team-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-role { color: var(--text-2); font-size: 0.88rem; margin-bottom: 8px; }
.team-phone {
  display: inline-block;
  font-size: 0.88rem;
  color: var(--cyan);
  font-weight: 600;
}

/* ==========================================================================
   Ecosystem
   ========================================================================== */
.ecosystem { padding: var(--section-pad) 0; background: var(--bg-1); }
.ecosystem-chain {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.ecosystem-node {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--panel);
  min-width: 190px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.ecosystem-node:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.ecosystem-node-active { border-color: var(--cyan); box-shadow: 0 0 0 1px rgba(79, 216, 232, 0.3), 0 20px 40px -20px rgba(79, 216, 232, 0.35); }
.ecosystem-node-title { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; }
.ecosystem-node-desc { font-size: 0.8rem; color: var(--text-2); }
.ecosystem-arrow {
  width: 40px;
  height: 1px;
  background: var(--border-strong);
  flex-shrink: 0;
}

/* ==========================================================================
   Hosting
   ========================================================================== */
.hosting { padding: var(--section-pad) 0; }
.hosting-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hosting h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 18px; }
.hosting-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}
.hosting-orb {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 111, 240, 0.35), transparent 70%);
  filter: blur(6px);
  animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 1; }
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  padding: var(--section-pad) 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-0), var(--bg-2));
  position: relative;
}
.final-cta h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 14px; }
.final-cta > .container > p { color: var(--text-1); font-size: 1.08rem; margin-bottom: 36px; }
.final-cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.final-cta-phones {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.final-cta-phones a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-0);
}
.final-cta-phones span { font-family: var(--font-body); font-weight: 400; font-size: 0.78rem; color: var(--text-2); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding: var(--section-pad) 0; background: var(--bg-1); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}
.contact h2 { font-size: clamp(1.8rem, 2.8vw, 2.3rem); margin-bottom: 16px; }
.contact-detail { padding: 18px 0; border-top: 1px solid var(--border); }
.contact-detail:last-child { border-bottom: 1px solid var(--border); }
.contact-detail h3 { font-size: 0.85rem; color: var(--text-2); font-weight: 500; margin-bottom: 4px; }
.contact-detail a { font-size: 1.05rem; font-weight: 600; color: var(--cyan); }

.contact-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
}
.form-note {
  font-size: 0.82rem;
  color: var(--text-2);
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 24px;
}
.form-note code { color: var(--cyan); }
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.85rem; color: var(--text-1); font-weight: 500; }
.form-row input, .form-row select, .form-row textarea {
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-0);
  transition: border-color 0.2s var(--ease);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--cyan);
  outline: none;
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-status { margin-top: 14px; font-size: 0.9rem; color: var(--cyan); min-height: 1.2em; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 72px 0 0; border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { color: var(--text-2); margin-top: 12px; font-size: 0.92rem; max-width: 28ch; }
.footer-col h3 { font-size: 0.88rem; color: var(--text-0); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-2); font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--cyan); }
.footer-col p { color: var(--text-2); font-size: 0.92rem; margin-bottom: 14px; }
.footer-col p a { color: var(--cyan); font-weight: 500; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 24px;
  text-align: center;
  color: var(--text-2);
  font-size: 0.85rem;
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.whatsapp-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.whatsapp-widget.is-open .whatsapp-options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.whatsapp-option-label {
  display: block;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  color: var(--text-0);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}
.whatsapp-toggle {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.65);
  transition: transform 0.22s var(--ease);
}
.whatsapp-toggle:hover { transform: scale(1.06); }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
  .service-major-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-major-reverse .service-major-grid { direction: ltr; }
  .service-major-reverse .service-major-media { order: -1; }
  .hosting-grid { grid-template-columns: 1fr; }
  .hosting-visual { order: -1; min-height: 200px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: none; }
  .mobile-nav.is-open { display: flex; }
  .header-actions .btn-small { display: none; }

  .why-grid { grid-template-columns: 1fr 1fr; }
  .team-grid-lead { grid-template-columns: 1fr; }
  .team-grid-support { grid-template-columns: 1fr 1fr; }
  .minor-grid { grid-template-columns: 1fr; }
  .ecosystem-chain { flex-direction: column; }
  .ecosystem-arrow { width: 1px; height: 28px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero-inner { padding: 0 20px; }
  h1, .hero h1 { max-width: none; }
  .feature-list-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .team-grid-support { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions .btn, .final-cta-actions .btn { flex: 1 1 auto; }
  .floating-card-serp { width: 180px; left: 0; top: -6%; }
  .floating-card-metric { right: 0; }
  .whatsapp-widget { right: 14px; bottom: 14px; }
  .process-item { grid-template-columns: 48px 1fr; gap: 16px; }
  .process-number { font-size: 1.2rem; }
}
