:root {
  --red: #c41e3a;
  --red-dark: #8b0000;
  --navy: #0b0e13;
  --navy-soft: #151a24;
  --white: #ffffff;
  --gray-100: #f4f5f7;
  --gray-200: #e8eaed;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --shadow: 0 12px 40px rgba(11, 14, 19, 0.12);
  --radius: 4px;
  --container: 1200px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-700);
  line-height: 1.65;
  background: var(--white);
}

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

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

a:hover {
  color: var(--red-dark);
}

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

/* Top bar */
.top-cta {
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
  padding: 0.65rem 0;
}

.top-cta .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: center;
}

.top-cta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.top-cta .dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo-link img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-link {
  position: relative;
  color: var(--navy);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cart-count {
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
  text-align: center;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

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

.btn-dark:hover {
  background: var(--navy-soft);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  background: var(--gray-100);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 40px,
    rgba(196, 30, 58, 0.04) 40px,
    rgba(196, 30, 58, 0.04) 41px
  );
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 520px;
  gap: 2rem;
}

.hero-content {
  padding: 3rem 0;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--red);
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.hero-media {
  position: relative;
  height: 100%;
  min-height: 420px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.hero-media::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(90deg, var(--gray-100), transparent);
}

/* Pillars */
.pillars {
  padding: 4rem 0;
  background: var(--white);
}

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

.pillar-card {
  background: var(--red);
  color: var(--white);
  padding: 2rem 1.25rem 2rem 1.5rem;
  position: relative;
  min-height: 220px;
}

.pillar-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--navy);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.pillar-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pillar-card p {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.95;
  line-height: 1.5;
}

/* Section */
.section {
  padding: 4.5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title .eyebrow {
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.section-title h2 {
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0.35rem 0 0.75rem;
  text-transform: uppercase;
}

.section-title p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--gray-500);
}

.section-alt {
  background: var(--gray-100);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

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

.section-dark .section-title p {
  color: rgba(255, 255, 255, 0.75);
}

/* Two col */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.check-list li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.65rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 800;
}

.media-frame {
  position: relative;
}

.media-frame img {
  width: 100%;
  border: 4px solid var(--red);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 2px solid var(--navy);
  z-index: -1;
}

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

.service-card {
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.service-card .body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: 1.1rem;
}

/* Stats + services */
.exp-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
}

.exp-box {
  background: var(--red);
  color: var(--white);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.exp-box .num {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.exp-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.exp-mini {
  background: var(--white);
  border-left: 4px solid var(--red);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.exp-mini h4 {
  margin: 0 0 0.35rem;
  color: var(--navy);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.team-grid img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.team-grid figcaption {
  text-align: center;
  padding: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.testimonial-card {
  border: 2px solid var(--red);
  padding: 2rem;
  background: var(--white);
}

.stars {
  color: var(--red);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

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

.blog-card {
  background: var(--white);
  box-shadow: var(--shadow);
}

.blog-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.blog-card .body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.blog-card .date {
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 600;
}

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

.product-card {
  border: 1px solid var(--gray-200);
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.product-card img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.product-card .body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red);
  margin: 0.5rem 0;
}

.product-card .actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Video block */
.video-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--navy);
}

.video-thumb {
  position: relative;
  min-height: 360px;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
  opacity: 0.85;
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn span {
  width: 72px;
  height: 72px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 8px 30px rgba(196, 30, 58, 0.5);
}

.video-copy {
  background: var(--white);
  padding: 2.5rem;
  background-image: radial-gradient(var(--gray-200) 1px, transparent 1px);
  background-size: 16px 16px;
}

/* FAQ */
.faq-list details {
  border: 1px solid var(--gray-200);
  margin-bottom: 0.75rem;
  background: var(--white);
}

.faq-list summary {
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--red);
  font-size: 1.25rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list .answer {
  padding: 0 1.25rem 1.1rem;
  color: var(--gray-500);
}

/* Forms */
.form-panel {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--gray-200);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(196, 30, 58, 0.35);
  border-color: var(--red);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--red);
}

.field-error {
  color: var(--red);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.checkbox-row input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--red);
}

.checkbox-row label {
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
}

.checkbox-row.has-error label {
  color: var(--red);
}

.form-success {
  background: #ecfdf3;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  display: none;
}

.form-success.visible {
  display: block;
}

/* Cart */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.cart-table th,
.cart-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
}

.cart-table th {
  background: var(--gray-100);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.cart-qty {
  width: 70px;
  padding: 0.4rem;
}

.cart-empty {
  text-align: center;
  padding: 3rem;
  background: var(--gray-100);
}

.cart-summary {
  max-width: 400px;
  margin-left: auto;
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem;
}

.cart-summary .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.cart-summary .total {
  font-size: 1.35rem;
  font-weight: 800;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

/* Page hero */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.page-hero .breadcrumb {
  margin-top: 0.75rem;
  opacity: 0.8;
  font-size: 0.9rem;
}

.page-hero .breadcrumb a {
  color: var(--white);
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  color: var(--navy);
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-content h3 {
  color: var(--red);
  margin-top: 1.25rem;
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}

.footer-newsletter {
  background: var(--navy-soft);
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 560px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.9rem 1rem;
  border: none;
  font-size: 1rem;
}

.newsletter-form button {
  border: none;
  cursor: pointer;
}

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

.footer-grid h4 {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 0.5rem;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-logo {
  height: 44px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: var(--radius);
}

.social-links a:hover {
  background: var(--red);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-legal {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.grid-pattern {
  background-image: radial-gradient(var(--gray-200) 1px, transparent 1px);
  background-size: 18px 18px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .two-col,
  .video-section,
  .exp-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
    position: relative;
  }

  .pillars-grid,
  .services-grid,
  .products-grid,
  .blog-grid,
  .testimonial-grid,
  .exp-mini-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero-media {
    min-height: 280px;
  }

  .hero-media img {
    min-height: 280px;
  }
}