/* ==========================================================================
   INFINITE MATWORX — Stylesheet
   The Ground Floor Of Great Brands.
   ==========================================================================
   Table of contents:
   1.  Design tokens (custom properties)
   2.  Reset & base
   3.  Typography
   4.  Layout utilities
   5.  Buttons
   6.  Navigation
   7.  Hero
   8.  Section headers / eyebrows
   9.  Features
   10. Why choose us
   11. Gallery
   12. Manufacturing process (signature timeline)
   13. Quote CTA
   14. About
   15. FAQ accordion
   16. Contact
   17. Footer
   18. Floating buttons
   19. Scroll progress ("mat edge") — signature element
   20. Animations
   21. Accessibility
   22. Responsive
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Brand palette — exactly as specified in the brand brief */
  --color-lemon: #FFFBFD;      /* primary background */
  --color-red: #A90E02;        /* secondary / brand accent */
  --color-purple: #3E0856;     /* accent, used sparingly for depth */
  --color-grey: #F5F5F5;       /* light surface */
  --color-hover: #444444;      /* hover state */

  /* Derived neutrals for a premium, high-contrast editorial feel */
  --color-ink: #16121A;        /* near-black, warmed toward the purple accent */
  --color-ink-soft: #5A5560;   /* secondary text */
  --color-white: #FFFFFF;
  --color-border: #E7E2E6;

  /* Typography */
  --font-display: 'Playfair Display', 'Cormorant Garamond', serif;
  --font-body: 'Inter', 'Manrope', -apple-system, sans-serif;

  /* Type scale */
  --fs-hero: clamp(2.75rem, 6vw, 5.5rem);
  --fs-h1: clamp(2.25rem, 4.5vw, 3.75rem);
  --fs-h2: clamp(1.9rem, 3.2vw, 2.75rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.75rem);
  --fs-lead: clamp(1.05rem, 1.4vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8rem;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5.5rem;
  --space-2xl: 9rem;

  /* Layout */
  --container-max: 1280px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --border-w: 1px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.5s;
  --dur-slow: 0.9s;

  /* Elevation */
  --shadow-sm: 0 2px 20px rgba(22, 18, 26, 0.06);
  --shadow-md: 0 10px 40px rgba(22, 18, 26, 0.10);
  --shadow-lg: 0 25px 70px rgba(22, 18, 26, 0.16);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@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;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background-color: var(--color-lemon);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; font-size: inherit; }

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }

p { color: var(--color-ink-soft); }

.lead {
  font-size: var(--fs-lead);
  color: var(--color-ink-soft);
  font-weight: 400;
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: var(--space-sm);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--color-red);
  display: inline-block;
}

.text-serif-italic { font-style: italic; font-weight: 500; }

/* ==========================================================================
   4. LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.section { padding-block: var(--space-2xl); position: relative; }
.section--tight { padding-block: var(--space-xl); }
.section--grey { background: var(--color-grey); }
.section--dark { background: var(--color-ink); color: var(--color-white); }
.section--dark p { color: rgba(255,255,255,0.68); }
.section--dark h2, .section--dark h3 { color: var(--color-white); }

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.divider-hairline {
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

/* Subtle woven-mat texture divider — echoes the product itself */
.weave-divider {
  height: 34px;
  width: 100%;
  background-image: repeating-linear-gradient(
    115deg,
    var(--color-border) 0px,
    var(--color-border) 1px,
    transparent 1px,
    transparent 14px
  );
  opacity: 0.6;
}

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.1rem;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  white-space: nowrap;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.55);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--color-white); }

.btn-outline-dark {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid var(--color-ink);
}
.btn-outline-dark:hover { background: var(--color-ink); color: var(--color-white); }

.btn-whatsapp {
  background: #1F7A1F;
  color: var(--color-white);
  border: 1px solid #1F7A1F;
}
.btn-whatsapp:hover { background: #175c17; border-color: #175c17; }

.btn-block { width: 100%; }

/* Button ripple */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.65s var(--ease);
  background: rgba(255,255,255,0.45);
  pointer-events: none;
}
@keyframes ripple {
  to { transform: scale(3.2); opacity: 0; }
}

/* ==========================================================================
   6. NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding-block: 1.4rem;
  transition: background var(--dur-med) var(--ease), padding var(--dur-med) var(--ease),
              box-shadow var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar.is-scrolled {
  background: rgba(255, 251, 253, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 0.9rem;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--color-border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-white);
  transition: color var(--dur-med) var(--ease);
}

.brand__logo {
  height: 34px;
  width: auto;
  display: block;
}

.navbar.is-scrolled .brand { color: var(--color-ink); }
.brand span { color: var(--color-red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav-links a {
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.88);
  position: relative;
  padding-block: 0.3rem;
  transition: color var(--dur-fast) var(--ease);
}
.navbar.is-scrolled .nav-links a { color: var(--color-ink); }

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--color-red);
  transition: width var(--dur-fast) var(--ease);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after { width: 100%; }

.nav-links a:hover { color: var(--color-red); }
.navbar.is-scrolled .nav-links a:hover { color: var(--color-red); }

.nav-cta {
  display: inline-flex;
  padding: 0.75rem 1.5rem;
  font-size: var(--fs-small);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  z-index: 1200;
}
.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--color-white);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.navbar.is-scrolled .nav-toggle span { background: var(--color-ink); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-ink);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateY(-100%);
  transition: transform var(--dur-med) var(--ease);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-white);
}
.mobile-menu a:hover { color: var(--color-red); }

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/hero-entrance-mat.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: heroZoom 16s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(22,18,26,0.55) 0%, rgba(22,18,26,0.72) 55%, rgba(22,18,26,0.88) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero__eyebrow {
  color: var(--color-lemon);
  opacity: 0.85;
}
.hero__eyebrow::before { background: var(--color-white); }

.hero h1 {
  font-size: var(--fs-hero);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.hero .lead {
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.75);
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
}

.hero__scroll-line {
  width: 1px;
  height: 42px;
  background: rgba(255,255,255,0.4);
  overflow: hidden;
  position: relative;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  animation: scrollLine 1.8s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ==========================================================================
   8. SECTION HEADERS
   ========================================================================== */
.section-head p { max-width: 46ch; }

/* ==========================================================================
   9. FEATURES
   ========================================================================== */
.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 2.4rem 2rem;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-purple);
  color: var(--color-purple);
  font-size: 1.3rem;
  margin-bottom: 1.6rem;
  border-radius: 50%;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.feature-card:hover .feature-card__icon {
  background: var(--color-purple);
  color: var(--color-white);
}
.feature-card h3 { margin-bottom: 0.6rem; font-size: 1.2rem; }
.feature-card p { font-size: var(--fs-small); }

/* ==========================================================================
   10. WHY CHOOSE US
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split__media { position: relative; }
.split__media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}
.split__media-frame {
  position: absolute;
  top: -18px;
  left: -18px;
  right: auto;
  bottom: auto;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-red);
  z-index: -1;
}
.split__stat {
  position: absolute;
  bottom: -1.6rem;
  right: -1.6rem;
  background: var(--color-ink);
  color: var(--color-white);
  padding: 1.6rem 2rem;
  min-width: 190px;
}
.split__stat .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--color-lemon);
  line-height: 1;
  display: block;
  margin-bottom: 0.35rem;
}
.split__stat .label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.split__body p { margin-bottom: 1.1rem; }
.check-list { margin-top: 1.6rem; display: grid; gap: 0.85rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--fs-small);
  color: var(--color-ink);
}
.check-list i { color: var(--color-red); margin-top: 0.2rem; }

/* ==========================================================================
   11. GALLERY
   ========================================================================== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--space-lg);
}
.gallery-filters button {
  padding: 0.6rem 1.3rem;
  font-size: var(--fs-small);
  letter-spacing: 0.03em;
  border: 1px solid var(--color-border);
  color: var(--color-ink-soft);
  transition: all var(--dur-fast) var(--ease);
}
.gallery-filters button:hover,
.gallery-filters button.active {
  background: var(--color-ink);
  color: var(--color-white);
  border-color: var(--color-ink);
}

.masonry {
  column-count: 4;
  column-gap: 1rem;
}
.masonry__item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-grey);
}
.masonry__item img {
  width: 100%;
  display: block;
  transition: transform var(--dur-slow) var(--ease);
}
.masonry__item:hover img { transform: scale(1.08); }
.masonry__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(22,18,26,0.78) 0%, rgba(22,18,26,0) 45%);
  display: flex;
  align-items: flex-end;
  padding: 1.1rem;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}
.masonry__item:hover .masonry__overlay { opacity: 1; }
.masonry__overlay span {
  color: var(--color-white);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.masonry__overlay i {
  margin-left: auto;
  color: var(--color-white);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 12, 17, 0.96);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(90vw, 1000px);
  max-height: 84vh;
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  color: var(--color-white);
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  transition: background var(--dur-fast) var(--ease);
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { background: rgba(255,255,255,0.12); }
.lightbox__close { top: 1.75rem; right: 1.75rem; }
.lightbox__prev { left: 1.75rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.75rem; top: 50%; transform: translateY(-50%); }
.lightbox__caption {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.75);
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   12. MANUFACTURING PROCESS — signature timeline
   ========================================================================== */
.process {
  position: relative;
}
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-border);
}
.process-track__fill {
  content: '';
  position: absolute;
  top: 27px;
  left: 0;
  height: 1px;
  background: var(--color-red);
  width: 0%;
  transition: width 1.2s var(--ease);
}
.process-step { position: relative; text-align: left; }
.process-step__index {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-red);
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 2;
  transition: background var(--dur-med) var(--ease), color var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.process-step.is-active .process-step__index {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.process-step p { font-size: var(--fs-small); }

/* ==========================================================================
   13. QUOTE CTA
   ========================================================================== */
.cta {
  position: relative;
  background: var(--color-ink);
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/cta-texture.png');
  background-size: cover;
  background-position: center;
  opacity: 0.16;
}
.cta__inner { position: relative; z-index: 1; max-width: 680px; margin-inline: auto; }
.cta h2 { color: var(--color-white); margin-bottom: 1rem; }
.cta .lead { color: rgba(255,255,255,0.75); margin-inline: auto; margin-bottom: 2.4rem; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

/* ==========================================================================
   14. ABOUT
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-pillars { display: grid; gap: 1.8rem; margin-top: 1.5rem; }
.pillar { border-left: 2px solid var(--color-purple); padding-left: 1.5rem; }
.pillar h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.pillar p { font-size: var(--fs-small); }

.counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
}
.counter .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--color-red);
  display: block;
}
.counter .label {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

/* ==========================================================================
   15. FAQ
   ========================================================================== */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.6rem 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-ink);
}
.faq-item__q i { transition: transform var(--dur-fast) var(--ease); color: var(--color-red); flex-shrink: 0; }
.faq-item.is-open .faq-item__q i { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-med) var(--ease), padding var(--dur-med) var(--ease);
}
.faq-item__a p { padding-bottom: 1.6rem; max-width: 62ch; font-size: var(--fs-small); }
.faq-item.is-open .faq-item__a { max-height: 240px; }

/* ==========================================================================
   16. CONTACT
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
}
.contact-info-item {
  display: flex;
  gap: 1.1rem;
  margin-bottom: 1.8rem;
}
.contact-info-item i {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-purple);
  color: var(--color-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: 0.95rem; margin-bottom: 0.25rem; font-family: var(--font-body); font-weight: 600; }
.contact-info-item p { font-size: var(--fs-small); }
.contact-social { display: flex; gap: 0.75rem; margin-top: 2rem; }
.contact-social a {
  width: 42px; height: 42px;
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur-fast) var(--ease);
}
.contact-social a:hover { background: var(--color-ink); color: var(--color-white); border-color: var(--color-ink); }

.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: clamp(1.75rem, 3vw, 2.75rem);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  margin-bottom: 0.5rem;
}
.field input, .field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  padding: 0.7rem 0.1rem;
  color: var(--color-ink);
  transition: border-color var(--dur-fast) var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--color-red);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.78rem; color: var(--color-ink-soft); margin-top: 1rem; }
.form-success {
  display: none;
  padding: 1rem 1.2rem;
  background: var(--color-grey);
  border-left: 3px solid var(--color-red);
  font-size: var(--fs-small);
  margin-top: 1rem;
}
.form-success.is-visible { display: block; }

/* ==========================================================================
   17. FOOTER
   ========================================================================== */
.footer {
  background: var(--color-ink);
  color: rgba(255,255,255,0.68);
  padding-top: var(--space-xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .brand { color: var(--color-white); }
.footer-brand p { margin-top: 1rem; color: rgba(255,255,255,0.55); font-size: var(--fs-small); max-width: 30ch; }
.footer h4 {
  font-family: var(--font-body);
  color: var(--color-white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer ul li { margin-bottom: 0.75rem; }
.footer ul a { font-size: var(--fs-small); color: rgba(255,255,255,0.62); transition: color var(--dur-fast) var(--ease); }
.footer ul a:hover { color: var(--color-white); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
  transition: all var(--dur-fast) var(--ease);
}
.footer-social a:hover { background: var(--color-red); border-color: var(--color-red); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.6rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--color-white); }

/* ==========================================================================
   18. FLOATING BUTTONS
   ========================================================================== */
.float-stack {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.float-btn:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.float-btn--whatsapp { background: #25D366; color: var(--color-white); }
.float-btn--top {
  background: var(--color-ink);
  color: var(--color-white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.float-btn--top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ==========================================================================
   19. SCROLL PROGRESS — "the mat edge"
   Signature element: a woven red thread that grows across the very top of
   the viewport as the visitor moves through the page, echoing the brand's
   product — a mat is the line you cross to arrive.
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--color-red);
  z-index: 1300;
  transition: width 0.1s linear;
}

/* ==========================================================================
   20. ANIMATIONS (complement AOS; used for bespoke elements)
   ========================================================================== */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.floating { animation: floatY 4.5s ease-in-out infinite; }

/* ==========================================================================
   21. ACCESSIBILITY
   ========================================================================== */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-ink);
  color: var(--color-white);
  padding: 1rem 1.5rem;
  z-index: 2100;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 3px;
}

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

/* ==========================================================================
   22. RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .masonry { column-count: 3; }
  .process-track { grid-template-columns: repeat(3, 1fr); row-gap: 3rem; }
  .process-track::before, .process-track__fill { display: none; }
}

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .split,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .split__media img { height: 400px; }
  .split { gap: 3rem; }
  .split__stat { right: 0.5rem; }

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

@media (max-width: 720px) {
  .masonry { column-count: 2; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .counters { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .cta__actions { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
  .masonry { column-count: 1; }
  .grid-3, .grid-6 { grid-template-columns: 1fr; }
  .float-stack { bottom: 1.1rem; right: 1.1rem; }
  .float-btn { width: 50px; height: 50px; font-size: 1.2rem; }
}
