/* ============================================================
   IJL Tech Consult – Main Stylesheet
   "Sola"-inspired redesign — bold, photographic, animated
   Brand colors kept: navy + gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: var(--paper);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

h1, h2, h3, h4, .nav-logo-text, .footer-logo {
  font-family: 'Sora', 'Segoe UI', sans-serif;
}

/* ---------- CSS Variables : Token System ---------- */
:root {
  /* Color */
  --navy:      #11233A;   /* deep charcoal navy — primary dark   */
  --navy-mid:  #1B3654;   /* card surfaces on dark sections       */
  --navy-soft: #335174;   /* borders / secondary on dark          */
  --gold:      #F5A623;   /* primary accent                       */
  --gold-deep: #E8870C;   /* gradient partner / hover             */
  --ink:       #16181D;   /* near-black body text                 */
  --muted:     #6B7280;   /* cool gray secondary text             */
  --paper:     #FFFFFF;   /* white surfaces                       */
  --mist:      #F4F6F9;   /* light cool section background        */
  --line:      #E6E9EF;   /* hairline borders                     */

  /* Shape & elevation */
  --radius:      20px;
  --radius-sm:   12px;
  --radius-pill: 999px;
  --shadow:      0 18px 44px rgba(17,35,58,.14);
  --shadow-sm:   0 8px 22px rgba(17,35,58,.08);
  --shadow-gold: 0 10px 26px rgba(245,166,35,.35);
  --trans: .35s cubic-bezier(.4,0,.2,1);
}

/* ---------- Container ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Eyebrow Tag ---------- */
.eyebrow {
  display: inline-block;
  background: rgba(245,166,35,.12);
  color: var(--gold-deep);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.section-dark .eyebrow { background: rgba(255,255,255,.08); color: var(--gold); border: 1px solid rgba(255,255,255,.12); }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--navy);
  padding: 15px 34px;
  border-radius: var(--radius-pill);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans), filter var(--trans);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-3px); filter: brightness(1.05); box-shadow: 0 16px 32px rgba(245,166,35,.42); }
.btn-primary.btn-full { width: 100%; text-align: center; }

.nav-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--navy);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 14px;
  margin-left: 6px;
  transition: transform var(--trans), box-shadow var(--trans);
  box-shadow: 0 6px 16px rgba(245,166,35,.30);
}
.nav-cta:hover { transform: translateY(-2px); }

/* ---------- Section Base ---------- */
.section      { padding: 100px 0; background: var(--paper); position: relative; }
.section-alt  { background: var(--mist); }
.section-dark { background: var(--navy); color: #fff; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: clamp(30px, 4vw, 38px);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -.4px;
}
.section-dark .section-header h2 { color: #fff; }
.section-line {
  width: 48px; height: 5px;
  background: var(--gold);
  margin: 0 auto 18px;
  border-radius: 3px;
}
.section-sub { color: var(--muted); font-size: 16px; max-width: 560px; margin: 0 auto; }
.section-dark .section-sub { color: rgba(255,255,255,.65); }

/* ============================================================
   NAVBAR — transparent over hero, solid on scroll
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  padding: 22px 0;
  transition: background var(--trans), padding var(--trans), box-shadow var(--trans);
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(17,35,58,.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; }
.logo-img  { height: 44px; width: auto; object-fit: contain; transition: height var(--trans); }
.navbar.scrolled .logo-img { height: 38px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  transition: color var(--trans), background var(--trans);
}
.navbar.scrolled .nav-links a { color: var(--navy); }
.nav-links a:hover { color: var(--gold); }
.navbar.scrolled .nav-links a:hover { background: var(--mist); }
.nav-links a.nav-cta:hover { color: var(--navy); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  padding: 4px 8px;
}
.navbar.scrolled .nav-toggle { color: var(--navy); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  max-height: 880px;
  overflow: hidden;
  margin-top: 0;
}

.hero-slides { position: relative; height: 100%; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-slide.active { opacity: 1; }

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transform-origin: center;
  will-change: transform;
}
.hero-slide.active .hero-bg {
  animation: kenburns 9s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.16); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 740px;
  padding: 0 24px;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
  animation: fadeUp .8s ease both;
}
.hero-content h1 {
  font-size: clamp(32px, 5.4vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.5px;
  text-shadow: 0 4px 18px rgba(0,0,0,.3);
  animation: fadeUp .8s .1s ease both;
}
.hero-content p {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(15px, 2vw, 18.5px);
  margin-top: 18px;
  line-height: 1.6;
  color: #e3e7ee;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
  animation: fadeUp .8s .2s ease both;
}
.hero-btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
  animation: fadeUp .8s .3s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn-hero {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--navy);
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 15px;
  box-shadow: var(--shadow-gold);
  transition: transform var(--trans), box-shadow var(--trans);
}
.btn-hero:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(245,166,35,.42); }
.btn-hero-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  box-shadow: none;
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.16); box-shadow: none; }

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.32);
  color: #fff;
  font-size: 16px;
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--trans), transform var(--trans);
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
}
.hero-arrow:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: translateY(-52%); }
.hero-prev { left: 28px; }
.hero-next { right: 28px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 64px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background var(--trans), transform var(--trans), width var(--trans);
}
.hero-dot.active { background: var(--gold); width: 26px; border-radius: 5px; }

/* Floating credibility strip — the signature element */
.stat-strip {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  z-index: 12;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  padding: 22px 36px;
  gap: 22px;
  max-width: 92%;
  flex-wrap: wrap;
  justify-content: center;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.stat-icon {
  font-size: 18px;
  color: var(--gold-deep);
}
.stat-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--navy);
}
.stat-divider { width: 1px; height: 26px; background: var(--line); }

/* ============================================================
   WHO WE ARE
   ============================================================ */
#about { padding-top: 150px; }

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.who-images { display: flex; flex-direction: column; gap: 16px; position: relative; }
.who-img-main {
  border-radius: var(--radius);
  width: 100%; height: 260px; object-fit: cover;
  box-shadow: var(--shadow);
}
.who-img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.who-img-row img {
  border-radius: var(--radius-sm);
  height: 168px; width: 100%; object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.who-badge {
  position: absolute;
  top: -18px;
  right: -10px;
  background: var(--navy);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
}
.who-badge span { color: var(--gold); font-size: 15px; }

.who-text h3 {
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 20px;
  font-weight: 700;
}
.who-text p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 15.5px;
}
.who-text .btn-primary { margin-top: 10px; }

/* ============================================================
   ADVANTAGES — dark section, icon-plate cards
   ============================================================ */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 34px 26px;
  transition: transform var(--trans), border-color var(--trans), background var(--trans);
}
.advantage-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  background: #213e60;
}

.advantage-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 13px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans);
}
.advantage-card:hover .advantage-icon-wrap { transform: scale(1.08) rotate(-4deg); }
.advantage-icon-wrap img { width: 100%; height: 100%; object-fit: contain; }

.advantage-card h4 {
  font-size: 17px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}
.advantage-card p { font-size: 14px; color: rgba(255,255,255,.62); }

/* ============================================================
   SERVICES — photographic overlay cards
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 360px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--trans), transform var(--trans);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.service-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
}
.service-card:hover .service-photo { transform: scale(1.1); }

.service-overlay {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background: linear-gradient(180deg, transparent 35%, rgba(17,35,58,.94) 100%);
  transition: background var(--trans);
}
.service-card:hover .service-overlay { background: linear-gradient(180deg, rgba(17,35,58,.1) 0%, rgba(17,35,58,.97) 100%); }

.service-overlay h4 {
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-overlay p {
  font-size: 13.5px;
  color: rgba(255,255,255,.78);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--trans), opacity var(--trans), margin-top var(--trans);
}
.service-card:hover .service-overlay p {
  max-height: 100px;
  opacity: 1;
  margin-top: 4px;
}

/* ============================================================
   OUR PROJECTS — reuses service-card visuals, adds a lightbox
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 320px;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
  transition: box-shadow var(--trans), transform var(--trans);
  cursor: pointer;
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(0,0,0,.35); }

.project-zoom {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: #fff;
  opacity: 0;
  transform: scale(.8);
  transition: opacity var(--trans), transform var(--trans), background var(--trans);
}
.project-card:hover .project-zoom {
  opacity: 1;
  transform: scale(1);
}
.project-zoom:hover { background: var(--gold); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,14,20,.94);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lightbox-inner {
  max-width: 880px;
  max-height: 88vh;
  width: 100%;
  text-align: center;
  transform: scale(.94);
  transition: transform .3s ease;
}
.lightbox.open .lightbox-inner { transform: scale(1); }

.lightbox-inner img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-inner h4 {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  margin-top: 22px;
}
.lightbox-inner p {
  color: rgba(255,255,255,.7);
  font-size: 14.5px;
  margin-top: 8px;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}

.lightbox-close {
  position: absolute;
  top: 24px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--trans), transform var(--trans);
}
.lightbox-close:hover { background: var(--gold); color: var(--navy); transform: rotate(90deg); }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 26px;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }

.product-img-wrap { height: 220px; overflow: hidden; background: var(--mist); }
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform .5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }

.product-no-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #c2c8d2; font-size: 14px;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--line);
}
.product-body h4 {
  font-size: 16px;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 8px;
}
.product-desc {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-footer { margin-top: auto; }

.product-price {
  display: inline-block;
  font-size: 19px;
  font-weight: 800;
  color: var(--gold-deep);
}
.product-price-contact {
  display: inline-block;
  padding: 9px 18px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  transition: background var(--trans);
}
.product-price-contact:hover { background: var(--gold-deep); color: var(--navy); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  padding: 110px 0;
  overflow: hidden;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(17,35,58,.92) 0%, rgba(17,35,58,.78) 100%);
}
.cta-content {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 620px;
}
.cta-content h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-content p {
  color: rgba(255,255,255,.78);
  font-size: 16.5px;
  margin-bottom: 30px;
}
.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--navy);
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 15.5px;
  box-shadow: var(--shadow-gold);
  transition: transform var(--trans), box-shadow var(--trans);
}
.btn-cta:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 36px rgba(245,166,35,.45); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-size: 22px;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 26px;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-icon {
  font-size: 17px;
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
}
.contact-item p  { font-size: 15px; color: var(--muted); padding-top: 9px; }
.contact-item a  { color: var(--navy); font-weight: 700; }
.contact-item a:hover { color: var(--gold-deep); }

/* Form */
.contact-form-wrap {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: border-color var(--trans);
  background: var(--mist);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.form-group textarea { resize: vertical; }

.radio-group { display: flex; gap: 24px; padding: 10px 0; }
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 400;
}
.radio-label input { width: auto; }

.form-success {
  background: #EAFAF1; color: #1a7a4a;
  padding: 22px; border-radius: var(--radius);
  font-size: 15px; font-weight: 700;
}
.form-error {
  background: #FDECEA; color: #c0392b;
  padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: 14px; margin-bottom: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: #aab8c8;
  padding: 68px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  font-size: 21px; font-weight: 700;
  color: #fff; margin-bottom: 12px;
}
.footer-logo::before { content: "☀ "; color: var(--gold); }
.footer-col p  { font-size: 14px; line-height: 1.7; }
.footer-col h5 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 700; font-family: 'Manrope', sans-serif; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: #aab8c8; transition: color var(--trans); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col a { color: #aab8c8; transition: color var(--trans); }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
}
.footer-credit { color: #6e7e91; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .who-grid        { gap: 36px; }
  .stat-strip      { gap: 16px; padding: 18px 26px; }
}

@media (max-width: 860px) {
  .stat-strip { display: none; } /* avoid cramped overlap on tablets/mobile */
  #about { padding-top: 100px; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 64px; left: 16px; right: 16px;
    background: #fff;
    padding: 14px;
    gap: 4px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 16px; text-align: center; color: var(--navy); }
  .nav-links .nav-cta { margin-left: 0; margin-top: 6px; }

  .hero { height: 88vh; min-height: 540px; }

  .who-grid { grid-template-columns: 1fr; gap: 30px; }
  .who-badge { top: auto; bottom: -16px; right: 12px; }

  .advantages-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .advantage-card { padding: 26px 18px; }

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

  .projects-grid { grid-template-columns: 1fr; }
  .project-card { height: 260px; }
  .lightbox { padding: 18px; }
  .lightbox-close { top: 14px; right: 14px; width: 38px; height: 38px; font-size: 22px; }

  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-row     { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 22px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .cta-banner { padding: 80px 0; }
}

@media (max-width: 480px) {
  .advantages-grid { grid-template-columns: 1fr; }
  .hero-arrow { width: 38px; height: 38px; font-size: 14px; }
  .hero-btn-row { flex-direction: column; align-items: center; }
  .nav-links .nav-cta { display: block; text-align: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-slide.active .hero-bg, .hero-eyebrow, .hero-content h1, .hero-content p, .hero-btn-row {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
