/* ============================================================
   SSPL Hub + Surface Studio — Layout: Header, Nav, Footer, Grid
   ============================================================ */

/* ══════════════════════════════════════════════════════════════
   CONTAINERS & MASTER SECTIONS
   ══════════════════════════════════════════════════════════════ */

.container {
  width: 100%;
  max-width: var(--max-width, 1320px);
  margin-inline: auto;
  padding-inline: var(--gutter, clamp(1.25rem, 5vw, 3rem));
}

.container--narrow {
  max-width: var(--max-width-narrow, 900px);
}

.container--wide {
  max-width: var(--max-width-wide, 1560px);
}

.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-28));
  position: relative;
  background-color: var(--color-bg);
}

.section--sm {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}

.section--lg {
  padding-block: clamp(var(--space-20), 10vw, var(--space-32));
}

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

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

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

.section--warm {
  background-color: var(--color-surface-warm);
}

/* ══════════════════════════════════════════════════════════════
   HEADER & NAVIGATION
   ══════════════════════════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: var(--z-sticky);
  transition:
    background var(--duration-base) var(--ease),
    box-shadow var(--duration-base) var(--ease),
    border-color var(--duration-base) var(--ease);
}

/* Transparent at top (for hero pages) */
.site-header.is-transparent {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Scrolled / solid */
.site-header.is-scrolled {
  background: rgba(245, 241, 234, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 24px rgba(37, 37, 34, 0.06);
}

/* Always solid (inner pages) */
.site-header.is-solid {
  background: rgba(245, 241, 234, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.site-header.is-menu-open {
  background: rgba(245, 241, 234, 0.98) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border) !important;
  box-shadow: 0 4px 20px rgba(37, 37, 34, 0.08);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  transition:
    transform var(--duration-fast) var(--ease),
    opacity var(--duration-fast) var(--ease);
}

.nav__logo:hover .nav__logo-img {
  transform: scale(1.03);
}

/* Default / Solid header: show dark-text variant for light backgrounds */
.site-header.is-solid .nav__logo-img--dark,
.site-header.is-scrolled .nav__logo-img--dark {
  display: none !important;
}
.site-header.is-solid .nav__logo-img--light,
.site-header.is-scrolled .nav__logo-img--light {
  display: block !important;
}

/* Transparent header over dark hero: show light-text variant for dark backgrounds */
.site-header.is-transparent:not(.is-scrolled) .nav__logo-img--light {
  display: none !important;
}
.site-header.is-transparent:not(.is-scrolled) .nav__logo-img--dark {
  display: block !important;
}

.site-header.is-menu-open .nav__logo-img--dark {
  display: none !important;
}
.site-header.is-menu-open .nav__logo-img--light {
  display: block !important;
}

/* ══════════════════════════════════════════════════════════════
   FLOATING WHATSAPP BUTTON (Fixed Desktop Left Side)
   ══════════════════════════════════════════════════════════════ */
.floating-whatsapp {
  position: fixed;
  bottom: clamp(1.75rem, 3.5vw, 2.5rem);
  right: clamp(1.75rem, 3.5vw, 2.5rem);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 6px 24px rgba(37, 211, 102, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.18);
  z-index: 990;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--duration-fast, 0.2s) var(--ease),
    box-shadow var(--duration-fast, 0.2s) var(--ease),
    background var(--duration-fast, 0.2s) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.floating-whatsapp:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow:
    0 10px 28px rgba(37, 211, 102, 0.6),
    0 4px 10px rgba(0, 0, 0, 0.22);
  color: #ffffff;
}

.floating-whatsapp__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: waPulse 2.5s infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.floating-whatsapp__tooltip {
  position: absolute;
  right: calc(100% + 14px);
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  background: #161412;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-whatsapp__tooltip::before {
  content: "";
  position: absolute;
  left: 100%;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #161412;
}

.floating-whatsapp:hover .floating-whatsapp__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-4px);
}

/* Hide floating action buttons while mobile navigation drawer is open */
body.menu-is-open .floating-whatsapp,
body.menu-is-open .back-to-top {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__logo-primary {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: -0.01em;
  transition: color var(--duration-fast) var(--ease);
}

.nav__logo-secondary {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--duration-fast) var(--ease);
}

.is-transparent .nav__logo-primary {
  color: #fff;
}
.is-transparent .nav__logo-secondary {
  color: rgba(255, 255, 255, 0.6);
}

/* Brand divider pill */
.nav__brand-pill {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--color-surface-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 3px;
  flex-shrink: 0;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.nav__brand-btn {
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all var(--duration-fast) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.nav__brand-btn.active,
.nav__brand-btn:hover {
  background: var(--gradient-gold);
  color: #161412;
  font-weight: 600;
  box-shadow: 0 2px 12px var(--color-gold-glow);
}

.nav__brand-btn.active--teal,
.nav__brand-btn.active--forest {
  background: var(--color-forest);
  color: #fff;
}

/* Main links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  transition: color var(--duration-fast) var(--ease);
  white-space: nowrap;
}

.is-transparent .nav__link {
  color: rgba(255, 255, 255, 0.9);
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--duration-base) var(--ease);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-gold);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.is-transparent .nav__link:hover {
  color: var(--color-gold-bright);
}
.is-transparent .nav__link:hover::after {
  background: var(--color-gold-bright);
}

/* Dropdown */
.nav__item {
  position: relative;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + var(--space-4));
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: var(--space-2) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all var(--duration-base) var(--ease);
  z-index: var(--z-dropdown);
}

.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
  transition:
    background var(--duration-fast) var(--ease),
    color var(--duration-fast) var(--ease);
  white-space: nowrap;
}

.nav__dropdown-link:hover {
  background: var(--color-surface-warm);
  color: var(--color-accent);
  padding-left: var(--space-8);
}

/* Nav CTA */
.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px 6px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm, 6px);
  cursor: pointer;
  position: relative;
  z-index: 1100;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--duration-fast) var(--ease);
}

.nav__hamburger:hover {
  background: rgba(0, 0, 0, 0.05);
}

.site-header.is-transparent:not(.is-scrolled) .nav__hamburger:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--color-charcoal, #1a1816);
  border-radius: 2px;
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.2s ease,
    background-color 0.2s ease;
  transform-origin: center;
}

/* Transparent hero at top: white bars */
.site-header.is-transparent:not(.is-scrolled) .nav__hamburger:not(.open) span {
  background-color: #ffffff;
}

/* Scrolled or solid header: dark charcoal bars */
.site-header.is-scrolled .nav__hamburger span,
.site-header.is-solid .nav__hamburger span {
  background-color: var(--color-charcoal, #1a1816);
}

/* When drawer is open: high-contrast dark X */
.nav__hamburger.open span,
.site-header.is-menu-open .nav__hamburger span {
  background-color: var(--color-charcoal, #1a1816) !important;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ══════════════════════════════════════════════════════════════
   MOBILE NAVIGATION DRAWER (Clean Menu List with Real Submenus)
   ══════════════════════════════════════════════════════════════ */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height, 68px);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100vh - var(--nav-height, 68px));
  height: calc(100dvh - var(--nav-height, 68px));
  background: rgba(18, 16, 14, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1050;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav__mobile.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--color-surface, #faf8f5);
  padding: var(--space-6) var(--gutter) var(--space-12);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.16);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav__mobile.open .mobile-menu__inner {
  transform: translateX(0);
}

.mobile-nav-brand-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--color-surface-warm, #f3eee6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full, 9999px);
  padding: 4px;
  margin-bottom: var(--space-4);
  max-width: 320px;
  margin-inline: auto;
}

.mobile-nav-brand-pill .nav__brand-btn {
  flex: 1;
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-full, 9999px);
  transition: all var(--duration-fast, 0.2s) var(--ease);
}

.mobile-nav-brand-pill .nav__brand-btn.active,
.mobile-nav-brand-pill .nav__brand-btn:hover {
  background: var(
    --gradient-gold,
    linear-gradient(135deg, #c59b4e 0%, #dfb76c 100%)
  );
  color: #161412;
  box-shadow: 0 2px 8px rgba(197, 155, 78, 0.32);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
}

.mobile-nav-group {
  display: flex;
  flex-direction: column;
}

.mobile-nav-item {
  display: block;
  font-family: var(--font-display, "Playfair Display", Georgia, serif);
  font-size: clamp(1.12rem, 4.2vw, 1.3rem);
  font-weight: 500;
  color: var(--color-text, #161412);
  text-decoration: none;
  padding: 15px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  transition: all var(--duration-fast, 0.2s) var(--ease);
  letter-spacing: 0.01em;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--color-gold, #c59b4e);
  background: rgba(197, 155, 78, 0.07);
  padding-left: 18px;
  border-left: 3px solid var(--color-gold, #c59b4e);
}

/* Collapsible Menu Sublist (Collapsed by default, opens on click) */
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-indicator {
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 20px;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.2s ease;
  user-select: none;
  flex-shrink: 0;
}

.mobile-nav-group.open .mobile-nav-indicator {
  transform: rotate(45deg);
  color: var(--color-gold);
}

.mobile-nav-sublist {
  display: none;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding: 4px 0 8px;
}

.mobile-nav-group.open .mobile-nav-sublist {
  display: flex;
  animation: mobileSubFade 0.25s ease;
}

@keyframes mobileSubFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-subitem {
  display: block;
  font-family: var(--font-body, system-ui, -apple-system, sans-serif);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--color-text-muted, #55504a);
  text-decoration: none;
  padding: 10px 14px 10px 28px;
  position: relative;
  transition: all var(--duration-fast, 0.2s) var(--ease);
  line-height: 1.4;
}

.mobile-nav-subitem::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  transform: translateY(-50%);
  transition: all var(--duration-fast, 0.2s) var(--ease);
}

.mobile-nav-subitem:hover,
.mobile-nav-subitem.active {
  color: var(--color-gold, #c59b4e);
  background: rgba(197, 155, 78, 0.06);
  padding-left: 32px;
}

.mobile-nav-subitem:hover::before,
.mobile-nav-subitem.active::before {
  background: var(--color-gold, #c59b4e);
  width: 6px;
  height: 6px;
}

.mobile-nav-subitem--highlight {
  color: var(--color-gold, #c59b4e) !important;
  font-weight: 600;
}

/* Direct Contact Action Bar inside Drawer */
.mobile-drawer-contact {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}

.mobile-drawer-consult-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 13px 18px;
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--radius-md, 8px);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--color-surface-dark);
  color: var(--color-text-light);
  padding-top: clamp(var(--space-12), 6vw, var(--space-20));
  padding-bottom: var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: clamp(var(--space-6), 2.5vw, var(--space-10));
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
}

.footer-logo {
  display: inline-block;
  margin-bottom: var(--space-4);
  text-decoration: none;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  transition: transform var(--duration-fast) var(--ease);
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.03);
}

.footer-logo__primary {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: #fff;
}

.footer-logo__secondary {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-light-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
  max-width: 36ch;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: 0.84rem;
  line-height: 1.5;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-text-light-muted);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}

.footer-contact-item:hover {
  color: var(--color-gold-hover);
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-gold);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease);
}

.footer-social-link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* Footer nav columns */
.footer-col {
}

.footer-col__title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-col__chevron {
  display: none;
}

.footer-col__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col__link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition:
    color var(--duration-fast) var(--ease),
    padding-left var(--duration-fast) var(--ease);
}

.footer-col__link:hover {
  color: var(--color-gold-bright);
  padding-left: 4px;
}

/* Footer divider brand section */
.footer-brand-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-6);
  margin-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-brand-divider__brands {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-brand-tag {
  padding: 4px 12px;
  font-size: 12px;
  text-decoration: none;
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease);
}

.footer-brand-tag--sspl {
  background: rgba(197, 155, 78, 0.15);
  border: 1px solid var(--color-border-gold);
  color: var(--color-gold-bright);
}

.footer-brand-tag--studio {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.footer-brand-tag:hover {
  opacity: 0.85;
}

.footer-ecosystem-note {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* Footer bottom bar */
.footer-bottom {
  margin-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-bottom__copy {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.footer-bottom__links {
  display: flex;
  gap: var(--space-5);
}

.footer-bottom__link {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}

.footer-bottom__link:hover {
  color: var(--color-gold-bright);
}

/* ══════════════════════════════════════════════════════════════
   GRID SYSTEMS
   ══════════════════════════════════════════════════════════════ */

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

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

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

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.grid-auto--sm {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.grid-auto--lg {
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}

/* Feature split (text + image) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: center;
}

.split--reverse {
  direction: rtl;
}
.split--reverse > * {
  direction: ltr;
}

.split--60-40 {
  grid-template-columns: 3fr 2fr;
}
.split--40-60 {
  grid-template-columns: 2fr 3fr;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════════ */

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

@media (max-width: 860px) {
  .split,
  .split--60-40,
  .split--40-60 {
    grid-template-columns: 1fr;
  }
  .split--reverse {
    direction: ltr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Switch from desktop horizontal menu to tablet/mobile navigation below 1200px */
@media (max-width: 1199px) {
  :root {
    --nav-height: 68px;
  }

  .site-header {
    height: 68px;
  }

  .nav {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-inline: clamp(16px, 3vw, 32px);
    gap: var(--space-3);
  }

  .nav__links {
    display: none !important;
  }

  .nav__hamburger {
    display: flex !important;
    margin-left: var(--space-2);
    flex-shrink: 0;
  }

  .nav__mobile {
    display: block;
  }

  .nav__logo-img {
    height: 44px;
    max-width: 155px;
  }
}

/* Tablet view (768px - 1199px): Dedicated tablet header layout with Brand Pill + CTA */
@media (min-width: 768px) and (max-width: 1199px) {
  .nav__logo {
    flex-shrink: 0;
  }

  .nav__brand-pill {
    display: inline-flex !important;
    padding: 3px;
    font-size: 11px;
    margin-left: var(--space-3);
    margin-right: auto;
  }

  .nav__brand-btn {
    padding: 4px 12px;
    font-size: 11px;
    letter-spacing: 0.05em;
  }

  .nav__cta {
    display: inline-flex !important;
    margin-left: auto;
  }

  .nav__cta .btn {
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
  }
}

/* Mobile view (< 768px): Header with prominent brand pill for seamless company switching */
@media (max-width: 767px) {
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-inline: clamp(10px, 3vw, 16px);
  }

  .nav__logo {
    margin-right: 0;
    flex-shrink: 0;
  }

  .nav__logo-img {
    height: 32px;
    max-width: 110px;
  }

  .nav__brand-pill {
    display: inline-flex !important;
    align-items: center;
    padding: 2px;
    font-size: 10px;
    margin-left: auto;
    margin-right: 6px;
    background: var(--color-surface-warm);
    border: 1px solid var(--color-border);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
  }

  .is-transparent .nav__brand-pill {
    background: rgba(23, 20, 18, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
  }

  .is-transparent .nav__brand-btn {
    color: rgba(255, 255, 255, 0.8);
  }

  .is-transparent .nav__brand-btn.active,
  .is-transparent .nav__brand-btn:hover {
    color: #161412;
  }

  .nav__brand-btn {
    padding: 3px 8px;
    font-size: 9.5px;
    letter-spacing: 0.03em;
    font-weight: 500;
  }

  .nav__brand-btn.active {
    font-weight: 600;
  }

  .nav__hamburger {
    flex-shrink: 0;
    margin-left: 0;
  }

  .nav__cta {
    display: none !important;
  }

  .mobile-menu__inner {
    max-width: 100%;
  }
}

@media (max-width: 360px) {
  .nav__logo-img {
    height: 28px;
    max-width: 90px;
  }

  .nav__brand-btn {
    padding: 2px 6px;
    font-size: 8.5px;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding-top: clamp(2.5rem, 6vw, 3.5rem);
    padding-bottom: calc(var(--space-8) + 54px);
  }
  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: var(--space-4);
    border-bottom: none;
  }
  .footer-brand {
    padding-bottom: var(--space-6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: var(--space-2);
  }
  .footer-tagline {
    max-width: 100%;
    margin-bottom: var(--space-4);
    font-size: 13.5px;
    line-height: 1.6;
  }
  .footer-social {
    margin-top: var(--space-3);
    gap: 12px;
  }
  .footer-col--collapsible {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-col--collapsible .footer-col__title {
    padding: 15px 4px;
    margin: 0;
    border-bottom: none;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-gold);
  }
  .footer-col--collapsible .footer-col__chevron {
    display: block;
    width: 16px;
    height: 16px;
    color: var(--color-gold);
    transition: transform 0.25s var(--ease);
  }
  .footer-col--collapsible .footer-col__links,
  .footer-col--collapsible .footer-contacts {
    display: none;
    padding: 4px 4px 16px;
    margin: 0;
  }
  .footer-col--collapsible.is-open .footer-col__links,
  .footer-col--collapsible.is-open .footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .footer-col--collapsible.is-open .footer-col__chevron {
    transform: rotate(180deg);
  }
  .footer-col__link {
    font-size: 14px;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.65);
    display: block;
  }
  .footer-contact-item {
    font-size: 13.5px;
    padding: 4px 0;
    line-height: 1.5;
  }
  .footer-brand-divider {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-4);
    padding-block: var(--space-6);
    margin-top: var(--space-4);
  }
  .footer-brand-divider__brands {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .footer-brand-tag {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-3);
    padding-block: var(--space-4);
    margin-top: var(--space-4);
  }
  .footer-bottom__links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    order: 1;
  }
  .footer-bottom__copy {
    order: 2;
    margin-top: var(--space-2);
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav {
    gap: var(--space-2);
  }
  .nav__logo-img {
    height: 38px;
    max-width: 125px;
  }
  .nav__hamburger {
    width: 40px;
    height: 40px;
  }
  .nav__hamburger span {
    width: 20px;
  }
  .floating-whatsapp {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
    left: auto;
  }
  .floating-whatsapp__tooltip {
    display: none !important;
  }
  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
