/* =========================================================
   VELORR INDUSTRIES — STYLESHEET
   Design tokens, layout, and component styles.
   ========================================================= */

:root {
  /* Color tokens */
  --navy: #14213D;
  --navy-deep: #0E1830;
  --navy-mid: #243456;
  --charcoal: #2B2F33;
  --ink: #1C2024;
  --slate: #5B6470;
  --line: #D7DBE0;
  --paper: #F4F5F3;
  --white: #FFFFFF;
  --orange: #E0672B;
  --orange-dark: #B8501F;
  --brick: #8F3E24;

  /* Type */
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Arial, sans-serif;

  /* Layout */
  --max-width: 1180px;
  --gutter: 24px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }

p { margin: 0 0 1em; max-width: 62ch; }

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

section { padding: 88px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head .kicker {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--orange-dark);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.section-head p {
  color: var(--slate);
  font-size: 1.05rem;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark {
  background: var(--navy);
  color: #E7EAF0;
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .section-head p { color: #AEB8CC; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

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

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

.btn-on-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-on-dark:hover { background: var(--white); color: var(--navy); }

.btn-block { width: 100%; }

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  height: 40px;
  width: auto;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  color: var(--slate);
}

.header-contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
}
.header-contact a svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }

.header-location {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.header-location svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle svg { width: 24px; height: 24px; color: var(--navy); }

.main-nav {
  border-top: 1px solid var(--line);
  background: var(--navy);
}
.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0 var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}
.main-nav a {
  display: block;
  padding: 14px 18px;
  text-decoration: none;
  color: #C9D1E3;
  font-weight: 600;
  font-size: 0.94rem;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
  border-bottom-color: var(--orange);
}
.main-nav .nav-cta a {
  color: var(--orange);
}

@media (max-width: 860px) {
  .header-contact { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 0;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  font-size: 0.98rem;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-bottom: 20px;
}
.hero-sub {
  color: #C9D1E3;
  font-size: 1.1rem;
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.hero-fact {
  min-width: 140px;
}
.hero-fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
}
.hero-fact span {
  color: #9AA6C0;
  font-size: 0.88rem;
}
.hero-visual {
  position: relative;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px;
  align-self: center;
  min-width: 0;
  width: 100%;
  display: block;
}

/* Decorative corner marks */
.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid var(--orange);
  pointer-events: none;
}
.hero-visual::before { top: -3px; left: -3px; border-right: none; border-bottom: none; }
.hero-visual::after { bottom: -3px; right: -3px; border-left: none; border-top: none; }

/* Show the entire hero image without cropping or stretching it. */
.hero-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-visual {
    order: -1;
    width: 100%;
    max-height: none;
    height: auto;
    overflow: visible;
    align-self: auto;
  }

  .hero-visual img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
}

/* =========================================================
   WHY VELORR
   ========================================================= */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.why-card {
  background: var(--white);
  padding: 32px 28px;
}
.why-card .why-icon {
  width: 46px;
  height: 46px;
  color: var(--orange);
  margin-bottom: 18px;
}
.why-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-card p { color: var(--slate); font-size: 0.98rem; margin-bottom: 0; }

@media (max-width: 780px) {
  .why-grid { grid-template-columns: 1fr; }
}
@media (min-width: 781px) and (max-width: 1020px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   PRODUCTS
   ========================================================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.product-card {
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease;
}
.product-card:hover,
.product-card:focus-within {
  border-color: var(--orange);
}
.product-card .product-media {
  border-bottom: 1px solid var(--line);
  background: #EEF1F4;
}
.product-card .product-media img { width: 100%; height: auto; }

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange-dark);
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.product-body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.product-dims {
  display: inline-block;
  font-weight: 600;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 4px 10px;
  font-size: 0.88rem;
  margin-bottom: 12px;
  align-self: flex-start;
  font-variant-numeric: tabular-nums;
}
.product-body p {
  color: var(--slate);
  font-size: 0.95rem;
  flex: 1;
}
.product-body .btn { margin-top: 14px; }

/* =========================================================
   PRODUCTION / CAPACITY
   ========================================================= */

.stats-strip {
  background: var(--navy-deep);
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
}
.stat-item {
  padding: 30px 22px;
  background: var(--navy-deep);
}
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--orange);
  margin-bottom: 6px;
}
.stat-item span {
  color: #AEB8CC;
  font-size: 0.9rem;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.about-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--charcoal);
}
.about-list svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 3px;
}
.about-panel {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px;
}
.about-panel h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tags span {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 6px 12px;
  font-size: 0.86rem;
  color: var(--navy);
  font-weight: 600;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================
   GALLERY
   ========================================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.gallery-item {
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  background: var(--white);
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.gallery-caption {
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  border-top: 1px solid var(--line);
}
.gallery-note {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 4px solid var(--orange);
  background: var(--white);
  color: var(--slate);
  font-size: 0.94rem;
  max-width: none;
}

/* =========================================================
   DELIVERY
   ========================================================= */

.delivery-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.area-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}
.area-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--navy);
}
.area-list svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }

@media (max-width: 860px) {
  .delivery-wrap { grid-template-columns: 1fr; }
}

/* =========================================================
   ENQUIRY FORM
   ========================================================= */

.enquiry-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field {
  margin-bottom: 18px;
}
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-field .required { color: var(--orange-dark); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #C3C9D1;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--white);
  min-height: 48px;
}
.form-field textarea { min-height: 100px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.form-note {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 14px;
}
.form-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 4px solid var(--orange);
  background: var(--paper);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  display: none;
}
.form-status.is-visible { display: block; }

.enquiry-side h3 { margin-bottom: 14px; }
.contact-quick {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.contact-quick a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
}
.contact-quick a:hover { border-color: var(--orange); }
.contact-quick svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; }

@media (max-width: 860px) {
  .enquiry-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.contact-card {
  background: var(--navy-deep);
  color: var(--white);
  padding: 32px;
}
.contact-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 4px; }
.contact-card .addr {
  color: #C9D1E3;
  margin: 14px 0 22px;
}
.contact-card .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.contact-people {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.16);
  display: grid;
  gap: 10px;
  font-size: 0.94rem;
  color: #C9D1E3;
}
.map-card {
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.map-card img { width: 100%; height: auto; }
.map-card .map-card-body {
  padding: 22px;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: var(--navy-deep);
  color: #AEB8CC;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand img { height: 34px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { color: #8D97AE; font-size: 0.92rem; }
.site-footer h4 {
  color: var(--white);
  font-size: 0.98rem;
  margin-bottom: 14px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.site-footer a {
  text-decoration: none;
  color: #AEB8CC;
  font-size: 0.94rem;
}
.site-footer a:hover { color: var(--orange); }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.85rem;
  color: #7C879F;
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   MISC
   ========================================================= */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 600px) {
  section { padding: 56px 0; }
  .hero { padding-top: 40px; }
}


/* =========================================================
   IMAGE INTERACTION — subtle lift/zoom on hover or keyboard focus
   ========================================================= */

/* Smooth, responsive image feedback without changing document layout. */
.hero-visual img,
.product-card .product-media img,
.gallery-item img,
.map-card img {
  transition: transform 220ms ease, filter 220ms ease;
  transform-origin: center;
}

/* Hero image: gently zoom in while keeping the full image visible. */
.hero-visual {
  overflow: hidden;
}

.hero-visual:hover img,
.hero-visual:focus-within img {
  transform: scale(1.025);
  filter: brightness(1.04);
}

/* Product images: slight zoom and brighter appearance. */
.product-card .product-media {
  overflow: hidden;
}

.product-card:hover .product-media img,
.product-card:focus-within .product-media img {
  transform: scale(1.04);
  filter: brightness(1.04);
}

/* Gallery images: more noticeable zoom on hover/focus. */
.gallery-item img {
  transition: transform 250ms ease, filter 250ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

/* Map/contact image: subtle lift effect. */
.map-card {
  transition: box-shadow 220ms ease, border-color 220ms ease;
}

.map-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(14, 24, 48, 0.14);
}

.map-card:hover img {
  transform: scale(1.02);
}

/* Respect users who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .hero-visual img,
  .product-card .product-media img,
  .gallery-item img,
  .map-card,
  .map-card img {
    transition: none;
  }

  .hero-visual:hover img,
  .hero-visual:focus-within img,
  .product-card:hover .product-media img,
  .product-card:focus-within .product-media img,
  .gallery-item:hover img,
  .gallery-item:focus-within img,
  .map-card:hover img {
    transform: none;
  }
}

