/* ===================================================
   IBS LANÇAMENTOS - Design System & Styles
   =================================================== */

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

/* CSS Custom Properties (Design Tokens) */
:root {
  /* Brand Colors - Extracted from IBS Logo */
  --ibs-navy: #1B3666;
  --ibs-navy-dark: #0F2244;
  --ibs-navy-light: #2A4A80;
  --ibs-red: #C0392B;
  --ibs-red-dark: #962D22;
  --ibs-red-light: #E74C3C;
  --ibs-yellow: #F5B731;
  --ibs-yellow-dark: #D4981A;
  --ibs-yellow-light: #F9CB5E;
  --ibs-green: #27AE60;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #CED4DA;
  --gray-500: #ADB5BD;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-800: #343A40;
  --gray-900: #212529;
  --black: #0A0A0A;

  /* Semantic Colors */
  --bg-primary: var(--white);
  --bg-secondary: var(--gray-50);
  --bg-dark: var(--ibs-navy-dark);
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-light: var(--gray-400);
  --text-on-dark: var(--white);
  --accent: var(--ibs-yellow);
  --accent-hover: var(--ibs-yellow-dark);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --fs-hero: clamp(2.5rem, 5vw, 4.5rem);
  --fs-h1: clamp(2rem, 4vw, 3rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.25rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --fs-h4: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 4px 24px rgba(27, 54, 102, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(27, 54, 102, 0.16);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

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

/* ===================================================
   Utility Classes
   =================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-label {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--ibs-yellow);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--ibs-yellow);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: 800;
  color: var(--ibs-navy);
  line-height: 1.15;
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ===================================================
   Animations
   =================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   Header / Navigation
   =================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--transition-slow);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(27, 54, 102, 0.08);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(27, 54, 102, 0.08);
}

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

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header-logo img {
  height: 90px;
  width: auto;
  transition: height var(--transition-base);
}



.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-link {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ibs-navy);
  transition: color var(--transition-base);
  position: relative;
}

.header.scrolled .nav-link {
  color: var(--ibs-navy);
}

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

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

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

.header.scrolled .nav-link:hover {
  color: var(--ibs-yellow-dark);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--ibs-navy);
  min-width: 200px;
  border-radius: 4px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.header.scrolled .nav-dropdown-menu {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 12px 20px;
  color: var(--white);
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.header.scrolled .nav-dropdown-menu a {
  color: var(--ibs-navy);
}

.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--ibs-yellow);
}

.header.scrolled .nav-dropdown-menu a:hover {
  background: rgba(0,0,0,0.03);
  color: var(--ibs-yellow-dark);
}

.nav-cta {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ibs-navy-dark);
  background: var(--ibs-yellow);
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--border-radius-full);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-cta:hover {
  background: var(--ibs-yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 183, 49, 0.4);
}

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

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  z-index: 1001;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ibs-navy);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.header.scrolled .mobile-toggle span {
  background: var(--ibs-navy);
}

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

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

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

/* ===================================================
   Hero Section
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ibs-navy-dark);
}

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

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 34, 68, 0.95) 0%,
    rgba(27, 54, 102, 0.8) 40%,
    rgba(27, 54, 102, 0.6) 70%,
    rgba(192, 57, 43, 0.4) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: var(--space-5xl);
  padding-bottom: var(--space-4xl);
}

.hero-content {
  max-width: 720px;
  animation: fadeInUp 1s ease forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(245, 183, 49, 0.15);
  border: 1px solid rgba(245, 183, 49, 0.3);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius-full);
  margin-bottom: var(--space-xl);
  animation: fadeInDown 0.8s ease 0.3s backwards;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ibs-yellow);
  animation: pulse 2s ease infinite;
}

.hero-badge-text {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ibs-yellow);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: var(--space-xl);
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--ibs-yellow);
  position: relative;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  max-width: 540px;
  animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s backwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--ibs-navy-dark);
  background: var(--ibs-yellow);
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--border-radius-full);
  transition: all var(--transition-base);
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: var(--ibs-yellow-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 183, 49, 0.4);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--white);
  padding: var(--space-md) var(--space-2xl);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius-full);
  transition: all var(--transition-base);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  margin-top: var(--space-4xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 1s ease 0.8s backwards;
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--ibs-yellow);
}

.hero-stat-label {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero floating shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  background: var(--ibs-yellow);
}

.hero-shape:nth-child(1) {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-shape:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: 10%;
  right: 20%;
  animation: float 6s ease-in-out infinite 2s;
}

.hero-shape:nth-child(3) {
  width: 120px;
  height: 120px;
  top: 40%;
  right: 10%;
  background: var(--ibs-red);
  animation: float 7s ease-in-out infinite 1s;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  animation: fadeIn 1s ease 1.2s backwards;
}

.scroll-indicator-text {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(245, 183, 49, 0.6), transparent);
  animation: pulse 2s ease infinite;
}

/* ===================================================
   About / Trust Section
   =================================================== */
.about-section {
  padding: var(--space-5xl) 0;
  background: var(--bg-secondary);
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ibs-navy), var(--ibs-red), var(--ibs-yellow));
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-content {
  padding-right: var(--space-2xl);
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.about-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-sm);
  background: linear-gradient(135deg, var(--ibs-navy), var(--ibs-navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--white);
}

.about-feature h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--ibs-navy);
  margin-bottom: var(--space-xs);
}

.about-feature p {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  line-height: 1.5;
}

.about-image-wrapper {
  position: relative;
  max-width: 380px;
  width: 100%;
  justify-self: center;
}

.about-image {
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 517 / 884;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-years-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ibs-yellow), var(--ibs-yellow-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(245, 183, 49, 0.4);
  animation: float 4s ease-in-out infinite;
}

.about-years-badge .years-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--ibs-navy-dark);
  line-height: 1;
}

.about-years-badge .years-text {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ibs-navy-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===================================================
   Launches Section
   =================================================== */
.launches-section {
  padding: var(--space-5xl) 0;
  background: var(--bg-primary);
}

.launches-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.launches-header .section-label {
  justify-content: center;
}

.launches-header .section-label::before {
  display: none;
}

.launches-header .section-subtitle {
  margin: 0 auto;
}

/* Launch Cards Grid */
.launches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: var(--space-2xl);
}

/* Launch Card */
.launch-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-slow);
  position: relative;
}

.launch-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.launch-card-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.launch-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.launch-card-badge {
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  display: flex;
  gap: var(--space-sm);
}

.badge {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--border-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-launch {
  background: var(--ibs-yellow);
  color: var(--ibs-navy-dark);
}

.badge-exclusive {
  background: var(--ibs-red);
  color: var(--white);
}

.badge-soon {
  background: var(--ibs-navy);
  color: var(--white);
}

.badge-mcmv {
  background: var(--ibs-green);
  color: var(--white);
}

.launch-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  pointer-events: none;
}

.launch-card-body {
  padding: var(--space-xl);
}

.launch-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.launch-card-location svg {
  width: 14px;
  height: 14px;
  color: var(--ibs-red);
}

.launch-card-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 800;
  color: var(--ibs-navy);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.launch-card-description {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.launch-card-specs {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--gray-200);
  margin-bottom: var(--space-lg);
}

.spec {
  display: flex;
  align-items: center;
  gap: 6px;
}

.spec svg {
  width: 16px;
  height: 16px;
  color: var(--ibs-navy-light);
}

.spec span {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--gray-700);
}

.launch-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.launch-card-price {
  display: flex;
  flex-direction: column;
}

.launch-card-price .price-label {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.launch-card-price .price-value {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: 800;
  color: var(--ibs-navy);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--white);
  background: #25D366;
  padding: 12px 24px;
  border-radius: var(--border-radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-whatsapp:hover {
  background: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

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

/* ===================================================
   Featured Launch (Full Width)
   =================================================== */
.featured-section {
  padding: var(--space-4xl) 0 var(--space-5xl);
  background: var(--bg-primary);
}

.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(135deg, var(--ibs-navy-dark), var(--ibs-navy));
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 183, 49, 0.1), transparent 70%);
  pointer-events: none;
}

.featured-image {
  position: relative;
  min-height: 500px;
}

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

.featured-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, var(--ibs-navy-dark) 100%);
}

.featured-content {
  padding: var(--space-4xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ibs-yellow);
  margin-bottom: var(--space-xl);
}

.featured-label .star {
  font-size: 1.1rem;
}

.featured-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.featured-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
}

.featured-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.featured-spec {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.featured-spec-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  background: rgba(245, 183, 49, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.featured-spec-icon svg {
  width: 20px;
  height: 20px;
  color: var(--ibs-yellow);
}

.featured-spec-text {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.featured-spec-label {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
}

.featured-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.btn-whatsapp-lg {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--white);
  background: #25D366;
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--border-radius-full);
  transition: all var(--transition-base);
}

.btn-whatsapp-lg:hover {
  background: #20BD5A;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-lg svg {
  width: 22px;
  height: 22px;
}

/* ===================================================
   CTA Section
   =================================================== */
.cta-section {
  padding: var(--space-5xl) 0;
  background: linear-gradient(135deg, var(--ibs-navy-dark) 0%, var(--ibs-navy) 50%, var(--ibs-navy-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 183, 49, 0.08), transparent 70%);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 57, 43, 0.08), transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--space-lg);
}

.cta-title span {
  color: var(--ibs-yellow);
}

.cta-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

/* ===================================================
   Footer
   =================================================== */
.footer {
  background: var(--gray-900);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-small);
  line-height: 1.7;
  margin-top: var(--space-lg);
  max-width: 300px;
}

.footer-brand img {
  height: 50px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-xl);
}

.footer-links li {
  margin-bottom: var(--space-md);
}

.footer-links a {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-links a:hover {
  color: var(--ibs-yellow);
  transform: translateX(4px);
}

.footer-contact li {
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--ibs-yellow);
  flex-shrink: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-base);
}

.footer-contact a:hover {
  color: var(--ibs-yellow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copyright {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.3);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social a:hover {
  background: var(--ibs-yellow);
  border-color: var(--ibs-yellow);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-base);
}

.footer-social a:hover svg {
  color: var(--ibs-navy-dark);
}

.ibs-launch-footer__grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ibs-launch-footer__legal {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  margin-top: var(--space-xl);
  line-height: 1.6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================================
   Floating WhatsApp Button
   =================================================== */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-base);
  animation: float 3s ease-in-out infinite;
}

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

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  color: var(--white);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.3);
  animation: pulse 2s ease infinite;
}

/* ===================================================
   Mundai Dedicated Page
   =================================================== */

.mundai-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

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

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

.mundai-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 34, 68, 0.95) 0%, rgba(15, 34, 68, 0.7) 50%, rgba(15, 34, 68, 0.2) 100%);
}

.mundai-hero-content {
  max-width: 650px;
  color: var(--white);
  padding: var(--space-4xl) 0;
}

.mundai-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-small);
  text-decoration: none;
  margin-bottom: var(--space-xl);
  transition: color var(--transition-base);
}

.mundai-breadcrumb:hover {
  color: var(--ibs-yellow);
}

.mundai-hero-badge {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.mundai-hero-title {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.mundai-hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
}

.mundai-hero-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
  background: rgba(0, 0, 0, 0.3);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mundai-hero-spec {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--white);
}

.mundai-hero-spec svg {
  width: 24px;
  height: 24px;
  color: var(--ibs-yellow);
}

.mundai-hero-spec span {
  font-weight: 500;
  font-family: var(--font-heading);
}

.mundai-hero-actions {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .mundai-hero-title {
    font-size: 3rem;
  }
  
  .mundai-hero-specs {
    grid-template-columns: 1fr;
  }
  
  .mundai-hero-bg::after {
    background: linear-gradient(to top, rgba(15, 34, 68, 0.95) 0%, rgba(15, 34, 68, 0.8) 50%, rgba(15, 34, 68, 0.4) 100%);
  }
}

/* ===================================================
   Mundai Detail Section
   =================================================== */
.mundai-section {
  padding: var(--space-5xl) 0;
  background: var(--bg-secondary);
  position: relative;
}

.mundai-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ibs-yellow), var(--ibs-red), var(--ibs-navy));
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.gallery-grid.gallery-5 {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  group: gallery;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.7);
  transition: transform var(--transition-spring);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.gallery-item:hover .gallery-zoom-icon {
  transform: scale(1);
}

.gallery-zoom-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md) var(--space-lg);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 2;
}

.gallery-item:hover .gallery-item-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   Lightbox (Premium Modal)
   =================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  width: 90vw;
  max-width: 1200px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
}

.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--border-radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 3;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 3;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav svg {
  width: 22px;
  height: 22px;
  color: var(--white);
}

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

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

.lightbox-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg) 0;
}

.lightbox-counter {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
}

.lightbox-caption {
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* Lightbox Thumbnails */
.lightbox-thumbnails {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  padding: var(--space-md) 0;
  overflow-x: auto;
  max-width: 100%;
}

.lightbox-thumb {
  width: 72px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.4;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  flex-shrink: 0;
}

.lightbox-thumb.active {
  opacity: 1;
  border-color: var(--ibs-yellow);
  transform: scale(1.05);
}

.lightbox-thumb:hover {
  opacity: 0.8;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================================================
   Construction Progress Section
   =================================================== */
.obra-section {
  padding: var(--space-4xl) 0 var(--space-5xl);
  background: var(--bg-primary);
}

.obra-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

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

.obra-card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
}

.obra-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.obra-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.obra-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.obra-card-image .obra-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--gray-400);
}

.obra-card-image .obra-placeholder svg {
  width: 40px;
  height: 40px;
}

.obra-card-image .obra-placeholder span {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 600;
}

.obra-card-body {
  padding: var(--space-lg);
}

.obra-card-date {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ibs-yellow-dark);
  margin-bottom: var(--space-sm);
}

.obra-card-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--ibs-navy);
  margin-bottom: var(--space-xs);
}

.obra-card-desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.5;
}

.obra-progress-bar {
  margin-top: var(--space-md);
  height: 6px;
  background: var(--gray-200);
  border-radius: var(--border-radius-full);
  overflow: hidden;
}

.obra-progress-fill {
  height: 100%;
  border-radius: var(--border-radius-full);
  background: linear-gradient(90deg, var(--ibs-yellow), var(--ibs-green));
  transition: width 1s ease;
}

.obra-empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  background: var(--gray-50);
  border: 2px dashed var(--gray-300);
  border-radius: var(--border-radius-lg);
  color: var(--gray-500);
}

.obra-empty-state svg {
  width: 48px;
  height: 48px;
  color: var(--gray-400);
  margin-bottom: var(--space-md);
}

.obra-empty-state h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: var(--space-sm);
}

.obra-empty-state p {
  font-size: var(--fs-small);
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===================================================
   Responsive Design
   =================================================== */
@media (max-width: 1024px) {
  .launches-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-image {
    height: 300px;
  }

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

  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}


/* ===================================================
   Responsive Design - Mobile
   =================================================== */
.mobile-nav-close {
  display: none;
}

@media (max-width: 768px) {
  :root {
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 3rem;
    --space-4xl: 4rem;
    --space-5xl: 5rem;
  }

  /* --- Header --- */
  .header,
  .header.scrolled,
  #header {
    padding: var(--space-xs) 0;
    overflow: visible;
    /* backdrop-filter creates a containing block and traps position:fixed nav */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.98) !important;
  }

  .header-logo img {
    height: 65px;
  }

  /* --- Hamburger button --- */
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    z-index: 10003;
    position: relative;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  /* Force hamburger lines to be visible on scrolled pages */
  .header.scrolled .mobile-toggle span {
    background: var(--ibs-navy);
  }

  /* X animation when open */
  .mobile-toggle.active span {
    background: var(--ibs-navy) !important;
  }

  /* Keep header above backdrop when mobile menu is open */
  .header.nav-open {
    z-index: 10003;
  }

  /* --- Side drawer menu --- */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(320px, 88vw);
    max-width: 88vw;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    padding: calc(72px + env(safe-area-inset-top, 0px)) 24px calc(40px + env(safe-area-inset-bottom, 0px));
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate3d(100%, 0, 0);
    z-index: 10002;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    pointer-events: none;
  }

  .mobile-nav-close {
    display: block;
    position: absolute;
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: 16px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--ibs-navy);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
  }

  /* Open states */
  body.mobile-menu-open .nav-links,
  .nav-links.active,
  .nav-links.show {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }

  /* Menu links inside drawer */
  .nav-links .nav-link {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ibs-navy) !important;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    z-index: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }

  .nav-links .nav-link:last-child {
    border-bottom: none;
  }

  .nav-links .nav-link::after {
    display: none;
  }

  /* Dropdown inside drawer */
  .nav-dropdown {
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-dropdown > .nav-link {
    border-bottom: none;
  }

  .nav-dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    padding: 0 0 10px 16px;
    min-width: auto;
    display: flex !important;
    flex-direction: column;
  }

  .nav-dropdown-menu a {
    color: var(--text-secondary) !important;
    padding: 10px 0 !important;
    font-size: 0.95rem !important;
    border-bottom: 1px solid var(--gray-100);
    position: relative;
    z-index: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }

  .nav-dropdown-menu a:last-child {
    border-bottom: none;
  }

  .nav-dropdown-menu a:hover {
    color: var(--ibs-yellow-dark) !important;
    background: transparent !important;
  }

  /* CTA button inside drawer */
  .nav-links .nav-cta {
    font-size: 0.95rem;
    padding: var(--space-md) var(--space-xl);
    margin-top: var(--space-lg);
    justify-content: center;
  }

  /* --- Backdrop overlay --- */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
  }

  body.mobile-menu-open .nav-backdrop.active,
  .nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* --- Hero --- */
  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    gap: var(--space-xl);
    flex-wrap: wrap;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  /* --- Mundai hero --- */
  .mundai-hero-title {
    font-size: 2rem;
  }

  .mundai-hero-specs {
    grid-template-columns: 1fr;
  }

  /* --- Content sections --- */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    padding-right: 0;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

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

  .launch-card-specs {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .launch-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-image {
    height: 250px;
    min-height: auto;
  }

  .featured-content {
    padding: var(--space-xl);
  }

  .featured-specs-grid {
    grid-template-columns: 1fr;
  }

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

  .obra-timeline {
    grid-template-columns: 1fr;
  }

  /* --- Footer --- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  /* --- Subnav (horizontal scroll menu) --- */
  .mk-subnav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mk-subnav-inner {
    justify-content: flex-start;
    padding: 0 16px;
    gap: 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mk-subnav a {
    font-size: 13px;
    padding: 10px 0;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* --- Lightbox mobile --- */
  .lightbox-prev { left: 5px; }
  .lightbox-next { right: 5px; }
  .lightbox-nav { width: 40px; height: 40px; }

  /* --- Locations --- */
  .locations-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-logo img {
    height: 55px;
  }



  .hero-title {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: var(--space-md);
    right: var(--space-md);
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}


/* ========== ONDE ESTAMOS SECTION ========== */
.locations-section {
  padding: var(--space-3xl) 0;
  background-color: var(--bg-secondary);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.location-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.location-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.location-map {
  width: 100%;
  height: 250px;
  background: #eaeaea;
}

.location-content {
  padding: var(--space-xl);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.location-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--ibs-navy);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.location-address,
.location-phone {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.location-address svg,
.location-phone svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--ibs-navy);
  margin-top: 2px;
}

.location-phone a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition-base);
}

.location-phone a:hover {
  color: var(--ibs-gold);
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: -400px;
  width: 320px;
  background: var(--white);
  color: var(--text-primary);
  padding: 1.5rem;
  z-index: 10000;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid var(--ibs-navy);
}

.cookie-banner.show {
  left: 20px;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.cookie-content a {
  color: var(--ibs-navy);
  text-decoration: underline;
  font-weight: 600;
}

.btn-cookie {
  width: 100%;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  text-align: center;
  justify-content: center;
}


/* Map coordinates */
.location-content .map-coords {
  display: block;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  margin-top: var(--space-sm);
}
.location-content .map-coords-link {
  display: inline-flex;
  margin-top: var(--space-sm);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ibs-navy);
  text-decoration: none;
}
.location-content .map-coords-link:hover {
  color: var(--ibs-yellow-dark);
  text-decoration: underline;
}

/* ===================================================
   Mobile Site Polish — banners, fotos, textos, lightbox
   =================================================== */
@media (max-width: 900px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    overflow-x: hidden;
  }

  .container,
  .wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: max(16px, env(safe-area-inset-left)) !important;
    padding-right: max(16px, env(safe-area-inset-right)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

  /* Tipografia proporcional e alinhada */
  h1, .hero-title, .section-title {
    font-size: clamp(1.55rem, 7vw, 2.15rem) !important;
    line-height: 1.18 !important;
    text-align: left;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  h2 {
    font-size: clamp(1.35rem, 5.8vw, 1.85rem) !important;
    line-height: 1.22 !important;
    max-width: 100% !important;
  }

  h3 {
    font-size: clamp(1.1rem, 4.5vw, 1.35rem) !important;
    line-height: 1.3 !important;
  }

  p, .lede, .section-subtitle, .hero-description, .launch-card-description {
    font-size: clamp(0.92rem, 3.6vw, 1.02rem) !important;
    line-height: 1.65 !important;
    max-width: 100% !important;
  }

  /* Hero / banners: imagem completa e centralizada */
  .hero,
  .mundai-hero {
    min-height: auto !important;
    align-items: flex-end !important;
  }

  .hero-bg,
  .mundai-hero-bg {
    position: absolute;
    inset: 0;
  }

  .hero-bg img,
  .mundai-hero-bg img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .hero .container,
  .hero-content,
  .mundai-hero-content {
    text-align: left !important;
    align-items: flex-start !important;
    padding-bottom: max(28px, env(safe-area-inset-bottom)) !important;
  }

  .hero-actions,
  .mundai-hero-actions {
    justify-content: flex-start !important;
    width: 100%;
  }

  .hero-stats {
    justify-content: flex-start !important;
    flex-wrap: wrap;
  }

  /* Lançamentos: fotos sem corte agressivo */
  .launches-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .launch-card {
    max-width: 100%;
    margin: 0 auto;
  }

  .launch-card-image {
    height: auto !important;
    aspect-ratio: 16 / 10;
    background: #f3efe8;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .launch-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  .launch-card-body {
    text-align: left;
    padding: 18px 18px 20px !important;
  }

  .launch-card-title {
    font-size: clamp(1.15rem, 4.8vw, 1.4rem) !important;
  }

  .launch-card-footer {
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Galerias / cards genéricos */
  .gallery img,
  .gallery-item img,
  .media img,
  .book-mosaic img,
  .book-board img,
  .book-hero img,
  .plan-frame img,
  .comum-card img,
  .mcard img {
    max-width: 100%;
    object-position: center center !important;
  }

  /* Lightbox: imagem ampliada sempre centralizada e completa */
  .lightbox.active,
  .lightbox.open,
  .lb.open {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)) !important;
    box-sizing: border-box;
  }

  .lightbox-content {
    width: min(96vw, 100%) !important;
    max-width: 96vw !important;
    max-height: 92vh !important;
    margin: 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .lightbox-image-wrapper {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .lightbox-image,
  .lb img,
  #lbimg {
    max-width: min(94vw, 100%) !important;
    max-height: min(78vh, 78dvh) !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .lightbox-close,
  .lb-close {
    top: max(10px, env(safe-area-inset-top)) !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    left: auto !important;
    z-index: 5 !important;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto !important;
    bottom: max(18px, env(safe-area-inset-bottom)) !important;
    transform: none !important;
    width: 44px !important;
    height: 44px !important;
  }

  .lightbox-prev { left: 12px !important; }
  .lightbox-next { right: 12px !important; }

  .lightbox-info,
  .lb figcaption {
    text-align: center !important;
    justify-content: center !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .lightbox-caption {
    text-align: center !important;
    font-size: 0.92rem !important;
  }

  /* Seções e grids */
  .section {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .locations-grid,
  .features-grid,
  .amenities-grid {
    grid-template-columns: 1fr !important;
  }

  .cookie-banner,
  .cookie-banner.show {
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 560px) {
  .launches-grid {
    max-width: 100%;
  }

  .launch-card-image {
    aspect-ratio: 4 / 3;
  }

  .btn,
  .btn-primary,
  .btn-secondary,
  a.btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-actions,
  .mundai-hero-actions {
    flex-direction: column;
    align-items: stretch !important;
  }
}
