/* ============================================================
   VIVAN INDUSTRIES – styles.css
   Color palette:
     Navy:     #0d2457
     Off-white:#f4f7fc
     Blue-1:   #4a7abf
     Blue-2:   #7a9fd4
     Dark:     #08193d
     Text:     #2c3e60
============================================================ */

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #2c3e60;
  background: #f4f7fc;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ── Utility ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section-padding { padding-block: clamp(4rem, 8vw, 7rem); }

.bg-light { background: #f4f7fc; }

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #4a7abf;
  margin-bottom: .6rem;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  color: #0d2457;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  max-width: 56ch;
  margin-inline: auto;
  color: #5a6d90;
  font-size: 1.05rem;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 2.2rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .25s, color .25s, border-color .25s, transform .15s;
  white-space: nowrap;
}

.btn-primary {
  background: #4a7abf;
  color: #fff;
  border-color: #4a7abf;
}

.btn-primary:hover {
  background: #0d2457;
  border-color: #0d2457;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #0d2457;
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background .3s, padding .3s, box-shadow .3s;
}

.navbar.scrolled {
  background: #0d2457;
  padding: .7rem 0;
  box-shadow: 0 2px 20px rgba(13,36,87,.35);
}

.nav-container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .12em;
}

.logo-sub {
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .3em;
  color: #7a9fd4;
  margin-top: 1px;
}

.nav-menu ul {
  display: flex;
  gap: .25rem;
  align-items: center;
}

.nav-link {
  padding: .5rem .9rem;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-radius: 3px;
  transition: color .2s, background .2s;
  letter-spacing: .02em;
}

.nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }

.nav-link.active { color: #7a9fd4; }

.nav-cta {
  background: #4a7abf;
  color: #fff !important;
  padding: .5rem 1.2rem;
  margin-left: .5rem;
}

.nav-cta:hover { background: #fff; color: #0d2457 !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #08193d;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-color: #08193d;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
}

/* Darken the placeholder image slightly */
.hero-video-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8,25,61,.5);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,25,61,.4) 0%, rgba(8,25,61,.7) 60%, rgba(8,25,61,.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding-inline: clamp(1.25rem, 5vw, 2rem);
  padding-top: 6rem;
}

.hero-eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #7a9fd4;
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.75);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.hero-cta { font-size: 1rem; padding: 1rem 2.5rem; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-indicator span {
  display: block;
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: .4; transform: scaleY(.6); }
}

/* ── Trust Strip ─────────────────────────────────────────── */
.trust-strip {
  background: #0d2457;
  padding: 1.8rem 0;
}

.trust-container {
  max-width: 1000px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.trust-value {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}

.trust-label {
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #7a9fd4;
}

.trust-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,.15);
}

/* ── About ───────────────────────────────────────────────── */
.about { background: #fff; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about-img-wrapper {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #0d2457 0%, #1a3a7a 100%);
}

.about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.about-img-wrapper:hover img { transform: scale(1.04); }

.about-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: #4a7abf;
  color: #fff;
  padding: .75rem 1.2rem;
  border-radius: 3px;
}

.badge-num {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.badge-txt {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .85;
}

.about-text { display: flex; flex-direction: column; gap: 1rem; }

.about-body { color: #4a5e80; line-height: 1.75; }

.about-tagline {
  font-size: 1.05rem;
  font-style: italic;
  color: #0d2457;
  border-left: 3px solid #4a7abf;
  padding-left: 1rem;
  margin-top: .5rem;
}

/* ── Products ────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: #fff;
  border: 1px solid #dde5f0;
  border-radius: 6px;
  padding: 2rem 1.5rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  animation-delay: var(--delay, 0s);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(13,36,87,.1);
  border-color: #4a7abf;
}

.product-icon {
  width: 52px;
  height: 52px;
  color: #4a7abf;
  margin-bottom: 1.25rem;
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0d2457;
  margin-bottom: .6rem;
}

.product-card p { font-size: .9rem; color: #5a6d90; line-height: 1.65; }

/* ── Services ────────────────────────────────────────────── */
.services { background: #fff; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #f4f7fc;
  border-radius: 6px;
  padding: 2.25rem 1.75rem;
  position: relative;
  border-top: 3px solid #4a7abf;
  transition: transform .25s, box-shadow .25s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(13,36,87,.09);
}

.service-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(74,122,191,.18);
  line-height: 1;
  margin-bottom: .75rem;
  font-family: 'Playfair Display', serif;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d2457;
  margin-bottom: .6rem;
}

.service-card p { font-size: .9rem; color: #5a6d90; }

/* ── Business ────────────────────────────────────────────── */
.business-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.business-text p { color: #4a5e80; margin-bottom: 1rem; line-height: 1.75; }

.pillars { display: flex; flex-direction: column; gap: 1.25rem; margin: 1.5rem 0; }

.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pillar-icon {
  font-size: 1.2rem;
  color: #4a7abf;
  flex-shrink: 0;
  margin-top: .1rem;
}

.pillar strong {
  display: block;
  color: #0d2457;
  font-weight: 700;
  margin-bottom: .2rem;
}

.pillar p { color: #5a6d90; font-size: .9rem; margin: 0; }

.business-tagline {
  font-style: italic;
  color: #0d2457;
  font-size: 1rem;
  border-left: 3px solid #4a7abf;
  padding-left: 1rem;
  margin-top: .5rem;
}

.logos-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #4a7abf;
  margin-bottom: 1.25rem;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.client-logo-placeholder {
  background: #fff;
  border: 1px solid #dde5f0;
  border-radius: 4px;
  aspect-ratio: 2/1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.client-logo-placeholder:hover {
  border-color: #4a7abf;
  box-shadow: 0 4px 14px rgba(13,36,87,.08);
}

.client-logo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .5rem;
  filter: grayscale(20%);
  transition: filter .2s;
}

.client-logo-placeholder:hover img { filter: none; }

/* ── Philosophy ──────────────────────────────────────────── */
.philosophy {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.philosophy-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Fallback gradient */
  background-color: #0d2457;
}

.philosophy-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,25,61,.72);
  z-index: 1;
}

.philosophy-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem clamp(1.5rem, 8vw, 6rem);
}

.philosophy-content blockquote em {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-style: italic;
  color: #fff;
  line-height: 1.35;
  font-weight: 600;
}

/* ── Heritage ────────────────────────────────────────────── */
.heritage { background: #fff; }

.heritage-body {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3.5rem;
  color: #4a5e80;
  font-size: 1.05rem;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.stat-block {
  background: #f4f7fc;
  border: 1px solid #dde5f0;
  border-radius: 6px;
  padding: 1.75rem 1rem;
  text-align: center;
  border-top: 3px solid #4a7abf;
  transition: transform .25s, box-shadow .25s;
}

.stat-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(13,36,87,.08);
}

.stat-value {
  display: block;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  color: #0d2457;
  margin-bottom: .4rem;
}

.stat-label {
  display: block;
  font-size: .78rem;
  color: #5a6d90;
  line-height: 1.4;
  text-align: center;
}

.stat-label small {
  display: block;
  font-size: .7rem;
  color: #8a9fbc;
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials { background: #f4f7fc; }

.testimonial-slider { position: relative; overflow: hidden; }

.testimonial-track {
  display: flex;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}

.testimonial-card {
  min-width: 100%;
  background: #fff;
  border-radius: 8px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 4px 24px rgba(13,36,87,.07);
  max-width: 780px;
  margin-inline: auto;
  position: relative;
}

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: #4a7abf;
  line-height: .8;
  margin-bottom: .5rem;
  opacity: .25;
}

.testimonial-card p {
  font-size: 1.05rem;
  color: #3a4f70;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #4a7abf, #0d2457);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}

.testimonial-author strong { display: block; color: #0d2457; font-size: .95rem; }

.testimonial-author span { font-size: .82rem; color: #7a8fae; }

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.t-prev, .t-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #4a7abf;
  background: transparent;
  color: #4a7abf;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .2s, color .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t-prev:hover, .t-next:hover { background: #4a7abf; color: #fff; }

.t-dots { display: flex; gap: .5rem; }

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c0cedf;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.t-dot.active { background: #4a7abf; transform: scale(1.3); }

/* ── Contact ─────────────────────────────────────────────── */
.contact { background: #fff; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: #2c3e60;
  letter-spacing: .02em;
}

.req { color: #e05c5c; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid #ccd6e8;
  border-radius: 4px;
  font-family: inherit;
  font-size: .95rem;
  color: #2c3e60;
  background: #f8fafd;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #4a7abf;
  box-shadow: 0 0 0 3px rgba(74,122,191,.15);
  background: #fff;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e05c5c;
}

.field-error {
  font-size: .78rem;
  color: #e05c5c;
  min-height: 1rem;
}

.form-group textarea { resize: vertical; min-height: 130px; }

.btn-submit { width: 100%; padding: 1rem; font-size: 1rem; margin-top: .25rem; }

.form-status {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  font-size: .95rem;
  font-weight: 500;
}

.form-status.success { background: #e6f4ea; color: #2d6a4f; border: 1px solid #b7dfca; }
.form-status.error   { background: #fde8e8; color: #9b2226; border: 1px solid #f5b8b8; }

.contact-info-card {
  background: #0d2457;
  color: #fff;
  border-radius: 8px;
  padding: 2.5rem 2rem;
  position: sticky;
  top: 6rem;
}

.contact-info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .3rem;
}

.contact-tagline { color: #7a9fd4; font-size: .88rem; margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ci-icon {
  width: 22px;
  height: 22px;
  color: #4a7abf;
  flex-shrink: 0;
  margin-top: .1rem;
}

.contact-detail strong { display: block; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: #7a9fd4; margin-bottom: .15rem; }

.contact-detail span { font-size: .92rem; color: rgba(255,255,255,.85); }

.contact-badge {
  margin-top: 2rem;
  background: rgba(74,122,191,.18);
  border: 1px solid rgba(74,122,191,.4);
  border-radius: 3px;
  padding: .75rem 1rem;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  color: #7a9fd4;
  letter-spacing: .05em;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: #08193d; color: rgba(255,255,255,.8); }

.footer-top { padding-block: 4rem; border-bottom: 1px solid rgba(255,255,255,.08); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1.4fr;
  gap: 3rem;
}

.footer-logo { margin-bottom: .75rem; }

.footer-tagline {
  font-size: .9rem;
  color: #7a9fd4;
  margin-bottom: .4rem;
}

.footer-location { font-size: .85rem; color: rgba(255,255,255,.5); }

.footer h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #7a9fd4;
  margin-bottom: 1.25rem;
}

.footer-links ul, .footer-products ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}

.footer-links a:hover { color: #fff; }

.footer-products li { font-size: .88rem; color: rgba(255,255,255,.6); }

.footer-contact p { font-size: .88rem; color: rgba(255,255,255,.7); margin-bottom: .6rem; line-height: 1.5; }

.footer-bottom {
  padding-block: 1.5rem;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); }

/* ── Scroll Reveal Animations ────────────────────────────── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--delay, 0s);
}

.reveal-up    { transform: translateY(36px); }
.reveal-left  { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }

.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Mobile Nav open state ───────────────────────────────── */
.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); }

/* ============================================================
   RESPONSIVE
============================================================ */

/* Large tablets & below (≤ 1024px) */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
}

/* Tablets (≤ 768px) */
@media (max-width: 768px) {
  /* Nav */
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 80vw);
    height: 100vh;
    background: #0d2457;
    padding: 5rem 2rem 2rem;
    transition: right .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -4px 0 32px rgba(0,0,0,.35);
  }

  .nav-menu.open { right: 0; }

  .nav-menu ul { flex-direction: column; gap: 0; }

  .nav-link {
    display: block;
    padding: .9rem .5rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }

  .nav-cta { margin-left: 0; margin-top: 1rem; display: inline-block; }

  /* Sections */
  .about-grid,
  .business-grid { grid-template-columns: 1fr; }

  .about-image { order: -1; }

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

  .client-logo-grid { grid-template-columns: repeat(3, 1fr); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .trust-divider { display: none; }
  .trust-container { gap: 1rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom .container { flex-direction: column; align-items: center; text-align: center; }
}

/* Small phones (≤ 480px) */
@media (max-width: 480px) {
  .hero-headline { font-size: 2.4rem; }

  .products-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  .client-logo-grid { grid-template-columns: repeat(2, 1fr); }

  .stats-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .philosophy-content blockquote em { font-size: 1.5rem; }
}
