/* ==========================================================================
   AS BUILDER — MAIN STYLESHEET
   Grey Structure & Turnkey Construction
   ========================================================================== */

/* ---------- CSS VARIABLES ---------- */
:root {
  --primary: #0D47A1;
  --primary-light: #1976D2;
  --secondary: #1976D2;
  --dark: #0B1220;
  --dark-soft: #121b2e;
  --white: #FFFFFF;
  --off-white: #F4F7FC;
  --grey-100: #E7ECF5;
  --grey-300: #B9C4D6;
  --grey-500: #6B7A93;
  --grey-700: #3A4457;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 4px 16px rgba(11, 18, 32, 0.08);
  --shadow-md: 0 12px 32px rgba(11, 18, 32, 0.14);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, 0.22);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1240px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--grey-700);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

section { padding-block: 100px; }

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

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

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

h1 { font-size: clamp(2.4rem, 4.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 30px; height: 2px;
  background: var(--secondary);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--grey-500); margin-top: 14px; font-size: 1.05rem; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--secondary); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--grey-300);
  color: var(--dark);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }

.btn-light {
  background: var(--white);
  color: var(--primary);
}
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ---------- NAVBAR (glassmorphism, sticky) ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding-block: 22px;
  transition: all var(--transition);
}
.navbar.is-glass {
  background: rgba(11, 18, 32, 0.55);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  padding-block: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 42px; width: auto; }
.brand-fallback { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: var(--grey-100);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding-block: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--secondary);
  transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--white); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { color: var(--grey-100); font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.nav-phone i { color: var(--secondary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  z-index: 1100;
}
.nav-toggle span {
  height: 2px; width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,18,32,0.55) 0%, rgba(11,18,32,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; padding-top: 90px; }
.hero-content .eyebrow { color: var(--grey-100); }
.hero-content .eyebrow::before { background: var(--white); }
.hero-content h1 { color: var(--white); margin-bottom: 22px; }
.hero-content p { font-size: 1.15rem; color: var(--grey-100); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-stats {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stats .stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--white); }
.hero-stats .stat-label { font-size: 0.85rem; color: var(--grey-300); margin-top: 4px; }

.scroll-cue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--grey-100); display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-header {
  position: relative;
  padding-top: 200px;
  padding-bottom: 100px;
  color: var(--white);
  background: var(--dark);
  overflow: hidden;
}
.page-header .hero-bg::after { background: linear-gradient(180deg, rgba(11,18,32,0.7) 0%, rgba(11,18,32,0.92) 100%); }
.page-header-content { position: relative; z-index: 2; }
.breadcrumb { font-size: 0.9rem; color: var(--grey-300); margin-top: 14px; }
.breadcrumb a { color: var(--grey-100); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- ABOUT PREVIEW / SPLIT SECTIONS ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.split-media .badge-card {
  position: absolute;
  bottom: -28px; left: -28px;
  background: var(--primary);
  color: var(--white);
  padding: 22px 28px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 200px;
}
.badge-card .num { font-size: 2rem; font-weight: 700; font-family: var(--font-display); }
.badge-card .label { font-size: 0.8rem; color: var(--grey-100); text-transform: uppercase; letter-spacing: 0.06em; }

.check-list { margin-top: 24px; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--grey-700); }
.check-list i { color: var(--secondary); margin-top: 4px; }

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--off-white);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 1px solid var(--grey-100);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.service-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: transform var(--transition);
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--grey-500); font-size: 0.95rem; }
.service-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; color: var(--primary); font-size: 0.9rem; }
.service-link i { transition: transform var(--transition); }
.service-card:hover .service-link i { transform: translateX(4px); }

/* ---------- SECTION VARIANTS ---------- */
.section-dark {
  background: var(--dark);
  color: var(--grey-100);
}
.section-dark h2 { color: var(--white); }
.section-dark .section-head p { color: var(--grey-300); }

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

/* ---------- STATISTICS COUNTER ---------- */
.stats-band {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: var(--white);
  padding-block: 64px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 4px;
}
.stat-item .stat-label { margin-top: 6px; font-size: 0.95rem; color: rgba(255,255,255,0.85); }

/* ---------- PROJECTS / GALLERY ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--grey-100);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--grey-500);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--secondary); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.portfolio-item { display: none; }
.portfolio-item.show { display: block; animation: fadeUp 0.5s ease both; }
.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3.4;
}
.project-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover img { transform: scale(1.08); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11,18,32,0.9) 0%, rgba(11,18,32,0.1) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px;
  color: var(--white);
}
.project-tag {
  align-self: flex-start;
  background: var(--secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.project-overlay h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 4px; }
.project-overlay span { font-size: 0.85rem; color: var(--grey-300); }

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding-block: 120px;
}
.testimonials::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(11, 18, 32, 0.82);
}
.testimonials .container { position: relative; z-index: 2; }
.testi-slider { max-width: 780px; margin-inline: auto; text-align: center; position: relative; min-height: 260px; }
.testi-slide {
  display: none;
  animation: fadeUp 0.6s ease both;
}
.testi-slide.active { display: block; }
.testi-slide i.fa-quote-left { font-size: 2rem; color: var(--secondary); margin-bottom: 24px; }
.testi-slide p { font-size: 1.35rem; font-weight: 500; color: var(--white); line-height: 1.55; margin-bottom: 28px; }
.testi-author { font-weight: 700; font-family: var(--font-display); }
.testi-role { font-size: 0.9rem; color: var(--grey-300); }
.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.testi-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all var(--transition);
}
.testi-dots button.active { background: var(--white); width: 28px; border-radius: 6px; }

/* ---------- PROCESS TIMELINE ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  counter-reset: step;
}
.timeline-step { position: relative; padding-top: 12px; }
.timeline-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--grey-100);
  display: block;
  margin-bottom: 16px;
}
.timeline-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.timeline-step p { font-size: 0.9rem; color: var(--grey-500); }
.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute; top: 22px; left: 60%;
  width: 80%; height: 2px;
  background: var(--grey-100);
}

/* ---------- WHY CHOOSE US ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 36px 24px;
}
.why-card i {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--off-white);
  color: var(--primary);
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  margin-inline: auto; margin-bottom: 20px;
}
.why-card h3 { font-size: 1rem; margin-bottom: 8px; }
.why-card p { font-size: 0.88rem; color: var(--grey-500); }

/* ---------- TEAM ---------- */
.team-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.team-wrap img { border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }

/* ---------- CTA BAND ---------- */
.cta-band {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(13,71,161,0.55), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); max-width: 520px; }
.cta-wrap { padding-bottom: 0 !important; }

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}
.contact-info-card {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 44px;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 8px; }
.contact-info-card p { color: var(--grey-300); margin-bottom: 32px; font-size: 0.95rem; }
.contact-detail { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.contact-detail i {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
}
.contact-detail strong { display: block; color: var(--white); font-size: 0.95rem; }
.contact-detail span { color: var(--grey-300); font-size: 0.9rem; }
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.social-row a:hover { background: var(--secondary); transform: translateY(-3px); }

.contact-form-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 44px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--grey-100);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(25, 118, 210, 0.12);
}
.form-note { font-size: 0.8rem; color: var(--grey-500); margin-top: 10px; }
.form-success {
  display: none;
  background: #e7f5ea; color: #1e7d3a;
  padding: 14px 18px; border-radius: var(--radius-sm);
  margin-bottom: 20px; font-size: 0.9rem; font-weight: 500;
}
.form-success.show { display: block; }

.map-wrap { border-radius: var(--radius-md); overflow: hidden; margin-top: 56px; box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- FOOTER ---------- */
footer {
  background: var(--dark);
  color: var(--grey-300);
  padding-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 40px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 22px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 0.9rem; color: var(--grey-300); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-col .contact-detail i { background: rgba(255,255,255,0.06); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 26px;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: var(--grey-300); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all var(--transition);
  z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--secondary); }

/* ---------- SCROLL REVEAL ANIMATIONS ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="left"].in-view { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="right"].in-view { transform: translateX(0); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ---------- LOGO FALLBACK / UTIL ---------- */
.text-primary { color: var(--primary); }
.mb-0 { margin-bottom: 0; }

/* ==========================================================================
   MEDIA QUERIES — 1440 / 1024 / 768 / 430 / 390 / 360
   ========================================================================== */

@media (max-width: 1440px) {
  :root { --container-width: 1140px; }
}

@media (max-width: 1024px) {
  section { padding-block: 76px; }
  .services-grid, .portfolio-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .timeline { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .split, .team-wrap, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .split-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -12px 0 40px rgba(0,0,0,0.3);
    z-index: 1050;
  }
  .nav-links.mobile-open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .nav-phone { display: none; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  .cta-band { padding: 40px; flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info-card, .contact-form-card { padding: 30px; }
  .timeline-step::after { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 430px) {
  section { padding-block: 60px; }
  .services-grid, .portfolio-grid, .stats-grid, .timeline, .why-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .badge-card { left: 0; bottom: -20px; padding: 16px 20px; min-width: unset; }
  .cta-band { padding: 30px; }
  .contact-info-card, .contact-form-card { padding: 24px; }
}

@media (max-width: 390px) {
  .container { padding-inline: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}

@media (max-width: 360px) {
  h1 { font-size: 1.85rem; }
  .stats-grid { gap: 24px; }
}
