/* Indigenie Software Solutions — Design System */
:root {
  --bg: #0B1220;
  --bg-elevated: #121A2B;
  --bg-soft: #182238;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(148, 163, 184, 0.18);
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --heading: #FFFFFF;
  --primary: #1B6BFF;
  --primary-2: #22D3EE;
  --accent: linear-gradient(135deg, #1B6BFF 0%, #22D3EE 100%);
  --success: #34D399;
  --danger: #F87171;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1160px;
  --header-h: 72px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] {
  --bg: #F4F7FB;
  --bg-elevated: #FFFFFF;
  --bg-soft: #E8EEF7;
  --surface: rgba(15, 23, 42, 0.03);
  --surface-strong: rgba(15, 23, 42, 0.06);
  --border: rgba(15, 23, 42, 0.1);
  --text: #334155;
  --text-muted: #64748B;
  --heading: #0B1220;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(27, 107, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(34, 211, 238, 0.12), transparent 55%),
    var(--bg);
  min-height: 100vh;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-2); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--primary); }
[data-theme="light"] a { color: var(--primary); }
[data-theme="light"] a:hover { color: #0B4FD1; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.15;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.sr-only, .hp {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--primary); color: #fff; padding: .75rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .65rem; color: inherit; min-width: 0; }
.brand:hover { color: inherit; }
.brand-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: block;
}
.brand-mark img,
img.brand-mark {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 11px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--heading); }
.brand-sub { font-size: .72rem; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; }
.nav-desktop { display: none; gap: 1.15rem; align-items: center; }
.nav-desktop a {
  color: var(--text-muted); font-weight: 500; font-size: .95rem;
}
.nav-desktop a:hover, .nav-desktop a.is-active { color: var(--heading); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--heading); cursor: pointer; display: grid; place-items: center;
}
.icon-btn .icon-moon { display: none; }
[data-theme="light"] .icon-btn .icon-sun { display: none; }
[data-theme="light"] .icon-btn .icon-moon { display: inline; }
.nav-toggle { flex-direction: column; gap: 5px; }
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--heading); border-radius: 2px;
}
.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 1rem 1.25rem 1.5rem;
}
.mobile-nav a {
  display: block; padding: .75rem 0; color: var(--heading);
  border-bottom: 1px solid var(--border); font-weight: 500;
}
.header-cta { display: none; }

@media (min-width: 980px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .mobile-nav { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: .85rem 1.35rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-1px); color: #fff; }
.btn-primary {
  background: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(27, 107, 255, .35);
}
.btn-secondary {
  background: var(--surface-strong); color: var(--heading); border-color: var(--border);
}
.btn-secondary:hover { color: var(--heading); background: var(--surface); }
.btn-ghost {
  background: transparent; color: var(--heading); border-color: var(--border);
}
.btn-ghost:hover { color: var(--heading); background: var(--surface); }
.btn-sm { padding: .6rem 1rem; font-size: .88rem; }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: color-mix(in srgb, var(--bg-elevated) 70%, transparent); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary-2); margin-bottom: .75rem;
}
[data-theme="light"] .eyebrow { color: var(--primary); }
.lead { font-size: 1.15rem; color: var(--text-muted); }

/* Hero */
.hero {
  position: relative; padding: 4.5rem 0 5rem; overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
}
.hero-grid {
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 1rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }
.hero-visual {
  position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin-inline: auto;
}
.hero-orb {
  position: absolute; inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(34,211,238,.35), transparent 55%),
              radial-gradient(circle at 70% 60%, rgba(27,107,255,.45), transparent 50%);
  filter: blur(8px);
  animation: float 8s ease-in-out infinite;
}
.hero-panel {
  position: absolute; inset: 12%;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: grid; gap: .85rem; align-content: center;
  animation: rise 1s var(--ease) both;
}
.hero-stat {
  display: flex; justify-content: space-between; align-items: center;
  padding: .85rem 1rem; border-radius: 14px; background: var(--surface);
  border: 1px solid var(--border);
}
.hero-stat strong { font-family: var(--font-display); color: var(--heading); font-size: 1.2rem; }
.hero-stat span { color: var(--text-muted); font-size: .9rem; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cards / grids */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 800px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--primary-2) 40%, var(--border)); }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--accent); color: #fff; font-size: 1.2rem;
}
.card h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.card p { color: var(--text-muted); margin-bottom: 0; }
.card-link { display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--heading); }
.card-link:hover { color: var(--primary-2); }

.feature-list { display: grid; gap: .55rem; margin-top: 1rem; }
.feature-list li {
  position: relative; padding-left: 1.2rem; color: var(--text-muted); font-size: .95rem;
}
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .45rem; height: .45rem; border-radius: 50%; background: var(--primary-2);
}

/* Process */
.process-track {
  display: grid; gap: 1rem;
}
@media (min-width: 900px) {
  .process-track { grid-template-columns: repeat(6, 1fr); }
}
.process-step {
  position: relative; padding: 1.25rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.process-step .step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
  background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Stats */
.stats-row {
  display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat-item {
  text-align: center; padding: 1.75rem 1rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.stat-item strong {
  display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--heading); margin-bottom: .25rem;
}
.stat-item span { color: var(--text-muted); font-size: .95rem; }

/* Tech logos */
.tech-marquee {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center;
}
.tech-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--heading); font-weight: 600; font-size: .9rem;
}
.tech-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
}

/* Portfolio */
.project-card { overflow: hidden; padding: 0; }
.project-card .thumb {
  aspect-ratio: 16/10; background: var(--bg-soft);
  display: grid; place-items: center; padding: 1.5rem;
}
.project-card .body { padding: 1.25rem 1.4rem 1.5rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0; }
.tag {
  font-size: .75rem; font-weight: 600; padding: .3rem .65rem;
  border-radius: 999px; background: var(--surface-strong); color: var(--text-muted);
  border: 1px solid var(--border);
}
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filter-btn {
  border: 1px solid var(--border); background: var(--surface); color: var(--text-muted);
  padding: .45rem .9rem; border-radius: 999px; cursor: pointer; font-weight: 600;
}
.filter-btn.is-active, .filter-btn:hover { color: var(--heading); border-color: var(--primary); }

/* Testimonials */
.testimonial-slider { position: relative; overflow: hidden; }
.testimonial-track {
  display: flex; transition: transform .5s var(--ease);
}
.testimonial-slide {
  min-width: 100%; padding: 2rem;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
}
.testimonial-slide blockquote {
  margin: 0 0 1.25rem; font-size: 1.25rem; color: var(--heading);
  font-family: var(--font-display); line-height: 1.4;
}
.testimonial-nav { display: flex; gap: .5rem; margin-top: 1rem; justify-content: center; }
.testimonial-nav button {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--heading); cursor: pointer;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); margin-bottom: .75rem; overflow: hidden;
}
.faq-item button {
  width: 100%; text-align: left; background: none; border: 0; color: var(--heading);
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  padding: 1.1rem 1.25rem; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem;
}
.faq-item .faq-panel {
  display: none; padding: 0 1.25rem 1.15rem; color: var(--text-muted);
}
.faq-item.is-open .faq-panel { display: block; }
.faq-item.is-open button span { transform: rotate(45deg); }
.faq-item button span { transition: transform .2s; display: inline-block; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: 28px; padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(27,107,255,.25), rgba(34,211,238,.15));
  border: 1px solid var(--border);
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }

/* Forms */
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.form-field label {
  display: block; font-weight: 600; margin-bottom: .4rem; color: var(--heading); font-size: .92rem;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg-elevated); color: var(--heading);
  font: inherit;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--primary) 50%, transparent);
  border-color: var(--primary);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-error { color: var(--danger); font-size: .88rem; margin-top: .35rem; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.newsletter-form input[type="email"] {
  flex: 1; min-width: 180px; padding: .7rem 1rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg); color: var(--heading);
}

/* Page hero / breadcrumbs */
.page-hero { padding: 3.5rem 0 2rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  font-size: .9rem; color: var(--text-muted); margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--heading); }
.breadcrumbs span[aria-hidden] { opacity: .5; }

/* Content prose */
.prose { max-width: 720px; }
.prose h2 { margin-top: 2rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.5rem; font-size: 1.2rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .4rem; color: var(--text-muted); }
.prose p { color: var(--text-muted); }

/* Footer */
.site-footer {
  margin-top: 2rem; padding: 4rem 0 1.5rem;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-elevated) 80%, transparent);
}
.footer-grid {
  display: grid; gap: 2rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
}
.footer-heading {
  font-size: .85rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-muted); margin-bottom: 1rem;
}
.footer-links a { color: var(--text-muted); display: inline-block; padding: .25rem 0; }
.footer-links a:hover { color: var(--heading); }
.footer-brand p, .footer-note, .footer-contact { color: var(--text-muted); font-size: .95rem; }
.footer-contact a { color: var(--text-muted); }
.social-links { display: flex; gap: .5rem; margin-top: 1rem; }
.social-links a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
  color: var(--heading); font-size: .75rem; font-weight: 700;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  align-items: center; margin-top: 3rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border); color: var(--text-muted); font-size: .9rem;
}
.legal-links { display: flex; gap: 1rem; }
.legal-links a { color: var(--text-muted); }

/* Misc */
.flash {
  padding: .85rem 0; font-weight: 600;
}
.flash-success { background: rgba(52, 211, 153, .15); color: var(--success); }
.flash-error { background: rgba(248, 113, 113, .15); color: var(--danger); }
.back-to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg-elevated); color: var(--heading);
  cursor: pointer; box-shadow: var(--shadow);
}
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: var(--bg-elevated); border-top: 1px solid var(--border);
  padding: 1rem 0; box-shadow: var(--shadow);
}
.cookie-inner {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.cookie-inner h2 { font-size: 1rem; margin: 0 0 .25rem; }
.cookie-inner p { margin: 0; color: var(--text-muted); font-size: .92rem; max-width: 640px; }
.cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.timeline { display: grid; gap: 1.25rem; border-left: 2px solid var(--border); padding-left: 1.5rem; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ""; position: absolute; left: -1.9rem; top: .35rem;
  width: .75rem; height: .75rem; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 25%, transparent);
}
.timeline-year { font-family: var(--font-display); font-weight: 700; color: var(--primary-2); }

.team-photo, .avatar {
  width: 88px; height: 88px; border-radius: 24px;
  background: var(--accent); display: grid; place-items: center;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  margin-bottom: 1rem;
}

.map-placeholder {
  min-height: 280px; border-radius: var(--radius);
  border: 1px solid var(--border); background:
    linear-gradient(135deg, rgba(27,107,255,.15), rgba(34,211,238,.1)),
    var(--bg-soft);
  display: grid; place-items: center; color: var(--text-muted); text-align: center; padding: 2rem;
}

.pagination { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 2rem; }
.pagination a, .pagination span {
  padding: .5rem .85rem; border-radius: 10px; border: 1px solid var(--border);
  color: var(--heading); background: var(--surface);
}
.pagination .is-current { background: var(--accent); border-color: transparent; }

.search-bar {
  display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.search-bar input {
  flex: 1; min-width: 200px; padding: .85rem 1rem; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg-elevated); color: var(--heading); font: inherit;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

.metric-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .metric-grid { grid-template-columns: repeat(4, 1fr); } }
.metric {
  padding: 1.25rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: center;
}
.metric strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--heading); }

.two-col { display: grid; gap: 2rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.2fr .8fr; align-items: start; } }

.share-links { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.5rem 0; }
.share-links a {
  padding: .45rem .85rem; border-radius: 999px; border: 1px solid var(--border);
  color: var(--heading); background: var(--surface); font-size: .85rem; font-weight: 600;
}

@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;
  }
}

/* ========== Mobile-first compatibility (all phone sizes) ========== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
img, video, iframe, svg {
  max-width: 100%;
  height: auto;
}
.container {
  width: min(100% - 1.25rem, var(--container));
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* Touch targets */
.icon-btn,
.nav-toggle,
.testimonial-nav button,
.back-to-top,
.filter-btn,
.btn {
  min-height: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: .85rem 0;
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

/* Header on small screens */
.header-inner {
  min-height: 64px;
  gap: .5rem;
  padding-block: .35rem;
}
.brand-name { font-size: 1.05rem; }
.brand-sub {
  font-size: .62rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw;
}

/* Hero */
.hero {
  min-height: auto;
  padding: 2.25rem 0 2.75rem;
}
.hero h1 {
  font-size: clamp(1.75rem, 8.2vw, 2.6rem);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.lead { font-size: 1.02rem; }
.hero-actions {
  gap: .65rem;
}
.hero-actions .btn {
  width: 100%;
  max-width: 100%;
}
.hero-visual {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  margin-top: .5rem;
}
.hero-panel {
  inset: 8%;
  padding: 1rem;
  border-radius: 20px;
  gap: .55rem;
}
.hero-stat {
  padding: .65rem .75rem;
  gap: .5rem;
  flex-wrap: wrap;
}
.hero-stat strong { font-size: 1.05rem; }
.hero-stat span { font-size: .8rem; line-height: 1.3; }

/* Sections & cards */
.section { padding: 3rem 0; }
.section-head { margin-bottom: 1.5rem; }
.page-hero { padding: 2rem 0 1.25rem; }
.page-hero h1 { font-size: clamp(1.65rem, 7vw, 2.4rem); }
.card { padding: 1.15rem; }
.card:hover { transform: none; }
.cta-band {
  padding: 2rem 1.15rem;
  border-radius: 20px;
}
.cta-band .hero-actions .btn { width: auto; flex: 1 1 auto; min-width: 140px; }
.testimonial-slide {
  padding: 1.25rem;
  box-sizing: border-box;
}
.testimonial-slide blockquote {
  font-size: 1.05rem;
}
.faq-item button {
  font-size: .98rem;
  padding: 1rem;
  align-items: flex-start;
}
.filters {
  gap: .4rem;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .35rem;
  scrollbar-width: thin;
}
.filter-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: .55rem .85rem;
}
.tech-chip { font-size: .82rem; padding: .55rem .85rem; }
.project-card .thumb { padding: 1rem; }
.stat-item { padding: 1.15rem .75rem; }
.stat-item span { font-size: .82rem; }
.process-step { padding: 1rem; }
.map-placeholder { min-height: 200px; padding: 1.25rem; }
.two-col { gap: 1.25rem; }
.form-field input,
.form-field select,
.form-field textarea {
  font-size: 16px; /* prevents iOS zoom on focus */
  max-width: 100%;
}
.search-bar input { min-width: 0; font-size: 16px; }
.newsletter-form input[type="email"] {
  min-width: 0;
  width: 100%;
  font-size: 16px;
}
.newsletter-form .btn { width: 100%; }

/* Footer */
.site-footer { padding: 2.5rem 0 1.25rem; }
.footer-grid { gap: 1.5rem; }
.footer-bottom {
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  margin-top: 2rem;
}
.cookie-banner {
  padding: .85rem 0 calc(.85rem + env(safe-area-inset-bottom));
}
.cookie-inner { align-items: stretch; }
.cookie-actions { width: 100%; }
.cookie-actions .btn { flex: 1; }
.back-to-top {
  right: max(.85rem, env(safe-area-inset-right));
  bottom: max(.85rem, env(safe-area-inset-bottom));
}

/* Extra-small phones (≤360px) */
@media (max-width: 360px) {
  .container { width: min(100% - 1rem, var(--container)); }
  .brand-sub { display: none; }
  .brand-name { font-size: .98rem; }
  .brand-mark,
  .brand-mark img,
  img.brand-mark { width: 36px; height: 36px; }
  .hero h1 { font-size: 1.55rem; }
  .section { padding: 2.35rem 0; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: .65rem; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .hero-actions { flex-direction: column; }
  .cta-band .hero-actions .btn { width: 100%; }
}

/* Small phones / large phones portrait */
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .header-cta { display: none !important; }
  .team-photo, .avatar { width: 72px; height: 72px; border-radius: 18px; font-size: 1.25rem; }
}

/* Phablets / small tablets */
@media (min-width: 481px) and (max-width: 767px) {
  .hero-actions .btn { width: auto; min-width: 160px; }
  .hero-visual { max-width: 420px; }
}

/* Landscape phones */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 1.5rem 0; }
  .hero-visual { max-width: 220px; }
  .mobile-nav {
    max-height: 70vh;
    overflow-y: auto;
  }
}

/* Tablets keep 2-col where useful */
@media (min-width: 600px) and (max-width: 899px) {
  .hero-actions .btn { width: auto; }
  .process-track { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .hero {
    min-height: calc(100vh - var(--header-h));
    padding: 4.5rem 0 5rem;
  }
  .hero-actions .btn { width: auto; }
  .section { padding: 5rem 0; }
  .card:hover { transform: translateY(-4px); }
  .brand-sub { max-width: none; overflow: visible; }
}

/* Prevent sticky header covering focus targets */
:target { scroll-margin-top: calc(var(--header-h) + 12px); }

