/* ==========================================================================
   EUROFER SERRALHERIA - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Manrope:wght@300;400;500;600;700&display=swap');

/* Color & Variable Declarations */
:root {
  --color-black: #080808;
  --color-graphite: #121212;
  --color-white: #FFFFFF;
  --color-gold: #D4AF37;
  --color-gold-dark: #B3922E;
  --color-gold-light: #F3E5AB;
  --color-gray-light: #F4F4F4;
  --color-gray-dark: #1E1E1E;
  
  --font-title: 'Sora', sans-serif;
  --font-sub: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;
  
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  
  --shadow-subtle: 0 4px 30px rgba(0, 0, 0, 0.15);
  --shadow-premium: 0 30px 60px rgba(0, 0, 0, 0.6);
  --border-radius: 4px;
  --border-radius-lg: 8px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

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

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: normal;
}

.giant-title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  font-family: var(--font-title);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
}

.section-title span {
  color: var(--color-gold);
}

.section-subtitle {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.lead-text {
  font-size: 1.2rem;
  color: #CCCCCC;
  line-height: 1.6;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-black);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(27, 27, 27, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
  background: rgba(27, 27, 27, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-subtle);
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(200, 163, 77, 0.3);
  box-shadow: 0 10px 30px rgba(200, 163, 77, 0.05);
  transform: translateY(-5px);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 3rem;
}

.section-padding {
  padding: 5rem 0;
}

.bg-dark {
  background-color: var(--color-black);
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 2.6rem;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  line-height: 1;
  box-sizing: border-box;
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.btn-gold:hover {
  background: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.05);
}

.btn-white:hover {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

/* Floating Elements */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* ==========================================================================
   1. NAVIGATION HEADER
   ========================================================================== */
.main-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 94%;
  max-width: 1660px;
  z-index: 1000;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0.8rem 2.5rem;
  border-radius: 100px;
  background: rgba(13, 13, 13, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.main-header.scrolled {
  top: 12px;
  padding: 0.6rem 2.5rem;
  background: rgba(8, 8, 8, 0.85);
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: 2rem;
  flex-shrink: 0;
}

.logo img {
  height: 60px;
  width: auto;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header.scrolled .logo img {
  height: 48px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.8rem;
}

.nav-link {
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.header-actions .btn {
  height: 44px;
  padding: 0 1.8rem;
  font-size: 0.8rem;
}

.header-phone {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.header-phone svg {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
}

/* Mobile Menu Button */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  transition: var(--transition-smooth);
  background-color: var(--color-white);
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero {
  height: 100vh;
  min-height: 800px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-black);
}

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

/* Desktop/Padrão (> 768px): mostra landscape, esconde portrait */
@media (min-width: 769px) {
  .hero-video-mobile {
    display: none;
  }
  .services-video-mobile {
    display: none;
  }
}

/* Mobile (≤ 768px): mostra portrait, esconde landscape */
@media (max-width: 768px) {
  .hero-video-desktop {
    display: none;
  }
  .hero-video-mobile {
    display: block;
    object-position: center center;
  }

  .services-video-desktop {
    display: none;
  }
  .services-video-mobile {
    display: block;
    object-position: center center;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.72) 0%, rgba(8, 8, 8, 0.45) 50%, rgba(8, 8, 8, 0.10) 100%),
              linear-gradient(0deg, rgba(8, 8, 8, 0.70) 0%, rgba(8, 8, 8, 0) 55%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  width: 100%;
  padding-top: 8.5rem;
  padding-bottom: 2rem;
}

.hero-tagline {
  display: block;
  font-family: var(--font-title);
  font-size: 0.75rem;
  color: var(--color-gold);
  letter-spacing: 0.25em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  max-width: 560px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: normal;
  max-width: 850px;
}

.hero-title .highlight-gold {
  color: var(--color-gold);
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 60%, var(--color-gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2.2rem;
  max-width: 520px;
  font-weight: 400;
  line-height: 1.85;
  text-align: left;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
  margin-bottom: 3.5rem;
  max-width: 560px;
}

.hero-btns .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-btns .btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* Metrics in Hero Content */
.hero-metrics {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.metric-item:last-child {
  align-items: flex-end;
  text-align: right;
}

.metric-num {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.metric-details {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.metric-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1.5px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Hero Features and Solutions Header (Mockup Alignment) */
.hero-features-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 2.5rem;
  margin-bottom: 3.5rem;
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex: 1;
}

.feature-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: 2rem;
}

.feature-icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 1.5;
}

.feature-text h4 {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin: 0 0 0.15rem 0;
}

.feature-text span {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

.solutions-header {
  margin-bottom: 3.5rem;
}

.gold-line {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-title);
  font-size: 0.75rem;
  color: var(--color-gold);
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.gold-line::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-gold);
}

.solutions-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.solutions-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 500px;
  line-height: 1.6;
}

.division-section {
  margin-top: -2.5rem;
  position: relative;
  z-index: 20;
  padding-bottom: 2rem;
}

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

.division-card {
  position: relative;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 2rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.division-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.division-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.1) 0%, rgba(13, 13, 13, 0.85) 100%);
  z-index: 2;
  transition: background 0.4s ease;
}

.division-content {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.division-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.division-card h3 {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  color: var(--color-white);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.5px;
}

.division-sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.division-arrow {
  width: 20px;
  height: 20px;
  fill: var(--color-gold);
  opacity: 0.7;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
}

/* Hover effects */
.division-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 163, 77, 0.4);
  box-shadow: 0 20px 40px rgba(200, 163, 77, 0.1);
}

.division-card:hover .division-bg {
  transform: scale(1.08);
}

.division-card:hover .division-overlay {
  background: linear-gradient(180deg, rgba(13, 13, 13, 0) 0%, rgba(13, 13, 13, 0.95) 100%);
}

.division-card:hover .division-arrow {
  opacity: 1;
  transform: translateX(5px);
}

/* ==========================================================================
   4. SERVICES SECTION (HORIZONTAL SNAP SCROLL) + VIDEO BACKGROUND
   ========================================================================== */

/* Section container — video sits behind content */
.services-section-video {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

/* The actual <video> element */
.services-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

/* Dark overlay so text stays readable over the video */
.services-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 8, 8, 0.82) 0%,
    rgba(8, 8, 8, 0.70) 50%,
    rgba(8, 8, 8, 0.85) 100%
  );
  z-index: 1;
}

/* Push all content above the video + overlay */
.services-section-video .container {
  position: relative;
  z-index: 2;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.services-nav-btns {
  display: flex;
  gap: 1rem;
}

.services-nav-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.services-nav-btn:hover {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
}

.services-nav-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.services-scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding-bottom: 2rem;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}

.services-scroll-container::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.service-large-card {
  flex: 0 0 420px;
  scroll-snap-align: start;
  height: 520px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.15) 0%, rgba(13, 13, 13, 0.88) 100%);
  z-index: 2;
  transition: background 0.4s ease;
}

.service-card-content {
  position: relative;
  z-index: 3;
  padding: 2.5rem 2rem;
  width: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card-text {
  transition: var(--transition-smooth);
}

.service-card-text h3 {
  font-family: var(--font-sub);
  font-size: 1.4rem;
  color: var(--color-white);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.5px;
}

.service-card-text p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.4s ease, margin-top 0.3s ease;
}

.service-card-btn {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.service-card-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

/* Hover Animation on Card */
.service-large-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 163, 77, 0.4);
}

.service-large-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-large-card:hover .service-card-image::after {
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.05) 0%, rgba(13, 13, 13, 0.95) 100%);
}

.service-large-card:hover .service-card-text p {
  opacity: 1;
  max-height: 90px;
  margin-top: 0.8rem;
}

.service-large-card:hover .service-card-btn {
  opacity: 1;
  transform: translateY(0);
  margin-top: 0.5rem;
}

.service-large-card:hover .service-card-btn svg {
  transform: translateX(4px);
}

/* ==========================================================================
   5. WHY CHOOSE EUROFER (NUMBERS GRID)
   ========================================================================== */
.why-section {
  position: relative;
  background-color: var(--color-black);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.number-card {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(27, 27, 27, 0.4) 0%, rgba(13, 13, 13, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
}

.number-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-gold);
}

.giant-number {
  font-family: var(--font-title);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.number-label {
  font-family: var(--font-sub);
  font-size: 1.05rem;
  text-transform: uppercase;
  color: #CCCCCC;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   6. PORTFOLIO SECTION (PINTEREST MASONRY + LIGHTBOX)
   ========================================================================== */
.portfolio-header {
  text-align: center;
  margin-bottom: 4rem;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  padding: 1rem 2.2rem;
  font-family: var(--font-sub);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
  box-shadow: 0 6px 15px rgba(200, 163, 77, 0.2);
}

/* Pinterest Masonry Layout */
.portfolio-masonry {
  column-count: 3;
  column-gap: 1.5rem;
  width: 100%;
}

.portfolio-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.portfolio-item img {
  width: 100%;
  display: block;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(13,13,13,0.9) 0%, rgba(13,13,13,0.4) 60%, rgba(13,13,13,0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.portfolio-tag {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.portfolio-item-title {
  font-size: 1.2rem;
  color: var(--color-white);
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(200, 163, 77, 0.3);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item:hover .portfolio-hover {
  opacity: 1;
}

.portfolio-item:hover .portfolio-item-title {
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  margin-top: 1rem;
  color: var(--color-white);
  font-family: var(--font-sub);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
}

.lightbox-close {
  position: absolute;
  top: -2rem;
  right: 0;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-nav:hover {
  background: var(--color-gold);
  color: var(--color-black);
}

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

@media (max-width: 1100px) {
  .lightbox-prev { left: 1rem; top: auto; bottom: -4rem; transform: none;}
  .lightbox-next { right: 1rem; top: auto; bottom: -4rem; transform: none;}
}

/* ==========================================================================
   7. INTERACTIVE GATE SIMULATOR (LAPTOP/TABLET CONTAINER)
   ========================================================================== */
.simulator-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

/* Elegant Laptop Frame Mockup */
.device-mockup {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.laptop-screen {
  background: #1e1e1e;
  border: 12px solid #080808;
  border-radius: 20px 20px 0 0;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.laptop-base {
  height: 14px;
  background: #2a2a2a;
  border-bottom: 4px solid #1f1f1f;
  border-radius: 0 0 16px 16px;
  position: relative;
  width: 108%;
  left: -4%;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.laptop-base::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 6px;
  background: #111111;
  border-radius: 0 0 6px 6px;
}

/* Gate simulation drawing container */
.simulation-viewport {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #1b202e 0%, #0d0f14 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.simulation-bg-house {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Gate Outer Container */
.gate-sim-frame {
  width: 80%;
  height: 60%;
  border: 8px solid #333333;
  border-radius: 4px;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

/* Sliding Gate Leaf */
.gate-sim-leaf {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--gate-color, #1B1B1B);
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1), background-color 0.4s ease;
  display: grid;
  align-content: stretch;
  padding: 8px;
  gap: 6px;
}

/* Gate styles (slats/grid) via Javascript injected layout or CSS */
.gate-sim-leaf.style-slats-h {
  grid-template-rows: repeat(8, 1fr);
  grid-template-columns: 1fr;
}
.gate-sim-leaf.style-slats-h .gate-bar {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 2px solid rgba(0, 0, 0, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gate-sim-leaf.style-slats-v {
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 1fr;
}
.gate-sim-leaf.style-slats-v .gate-bar {
  background: rgba(255, 255, 255, 0.05);
  border-right: 2px solid rgba(0, 0, 0, 0.4);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.1);
}

.gate-sim-leaf.style-solid {
  grid-template-columns: 1fr;
  padding: 0;
}
.gate-sim-leaf.style-solid .gate-bar {
  height: 100%;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.01), rgba(255,255,255,0.01) 10px, transparent 10px, transparent 20px);
}

.gate-sim-leaf.style-perforated {
  grid-template-columns: 1fr;
  padding: 0;
}
.gate-sim-leaf.style-perforated .gate-bar {
  height: 100%;
  background-image: radial-gradient(rgba(255,255,255,0.08) 15%, transparent 20%);
  background-size: 12px 12px;
}

/* Texture classes */
.finish-matte {
  filter: brightness(0.9) contrast(1.1);
}
.finish-gloss {
  box-shadow: inset 0 20px 40px rgba(255, 255, 255, 0.15), inset 0 -20px 40px rgba(0, 0, 0, 0.6);
}
.finish-brushed {
  background-image: linear-gradient(90deg, rgba(255,255,255,0.03) 50%, transparent 50%);
  background-size: 4px 100%;
}

/* Animations for gate simulator opening */
.gate-sim-frame.open-sliding .gate-sim-leaf {
  transform: translateX(95%);
}

.gate-sim-frame.open-basculante .gate-sim-leaf {
  transform: translateY(-90%) rotateX(75deg);
  transform-origin: top center;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

/* Simulator controls */
.simulator-controls {
  padding: 2.5rem;
}

.sim-control-group {
  margin-bottom: 2rem;
}

.sim-control-label {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 1rem;
  display: block;
}

.sim-options {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.sim-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-subtle);
}

.sim-swatch:hover {
  transform: scale(1.1);
}

.sim-swatch.active {
  border-color: var(--color-gold);
  transform: scale(1.1);
}

.sim-btn-option {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition-fast);
}

.sim-btn-option:hover,
.sim-btn-option.active {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

.sim-action-btn {
  width: 100%;
  margin-top: 1.5rem;
  background: var(--color-gold);
  color: var(--color-black);
}

/* ==========================================================================
   8. PROCESS TIMELINE (DIFFERENTIALS)
   ========================================================================== */
.timeline-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  margin-top: 4rem;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.timeline-node {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-graphite);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-subtle);
}

.timeline-step:hover .timeline-node,
.timeline-step.active .timeline-node {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-black);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(200, 163, 77, 0.4);
}

.timeline-content h3 {
  font-family: var(--font-sub);
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.8rem;
  color: #AAAAAA;
  max-width: 180px;
  margin: 0 auto;
  line-height: 1.4;
}

/* ==========================================================================
   9. TESTIMONIALS SECTION (SLIDER)
   ========================================================================== */
.testimonials-slider-container {
  overflow: hidden;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonials-track {
  display: flex;
  transition: var(--transition-smooth);
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-gold);
  margin-bottom: 1.5rem;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-avatar.letter-avatar {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.stars {
  color: var(--color-gold);
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  line-height: 1.6;
  color: #DDDDDD;
  max-width: 750px;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-client {
  font-family: var(--font-sub);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--color-white);
}

.testimonial-company {
  font-size: 0.75rem;
  color: var(--color-gold);
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background: var(--color-gold);
  transform: scale(1.3);
}

/* ==========================================================================
   10. MAP & CTA SECTIONS
   ========================================================================== */
.map-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 4rem;
}

.map-container {
  height: 450px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-premium);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(0.9) contrast(1.2);
}

/* Golden CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-gold-dark) 100%);
  color: var(--color-black);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--color-black);
  text-transform: uppercase;
}

.cta-section p {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(13, 13, 13, 0.8);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.cta-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.footer {
  background-color: #060606;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-info img {
  height: 48px;
  margin-bottom: 1.5rem;
}

.footer-info p {
  color: #888888;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 250px;
}

.footer-column h3 {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 1.8rem;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: #888888;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: 5px;
}

.footer-contacts li {
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #888888;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contacts svg {
  width: 14px;
  height: 14px;
  fill: var(--color-gold);
}

.qr-code-box {
  background: var(--color-graphite);
  padding: 1rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: inline-block;
}

.qr-code-box img {
  width: 100px;
  height: 100px;
  background: white;
  padding: 4px;
  border-radius: 4px;
}

.qr-code-box span {
  display: block;
  font-size: 0.65rem;
  text-align: center;
  color: #888888;
  margin-top: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #555555;
}

/* ==========================================================================
   12. MODAL FORM SECTION
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(8px);
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-box {
  background: var(--color-graphite);
  border: 1px solid rgba(200, 163, 77, 0.2);
  border-radius: var(--border-radius-lg);
  max-width: 500px;
  width: 90%;
  padding: 3rem;
  position: relative;
  box-shadow: var(--shadow-premium);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-box h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.modal-box p {
  font-size: 0.85rem;
  color: #888888;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.2rem;
  position: relative;
}

.form-input {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.2rem;
  color: var(--color-white);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 10px rgba(200, 163, 77, 0.1);
}

select.form-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8A34D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 16px;
  padding-right: 3rem;
  color: var(--color-white) !important;
}

select.form-input option {
  background-color: #1a1a1a !important;
  color: #ffffff !important;
  padding: 12px;
}

textarea.form-input {
  height: 100px;
  resize: none;
}

/* ==========================================================================
   13. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
  .division-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .simulator-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 1150px) {
  .main-header {
    padding: 1rem 0;
  }
  .hamburger {
    display: block;
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(13,13,13,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s ease;
    z-index: 1000;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .header-actions {
    margin-right: 3rem;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .timeline-track {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .timeline-track::before {
    display: none;
  }
  .timeline-step {
    flex-direction: row;
    text-align: left;
    gap: 1.5rem;
  }
  .timeline-node {
    margin-bottom: 0;
  }
  
  .map-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-info {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .header-actions .btn {
    display: none;
  }

  .header-phone span {
    display: none;
  }

  .header-phone svg {
    width: 20px;
    height: 20px;
  }
  
  .hero {
    height: auto;
    min-height: auto;
    padding-top: 6.5rem;
    padding-bottom: 2rem;
  }

  .hero-content {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .hero-title {
    font-size: 2.3rem;
    line-height: 1.15;
    margin-bottom: 1rem;
  }
  
  .hero-tagline {
    margin-bottom: 0.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .hero-btns {
    flex-direction: column;
    gap: 0.8rem;
    align-items: stretch;
    padding: 0;
    margin-bottom: 3rem;
  }

  .hero-btns .btn {
    width: 100%;
    height: 52px;
  }
  
  .hero-metrics {
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.2rem;
  }

  .metric-item {
    flex: 1;
  }

  .metric-item:last-child {
    text-align: right;
  }

  .metric-num {
    font-size: 1.5rem;
  }

  .metric-label {
    font-size: 0.55rem;
    letter-spacing: 0.5px;
  }

  /* Mobile Features Row */
  .hero-features-row {
    flex-direction: row;
    gap: 0.6rem;
    padding-bottom: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .feature-item {
    gap: 0.5rem;
  }

  .feature-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding-right: 0.6rem;
  }

  .feature-icon {
    width: 22px;
    height: 22px;
  }

  .feature-text h4 {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
  }

  .feature-text span {
    font-size: 0.48rem;
    letter-spacing: 0.5px;
  }

  .solutions-header {
    margin-bottom: 2.5rem;
  }

  .solutions-title {
    font-size: 1.8rem;
  }

  .solutions-desc {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .division-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .portfolio-masonry {
    column-count: 2;
    column-gap: 1.2rem;
  }
  
  .service-large-card {
    flex: 0 0 320px;
    height: 500px;
  }
  .service-large-card:hover .service-card-content {
    height: 55%;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .why-numbers {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-info {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
  .portfolio-masonry {
    column-count: 1;
    column-gap: 0;
  }
  .division-card {
    height: 260px;
  }
}

/* ==========================================================================
   PORTFOLIO LIGHTBOX MODAL STYLING
   ========================================================================== */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  opacity: 0;
  pointer-events: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

#lightbox.active .lightbox-content {
  transform: scale(1);
  opacity: 1;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-premium);
}

.lightbox-caption {
  margin-top: 1.5rem;
  font-family: var(--font-sub);
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 500;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 3rem;
  cursor: pointer;
  z-index: 2010;
  line-height: 1;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--color-gold);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-size: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2010;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.lightbox-nav:hover {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
  box-shadow: 0 0 20px rgba(200, 163, 77, 0.4);
}

.lightbox-prev {
  left: 3rem;
}

.lightbox-next {
  right: 3rem;
}

body.no-scroll {
  overflow: hidden;
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 1rem;
  }
  .lightbox-next {
    right: 1rem;
  }
  .lightbox-nav {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
  .lightbox-content {
    max-width: 90%;
  }
  .lightbox-close {
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   ARCHITECTS PARTNERSHIP SECTION STYLING
   ========================================================================== */
.architect-section {
  position: relative;
  overflow: hidden;
}

.architect-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.architect-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.architect-card {
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  background: rgba(27, 27, 27, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-smooth);
}

.architect-card h3 {
  font-family: var(--font-sub);
  font-size: 1.15rem;
  color: var(--color-white);
  margin-bottom: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.architect-card h3 span {
  color: var(--color-gold);
  margin-right: 0.3rem;
}

.architect-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #AAAAAA;
}

.architect-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 163, 77, 0.3);
  background: rgba(27, 27, 27, 0.6);
  box-shadow: 0 10px 30px rgba(200, 163, 77, 0.05);
}

@media (max-width: 992px) {
  .architect-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .architect-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   10. FLOATING GOOGLE TRUST BADGE
   ========================================================================== */
.google-trust-badge {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.google-trust-badge:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 163, 77, 0.4);
  box-shadow: 0 12px 36px rgba(200, 163, 77, 0.15);
  background: rgba(13, 13, 13, 0.85);
}

.badge-google-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  padding: 6px;
}

.badge-google-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.badge-content {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
}

.badge-stars {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.1rem;
}

.badge-stars .rating-number {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
}

.badge-stars .stars-gold {
  color: var(--color-gold);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

.badge-reviews {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: #AAAAAA;
  margin-top: 0.1rem;
}

/* Adjust badge on mobile/tablet screens to avoid cluttering */
@media (max-width: 768px) {
  .google-trust-badge {
    bottom: 1.5rem;
    left: 1.5rem;
    padding: 0.5rem 0.8rem;
    gap: 0.6rem;
  }
  
  .badge-google-icon {
    width: 28px;
    height: 28px;
    padding: 5px;
  }
  
  .badge-title {
    font-size: 0.7rem;
  }
  
  .badge-stars .rating-number {
    font-size: 0.8rem;
  }
  
  .badge-reviews {
    display: none; /* Hide reviews count text on very small screens to keep it compact */
  }
}

/* ==========================================================================
   PORTFOLIO CAROUSEL
   ========================================================================== */

.portfolio-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.portfolio-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
  padding-bottom: 0.5rem;
}

.portfolio-carousel::-webkit-scrollbar {
  display: none;
}

.portfolio-slide {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 280px;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #111;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.portfolio-slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.portfolio-slide:hover img {
  transform: scale(1.05);
}

.slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.2rem 1.2rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
  transform: translateY(0);
}

.slide-info .portfolio-tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.4rem;
}

.slide-info h3 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

/* Carousel nav buttons */
.pf-carousel-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.pf-carousel-btn:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #000;
}

.pf-carousel-btn svg {
  width: 22px;
  height: 22px;
}

/* Carousel dots */
.pf-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.pf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.pf-dot.active {
  background: var(--color-gold);
  width: 24px;
  border-radius: 4px;
}

/* ==========================================================================
   MOBILE NAVIGATION - NEW DROPDOWN
   ========================================================================== */

/* Hide mobile components on desktop */
.mobile-header-right {
  display: none;
}

.mobile-nav-overlay {
  display: none;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  border-radius: 20px;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.7);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 1rem 0 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s, background 0.2s;
}

.mobile-nav-link:last-of-type {
  border-bottom: none;
}

.mobile-nav-link svg {
  width: 18px;
  height: 18px;
  opacity: 0.4;
  transition: opacity 0.2s, transform 0.2s;
}

.mobile-nav-link:hover {
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.06);
}

.mobile-nav-link:hover svg {
  opacity: 1;
  transform: translateX(4px);
}

.mobile-nav-cta {
  padding: 1rem 1.2rem 1.2rem;
  margin-top: 0.5rem;
}

/* Mobile phone icon button */
.mobile-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  color: var(--color-gold);
  text-decoration: none;
  transition: background 0.2s;
}

.mobile-phone-btn:hover {
  background: rgba(212, 175, 55, 0.3);
}

.mobile-phone-btn svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   COMPREHENSIVE MOBILE LAYOUT (≤ 768px — iPhone XR and similar)
   ========================================================================== */

@media (max-width: 768px) {

  /* --- Global fixes --- */
  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  /* --- Header mobile --- */
  .main-header {
    top: 10px;
    width: 94%;
    padding: 0.7rem 1.1rem;
    border-radius: 16px;
  }

  .main-header.scrolled {
    top: 8px;
    padding: 0.6rem 1.1rem;
  }

  /* Show mobile header right, hide desktop elements */
  .mobile-header-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .mobile-nav-overlay {
    display: block;
  }

  .nav-menu,
  .header-actions {
    display: none !important;
  }

  .logo img {
    height: 44px;
  }

  .main-header.scrolled .logo img {
    height: 38px;
  }

  /* Hamburger */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
  }

  .hamburger .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .hamburger.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.open .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .hamburger.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* --- Hero mobile --- */
  .hero {
    min-height: 100svh;
    padding-top: 0;
  }

  .hero-content {
    padding-top: 100px;
    padding-bottom: 2rem;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .hero-tagline {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    margin-bottom: 1rem;
  }

  .hero-title,
  .giant-title {
    font-size: clamp(2.8rem, 14vw, 4.5rem) !important;
    line-height: 1.0 !important;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.75);
  }

  .hero-btns {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    margin-bottom: 2rem;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
    height: 52px;
    font-size: 0.8rem;
  }

  .hero-metrics {
    flex-direction: row;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    margin-bottom: 1rem;
  }

  .metric-num {
    font-size: 1.4rem;
  }

  .metric-label {
    font-size: 0.65rem;
  }

  /* --- Division cards mobile --- */
  .hero-features-row {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
  }

  .feature-item {
    gap: 0.8rem;
  }

  .solutions-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .division-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .division-card {
    height: 160px;
    border-radius: 12px;
  }

  .division-content h3 {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }

  .division-sub {
    font-size: 0.55rem;
    display: none;
  }

  /* --- Services carousel mobile --- */
  .services-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .service-large-card {
    min-width: 88vw;
    height: auto;
    flex-direction: column;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  /* Reset image to flow normally in the card */
  .service-card-image {
    position: relative;
    width: 100%;
    height: 260px;
    flex-shrink: 0;
    z-index: auto;
  }

  /* Keep image filling the container */
  .service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Keep overlay readable but lighter */
  .service-card-image::after {
    display: none;
  }

  /* Content area sits below image */
  .service-card-content {
    position: relative;
    z-index: 2;
    padding: 1.2rem 1.2rem 1.4rem;
    background: #141414;
  }

  .service-card-text h3 {
    font-size: 1.1rem;
  }

  /* --- Why section mobile --- */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .why-numbers {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .number-card {
    padding: 1.2rem;
    border-radius: 12px;
  }

  .giant-number {
    font-size: 2.5rem;
  }

  .number-label {
    font-size: 0.7rem;
  }

  /* --- Architect section mobile --- */
  .architect-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .architect-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .architect-card {
    padding: 1rem;
  }

  .architect-card h3 {
    font-size: 0.85rem;
  }

  .architect-card p {
    font-size: 0.75rem;
  }

  /* --- Portfolio carousel mobile --- */
  .portfolio-header {
    text-align: center;
  }

  .portfolio-filters {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .portfolio-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .portfolio-carousel-wrapper {
    margin-top: 1.5rem;
  }

  .pf-carousel-btn {
    display: none; /* On mobile, swipe is the primary interaction */
  }

  .portfolio-slide {
    flex: 0 0 calc(100% - 2rem);
    min-width: unset;
  }

  .portfolio-slide img {
    height: 280px;
    width: 100%;
    object-fit: cover;
  }

  .slide-info h3 {
    font-size: 0.95rem;
  }

  /* --- Simulator mobile --- */
  .simulator-container {
    flex-direction: column;
    gap: 2rem;
  }

  .device-mockup {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .simulator-controls {
    width: 100%;
  }

  /* --- Testimonials mobile --- */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  /* --- CTA section mobile --- */
  .cta-grid {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }

  /* --- Footer mobile --- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  /* --- Quote modal mobile --- */
  .modal-content {
    padding: 1.5rem 1.2rem;
    margin: 1rem;
    border-radius: 16px;
    max-height: 90svh;
    overflow-y: auto;
  }

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

  /* --- Section titles mobile --- */
  .section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .solutions-header {
    text-align: center;
    margin-bottom: 2rem;
  }

  /* Prevent any horizontal overflow */
  section,
  .section-padding {
    overflow-x: hidden;
  }

} /* end @media 768px */

/* Extra small phones (< 390px) */
@media (max-width: 390px) {
  .hero-title,
  .giant-title {
    font-size: clamp(2.4rem, 13vw, 3.2rem) !important;
  }

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

  .why-numbers {
    grid-template-columns: 1fr 1fr;
  }

  .architect-cards-grid {
    grid-template-columns: 1fr;
  }
}
