/* ============================================================
   V & E Pro-Solutions: Static Site Stylesheet
   Design language: industrial spec-sheet / equipment data-plate
   ============================================================ */

:root {
  --navy: #153359;
  --navy-dark: #0E233C;
  --orange: #F79521;
  --orange-dark: #C97814;
  --orange-cta: #B35C0F; /* WCAG AA-safe: ~4.79:1 with white text */
  --yellow: #F4B400;
  --ink: #1C2024;
  --paper: #F5F4F1;
  --steel-100: #EBE9E4;
  --steel-200: #DCDAD3;
  --line: #CFCDC5;
  --white: #FFFFFF;
  --max-w: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--orange-cta);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em 0;
  text-transform: none;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em 0; max-width: 62ch; }
a { color: var(--orange-cta); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: #C7CEDA;
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #FFFFFF; text-decoration: none; font-weight: 600; }
.topbar .emergency { color: var(--yellow); font-weight: 700; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff !important;
  font-weight: 600;
}
.topbar-whatsapp svg { width: 22px; height: 22px; fill: #25D366; flex-shrink: 0; }
.topbar-whatsapp:hover { color: var(--yellow) !important; }

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.logo-link img { height: 54px; width: auto; }
nav.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
}
nav.primary-nav li { margin-left: 28px; }
nav.primary-nav li:first-child { margin-left: 0; }
nav.primary-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}
nav.primary-nav a:hover { color: var(--orange-cta); }
.nav-cta {
  background: var(--orange-cta);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 3px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: #8A4610; }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-row { flex-wrap: wrap; }
  nav.primary-nav {
    display: none;
    width: 100%;
    flex-basis: 100%;
    order: 10;
  }
  nav.primary-nav.open { display: block; }
  nav.primary-nav ul { flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 0 18px 0; }
  nav.primary-nav li { margin-left: 0 !important; }
  nav.primary-nav a { display: block; padding: 8px 0; }
  nav.primary-nav .nav-cta { margin-top: 10px; text-align: center; }
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: 2px solid var(--navy);
    border-radius: 3px;
    padding: 8px 10px;
    font-size: 1.2rem;
    cursor: pointer;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 0;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14,35,60,0.92) 0%, rgba(14,35,60,0.82) 32%, rgba(14,35,60,0.45) 62%, rgba(14,35,60,0.15) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 90px 0;
}
.hero-copy { max-width: 640px; }

.hero .eyebrow {
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.hero p.lead { color: #E7EAF0; font-size: 1.12rem; max-width: 46ch; text-shadow: 0 1px 10px rgba(0,0,0,0.3); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.hero-actions > * { margin-right: 14px; margin-bottom: 10px; }
.hero-actions > *:last-child { margin-right: 0; }
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--orange-cta); color: #fff; }
.btn-primary:hover { background: #8A4610; }
.btn-outline { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.7); backdrop-filter: blur(2px); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.14); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-copy > * { animation: heroRise 0.7s ease-out both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .hero-copy > * { animation: none; }
}

@media (max-width: 700px) {
  .hero-inner { min-height: 460px; padding: 60px 0; }
  .hero-scrim { background: linear-gradient(180deg, rgba(14,35,60,0.55) 0%, rgba(14,35,60,0.88) 55%, rgba(14,35,60,0.96) 100%); }
}

/* ---------- Data plate strip (stat bar) ---------- */
.data-plate {
  position: relative;
  z-index: 1;
  background: var(--navy-dark);
  border-top: 1px solid #2B3B5C;
}
.data-plate .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 700px) { .data-plate .container { grid-template-columns: repeat(2, 1fr); } }
.plate-item {
  padding: 20px 18px;
  border-right: 1px solid #2B3B5C;
  font-family: 'Oswald', sans-serif;
}
.plate-item:last-child { border-right: none; }
.plate-item .num {
  color: var(--yellow);
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}
.plate-item .label {
  color: #B7C0D1;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-alt { background: var(--steel-100); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head .kicker {
  color: var(--orange-cta);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  display: block;
}

/* ---------- Service panels (spec-sheet style, not rounded cards) ---------- */
/* ---------- Service panels (card style) ---------- */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 700px) { .panel-grid { grid-template-columns: 1fr; } }
.panel {
  background: #fff;
  padding: 0 0 26px 0;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(14,35,60,0.06);
}
.panel:nth-child(even) { border-left-color: var(--navy); }
.panel .panel-icon { width: 56px; height: 56px; margin: 24px 30px 14px 30px; }
.panel .panel-photo { width: 100%; height: 180px; object-fit: cover; display: block; margin-bottom: 18px; }
.panel h3 { margin: 0 30px 8px 30px; }
.panel p { margin: 0 30px 12px 30px; font-size: 0.96rem; }
.panel a.panel-link { font-weight: 700; text-decoration: none; font-size: 0.92rem; margin-left: 30px; display: inline-block; }
.panel a.panel-link:hover { text-decoration: underline; }

/* ---------- Why it matters / feature list ---------- */
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 8px; }
@media (max-width: 860px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list .feature h4 { color: var(--navy); margin-bottom: 6px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.02rem; }
.feature-list .feature { border-top: 3px solid var(--orange); padding-top: 14px; }
.feature-list .feature:nth-child(2) { border-top-color: var(--navy); }
.feature-list .feature:nth-child(3) { border-top-color: var(--yellow); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-slot {
  aspect-ratio: 4/3;
  background: repeating-linear-gradient(45deg, var(--steel-200), var(--steel-200) 10px, var(--steel-100) 10px, var(--steel-100) 20px);
  border: 2px dashed var(--line);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: #7A7A72;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Video grid (job videos) ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .video-grid { grid-template-columns: 1fr; } }
.video-card {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--navy-dark);
  box-shadow: 0 2px 8px rgba(14,35,60,0.12);
}
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-slot-empty {
  aspect-ratio: 16/9;
  background: repeating-linear-gradient(45deg, var(--steel-200), var(--steel-200) 10px, var(--steel-100) 10px, var(--steel-100) 20px);
  border: 2px dashed var(--line);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: #7A7A72;
  font-size: 0.85rem;
  font-weight: 600;
  gap: 8px;
}
.video-slot-empty svg { width: 32px; height: 32px; opacity: 0.5; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(14,35,60,0.06);
}
.testimonial p.quote { font-style: italic; color: var(--ink); margin-bottom: 14px; }
.testimonial .who { font-weight: 700; color: var(--navy); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(rgba(179,92,15,0.88), rgba(179,92,15,0.88)), url('https://res.cloudinary.com/vbgbbkvk/image/upload/v1788789011/sclab_abstract_close-up_photo_of_brushed_steel_diamond_plate__1216adaa-0eb1-4356-95df-b757c8668408_0.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 48px 0;
}
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band .container > div:first-child { flex: 1 1 380px; max-width: 560px; }
.cta-band .hero-actions { flex: 0 0 auto; flex-wrap: nowrap; }
@media (max-width: 700px) {
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .cta-band .container > div:first-child { flex-basis: auto; max-width: 100%; }
  .cta-band .hero-actions { flex-wrap: wrap; }
}
.cta-band h2 { color: #fff; margin-bottom: 4px; }
.cta-band .btn-navy { background: var(--navy-dark); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item summary {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--orange-cta); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 12px; color: #3A3F45; }

/* ---------- Forms ---------- */
.form-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: var(--navy);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  border-radius: 2px;
  margin-right: 12px;
  flex-shrink: 0;
}
.form-block { margin-bottom: 40px; }
.form-block-head { display: flex; align-items: center; margin-bottom: 6px; }
.form-block-sub { color: #5A5F66; font-size: 0.92rem; margin-left: 46px; margin-top: -6px; margin-bottom: 18px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .field-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.94rem; color: var(--navy); }
.field .req { color: var(--orange-cta); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #B7B4AC;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  background: #fff;
}
.field textarea { min-height: 100px; resize: vertical; }
.field-check { display: flex; align-items: flex-start; gap: 8px; font-size: 0.92rem; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Contact / Map ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-detail { margin-bottom: 18px; }
.contact-detail .label { color: var(--orange-cta); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; display: block; margin-bottom: 3px; }
.map-frame { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-dark);
  color: #B7C0D1;
  padding: 52px 0 24px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 32px;
  border-bottom: 1px solid #2B3B5C;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
footer .col h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }
footer .col ul { list-style: none; padding: 0; margin: 0; }
footer .col li { margin-bottom: 8px; }
footer .col a { color: #B7C0D1; text-decoration: none; font-size: 0.94rem; }
footer .col a:hover { color: #fff; }
footer .col p { color: #B7C0D1; font-size: 0.9rem; }
.footer-logo img { height: 56px; margin-bottom: 14px; }
.social-icons { display: flex; gap: 10px; margin-top: 16px; }
.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s;
}
.social-icons a:hover { background: rgba(255,255,255,0.2); }
.social-icons svg { width: 17px; height: 17px; fill: currentColor; }
.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: #7C87A0;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
}
.page-hero h1 { color: #fff; margin-bottom: 6px; }
.page-hero .crumb { color: #9FB0CC; font-size: 0.9rem; }
.page-hero .crumb a { color: #C7CEDA; }

.divider { height: 1px; background: var(--line); margin: 8px 0 36px 0; }

.badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---------- Rotating photo grid (small, fixed count, rotates like videos) ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 960px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
.photo-grid-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(14,35,60,0.12);
}
.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
