/* ============================================================
   MEXA BUILDING MATERIALS — style.css
   Brand colors: Red #CC1A1A | Near Black #1A1A1A | White #FFFFFF
   Font: Barlow (body) + Barlow Condensed (headings/display)
   ============================================================ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --red:        #CC1A1A;
  --red-dark:   #A81515;
  --black:      #1A1A1A;
  --text:       #333333;
  --muted:      #666666;
  --border:     #E0E0E0;
  --bg-light:   #F5F5F5;
  --white:      #FFFFFF;

  --font-body:  'Barlow', Arial, sans-serif;
  --font-disp:  'Barlow Condensed', Arial, sans-serif;

  --radius:     6px;
  --radius-lg:  12px;
  --shadow:     0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);

  --nav-h:      68px;
  --container:  1140px;
  --gap:        clamp(1.5rem, 4vw, 3rem);
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── UTILITY ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}
.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-disp);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 1.25rem;
}
.section-header-centered {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.btn-secondary:hover { background: var(--black); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-white {
  background: var(--white);
  color: var(--red);
  border: 2px solid var(--white);
  font-weight: 700;
}
.btn-white:hover { background: var(--bg-light); }

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

/* ── NAVIGATION ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
  width: auto;
  height: 44px;
  height: 44px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--red); }
.nav-link.nav-cta {
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  margin-left: 0.5rem;
  padding: 0.5rem 1.25rem;
}
.nav-link.nav-cta:hover { background: var(--red-dark); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.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); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.25;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: var(--red);
  opacity: 0.06;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(3rem, 8vw, 5rem);
  padding-bottom: 6rem;
  max-width: 720px;
}
.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(204, 26, 26, 0.1);
  border: 1px solid rgba(204, 26, 26, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-disp);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title-accent { color: var(--red); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.hero-bar-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 1.25rem clamp(1rem, 4vw, 2rem);
}
.hero-stat {
  flex: 1;
  text-align: center;
}
.hero-stat-num {
  display: block;
  font-family: var(--font-disp);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ── INTRO SECTION ──────────────────────────────────────────── */
.intro-section { background: var(--white); }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}
.intro-text { max-width: 520px; }
.intro-text p {
  color: var(--muted);
  margin-bottom: 1rem;
}
.intro-text .btn { margin-top: 0.75rem; }

.intro-image-wrap { position: relative; }
.intro-image-block {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.intro-image-accent {
  position: absolute;
  top: -12px; left: -12px;
  right: 12px; bottom: 12px;
  border: 3px solid var(--red);
  border-radius: var(--radius-lg);
  z-index: 0;
  opacity: 0.35;
}
.intro-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
}

/* ── WHY SECTION ────────────────────────────────────────────── */
.why-section { background: var(--bg-light); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.why-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.why-card-featured {
  border-color: var(--red);
  border-width: 2px;
  position: relative;
}
.why-card-featured::before {
  content: 'Our Strength';
  position: absolute;
  top: -1px; right: 1.5rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 0 0 var(--radius) var(--radius);
}
.why-icon {
  width: 48px;
  height: 48px;
  color: var(--red);
  margin-bottom: 1.25rem;
}
.why-title {
  font-family: var(--font-disp);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.75rem;
}
.why-body { color: var(--muted); font-size: 0.95rem; }

/* ── PRODUCTS TEASER ────────────────────────────────────────── */
.products-teaser-section { background: var(--white); }
.products-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}
.products-teaser-content { max-width: 480px; }
.products-teaser-content p { color: var(--muted); margin-bottom: 1.5rem; }
.products-teaser-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.product-card {
  display: block;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.product-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--red);
  transform: translateX(4px);
}
.product-card-label {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}
.product-card-icon {
  width: 40px;
  height: 40px;
  color: var(--red);
  margin-bottom: 1rem;
}
.product-card h3 {
  font-family: var(--font-disp);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.4rem;
}
.product-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.75rem; }
.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
}

/* ── CTA BAND ───────────────────────────────────────────────── */
.cta-band {
  background: var(--black);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band-text h2 {
  font-family: var(--font-disp);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.cta-band-text p { color: rgba(255,255,255,0.6); }
.cta-band-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: #111111;
  padding-top: clamp(2.5rem, 6vw, 4rem);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  width: auto;
  height: 40px;
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.875rem; max-width: 280px; }

.footer-nav h4,
.footer-contact h4 {
  font-family: var(--font-disp);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-contact p { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }
.footer-contact a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  padding: 1.25rem 0;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.25); text-align: center; }

/* ── MOBILE NAV ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    z-index: 101;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    border-bottom: 2px solid var(--red);
    box-shadow: var(--shadow-lg);
    z-index: 100;
  }
  .nav-links.open { display: flex; }
  .nav-links li {
    display: block;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child { border-bottom: none; }
  .nav-link {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 0;
    font-size: 1rem;
    margin: 0;
  }
  .nav-cta-item {
    margin-top: 0.5rem;
    border-bottom: none !important;
  }
  .nav-link.nav-cta {
    display: block;
    text-align: center;
    margin: 0;
    padding: 0.9rem 1rem;
    border-radius: var(--radius);
  }
}

/* ── RESPONSIVE GRIDS ───────────────────────────────────────── */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .intro-grid,
  .products-teaser-grid { grid-template-columns: 1fr; }
  .intro-image { height: 280px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hero { min-height: 100svh; }
  .hero-bar-inner { gap: 0; }
  .hero-stat-num { font-size: 1.3rem; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ── PAGE-SPECIFIC: ABOUT ───────────────────────────────────── */
.page-hero {
  background: var(--black);
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
}
.page-hero-inner { max-width: 640px; }
.page-hero h1 {
  font-family: var(--font-disp);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.05rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem;
}
.value-card h3 {
  font-family: var(--font-disp);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.4rem;
}
.value-card p { font-size: 0.9rem; color: var(--muted); }

/* ── PAGE-SPECIFIC: ABOUT (story, what we do, location) ──────── */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}
.about-story-image-wrap { position: relative; }
.about-story-image {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  background: var(--bg-light);
}
.about-story-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-story-badge-num {
  display: block;
  font-family: var(--font-disp);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.about-story-badge-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 0.3rem;
}
.about-story-text p { color: var(--muted); margin-bottom: 1rem; }

.about-what-section { background: var(--bg-light); }
.about-what-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.about-what-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.about-what-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.about-what-icon { width: 44px; height: 44px; color: var(--red); margin-bottom: 1rem; }
.about-what-card h3 {
  font-family: var(--font-disp);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.5rem;
}
.about-what-card p { font-size: 0.875rem; color: var(--muted); }

.about-location-strip {
  background: var(--black);
  padding: clamp(3rem, 8vw, 5rem) 0;
  overflow: hidden;
}
.about-location-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}
.about-location-text h2 {
  font-family: var(--font-disp);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.about-location-text p { color: rgba(255,255,255,0.6); max-width: 460px; }
.about-location-map {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.about-location-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

@media (max-width: 900px) {
  .about-story-grid { grid-template-columns: 1fr; }
  .about-story-image { height: 300px; }
  .about-story-badge { right: 1rem; bottom: -1rem; }
  .about-what-grid { grid-template-columns: repeat(2, 1fr); }
  .about-location-inner { grid-template-columns: 1fr; }
  .about-location-map { height: 280px; }
}
@media (max-width: 480px) {
  .about-what-grid { grid-template-columns: 1fr; }
}

/* ── PAGE-SPECIFIC: PRODUCTS ────────────────────────────────── */
.products-maxfrank { background: var(--white); }
.products-other    { background: var(--bg-light); }

.maxfrank-header {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  align-items: center;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.maxfrank-header-text {
  flex: 1;
  min-width: 280px;
}
.maxfrank-header-text p {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 1.5rem;
}
.maxfrank-header-badge {
  flex-shrink: 0;
  width: 200px;
}
.maxfrank-badge-img {
  width: 100%;
  height: auto;
  display: block;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.products-cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.products-cat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.products-cat-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: var(--bg-light);
}
.products-cat-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.products-cat-body h3 {
  font-family: var(--font-disp);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.5rem;
}
.products-cat-body p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}
.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
  transition: opacity 0.2s;
  align-self: flex-start;
}
.card-link:hover { opacity: 0.75; }

.authorized-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  border: 1px solid rgba(204,26,26,0.25);
  background: rgba(204,26,26,0.05);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
  .maxfrank-header { grid-template-columns: 1fr; }
  .maxfrank-header-badge { display: none; }
}

/* ── PAGE-SPECIFIC: CONTACT ─────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--gap);
  align-items: start;
}
.contact-info { padding-top: 0.5rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(204,26,26,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.contact-info-icon svg { width: 22px; height: 22px; }
.contact-info-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.contact-info-value { color: var(--black); font-weight: 500; }
.contact-info-value a { color: var(--black); transition: color 0.2s; }
.contact-info-value a:hover { color: var(--red); }

.contact-map {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 260px;
}
.contact-map iframe { display: block; width: 100%; height: 100%; border: none; }

.contact-form {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.contact-form h2 {
  font-family: var(--font-disp);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.4rem;
}
.contact-form > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

.form-required { color: var(--red); margin-left: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,26,26,0.08);
}
.form-group textarea { min-height: 130px; }

.form-field-error {
  display: block;
  font-size: 0.78rem;
  color: var(--red);
  margin-top: 0.3rem;
  min-height: 1em;
}
.form-group input.invalid { border-color: var(--red); }

.form-feedback {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.form-success {
  background: #edf7ed;
  border: 1px solid #b5d9b5;
  color: #2e6b2e;
}
.form-error {
  background: #fdf0f0;
  border: 1px solid #f0b8b8;
  color: #8b2020;
}

.form-submit { margin-top: 0.5rem; }
.form-submit .btn { width: 100%; justify-content: center; padding: 0.9rem; font-size: 0.95rem; }
.form-submit .btn:disabled { opacity: 0.65; cursor: not-allowed; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── 404 PAGE ───────────────────────────────────────────────── */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  padding-top: var(--nav-h);
}
.page-404-num {
  font-family: var(--font-disp);
  font-size: clamp(5rem, 20vw, 10rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.15;
}
.page-404 h1 {
  font-family: var(--font-disp);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.75rem;
}
.page-404 > p { color: var(--muted); margin-bottom: 2rem; }
.page-404-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.page-404-links p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.page-404-links ul {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.page-404-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
  transition: opacity 0.2s;
}
.page-404-links a:hover { opacity: 0.75; }

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .hero-title, .hero-sub, .hero-actions, .hero-tag {
    animation: fadeUp 0.7s ease both;
  }
  .hero-tag   { animation-delay: 0.05s; }
  .hero-title { animation-delay: 0.15s; }
  .hero-sub   { animation-delay: 0.28s; }
  .hero-actions { animation-delay: 0.4s; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}
