/* ==========================================================================
   WebSahayi — Affordable Website Development, Kerala
   Design system: "Server Status" — a nod to the founder's Linux/hosting
   background. Deep server-room indigo + go-live green, monospace status
   chips, and a boot-sequence hero mockup that literalizes "fast & reliable".
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Colour */
  --ink-900: #0F1B2D;
  --ink-700: #1E3A5F;
  --ink-500: #44607F;
  --ink-300: #8CA0B8;
  --ink-100: #E7ECF2;
  --bg: #F7F8FA;
  --bg-tint: #EEF2F6;
  --surface: #FFFFFF;

  --brand: #1E3A5F;
  --brand-dark: #142A47;
  --brand-light: #2C5382;

  --accent: #16A34A;
  --accent-dark: #0F7C38;
  --accent-light: #E7F6EC;

  --amber: #F59E0B;
  --amber-light: #FEF3DA;

  --line: #DFE5EC;

  /* Type */
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.06), 0 1px 1px rgba(15, 27, 45, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 27, 45, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 27, 45, 0.14);

  /* Layout */
  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

section { padding: 88px 0; }
@media (max-width: 640px) {
  section { padding: 56px 0; }
}

.section-tint { background: var(--bg-tint); }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-light);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.18);
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-bottom: 14px;
}
.section-head p {
  color: var(--ink-500);
  font-size: 17px;
}

/* Visually hidden (for skip link target labels, a11y) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--surface);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--brand); background: var(--bg-tint); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover { background: #1EBE59; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 16.5px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247,248,250,0.9);
  backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--ink-900);
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.brand-suffix { color: var(--accent); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: var(--bg-tint); color: var(--brand); }

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

.header-cta {
  background: var(--brand);
  color: #fff;
}
.header-cta:hover { background: var(--brand-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
}
.nav-toggle:hover { background: var(--bg-tint); }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink-900);
  transition: transform 0.25s ease, opacity 0.25s 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); }

/* ---------- Hero ---------- */
.hero {
  background: var(--brand);
  background: linear-gradient(165deg, var(--brand-dark) 0%, var(--brand) 62%, var(--brand-light) 100%);
  color: #fff;
  padding: 76px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-trust {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 22px;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  color: #fff;
  margin-bottom: 20px;
}
.hero h1 .hl { color: #7FE3A6; }

.hero p.lede {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-microcopy {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
}

/* Hero visual: browser mockup with boot sequence */
.mock-browser {
  background: #10182A;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}
.mock-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #0B1220;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.red { background: #FF5F57; }
.mock-dot.yellow { background: #FEBC2E; }
.mock-dot.green { background: #28C840; }
.mock-url {
  margin-left: 10px;
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.mock-body {
  padding: 26px 22px 30px;
  min-height: 320px;
}
.boot-line {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #8FE3AE;
  margin-bottom: 9px;
  opacity: 0;
  animation: bootIn 0.4s ease forwards;
}
.boot-line .t { color: rgba(255,255,255,0.4); }
.boot-line .ok { color: #7FE3A6; font-weight: 600; }
.boot-line:nth-child(1) { animation-delay: 0.1s; }
.boot-line:nth-child(2) { animation-delay: 0.9s; }
.boot-line:nth-child(3) { animation-delay: 1.7s; }
.boot-line:nth-child(4) { animation-delay: 2.5s; }
.boot-line:nth-child(5) { animation-delay: 3.3s; }

.mock-preview {
  margin-top: 18px;
  border-radius: 10px;
  background: #fff;
  opacity: 0;
  animation: revealPreview 0.6s ease forwards;
  animation-delay: 3.9s;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.mock-preview-top {
  height: 46px;
  background: var(--brand);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}
.mock-preview-top .ph { width: 60px; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.5); }
.mock-preview-top .sp { flex: 1; }
.mock-preview-top .ph.btn2 { width: 46px; height: 18px; border-radius: 5px; background: var(--accent); }
.mock-preview-body { padding: 16px; }
.mock-preview-body .ph-title { width: 70%; height: 14px; border-radius: 4px; background: var(--ink-100); margin-bottom: 10px; }
.mock-preview-body .ph-line { height: 8px; border-radius: 4px; background: var(--ink-100); margin-bottom: 8px; }
.mock-preview-body .ph-line.w80 { width: 80%; }
.mock-preview-body .ph-line.w60 { width: 60%; }
.mock-preview-grid { display: flex; gap: 10px; margin-top: 14px; }
.mock-preview-grid .card { flex: 1; height: 52px; border-radius: 8px; background: var(--accent-light); border: 1px solid var(--line); }

@keyframes bootIn {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes revealPreview {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Status chip row (used in a couple sections) ---------- */
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.status-chip {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-700);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.status-chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Feature grid (Value proposition) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--ink-500); font-size: 15px; }

/* ---------- Pricing ---------- */
.pricing-note-top {
  text-align: center;
  margin: -20px auto 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.price-card.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.price-card.featured:hover { transform: scale(1.03) translateY(-4px); }

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.price-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-500);
  margin-bottom: 6px;
}
.price-card h3 { font-size: 22px; margin-bottom: 14px; }

.price-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.price-value .amount {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--ink-900);
}
.price-value .period { color: var(--ink-500); font-size: 14px; }

.price-for {
  color: var(--ink-500);
  font-size: 14px;
  margin-bottom: 24px;
}

.price-features {
  margin-bottom: 28px;
  flex: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-700);
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}
.price-features li:last-child { border-bottom: none; }
.price-features svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-dark);
}

.pricing-note {
  max-width: 760px;
  margin: 48px auto 0;
  background: var(--amber-light);
  border: 1px solid #F3D89A;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  font-size: 14.5px;
  color: var(--ink-700);
}
.pricing-note strong { color: var(--ink-900); }
.pricing-note p + p { margin-top: 8px; }
.pricing-note a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.custom-cta {
  text-align: center;
  margin-top: 52px;
}
.custom-cta h3 { font-size: 20px; margin-bottom: 6px; }
.custom-cta p { color: var(--ink-500); margin-bottom: 20px; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.service-card p { font-size: 13.5px; color: var(--ink-500); }

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 28px;
}
.why-item { display: flex; gap: 16px; }
.why-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-icon svg { width: 21px; height: 21px; }
.why-item h3 { font-size: 16.5px; margin-bottom: 5px; }
.why-item p { font-size: 14.5px; color: var(--ink-500); }

/* ---------- Process timeline ---------- */
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  text-align: left;
}
.process-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--brand);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 16px;
}
.process-step:nth-child(odd) .process-num { background: var(--brand); color: #fff; }
.process-step h3 { font-size: 15.5px; margin-bottom: 6px; }
.process-step p { font-size: 13.5px; color: var(--ink-500); }

/* ---------- Hosting section ---------- */
.hosting-section {
  background: var(--brand-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hosting-section h2 { color: #fff; font-size: clamp(26px, 3vw, 32px); margin-bottom: 14px; }
.hosting-section > div > p { color: rgba(255,255,255,0.78); margin-bottom: 22px; font-size: 16px; }

.hosting-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-bottom: 26px;
}
.hosting-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.9);
}
.hosting-list svg { width: 16px; height: 16px; color: #7FE3A6; flex-shrink: 0; }

.hosting-highlight {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.hosting-highlight .big {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #7FE3A6;
  margin-bottom: 6px;
}
.hosting-highlight .fine { font-size: 13px; color: rgba(255,255,255,0.62); }

.hosting-panel {
  background: #0B1220;
  border-radius: var(--radius-md);
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.08);
}
.hosting-panel-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.75);
}
.hosting-panel-row:last-child { border-bottom: none; }
.hosting-panel-row .v.on { color: #7FE3A6; font-weight: 600; }

/* ---------- Subdomain promo ---------- */
.subdomain-box {
  background: var(--surface);
  border: 1px dashed var(--ink-300);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.subdomain-box h2 { font-size: 24px; margin-bottom: 8px; }
.subdomain-box p { color: var(--ink-500); font-size: 15px; max-width: 480px; }
.subdomain-example {
  font-family: var(--font-mono);
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 14px;
  color: var(--brand);
  display: inline-block;
  margin-top: 12px;
}
.subdomain-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.subdomain-actions small { color: var(--ink-500); font-size: 12.5px; }

/* ---------- Target customers ---------- */
.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.audience-tag {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--ink-700);
  font-weight: 500;
}
.kerala-strip {
  background: var(--accent-light);
  border: 1px solid #BFE6CC;
  border-radius: var(--radius-md);
  padding: 20px 26px;
  font-size: 15.5px;
  color: var(--ink-700);
  font-weight: 500;
}

/* ---------- Portfolio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.portfolio-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.portfolio-thumb {
  height: 150px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  text-align: center;
  padding: 16px;
}
.portfolio-thumb::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.18) 1px, transparent 0);
  background-size: 16px 16px;
}
.portfolio-thumb span { position: relative; }
.portfolio-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  z-index: 1;
}
.portfolio-body { padding: 20px; }
.portfolio-cat {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  margin-bottom: 8px;
}
.portfolio-body h3 { font-size: 17px; margin-bottom: 8px; }
.portfolio-body p { font-size: 14px; color: var(--ink-500); margin-bottom: 16px; }

/* ---------- Testimonials ---------- */
.testimonial-note {
  font-size: 13.5px;
  color: var(--ink-500);
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 32px;
  display: inline-block;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
}
.testimonial-stars { color: var(--amber); font-size: 15px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: 15px;
  color: var(--ink-700);
  margin-bottom: 18px;
  font-style: italic;
}
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonial-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink-100);
  color: var(--ink-500);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}
.testimonial-person .name { font-size: 14px; font-weight: 600; }
.testimonial-person .role { font-size: 12.5px; color: var(--ink-500); }
.demo-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--ink-500);
  background: var(--bg-tint);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  margin-left: auto;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
}
.faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-tint);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease, background 0.2s ease;
}
.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--accent-light);
  transform: rotate(45deg);
}
.faq-icon svg { width: 13px; height: 13px; color: var(--brand); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding: 0 4px 20px;
  color: var(--ink-500);
  font-size: 15px;
  max-width: 700px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14.5px;
  background: var(--bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(30,58,95,0.12);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note {
  font-size: 12.5px;
  color: var(--ink-500);
  margin-top: 14px;
}
.form-success {
  display: none;
  background: var(--accent-light);
  border: 1px solid #BFE6CC;
  color: var(--accent-dark);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-top: 16px;
  font-weight: 600;
}
.form-success.visible { display: block; }

.form-error {
  display: none;
  background: #FDECEC;
  border: 1px solid #F3B6B6;
  color: #B42318;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-top: 16px;
  font-weight: 600;
}
.form-error.visible { display: block; }

.btn[disabled] { opacity: 0.65; cursor: not-allowed; transform: none !important; }

/* Honeypot: visually hidden from real visitors, still reachable by simple bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
  margin: 0;
}

.contact-side h2 { font-size: 26px; margin-bottom: 12px; }
.contact-side > p { color: var(--ink-500); margin-bottom: 28px; font-size: 15.5px; }
.contact-methods { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.contact-method:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-method .icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.contact-method .icon svg { width: 21px; height: 21px; }
.contact-method.wa .icon { background: #25D366; }
.contact-method.call .icon { background: var(--brand); }
.contact-method.mail .icon { background: var(--amber); }
.contact-method .label { font-size: 12.5px; color: var(--ink-500); }
.contact-method .value { font-size: 15px; font-weight: 600; color: var(--ink-900); }

.contact-address {
  font-size: 14px;
  color: var(--ink-500);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.contact-address strong { display: block; color: var(--ink-900); margin-bottom: 4px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,0.45);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: waPulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.55); max-width: 280px; margin-bottom: 16px; }
.footer-status { font-family: var(--font-mono); font-size: 12px; color: #7FE3A6; }
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.75); transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ---------- Legal pages ---------- */
.legal-page { padding: 64px 0 90px; }
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-size: 32px; margin-bottom: 8px; }
.legal-page .updated { font-size: 13.5px; color: var(--ink-500); margin-bottom: 40px; }
.legal-page h2 { font-size: 20px; margin: 34px 0 12px; }
.legal-page p, .legal-page li { color: var(--ink-700); font-size: 15px; margin-bottom: 12px; }
.legal-page ul { padding-left: 20px; list-style: disc; }
.legal-page a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px; color: var(--brand); font-weight: 600; font-size: 14.5px; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .process-track::before { display: none; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .hosting-section { grid-template-columns: 1fr; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .mock-browser { max-width: 480px; margin: 0 auto; transform: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .price-card.featured { transform: none; order: -1; }
  .price-card.featured:hover { transform: translateY(-4px); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-cta.desktop-only { display: none; }
  .nav-toggle { display: flex; }

  .site-header .mobile-panel {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 10px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .site-header .mobile-panel.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-panel a {
    padding: 13px 6px;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
    color: var(--ink-700);
  }
  .mobile-panel .btn { margin-top: 14px; }
}

@media (max-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .hosting-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .subdomain-box { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .btn { font-size: 15px; padding: 13px 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
