/* ═══════════════════════════════════════════════════════════════
   Blezzkay — Flutter Developer Portfolio
   style.css
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
  --white:        #F8F9FA;
  --off-white:    #EDEEF0;
  --cyan:         #00C8C8;
  --cyan-dim:     #00a0a0;
  --cyan-glow:    rgba(0,200,200,0.18);
  --cyan-trace:   rgba(0,200,200,0.07);
  --ink:          #0A0E12;
  --ink-2:        #141820;
  --ink-3:        #1E242E;
  --muted:        #6B7585;
  --border:       rgba(0,200,200,0.15);
  --border-faint: rgba(255,255,255,0.06);
  --radius:       14px;
  --font-display: 'Syne', sans-serif;
  --font-mono:    'DM Mono', monospace;
  --font-body:    'DM Sans', sans-serif;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body  {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}
a   { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ─── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar       { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--cyan-dim); border-radius: 4px; }

/* ─── Noise Texture Overlay ──────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 9999;
  opacity: .5;
}

/* ─── Grid Background ────────────────────────────────────────── */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--border-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-faint) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,200,200,0.06) 0%, transparent 70%);
}

/* ─── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* ─── Divider ────────────────────────────────────────────────── */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(10,14,18,0.72);
  border-bottom: 1px solid var(--border-faint);
  transition: border-bottom-color .3s;
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s infinite;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  transition: color .2s;
  letter-spacing: 0.04em;
}
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  transition: background .2s, color .2s;
}
.nav-cta:hover { background: var(--cyan); color: var(--ink); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ─── Mobile Nav Overlay ─────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10,14,18,0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--white);
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--cyan); }

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  width: 100%;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.hero-inner {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 100px 24px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  min-height: 100vh;
  position: relative;
}

/* hero text block */
.hero-content { width: 100%; max-width: 680px; box-sizing: border-box; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  border: 1px solid var(--border);
  background: var(--cyan-trace);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeUp .6s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s infinite;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeUp .6s .1s ease both;
}
.hero-title .accent { color: var(--cyan); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 480px;
  width: 100%;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeUp .6s .2s ease both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp .6s .3s ease both;
}

/* hero stat cards — always inline below hero text */
.hero-stats {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  width: 100%;
  animation: fadeUp .8s .4s ease both;
}
.hero-stats--desktop { display: none !important; }
.stat-card {
  background: var(--ink-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: left;
  flex: 1 1 160px;
  min-width: 0;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--cyan);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 4px;
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  animation: fadeUp .6s .8s ease both;
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollLine 2s infinite;
}

/* ══════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════ */
.btn-primary {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 14px 28px;
  border-radius: 8px;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 24px rgba(0,200,200,0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0,200,200,0.5);
}
.btn-outline {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--white);
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* ══════════════════════════════════════════════════════════════
   SECTION SHARED
   ══════════════════════════════════════════════════════════════ */
section { position: relative; z-index: 1; padding: 100px 0; width: 100%; box-sizing: border-box; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
}
.section-head { margin-bottom: 60px; }

/* ══════════════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}
.service-card {
  background: var(--ink-2);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
  cursor: default;
}
.service-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, var(--cyan-glow), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--cyan-trace);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.service-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}
.service-tag {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background: var(--cyan-trace);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ══════════════════════════════════════════════════════════════
   TECH STACK
   ══════════════════════════════════════════════════════════════ */
.stack-section { background: var(--ink-2); }
.stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.stack-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ink-3);
  border: 1px solid var(--border-faint);
  padding: 10px 18px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--white);
  transition: border-color .2s, color .2s;
}
.stack-pill:hover { border-color: var(--cyan); color: var(--cyan); }
.stack-pill .icon { font-size: 1.1rem; }

/* ══════════════════════════════════════════════════════════════
   PROJECT SHOWCASE
   ══════════════════════════════════════════════════════════════ */
.project-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.project-info { position: sticky; top: 100px; }
.project-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.project-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.project-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
}
.project-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.project-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--off-white);
}
.project-features li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--cyan-trace);
  border: 1px solid var(--cyan);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5L4.5 7.5L8 3' stroke='%2300C8C8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.project-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color .2s;
}
.project-link:hover { border-color: var(--cyan); }
.project-link svg { transition: transform .2s; }
.project-link:hover svg { transform: translateX(4px); }

/* Screenshots */
.screenshots {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.screenshot-frame {
  border-radius: 20px;
  overflow: hidden;
  border: none;
  background: transparent;
  position: relative;
  box-shadow: none;
  transition: transform .3s;
}
.screenshot-frame:hover { transform: scale(1.02); }
.screenshot-frame:nth-child(2) { margin-left: 32px; }
.screenshot-frame:nth-child(3) { margin-right: 32px; }
.screenshot-frame img { width: 100%; height: auto; display: block; }
.screenshot-placeholder {
  width: 100%;
  aspect-ratio: 9 / 17;
  background: linear-gradient(135deg, var(--ink-3), var(--ink-2));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.screenshot-placeholder .ph-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.img-label {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(10,14,18,0.8);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-faint);
}

/* ══════════════════════════════════════════════════════════════
   PROCESS
   ══════════════════════════════════════════════════════════════ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius);
  overflow: hidden;
}
.process-step {
  padding: 36px 28px;
  border-right: 1px solid var(--border-faint);
  transition: background .3s;
}
.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--ink-2); }
.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
  transition: color .3s;
}
.process-step:hover .step-num { color: var(--cyan); }
.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   TERMINAL
   ══════════════════════════════════════════════════════════════ */
.terminal {
  background: var(--ink-2);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--font-mono);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-faint);
  background: var(--ink-3);
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot.red    { background: #FF5F57; }
.t-dot.yellow { background: #FEBC2E; }
.t-dot.green  { background: #28C840; }
.t-title { margin-left: auto; font-size: 0.7rem; color: var(--muted); }
.terminal-body { padding: 20px; }
.t-line    { font-size: 0.82rem; line-height: 2; }
.t-prompt  { color: var(--cyan); }
.t-cmd     { color: var(--white); }
.t-comment { color: var(--muted); }
.t-output  { color: #6ee7b7; }
.t-blank   { height: 8px; }

/* ══════════════════════════════════════════════════════════════
   CTA
   ══════════════════════════════════════════════════════════════ */
.cta-section { text-align: center; padding: 120px 0; }
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,200,200,0.1), transparent 70%);
  pointer-events: none;
}
.cta-section .section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  max-width: 700px;
  margin: 0 auto 24px;
}
.cta-section .section-sub { max-width: 480px; margin: 0 auto 40px; }
.cta-contact:hover { border-color: var(--cyan); }

.cta-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.cta-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--cyan);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.cta-contact--telegram:hover { color: #29b6f6; border-color: #29b6f6; }
.cta-contact--discord:hover  { color: #7289da; border-color: #7289da; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border-faint);
  padding: 40px 0;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  transition: color .2s;
}
.footer-links a:hover { color: var(--cyan); }

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════ */
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--cyan); }
  50%       { opacity: 0.5; box-shadow: 0 0 16px var(--cyan); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLine {
  0%      { transform: scaleY(0); transform-origin: top; }
  50%     { transform: scaleY(1); transform-origin: top; }
  50.01%  { transform: scaleY(1); transform-origin: bottom; }
  100%    { transform: scaleY(0); transform-origin: bottom; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible       { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* stat cards already inline — no changes needed at this breakpoint */
}

@media (max-width: 900px) {
  .project-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .project-info { position: static; }
  .screenshot-frame:nth-child(2) { margin-left: 16px; }
  .screenshot-frame:nth-child(3) { margin-right: 16px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step { border-bottom: 1px solid var(--border-faint); }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(3) { border-bottom: none; }
  .process-step:nth-child(4) { border-bottom: none; border-right: none; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-inner { padding: 90px 16px 60px; }
  .hero-content { width: 100%; text-align: left; }
  section { padding: 72px 0; width: 100%; }
  .hero-stats { gap: 10px; }
  .stat-card { flex: 1 1 100%; }  /* full width on mobile */
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none !important; border-bottom: 1px solid var(--border-faint) !important; }
  .process-step:last-child { border-bottom: none !important; }
  .screenshots { gap: 14px; }
  .screenshot-frame:nth-child(2) { margin-left: 0; }
  .screenshot-frame:nth-child(3) { margin-right: 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .cta-section .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-inner { padding: 88px 16px 56px; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-sub { max-width: 100%; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; text-align: center; justify-content: center; }
  .stat-card { flex: 1 1 100%; }
  .services-grid { grid-template-columns: 1fr !important; }
  .section-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
}

