/* ============================================
   Takamol Metal — مصنع التكامل
   Production stylesheet
   ============================================ */

:root {
  --navy: #0B1F33;
  --steel: #1D3D5A;
  --metal: #7B8794;
  --light: #F3F5F7;
  --white: #FFFFFF;
  --text: #1a2a3a;
  --text-muted: #5a6a7a;
  --border: #d8dee4;
  --shadow: 0 12px 40px rgba(11, 31, 51, 0.08);
  --shadow-soft: 0 6px 20px rgba(11, 31, 51, 0.06);
  --radius: 4px;
  --header-h: 76px;
  --transition: 0.3s ease;
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  right: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 9999;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--steel);
  border-color: var(--steel);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-header {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  min-height: 42px;
  padding: 0.5rem 1.25rem;
  font-size: 0.92rem;
}

.site-header.is-scrolled .btn-header,
.site-header.is-solid .btn-header {
  background: var(--navy);
  color: var(--white);
}

.btn-full {
  width: 100%;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: nowrap;
  max-width: calc(100% - 56px);
  line-height: 0;
}

.logo img {
  display: none;
  height: 48px;
  width: auto;
  max-width: 100%;
}

.logo .logo-full-light {
  display: block;
}

.site-header.is-scrolled .logo .logo-full-light,
.site-header.is-solid .logo .logo-full-light,
.site-header.menu-open .logo .logo-full-light {
  display: none;
}

.site-header.is-scrolled .logo .logo-full-dark,
.site-header.is-solid .logo .logo-full-dark,
.site-header.menu-open .logo .logo-full-dark {
  display: block;
}

.logo-footer-img {
  display: block !important;
  height: 48px;
  width: auto;
}

.btn-nav-mobile {
  display: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  color: var(--white);
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.97);
  color: var(--navy);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-list a {
  display: block;
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
  border-radius: var(--radius);
  transition: opacity var(--transition), background var(--transition);
}

.nav-list a:hover,
.nav-list a.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .nav-list a:hover,
.site-header.is-scrolled .nav-list a.is-active,
.site-header.is-solid .nav-list a:hover,
.site-header.is-solid .nav-list a.is-active {
  background: var(--light);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: inherit;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 31, 51, 0.45) 0%, rgba(11, 31, 51, 0.55) 40%, rgba(11, 31, 51, 0.88) 100%),
    linear-gradient(90deg, rgba(11, 31, 51, 0.35) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: calc(var(--header-h) + 4rem) 5rem;
  max-width: 720px;
  margin-inline: auto 0;
  width: min(100% - 2.5rem, var(--max));
  margin-inline-start: max(1.25rem, calc((100% - var(--max)) / 2));
}

.hero-label {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1.1rem;
  max-width: 16ch;
}

.hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.88);
  max-width: 38ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------- Sections ---------- */
.section {
  padding-block: 5.5rem;
}

.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel);
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.section-intro {
  color: var(--text-muted);
  max-width: 52ch;
  font-size: 1.05rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header .section-intro {
  margin-top: 0.75rem;
}

/* ---------- About ---------- */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

.about-highlight {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-right: 3px solid var(--steel);
  background: var(--light);
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.7;
}

.about-media {
  background: var(--light);
  padding: 1.5rem;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--white);
}

/* ---------- Products ---------- */
.products {
  background: var(--light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border);
}

.product-card--wide {
  grid-column: span 2;
}

.product-image {
  background: var(--white);
  padding: 1.25rem;
  border-bottom: 1px solid var(--light);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  transition: transform 0.45s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.03);
}

.product-body {
  padding: 1.5rem 1.4rem 1.75rem;
  flex: 1;
}

.product-body h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.product-body p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.products-note {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--steel);
  font-weight: 500;
  font-size: 1rem;
  padding: 1.25rem;
  border-top: 1px solid var(--border);
}

/* ---------- Applications ---------- */
.applications {
  background: var(--navy);
  color: var(--white);
}

.applications .section-eyebrow {
  color: var(--metal);
}

.applications .section-title {
  color: var(--white);
}

.applications .section-intro {
  color: rgba(255, 255, 255, 0.75);
}

.applications-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.applications-list {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.applications-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.app-line {
  width: 28px;
  height: 1px;
  background: var(--metal);
  flex-shrink: 0;
}

.applications-media {
  overflow: hidden;
}

.applications-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

/* ---------- Why Us ---------- */
.why-us {
  background: var(--white);
}

.why-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.why-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.why-num {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--metal);
  letter-spacing: 0.05em;
  padding-top: 0.2rem;
}

.why-item h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.why-item p {
  color: var(--text-muted);
  max-width: 55ch;
}

/* ---------- Showcase ---------- */
.showcase {
  background: var(--white);
  padding-block: 5.5rem 4rem;
}

.showcase .section-header {
  text-align: center;
  margin-inline: auto;
}

.showcase .section-intro {
  margin-inline: auto;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.showcase-item {
  overflow: hidden;
  background: var(--light);
  margin: 0;
  transition: box-shadow var(--transition);
}

.showcase-item:hover {
  box-shadow: var(--shadow-soft);
}

.showcase-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--white);
  transition: transform 0.5s ease;
}

.showcase-item:hover img {
  transform: scale(1.04);
}

.showcase-item--large {
  grid-row: span 2;
}

.showcase-item--large img {
  aspect-ratio: auto;
  min-height: 100%;
  object-fit: contain;
}

/* ---------- Gallery ---------- */
.gallery {
  background: var(--light);
}

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

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transition: box-shadow var(--transition);
}

.gallery-item:hover,
.gallery-item:focus-visible {
  box-shadow: var(--shadow);
  outline: 2px solid var(--steel);
  outline-offset: 2px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  transition: transform 0.45s ease;
}

.gallery-item--contain img {
  object-fit: contain;
  background: var(--white);
  padding: 0.75rem;
}

.gallery-item--cover {
  grid-column: span 2;
}

.gallery-item--cover img {
  object-fit: cover;
  padding: 0;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: start;
}

.contact-company {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.contact-domain {
  margin-bottom: 2rem;
}

.contact-domain a {
  color: var(--steel);
  font-weight: 600;
}

.contact-block {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.contact-block h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--metal);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.contact-block p,
.contact-block a {
  color: var(--text);
}

.contact-block a:hover {
  color: var(--steel);
}

.phone-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.phone-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.phone-link {
  font-weight: 600;
  font-size: 1.05rem;
  direction: ltr;
  unicode-bidi: embed;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.3rem 0.85rem;
  background: #e8f5ee;
  color: #1b6b3a;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid #c5e4d1;
}

.whatsapp-btn:hover {
  background: #d4eddf;
  color: #14532d;
}

.map-placeholder {
  margin-top: 0.5rem;
  background: var(--light);
  border: 1px dashed var(--border);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  text-align: center;
}

.map-inner {
  max-width: 28ch;
}

.map-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.map-note {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--metal);
}

.contact-form-wrap {
  background: var(--light);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 48px;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(29, 61, 90, 0.12);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #b33a3a;
}

.field-error {
  display: block;
  min-height: 1.2em;
  font-size: 0.82rem;
  color: #b33a3a;
  margin-top: 0.3rem;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--steel);
  text-align: center;
}

.form-note.is-success {
  color: #1b6b3a;
}

.form-note.is-error {
  color: #b33a3a;
}

/* ---------- CTA ---------- */
.cta {
  background:
    linear-gradient(135deg, rgba(11, 31, 51, 0.92), rgba(29, 61, 90, 0.88)),
    url("../images/industrial-roofing-application.webp") center / cover no-repeat;
  color: var(--white);
  padding-block: 5rem;
  text-align: center;
}

.cta-inner {
  max-width: 640px;
}

.cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.cta .btn-primary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.cta .btn-primary:hover {
  background: var(--light);
  border-color: var(--light);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 4rem;
}

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

.footer-brand .logo {
  margin-bottom: 1.25rem;
  max-width: none;
}

.footer-brand .logo img {
  display: block;
  height: 48px;
  width: auto;
}

.footer-company {
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.7);
}

.footer-nav h3,
.footer-contact h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-contact p {
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
}

.footer-contact a {
  direction: ltr;
  unicode-bidi: embed;
}

.footer-domain {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.25rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 51, 0.92);
}

.lightbox-figure {
  position: relative;
  z-index: 1;
  max-width: min(960px, 92vw);
  max-height: 85vh;
  margin: 0;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  background: var(--white);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  border-radius: var(--radius);
  line-height: 1;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-prev {
  right: 1rem;
}

.lightbox-next {
  left: 1rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .btn-header {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav.is-open {
    display: block;
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    background: var(--white);
    color: var(--navy);
    padding: 1rem 0 1.5rem;
    box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    z-index: 999;
  }

  .nav.is-open .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(100% - 2.5rem, var(--max));
    margin-inline: auto;
  }

  .nav.is-open .nav-list a {
    padding: 0.95rem 0.5rem;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }

  .nav.is-open .nav-list a:hover,
  .nav.is-open .nav-list a.is-active {
    background: var(--light);
  }

  .nav.is-open .btn-nav-mobile {
    display: flex;
    width: min(100% - 2.5rem, var(--max));
    margin: 1.25rem auto 0;
  }

  .site-header {
    background: rgba(11, 31, 51, 0.55);
    backdrop-filter: blur(6px);
  }

  .site-header.is-scrolled,
  .site-header.is-solid,
  .site-header.menu-open {
    background: rgba(255, 255, 255, 0.98);
    color: var(--navy);
  }

  .about-grid,
  .applications-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .product-card--wide {
    grid-column: span 2;
  }

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

  .showcase-item--large {
    grid-column: span 2;
    grid-row: auto;
  }

  .showcase-item--large img {
    aspect-ratio: 16 / 9;
  }

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

  .gallery-item--cover {
    grid-column: span 3;
  }

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

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 700px) {
  :root {
    --header-h: 64px;
  }

  .container {
    width: min(100% - 1.75rem, var(--max));
  }

  .section {
    padding-block: 3.75rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    object-position: center 35%;
  }

  .hero-content {
    padding-block: calc(var(--header-h) + 3rem) 3.25rem;
    margin-inline-start: 0.875rem;
    width: min(100% - 1.75rem, var(--max));
  }

  .hero h1 {
    max-width: none;
    font-size: 1.65rem;
  }

  .hero-lead {
    max-width: none;
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .logo img {
    height: 32px;
  }

  .logo .logo-full-light,
  .logo .logo-full-dark {
    display: none !important;
  }

  .logo .logo-compact-light {
    display: block;
  }

  .site-header.is-scrolled .logo .logo-compact-light,
  .site-header.is-solid .logo .logo-compact-light,
  .site-header.menu-open .logo .logo-compact-light {
    display: none;
  }

  .site-header.is-scrolled .logo .logo-compact-dark,
  .site-header.is-solid .logo .logo-compact-dark,
  .site-header.menu-open .logo .logo-compact-dark {
    display: block;
  }

  .about-media {
    padding: 1rem;
  }

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

  .product-card--wide {
    grid-column: span 1;
  }

  .applications-list {
    grid-template-columns: 1fr;
  }

  .applications-list li {
    font-size: 1.08rem;
    padding: 1rem 0;
  }

  .why-item {
    grid-template-columns: 3rem 1fr;
    gap: 0.75rem;
    padding: 1.5rem 0;
  }

  .why-item h3 {
    font-size: 1.1rem;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .showcase-item--large {
    grid-column: span 1;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .gallery-item--cover {
    grid-column: span 2;
  }

  .contact-form-wrap {
    padding: 1.35rem;
  }

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

  .footer-brand {
    grid-column: span 1;
  }

  .cta {
    padding-block: 3.75rem;
  }

  .lightbox-prev {
    right: 0.35rem;
  }

  .lightbox-next {
    left: 0.35rem;
  }

  .lightbox-close {
    top: 0.5rem;
    left: 0.5rem;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.45rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .phone-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

/* Reduce motion */
@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
