/* ═══════════════════════════════════════════════════════════════
   SEO AND AI EXPERT — SHARED STYLESHEET
   Light theme · Inter (body) + Syne (display) · Cyan accents
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ── Surfaces ───────────────────────────── */
  --bg-page:        #ffffff;
  --bg-subtle:      #f8fafc;   /* slate-50  — alt section background */
  --bg-soft:        #f1f5f9;   /* slate-100 */
  --bg-accent-soft: #ecfeff;   /* cyan-50   — soft highlights */
  --bg-card:        #ffffff;
  --bg-footer:      #0f172a;   /* slate-900 — for contrast at bottom */

  /* ── Brand accents (cyan family — clean on white) ─── */
  --accent-1:       #0891b2;   /* cyan-600  primary brand */
  --accent-2:       #0e7490;   /* cyan-700  secondary */
  --accent-3:       #06b6d4;   /* cyan-500  highlight */
  --accent-soft:    rgba(8,145,178,0.08);
  --accent-glow:    rgba(8,145,178,0.20);

  /* ── Text (slate scale, for proper contrast) ── */
  --text-head:      #0f172a;   /* slate-900 — headings */
  --text-body:      #334155;   /* slate-700 — body, AAA on white */
  --text-sub:       #64748b;   /* slate-500 — secondary */
  --text-mute:      #94a3b8;   /* slate-400 */
  --text-on-dark:   #e2e8f0;   /* on dark footer */

  /* ── Lines ─────────────────────────────── */
  --border:         #e2e8f0;   /* slate-200 */
  --border-h:       #cbd5e1;   /* slate-300 */
  --border-accent:  rgba(8,145,178,0.30);

  /* ── Status ─────────────────────────────── */
  --success:        #059669;
  --success-bg:     #d1fae5;
  --error:          #dc2626;
  --error-bg:       #fee2e2;

  /* ── Shadows ────────────────────────────── */
  --shadow-sm:      0 1px 2px rgba(15,23,42,0.05);
  --shadow:         0 4px 12px rgba(15,23,42,0.06);
  --shadow-md:      0 8px 24px rgba(15,23,42,0.08);
  --shadow-lg:      0 16px 48px rgba(15,23,42,0.10);
  --shadow-cyan:    0 8px 24px rgba(8,145,178,0.18);

  /* ── Layout ─────────────────────────────── */
  --container:      1180px;
  --nav-h:          76px;
  --radius-sm:      8px;
  --radius:         12px;
  --radius-lg:      18px;
}

/* ── Reset ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select, button { font-family: inherit; }
ul { list-style: none; }

/* ── Body ────────────────────────────────── */
body {
  background: var(--bg-page);
  color: var(--text-body);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; padding-top: var(--nav-h); }

/* ── Subtle dot-grid backdrop ─────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(8,145,178,0.10) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
}

/* ── Layout ──────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
section { padding: 80px 0; position: relative; z-index: 1; }
.bg-card-section { background: var(--bg-subtle); border-block: 1px solid var(--border); }

/* ── Typography ──────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', 'Inter', sans-serif;
  color: var(--text-head);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-body); }
p + p { margin-top: 14px; }

a { color: var(--accent-1); text-decoration: none; transition: color 0.18s; }
a:hover { color: var(--accent-2); }

.grad-text {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ─────────────────────────────── */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #ffffff;
  box-shadow: var(--shadow-cyan);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(8,145,178,0.28);
  color: #ffffff;
}
.btn-ghost {
  background: var(--bg-page);
  color: var(--text-head);
  border-color: var(--border-h);
}
.btn-ghost:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
  background: var(--bg-accent-soft);
}
.btn-sm { padding: 10px 18px; font-size: 0.84rem; }

/* ── Eyebrow / hero badge ────────────────── */
.section-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-1);
  background: var(--bg-accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-accent);
  margin-bottom: 16px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--bg-accent-soft);
  border: 1px solid var(--border-accent);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 4px rgba(6,182,212,0.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.85); }
}

/* ── Section header ──────────────────────── */
.section-header { margin-bottom: 50px; max-width: 720px; }
.section-header.center { margin-inline: auto; text-align: center; }
.section-title { margin-bottom: 14px; }
.section-desc { color: var(--text-sub); font-size: 1.05rem; }

/* ── NAV ─────────────────────────────────── */
nav[role="navigation"] {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s, height 0.25s;
}
nav[role="navigation"].scrolled {
  box-shadow: var(--shadow);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 42px; width: auto; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent-1); }
.nav-links a.active::after {
  content: ''; position: absolute;
  bottom: -6px; left: 0; right: 0; height: 2px;
  background: var(--accent-1);
  border-radius: 2px;
}
.nav-cta {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-cyan);
  transition: transform 0.18s, box-shadow 0.18s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(8,145,178,0.28); }
.hamburger {
  display: none;
  font-size: 1.5rem;
  color: var(--text-head);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-page);
}

/* ── HERO (homepage) ─────────────────────── */
.hero-section {
  padding: 60px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { max-width: 580px; }
.hero-title { margin-bottom: 22px; }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-sub);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.55;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex; gap: 36px; padding-top: 28px;
  border-top: 1px solid var(--border);
}
.stat-item .stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.stat-item .stat-label {
  font-size: 0.82rem;
  color: var(--text-sub);
  letter-spacing: 0.04em;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  margin-left: auto;
}
.hero-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--bg-accent-soft) 0%, transparent 60%);
  border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.18) 0%, transparent 70%);
  filter: blur(28px);
}
.hero-ring img {
  position: relative; z-index: 1;
  width: 60%; height: auto;
  filter: drop-shadow(0 12px 32px rgba(8,145,178,0.18));
}

/* ── Image frame (used by service/about pages) ── */
.image-frame {
  background: linear-gradient(135deg, var(--bg-accent-soft), var(--bg-subtle));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 50px;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1;
  box-shadow: var(--shadow);
}
.image-frame img {
  width: min(220px, 70%);
  filter: drop-shadow(0 12px 32px rgba(8,145,178,0.18));
}

/* ── PAGE HERO (sub-pages) ───────────────── */
.page-hero {
  padding: 60px 0 64px;
  background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 18px; max-width: 22ch; }
.page-hero .hero-sub { max-width: 640px; margin-bottom: 28px; }

/* ── Breadcrumb ──────────────────────────── */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 18px;
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center;
}
.breadcrumb a { color: var(--text-sub); }
.breadcrumb a:hover { color: var(--accent-1); }
.breadcrumb .sep { color: var(--text-mute); }

/* ── Service / capability cards ──────────── */
.services-grid, .capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.service-card, .cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.service-card:hover, .cap-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.service-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-1);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.service-icon, .cap-icon {
  font-size: 2rem;
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-accent-soft);
  border: 1px solid var(--border-accent);
  margin-bottom: 18px;
}
.service-card h3, .service-card h4 { margin-bottom: 10px; }
.service-card p, .cap-card p { font-size: 0.92rem; margin-bottom: 16px; line-height: 1.6; }
.cap-card h4 { margin-bottom: 10px; }
.cap-card ul { padding: 0; }
.cap-card ul li {
  position: relative;
  padding-left: 20px;
  font-size: 0.86rem;
  color: var(--text-sub);
  margin-bottom: 6px;
}
.cap-card ul li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-3);
}
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.service-tags .tag {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-sub);
  border: 1px solid var(--border);
}
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-1);
  font-weight: 600;
  font-size: 0.88rem;
}
.service-link .arrow { transition: transform 0.2s; }
.service-link:hover .arrow { transform: translateX(4px); }

/* ── Why-grid (homepage feature) ─────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
.why-card-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.why-list { display: flex; flex-direction: column; gap: 18px; }
.why-item {
  display: flex; gap: 16px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.why-item:hover { border-color: var(--border-accent); box-shadow: var(--shadow-sm); }
.why-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--accent-1);
  flex-shrink: 0;
  width: 36px;
}
.why-icon { font-size: 1.5rem; flex-shrink: 0; }
.why-item h4 { margin-bottom: 4px; }
.why-item p { font-size: 0.88rem; margin: 0; color: var(--text-sub); }
.why-visual {
  background: linear-gradient(135deg, var(--bg-accent-soft), var(--bg-subtle));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  min-height: 320px;
  box-shadow: var(--shadow);
}
.why-visual img { width: 140px; margin-bottom: 18px; }

/* ── Process timeline ────────────────────── */
.process-list {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px;
}
.process-item {
  display: flex; gap: 22px;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.process-item:hover { border-color: var(--border-accent); box-shadow: var(--shadow); }
.process-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--accent-1);
  flex-shrink: 0;
  width: 48px;
}
.process-item h4 { margin-bottom: 6px; }
.process-item p { font-size: 0.92rem; margin: 0; color: var(--text-sub); }

/* ── Tech stack chips ────────────────────── */
.tech-stack {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  max-width: 820px; margin: 0 auto;
}
.tech-chip {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--text-body);
  font-weight: 500;
  transition: border-color 0.18s, color 0.18s;
}
.tech-chip:hover { border-color: var(--accent-1); color: var(--accent-1); }

/* ── Stats band ──────────────────────────── */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stats-band .stat-item { text-align: center; }
.stats-band .stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem; font-weight: 700;
  margin-bottom: 6px;
}
.stats-band .stat-label {
  font-size: 0.85rem; color: var(--text-sub);
}

/* ── About / two-column blocks ───────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-content h2 { margin-bottom: 18px; }
.about-content p { margin-bottom: 14px; }

/* ── Values grid ─────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.value-card:hover { border-color: var(--border-accent); box-shadow: var(--shadow); }
.value-icon {
  font-size: 1.7rem;
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-accent-soft);
  margin-bottom: 14px;
}
.value-card h4 { margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; color: var(--text-sub); }

/* ── Founder card ────────────────────────── */
.about-founder {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.founder-photo {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.founder-info .role {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 4px;
  font-weight: 600;
}
.founder-info h3 { margin-bottom: 12px; }
.founder-info p { font-size: 0.95rem; }
.founder-socials { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.founder-socials a {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-accent-soft);
  border: 1px solid var(--border-accent);
  color: var(--accent-2);
}
.founder-socials a:hover { background: var(--accent-1); color: #fff; border-color: var(--accent-1); }

/* ── CONTACT ─────────────────────────────── */
.contact-section { padding: 64px 0 80px; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { color: var(--text-sub); margin-bottom: 28px; }
.contact-links { display: flex; flex-direction: column; gap: 14px; }
.contact-link {
  display: flex; gap: 14px; align-items: center;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-body);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.contact-link:hover {
  border-color: var(--border-accent);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
  color: var(--text-body);
}
.contact-link-icon {
  font-size: 1.4rem;
  width: 44px; height: 44px;
  background: var(--bg-accent-soft);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-link-meta { display: flex; flex-direction: column; }
.contact-link-meta strong {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-head);
  margin-bottom: 2px;
}
.contact-link-meta span { font-size: 0.95rem; color: var(--text-body); }

.info-panel {
  margin-top: 16px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
}
.info-panel strong {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-head);
  display: block;
  margin-bottom: 8px;
}
.info-panel p { font-size: 0.9rem; color: var(--text-body); margin: 0; }
.info-panel .accent { color: var(--accent-2); font-weight: 500; }

/* ── Form ────────────────────────────────── */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-head);
  margin-bottom: 6px;
}
.form-group .req { color: var(--error); }
.form-group .form-hint {
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-top: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-page);
  border: 1px solid var(--border-h);
  border-radius: var(--radius-sm);
  color: var(--text-head);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-mute); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(8,145,178,0.15);
}
.form-group .invalid {
  border-color: var(--error);
  background: var(--error-bg);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23475569' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px; overflow: hidden;
}
.form-submit {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: var(--shadow-cyan);
  transition: transform 0.18s, box-shadow 0.18s;
}
.form-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(8,145,178,0.28);
}
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-msg {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
  border: 1px solid transparent;
}
.form-msg.success { display: block; background: var(--success-bg); color: var(--success); border-color: rgba(5,150,105,0.3); }
.form-msg.error   { display: block; background: var(--error-bg);   color: var(--error);   border-color: rgba(220,38,38,0.3); }
.fine-print {
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-top: 10px;
  text-align: center;
}

/* ── FAQ ─────────────────────────────────── */
.faq-section { padding: 80px 0; }
.faq-list {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.18s;
}
.faq-item.open { border-color: var(--border-accent); }
.faq-q {
  width: 100%;
  padding: 18px 22px;
  text-align: left;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-head);
  display: flex; justify-content: space-between; align-items: center;
  background: none;
  cursor: pointer;
  gap: 16px;
}
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent-1);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 22px;
  color: var(--text-body);
  font-size: 0.95rem;
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 22px 22px; }

/* ── CTA Band ────────────────────────────── */
.cta-band {
  margin-top: 30px;
  padding: 70px 0;
  background: linear-gradient(135deg, var(--bg-accent-soft) 0%, var(--bg-subtle) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  max-width: 720px; margin: 0 auto; text-align: center;
}
.cta-inner .section-eyebrow { margin-bottom: 14px; }
.cta-inner h2 { margin-bottom: 14px; }
.cta-inner p { font-size: 1.02rem; color: var(--text-body); margin-bottom: 28px; }
.cta-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ── FOOTER ──────────────────────────────── */
footer[role="contentinfo"] {
  background: var(--bg-footer);
  color: var(--text-on-dark);
  padding: 60px 0 30px;
  margin-top: auto;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 44px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p {
  font-size: 0.88rem; color: #94a3b8;
  max-width: 320px; line-height: 1.6;
}
.footer-col h4 {
  color: #f1f5f9;
  margin-bottom: 16px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.18s;
}
.footer-col a:hover { color: var(--accent-3); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 14px;
  align-items: center;
}
.footer-bottom p { color: #64748b; font-size: 0.82rem; margin: 0; }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: #64748b; font-size: 0.82rem; }
.footer-bottom-links a:hover { color: var(--accent-3); }

/* ── Reveal animations ───────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════ */

@media (max-width: 1024px) {
  footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .why-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-founder { grid-template-columns: 1fr; text-align: center; }
  .founder-photo { margin: 0 auto; }
  .founder-socials { justify-content: center; }
}

@media (max-width: 900px) {
  :root { --nav-h: 70px; }
  section { padding: 60px 0; }

  /* Mobile menu */
  .hamburger { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg-page);
    flex-direction: column;
    padding: 20px 24px;
    gap: 14px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links a { padding: 8px 0; }
  .nav-links a.active::after { display: none; }
  .nav-cta { display: none; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-content { max-width: none; margin: 0 auto; }
  .hero-sub { margin-inline: auto; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 24px; }
  .hero-visual { margin: 0 auto; max-width: 360px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .section-header { margin-bottom: 36px; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .container { padding: 0 18px; }
  section { padding: 50px 0; }

  h1 { font-size: clamp(1.85rem, 7vw, 2.4rem); }
  h2 { font-size: clamp(1.45rem, 5.5vw, 1.85rem); }
  .hero-sub { font-size: 1rem; }

  .stats-band { padding: 24px; gap: 20px; }
  .stats-band .stat-num { font-size: 1.6rem; }

  .service-card, .cap-card, .why-item, .process-item, .value-card { padding: 22px; }
  .contact-form { padding: 24px; }
  .image-frame { padding: 30px; }

  .btn-primary, .btn-ghost { padding: 12px 22px; font-size: 0.9rem; width: 100%; max-width: 320px; }
  .hero-btns, .cta-btns { flex-direction: column; align-items: center; }

  .nav-logo img { height: 36px; }

  footer { padding: 50px 0 24px; }
  footer .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .process-item { gap: 14px; }
  .process-num, .why-num { font-size: 1.1rem; width: auto; }

  .founder-photo { width: 130px; height: 130px; font-size: 2.4rem; }
}

@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .service-card, .cap-card, .contact-form, .why-item { padding: 18px; }
}

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

@media print {
  body::before { display: none; }
  nav, footer, .cta-band, .hamburger { display: none; }
  main { padding-top: 0; }
  a { color: #000; text-decoration: underline; }
}

/* ── Floating Action Buttons (WhatsApp + Call) ────────────── */
.floating-btns {
  position: fixed;
  bottom: 28px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 28px rgba(0,0,0,0.32);
}

.float-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.float-btn--whatsapp {
  background: #25D366;
}

.float-btn--call {
  background: #4F46E5;
}

/* Tooltip labels */
.float-btn::before {
  content: attr(data-tip);
  position: absolute;
  right: calc(100% + 10px);
  background: rgba(15,15,25,0.88);
  color: #fff;
  font-size: 0.78rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.float-btn:hover::before {
  opacity: 1;
}

/* Single-column contact grid when form is removed */
.contact-grid.single-col {
  grid-template-columns: 1fr;
  max-width: 580px;
}

@media (max-width: 480px) {
  .floating-btns { bottom: 20px; right: 16px; gap: 12px; }
  .float-btn { width: 50px; height: 50px; }
  .float-btn svg { width: 24px; height: 24px; }
  .float-btn::before { display: none; }
}
