/* ============================================
   SAIM SURFACES - Design System & Styles
   Light editorial theme | Royal Blue accent
   Fonts: Jost (headings) + Hanken Grotesk (body)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --color-bg: #FFFFFF;
  --color-bg-alt: #E8F0F8;
  --color-bg-dark: #002B4E;
  --color-text: #1A2332;
  --color-text-body: #4A5568;
  --color-text-light: #7B8794;
  --color-text-inverse: #FFFFFF;
  --color-accent: #1A6B9C;
  --color-accent-hover: #0D5A85;
  --color-accent-light: rgba(26, 107, 156, 0.08);
  --color-border: #D8E2EC;
  --color-border-light: #EBF1F7;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1EBE5A;

  /* Typography */
  --font-heading: 'Jost', 'Century Gothic', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;

  /* Spacing */
  --section-padding: clamp(80px, 10vw, 120px);
  --container-width: 1320px;
  --container-padding: clamp(20px, 5vw, 40px);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 100px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-body);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}


/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}


/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.15;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(32px, 4vw, 50px);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(22px, 2.5vw, 28px);
}

h4 {
  font-size: 20px;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

.text-accent {
  color: var(--color-accent);
}

.text-italic {
  font-style: italic;
}

/* --- Responsive Line Breaks --- */
.mobile-lines {
  display: none;
}
.desktop-lines {
  display: block;
}
.d-line {
  display: block;
}

/* --- Section Patterns --- */
.section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

/* Removed .section-label::before line styling as per user request */

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-body);
  max-width: 640px;
  line-height: 1.6;
}

.section-header {
  margin-bottom: 60px;
}

.section-header-center {
  text-align: center;
}

.section-header-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}


/* --- Navigation --- */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 98px; /* Increased from 80px */
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.nav-logo img {
  height: 96px;
  width: auto;
  transition: filter var(--transition-base), height var(--transition-base);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-accent);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-accent);
}

.nav-link.active {
  color: var(--color-accent);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  padding: 14px 0;
  margin: -14px 0;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 230px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(26, 35, 50, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 38px rgba(26, 35, 50, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.open .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text);
  white-space: nowrap;
}

.nav-submenu a:hover {
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background-color: var(--color-accent);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
  border: 1.5px solid transparent;
}

.nav-cta:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-1px);
}

.nav-cta svg {
  width: 16px;
  height: 16px;
}

/* --- Nav Transparent (Homepage) --- */
.nav-transparent {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

.nav-transparent .nav-logo img {
  filter: brightness(0) invert(1);
}

.nav-transparent .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.nav-transparent .nav-link:hover {
  color: #FFFFFF;
}

.nav-transparent .nav-link.active {
  color: #FFFFFF;
}

.nav-transparent .nav-link::after {
  background-color: #FFFFFF;
}

.nav-transparent .nav-cta {
  background: linear-gradient(135deg, rgba(26, 107, 156, 0.8) 0%, rgba(26, 107, 156, 0.6) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #FFFFFF;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    inset 0 -3px 8px rgba(0, 0, 0, 0.1),
    0 4px 15px rgba(26, 107, 156, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.nav-transparent .nav-cta:hover {
  background: linear-gradient(135deg, rgba(26, 107, 156, 0.95) 0%, rgba(26, 107, 156, 0.75) 100%);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    inset 0 -3px 8px rgba(0, 0, 0, 0.1),
    0 6px 20px rgba(26, 107, 156, 0.25);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.nav-transparent .hamburger span {
  background-color: #FFFFFF;
}

/* Scrolled States (Both Default and Transparent Headers) */
.nav.scrolled,
.nav-transparent.scrolled {
  position: fixed;
  background-color: rgba(26, 35, 50, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  animation: navSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes navSlideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.nav.scrolled .nav-logo img,
.nav-transparent.scrolled .nav-logo img {
  filter: brightness(0) invert(1);
}

.nav.scrolled .nav-link,
.nav-transparent.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.nav.scrolled .nav-link:hover,
.nav.scrolled .nav-link.active,
.nav-transparent.scrolled .nav-link:hover,
.nav-transparent.scrolled .nav-link.active {
  color: #FFFFFF;
}

.nav.scrolled .nav-link::after,
.nav-transparent.scrolled .nav-link::after {
  background-color: #FFFFFF;
}

.nav.scrolled .nav-cta,
.nav-transparent.scrolled .nav-cta {
  background: linear-gradient(135deg, rgba(26, 107, 156, 0.8) 0%, rgba(26, 107, 156, 0.6) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #FFFFFF;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    inset 0 -3px 8px rgba(0, 0, 0, 0.1),
    0 4px 15px rgba(26, 107, 156, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.nav.scrolled .nav-cta:hover,
.nav-transparent.scrolled .nav-cta:hover {
  background: linear-gradient(135deg, rgba(26, 107, 156, 0.95) 0%, rgba(26, 107, 156, 0.75) 100%);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    inset 0 -3px 8px rgba(0, 0, 0, 0.1),
    0 6px 20px rgba(26, 107, 156, 0.25);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.nav.scrolled .hamburger span,
.nav-transparent.scrolled .hamburger span {
  background-color: #FFFFFF;
}

/* Mobile Menu Open State (Using :has to sync top header bar background) */
.nav:has(.hamburger.active),
.nav-transparent:has(.hamburger.active) {
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom-color: var(--color-border-light) !important;
}

.nav:has(.hamburger.active) .nav-logo img,
.nav-transparent:has(.hamburger.active) .nav-logo img {
  filter: none !important;
}

.nav:has(.hamburger.active) .nav-link,
.nav-transparent:has(.hamburger.active) .nav-link {
  color: var(--color-text) !important;
  text-shadow: none !important;
}

.nav:has(.hamburger.active) .nav-link.active,
.nav-transparent:has(.hamburger.active) .nav-link.active {
  color: var(--color-accent) !important;
}

.nav:has(.hamburger.active) .hamburger span,
.nav-transparent:has(.hamburger.active) .hamburger span {
  background-color: var(--color-text) !important;
}


/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: max(100vh, 720px); /* Full screen, with safe minimum height */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center children vertically as a single group */
  padding-top: 95px; /* Offset the taller desktop nav (95px) */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  padding-bottom: 0;
  width: 100%;
  text-align: center;
}

.hero-inner {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

/* Removed .hero-label::before line styling as per user request */

.hero h1 {
  color: var(--color-text-inverse);
  margin-bottom: 20px;
  font-weight: 300;
  line-height: 1.12;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

/* Floating Hero Stats Card (Glassmorphism) */
.hero-stats-glass {
  position: relative;
  z-index: 1;
  max-width: var(--container-width);
  width: calc(100% - (var(--container-padding) * 2));
  margin: 32px auto 40px auto; /* Centered card with margin bottom */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), inset 0 1px 0px rgba(255, 255, 255, 0.1);
}

.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container-width);
  margin: 0 auto;
}

.hero-stat {
  padding: 24px 0;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.hero-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-text-inverse);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-text-inverse);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text-inverse);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

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

/* Liquid Glass Buttons */
.btn-whatsapp-glass {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.8) 0%, rgba(37, 211, 102, 0.6) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #FFFFFF;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    inset 0 -3px 8px rgba(0, 0, 0, 0.1),
    0 4px 30px rgba(37, 211, 102, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp-glass:hover {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.9) 0%, rgba(37, 211, 102, 0.75) 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    inset 0 -3px 8px rgba(0, 0, 0, 0.1),
    0 8px 32px rgba(37, 211, 102, 0.3);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-whatsapp-glass svg {
  fill: currentColor;
}

.btn-call-glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #FFFFFF;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    0 4px 30px rgba(0, 0, 0, 0.05);
}

.btn-call-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    0 8px 32px rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-call-glass svg {
  stroke: currentColor;
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn-outline-dark:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-dark {
  background-color: var(--color-text);
  color: var(--color-text-inverse);
}

.btn-dark:hover {
  background-color: var(--color-accent);
  transform: translateY(-1px);
}

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

.btn-arrow::after {
  content: '→';
  margin-left: 4px;
  transition: transform var(--transition-fast);
}

.btn-arrow:hover::after {
  transform: translateX(3px);
}


/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image {
  transform: scale(1.05);
}

.range-card-grid {
  margin-bottom: 42px;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 24px;
}

.card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-inverse);
  line-height: 1.2;
}

.card-subtitle {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
  font-weight: 400;
}

.card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition-fast);
}

.card:hover .card-arrow {
  background-color: var(--color-accent);
}

.card-arrow svg {
  width: 14px;
  height: 14px;
  color: var(--color-text-inverse);
}

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

.service-card {
  cursor: default;
}

.service-card .card-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.35) 58%,
    rgba(0, 0, 0, 0.04) 100%
  );
}

.service-card .card-text {
  gap: 8px;
}

.service-card .card-subtitle {
  max-width: 95%;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0;
}


/* --- Process / Steps --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}

.process-step {
  position: relative;
  padding: 36px 30px;
  background-color: var(--color-bg);
  border: 1px solid rgba(26, 35, 50, 0.05);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background-color: var(--color-accent);
  transition: width var(--transition-base);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 35, 50, 0.04), 0 0 0 1px rgba(26, 35, 50, 0.06);
  border-color: transparent;
}

.process-step:hover::before {
  width: 100%;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.step-icon {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.process-step:hover .step-icon {
  transform: scale(1.1) rotate(3deg);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0;
  line-height: 1;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--color-text-body);
}


/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.testimonial-card {
  padding: 24px;
  background-color: var(--color-bg);
  border: 1px solid rgba(26, 35, 50, 0.06);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), 0 0 0 1px rgba(26, 35, 50, 0.08);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.star-icon {
  width: 16px;
  height: 16px;
  fill: var(--color-accent);
  stroke: var(--color-accent);
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
  margin-top: 16px;
  margin-bottom: 20px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  color: #FFFFFF;
}

.avatar-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.25;
  fill: none;
  flex-shrink: 0;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.testimonial-username {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

.testimonial-role {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.3;
}

.carousel-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-border);
  transition: all var(--transition-base);
  cursor: pointer;
}

.dot.active {
  background-color: var(--color-accent);
  transform: scale(1.2);
}


/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border-light);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
  gap: 20px;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: currentColor;
  transition: transform var(--transition-base);
}

.faq-icon::before {
  width: 14px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1.5px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer-inner {
  padding-bottom: 24px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-body);
}


/* --- Stats Section (Light) --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat-item {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid var(--color-border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 14px;
  color: var(--color-text-body);
  line-height: 1.4;
}


/* --- Filter Pills --- */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
  justify-content: center;
}

.filter-pill {
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: none;
}

.filter-pill:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.filter-pill.active {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text-inverse);
}


/* --- Product Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.product-card.hidden {
  display: none;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px;
}

.product-card-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-inverse);
  line-height: 1.3;
}

.product-card .card-arrow {
  width: 28px;
  height: 28px;
}

.product-card .card-arrow svg {
  width: 12px;
  height: 12px;
}

.product-card:hover .card-arrow {
  background-color: var(--color-accent);
}

.project-card {
  cursor: default;
}

.project-card .product-card-overlay {
  align-items: flex-end;
}

.project-card small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}

.projects-intro-image {
  aspect-ratio: 16 / 10;
}

.projects-intro-image img {
  object-position: center;
}

.brand-strip-section {
  padding: 28px 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border-light);
}

.brand-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.brand-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 74px;
  padding: 16px 18px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  background: var(--color-bg);
}

.brand-logo-card img {
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
}

.brand-logo-card.duplicate {
  display: none;
}

.sample-section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: var(--color-bg-alt);
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.sample-card {
  overflow: hidden;
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
}

.sample-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--color-bg);
}

.sample-card-body {
  padding: 18px;
}

.sample-card-body h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.sample-card-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-body);
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.sample-kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.carpet-pattern-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 980px;
  margin: 0 auto;
  gap: 16px;
}

.carpet-pattern-card img {
  aspect-ratio: 4 / 3;
}

.carpet-pattern-card .sample-card-body {
  padding: 14px;
}

.carpet-pattern-card .sample-kicker {
  font-size: 10px;
  margin-bottom: 6px;
}

.carpet-pattern-card .sample-card-body h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.carpet-pattern-card .sample-card-body p {
  font-size: 12px;
  line-height: 1.45;
}

.vinyl-type-grid {
  max-width: 980px;
  margin: 0 auto;
}

.vinyl-type-grid .sample-card img {
  aspect-ratio: 16 / 10;
}

.sports-sample-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.sports-sample-card img {
  aspect-ratio: 4 / 3;
}

.sports-sample-card .sample-card-body {
  padding: 14px;
}

.sports-sample-card .sample-card-body h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.sports-sample-card .sample-card-body p {
  font-size: 12px;
  line-height: 1.45;
}

.sample-card-wide {
  grid-column: 1 / -1;
}

.sample-name-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.sample-name {
  padding: 10px 12px;
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--color-text);
}



.inline-link {
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-summary-grid,
.reference-grid,
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.summary-card,
.reference-item,
.sector-card,
.detail-panel {
  background-color: var(--color-bg);
  border: 1px solid rgba(26, 35, 50, 0.08);
  border-radius: var(--radius-md);
}

.summary-card,
.reference-item {
  padding: 24px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.summary-card:hover,
.reference-item:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 107, 156, 0.28);
  box-shadow: 0 12px 28px rgba(26, 35, 50, 0.06);
}

.summary-card span,
.reference-item,
.detail-facts span {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  line-height: 1.35;
}

.summary-card p,
.sector-card p,
.detail-panel p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-body);
}

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

.reference-item {
  color: var(--color-text);
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}

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

.sector-card {
  padding: 0;
  overflow: hidden;
}

.sector-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.sector-card-body {
  padding: 28px;
}

.sector-card h3 {
  margin-bottom: 14px;
}

.sector-card ul,
.clean-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.sector-card li,
.clean-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--color-text-body);
}

.sector-card li::before,
.clean-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: start;
}

.detail-media {
  position: sticky;
  top: 124px;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 5;
  background-color: var(--color-bg-alt);
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-content-stack {
  display: grid;
  gap: 22px;
}

.detail-panel {
  padding: clamp(26px, 4vw, 40px);
}

.detail-facts {
  display: grid;
  gap: 22px;
}

.detail-facts div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border-light);
}

.detail-facts div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-facts strong {
  display: block;
  margin-top: 6px;
  font-size: 17px;
  color: var(--color-text);
  line-height: 1.45;
}

.related-products .reference-item {
  text-align: center;
}


/* --- CTA Section --- */
.cta-section {
  text-align: center;
}

.cta-section .section-title {
  margin-bottom: 12px;
}

.cta-section .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.contact-feature-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background-color: var(--color-bg-alt);
}

.contact-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-feature-content .section-subtitle {
  margin-bottom: 32px;
}

.contact-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.contact-detail-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-border-light);
}

.contact-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.contact-detail-item span {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.contact-detail-item strong {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  text-align: right;
  word-break: break-word;
}


/* --- Page Hero (Inner Pages) --- */
.page-hero {
  position: relative;
  padding-top: calc(95px + var(--section-padding)); /* Offset the taller desktop nav (95px) */
  padding-bottom: var(--section-padding);
  background-color: var(--color-text);
  color: var(--color-text-inverse);
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.page-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 20, 0.6); /* dark overlay */
}

.page-hero-bg img,
.page-hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .section-label {
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero h1 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  color: var(--color-text-inverse);
}

.page-hero .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.8);
}


/* --- About Content --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-story-stack {
  display: grid;
  gap: 56px;
}

.about-story-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: 56px;
  align-items: center;
}

.about-story-row-reverse {
  grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1fr);
}

.about-text p {
  font-size: 17px;
  line-height: 1.8;
}

.about-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Vision & Mission */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.vm-card {
  padding: 48px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
}

.vm-card h3 {
  margin-bottom: 16px;
  color: var(--color-accent);
}

.vm-card p {
  font-size: 17px;
  line-height: 1.8;
}


/* --- Footer --- */
.footer {
  background-color: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.6);
  padding-top: 80px;
  padding-bottom: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand p {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-logo img {
  height: 72px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-inverse);
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 15px;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-text-inverse);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}


/* --- Floating WhatsApp --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  color: white;
}


/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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


/* --- Browse Link --- */
.browse-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  transition: gap var(--transition-fast);
}

.browse-link:hover {
  gap: 12px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-header-row .section-title {
  margin-bottom: 0;
}


/* ========================
   RESPONSIVE
   ======================== */

@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .contact-feature {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-feature-media {
    aspect-ratio: 16 / 9;
  }

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

  .carpet-pattern-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 760px;
  }

  .sports-sample-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-story-row,
  .about-story-row-reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-story-row-reverse .about-image {
    order: 2;
  }

  .about-story-row-reverse .about-text {
    order: 1;
  }

  .product-summary-grid,
  .reference-grid,
  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .detail-media {
    position: relative;
    top: auto;
    aspect-ratio: 16 / 10;
  }

}

@media (max-width: 768px) {
  :root {
    --section-padding: clamp(56px, 12vw, 76px);
    --container-padding: clamp(18px, 5vw, 28px);
  }

  .nav-container {
    height: 80px;
  }

  .nav-logo img {
    height: 56px;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    height: calc(100vh - 80px);
    height: calc(100svh - 80px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background-color: var(--color-bg);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 999;
  }

  .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .nav-submenu {
    position: static;
    display: none;
    min-width: 0;
    width: min(82vw, 360px);
    margin-top: 12px;
    padding: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-color: var(--color-border-light);
    background: var(--color-bg-alt);
  }

  .nav-dropdown.open .nav-submenu {
    display: grid;
    gap: 2px;
  }

  .nav-submenu a {
    text-align: center;
    white-space: normal;
    font-size: 14px;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-transparent .nav-links.open .nav-link {
    color: var(--color-text);
  }

  .nav-transparent .nav-links.open .nav-link.active {
    color: var(--color-accent);
  }

  .nav-transparent .nav-links.open .nav-link::after {
    background-color: var(--color-accent);
  }

  .nav-link {
    font-size: 18px;
  }

  .nav-dropdown .nav-link {
    padding: 0;
  }

  .nav-cta-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Responsive Line Breaks for Mobile */
  .desktop-lines {
    display: none;
  }
  
  .mobile-lines {
    display: block;
  }

  .m-line {
    display: block;
    /* white-space: nowrap removed to prevent clipping */
  }

  .hero {
    min-height: 75vh;
    min-height: 75svh;
    padding-top: 110px;
  }

  .hero-content {
    margin: 0 auto;
    text-align: center;
    padding: 0 5vw; /* Shrinks the content inside proportionally */
  }

  .hero-inner {
    margin-left: auto;
    margin-right: auto;
    padding-top: 30px;
  }

  .hero-label {
    justify-content: center;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.25em;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: clamp(20px, 6.5vw, 26px);
    font-weight: 300;
    line-height: 1.35;
    margin-bottom: 18px;
  }

  .section-title {
    font-size: clamp(20px, 6.5vw, 26px);
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
    max-width: 300px;
  }

  .hero-ctas,
  .cta-buttons {
    flex-wrap: nowrap;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas .btn,
  .cta-buttons .btn {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 12px 14px;
    font-size: 13px;
  }

  .hero-ctas .btn svg,
  .cta-buttons .btn svg {
    width: 16px;
    height: 16px;
  }

  .hero-stats-glass {
    margin: 28px auto 20px auto;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), inset 0 1px 0px rgba(255, 255, 255, 0.08);
  }

  .hero-stats-glass .hero-stat {
    padding: 14px 8px;
  }

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

  .hero-stats-glass .hero-stat:nth-child(2) {
    border-right: none;
  }

  .hero-stats-glass .hero-stat:nth-child(1),
  .hero-stats-glass .hero-stat:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-stat-number {
    font-size: 24px;
  }

  .hero-stat-label {
    font-size: 10px;
    line-height: 1.3;
  }

  .section-header,
  .section-header-center,
  .section-header-row,
  .cta-section,
  .about-text,
  .step-title,
  .step-desc,
  .step-number,
  .testimonial-text,
  .testimonial-meta {
    text-align: center;
  }

  .step-header,
  .testimonial-user,
  .testimonial-stars {
    justify-content: center;
  }

  .testimonial-meta {
    align-items: center;
  }

  .section-label {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .section-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  body:has(.hero) .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    padding: 28px 24px;
  }

  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 10px 4px;
  }

  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }

  .testimonials-grid .testimonial-card {
    scroll-snap-align: center;
    flex: 0 0 85vw;
    width: 85vw;
    max-width: 85vw;
    box-sizing: border-box;
    white-space: normal;
  }

  .carousel-dots {
    display: flex;
  }

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

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--color-border);
  }

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

  .brand-strip-section {
    padding: 16px 0;
    overflow: hidden;
  }

  .brand-strip-section .container {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
  }

  .brand-strip {
    width: max-content;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    animation: brandMarquee 26s linear infinite;
  }

  .brand-logo-card {
    width: 132px;
    height: 62px;
    padding: 12px 14px;
  }

  .brand-logo-card.duplicate {
    display: flex;
  }

  .brand-logo-card img {
    max-height: 34px;
  }

  @keyframes brandMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  .sample-grid,
  .sample-name-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-feature-content {
    text-align: center;
  }

  .contact-action-row {
    justify-content: center;
    margin-bottom: 28px;
  }

  .contact-detail-item {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .contact-detail-item strong {
    text-align: center;
  }

  .vm-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .vm-card {
    padding: 32px;
  }

  .stat-item {
    padding: 30px 24px;
  }

  .page-hero {
    padding-top: calc(80px + 42px);
    padding-bottom: 48px;
  }

  .page-hero h1 {
    font-size: clamp(30px, 7.4vw, 36px);
    line-height: 1.12;
    margin-bottom: 14px;
  }

  .page-hero .section-subtitle {
    font-size: 16px;
    line-height: 1.55;
  }

  .contact-page .page-hero .section-subtitle {
    visibility: hidden;
  }

  .contact-page .contact-feature-media {
    display: none;
  }

  body:has(.page-hero) .section {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  body:has(.page-hero) .section-header,
  body:has(.page-hero) .section-header-center {
    margin-bottom: 28px;
  }

  body:has(.page-hero) .section-title {
    font-size: clamp(28px, 6.6vw, 34px);
    line-height: 1.12;
    margin-bottom: 14px;
  }

  body:has(.page-hero) .section-subtitle {
    font-size: 16px;
    line-height: 1.55;
  }

  body:has(.page-hero) .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about-text p {
    font-size: 15px;
    line-height: 1.62;
    margin-bottom: 12px;
  }

  body:has(.page-hero) .process-grid {
    gap: 14px;
  }

  body:has(.page-hero) .process-step {
    padding: 22px 20px;
  }

  body:has(.page-hero) .step-header {
    gap: 8px;
    margin-bottom: 12px;
  }

  body:has(.page-hero) .step-icon {
    width: 19px;
    height: 19px;
  }

  body:has(.page-hero) .step-number {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  body:has(.page-hero) .step-title {
    font-size: 18px;
    line-height: 1.18;
    margin-bottom: 8px;
  }

  body:has(.page-hero) .step-desc {
    font-size: 13.5px;
    line-height: 1.5;
  }

  body:has(.page-hero) .vm-grid {
    gap: 16px;
  }

  body:has(.page-hero) .vm-card {
    padding: 24px;
  }

  body:has(.page-hero) .vm-card h3 {
    margin-bottom: 10px;
  }

  body:has(.page-hero) .vm-card p {
    font-size: 15px;
    line-height: 1.6;
  }

  body:has(.page-hero) .stat-item {
    padding: 24px 20px;
  }

  body:has(.page-hero) .stat-number {
    font-size: 30px;
    margin-bottom: 7px;
  }

  body:has(.page-hero) .stat-label {
    font-size: 13px;
  }

  body:has(.page-hero) .filter-pills {
    gap: 8px;
    margin-bottom: 34px;
  }

  body:has(.page-hero) .filter-pill {
    padding: 8px 18px;
    font-size: 13px;
  }

  body:has(.page-hero) .product-grid {
    gap: 14px;
  }

  body:has(.page-hero) .product-card-overlay {
    padding: 14px;
  }

  body:has(.page-hero) .product-card-title {
    font-size: 13px;
    line-height: 1.25;
  }

  .footer {
    padding-top: 56px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 46px;
    text-align: left;
  }

  .footer-brand p {
    margin-left: 0;
    margin-right: auto;
  }

  .footer-contact-item {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: left;
  }

  .footer-logo img {
    height: 64px;
  }

  .section-header-row {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: clamp(48px, 10vw, 60px);
  }

  .nav-container {
    height: 60px;
  }

  .nav-logo img {
    height: 48px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 60px;
  }

  .page-hero {
    padding-top: calc(60px + 34px);
    padding-bottom: 42px;
  }

  .page-hero h1 {
    font-size: clamp(28px, 7.6vw, 32px);
    line-height: 1.12;
  }

  .page-hero .section-subtitle {
    font-size: 15px;
    line-height: 1.5;
  }

  body:has(.page-hero) .section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .nav-links {
    top: 60px;
    height: calc(100vh - 60px);
    height: calc(100svh - 60px);
  }

  .section-header,
  .section-header-row {
    margin-bottom: 30px;
  }

  body:has(.page-hero) .section-header,
  body:has(.page-hero) .section-header-center,
  body:has(.page-hero) .section-header-row {
    margin-bottom: 24px;
  }

  body:has(.page-hero) .section-title {
    font-size: clamp(26px, 7vw, 30px);
    line-height: 1.12;
    margin-bottom: 12px;
  }

  body:has(.page-hero) .section-subtitle {
    font-size: 15px;
    line-height: 1.5;
  }

  body:has(.page-hero) .reveal {
    opacity: 1;
    transform: none;
  }

  body {
    font-size: 16px;
  }

  .hero-bg::after {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.64) 0%,
      rgba(0, 0, 0, 0.5) 52%,
      rgba(0, 0, 0, 0.58) 100%
    );
  }

  .hero-label {
    font-size: 10px;
    letter-spacing: 0.16em;
    margin-bottom: 14px;
  }

  /* Overriding .hero h1 and .hero-subtitle removed so that the 768px fluid typography applies correctly on smaller screens. */
  .hero-ctas,
  .cta-buttons {
    max-width: 100%;
    gap: 6px;
  }

  .hero-ctas .btn,
  .cta-buttons .btn {
    font-size: 12px;
    padding: 10px 8px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .card-overlay {
    padding: 12px;
  }

  .card-arrow {
    display: none !important;
  }

  .card-title {
    font-size: 13px;
    line-height: 1.15;
  }

  .card-subtitle {
    font-size: 9px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Centered and scaled sector header for mobile view */
  .sector-page-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 260px;
    padding-top: 60px; /* clear the 60px mobile nav */
    padding-bottom: 20px;
    text-align: center;
    box-sizing: border-box;
  }

  .sector-page-header .container {
    width: 100%;
  }

  .sector-page-header h1 {
    font-size: clamp(28px, 7.6vw, 32px);
    line-height: 1.12;
    margin-bottom: 12px;
  }

  .sector-page-header .section-subtitle {
    font-size: 15px;
    line-height: 1.5;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .sector-page-header .section-label {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 8px;
  }

  body:has(.page-hero) .process-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body:has(.page-hero) .process-step {
    padding: 20px 18px;
  }

  body:has(.page-hero) .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card {
    aspect-ratio: 1 / 1;
  }

  body:has(.page-hero) .product-card-overlay {
    padding: 10px;
  }

  body:has(.page-hero) .product-card-title {
    font-size: 12px;
  }

  .product-summary-grid,
  .reference-grid,
  .sector-grid {
    grid-template-columns: 1fr;
  }

  .summary-card,
  .reference-item,
  .detail-panel {
    padding: 22px;
  }

  .sector-card-body {
    padding: 22px;
  }


  .product-card .card-arrow {
    width: 26px;
    height: 26px;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  body:has(.page-hero) .stat-item {
    padding: 22px 18px;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  body:has(.page-hero) .stat-item:last-child {
    border-bottom: none;
  }

  body:has(.page-hero) .filter-pills {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
    margin-bottom: 28px;
  }

  body:has(.page-hero) .filter-pills::-webkit-scrollbar {
    display: none;
  }

  body:has(.page-hero) .filter-pill {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 12px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .faq-question {
    font-size: 16px;
    padding: 20px 0;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 340px) {
  .hero-ctas .btn,
  .cta-buttons .btn {
    font-size: 11px;
    padding: 9px 6px;
  }

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

  body:has(.page-hero) .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (hover: none), (pointer: coarse) {
  .card:hover .card-image,
  .product-card:hover img {
    transform: none;
  }

  .process-step:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(26, 35, 50, 0.05);
  }

  .process-step:hover::before {
    width: 48px;
  }

  .process-step:hover .step-icon {
    transform: none;
  }

  .testimonial-card:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(26, 35, 50, 0.06);
  }

  .btn-primary:hover,
  .btn-whatsapp:hover,
  .btn-whatsapp-glass:hover,
  .btn-call-glass:hover,
  .btn-dark:hover,
  .whatsapp-float:hover {
    transform: none;
  }

  .card .card-arrow,
  .product-card .card-arrow {
    background-color: rgba(255, 255, 255, 0.2);
  }

  /* Active / pressed states for touch devices */
  .btn:active {
    transform: scale(0.97) !important;
  }

  .card:active,
  .product-card:active {
    transform: scale(0.98) !important;
  }

  .process-step:active {
    transform: scale(0.98) !important;
  }

  .testimonial-card:active {
    transform: scale(0.98) !important;
  }
}

/* ============================================
   SECTOR PAGE - Clean Header (no bg image)
   ============================================ */
.sector-page-header {
  padding-top: calc(95px + 60px);
  padding-bottom: 60px;
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
  text-align: center;
}
.sector-page-header .section-label {
  color: rgba(255,255,255,0.6);
}
.sector-page-header h1 {
  color: var(--color-text-inverse);
  margin-bottom: 16px;
}
.sector-page-header h1 em {
  font-style: italic;
  color: var(--color-accent);
}
.sector-page-header .section-subtitle {
  color: rgba(255,255,255,0.75);
  margin: 0 auto;
}

/* Clickable sector cards */
.sector-card {
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.sector-card-link-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.sector-card-link-badge svg {
  width: 14px;
  height: 14px;
}

/* Sector Modal */
.sector-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}
.sector-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.sector-modal {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  padding: 40px;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-base);
  max-height: 90vh;
  overflow-y: auto;
}
.sector-modal-overlay.open .sector-modal {
  transform: translateY(0);
}
.sector-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-text);
  transition: background var(--transition-fast);
}
.sector-modal-close:hover {
  background: var(--color-border);
}
.sector-modal-close svg {
  width: 18px;
  height: 18px;
}
.sector-modal h3 {
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--color-text);
}
.sector-modal p {
  color: var(--color-text-body);
  margin-bottom: 20px;
}
.sector-modal ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.sector-modal ul li {
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.sector-modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background var(--transition-fast);
}
.sector-modal-cta:hover {
  background: var(--color-accent-hover);
}
