/* ==========================================================================
   MADINET MASR — EXCLUSIVE PORTFOLIO (BY PROPERTIES-Z.COM)
   Calm Luxury Architectural Theme (Zero Gold Policy)
   ========================================================================== */

:root {
  /* Strict Calm Luxury Architectural Palette (Zero Gold / Bronze / Yellow) */
  --bg-pure-white: #FFFFFF;
  --bg-alabaster: #FAFAFA;
  --bg-stone: #F8F9FA;
  --bg-platinum: #F1F3F5;
  --bg-subtle-tint: #EEF2F6;

  /* Deep Charcoal & Slate Accents */
  --text-primary: #1A202C;
  --text-secondary: #2D3748;
  --text-muted: #718096;
  --text-subtle: #A0AEC0;

  /* Structural Borders */
  --border-light: #E2E8F0;
  --border-divider: #EDF2F7;
  --border-dark: #2D3748;

  /* Frosted Glass & Surface Cards */
  --card-frosted: rgba(255, 255, 255, 0.92);
  --card-frosted-subtle: rgba(255, 255, 255, 0.85);
  --card-dark-frosted: rgba(26, 32, 44, 0.94);
  --glass-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.08), 0 0 1px 1px rgba(226, 232, 240, 0.8);
  --hover-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.12), 0 0 1px 1px rgba(203, 213, 225, 0.9);

  /* Primary WhatsApp Green */
  --whatsapp-green: #25D366;
  --whatsapp-green-hover: #1EBE5D;
  --whatsapp-green-shadow: rgba(37, 211, 102, 0.35);

  /* Solid Charcoal Button */
  --charcoal-btn: #1A202C;
  --charcoal-btn-hover: #2D3748;

  /* Typography */
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radius & Transitions */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.18s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-pure-white);
  color: var(--text-primary);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-pure-white);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Selection */
::selection {
  background-color: #1A202C;
  color: #FFFFFF;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-platinum);
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
}

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

/* Minimalist Editorial Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--bg-stone);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  width: fit-content;
}

.badge-pill.hero-badge {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   1. HERO SECTION (EXCLUSIVE PORTFOLIO)
   Starts strictly at top: 0 (NO top sticky header bar)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 90px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 60%, #F1F3F5 100%);
  overflow: hidden;
}

/* Hero Background Ambient Architecture Overlay */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 249, 250, 0.88) 50%, rgba(241, 243, 245, 0.97) 100%),
    url('../assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  opacity: 0.85;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Official Madinet Masr Branding (Size XL) */
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 36px;
}

.brand-logo-xl {
  width: 320px;
  max-width: 90vw;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.06));
  transition: transform 0.3s ease;
}

.brand-logo-xl:hover {
  transform: translateY(-2px);
}

.sub-brand-text {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* Hero Headline & Intro */
.hero-headline-wrap {
  max-width: 860px;
  margin: 0 auto 30px;
}

.hero-main-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 14px;
  margin-bottom: 16px;
}

/* Key Highlights Line (Minimalist Badges) */
.hero-highlights-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 46px;
  max-width: 960px;
}

.highlight-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.highlight-badge-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-primary);
  flex-shrink: 0;
}

/* Lead Capture Form (Frosted Glass Container) */
.hero-form-container {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  background: var(--card-frosted);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 38px 40px;
  box-shadow: var(--glass-shadow);
  text-align: left;
}

.form-header {
  text-align: center;
  margin-bottom: 28px;
}

.form-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control-input {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition-fast);
}

.form-control-input:focus {
  border-color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(26, 32, 44, 0.08);
}

/* Phone Field with Country Code Selector (Split Flex-Container) */
.phone-field-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 10px;
  position: relative;
  width: 100%;
}

.country-code-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 52px;
  width: 104px !important;
  min-width: 104px !important;
  max-width: 104px !important;
  flex: 0 0 104px !important;
  flex-shrink: 0 !important;
  padding: 0 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.country-code-btn:hover {
  border-color: #CBD5E1;
  background: var(--bg-alabaster);
}

.country-code-btn .dropdown-arrow {
  width: 12px;
  height: 12px;
  stroke: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.country-dropdown-popover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 310px;
  max-width: 90vw;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  z-index: 100;
  display: none;
  overflow: hidden;
  animation: dropdownFadeIn 0.2s ease;
}

.country-dropdown-popover.open {
  display: block;
}

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

.country-search-box {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-divider);
  background: var(--bg-stone);
}

.country-search-box input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  font-size: 0.88rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
}

.country-list {
  max-height: 240px;
  overflow-y: auto;
  padding: 6px 0;
}

.country-item {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: background 0.15s ease;
  gap: 10px;
}

.country-item:hover, .country-item.active {
  background: var(--bg-platinum);
  color: var(--text-primary);
}

.country-item .country-flag {
  font-size: 1.15rem;
}

.country-item .country-name {
  flex: 1;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-item .country-dial {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.phone-number-input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 52px;
  padding: 0 16px;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition-fast);
}

.phone-number-input:focus {
  border-color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(26, 32, 44, 0.08);
}

/* Submit Button: Solid Charcoal with White Uppercase Text */
.btn-submit-charcoal {
  width: 100%;
  height: 54px;
  background: var(--charcoal-btn);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(26, 32, 44, 0.15);
  margin-top: 8px;
}

.btn-submit-charcoal:hover {
  background: var(--charcoal-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 32, 44, 0.22);
}

.btn-submit-charcoal:active {
  transform: translateY(0);
}

/* Legal Disclaimer Notice (Location A - Below Form) */
.disclaimer-location-a {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-divider);
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}

/* Accessibility Links (Location A) */
.legal-links-a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
}

.legal-link-item {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.legal-link-item:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   2. DEDICATED PROJECT SECTIONS
   Four separate, full, dedicated sections with narrative, specs & pricing
   ========================================================================== */
.project-section {
  padding: 100px 0;
  position: relative;
  background: var(--bg-pure-white);
  border-bottom: 1px solid var(--border-divider);
}

.project-section:nth-of-type(even) {
  background: var(--bg-stone);
}

.project-section-inner {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* Section Header Bar */
.project-header-bar {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.project-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-top: 12px;
  margin-bottom: 8px;
}

.project-subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Official Project Brand Logos in Section Headers */
.project-brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px auto 12px;
}

.project-brand-logo {
  height: 58px;
  max-height: 68px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.04));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-brand-logo:hover {
  transform: translateY(-2px) scale(1.03);
}

.project-brand-logo.logo-sarai {
  height: 84px;
  max-height: 92px;
}

.project-brand-logo.logo-taj {
  height: 78px;
  max-height: 86px;
}

.project-brand-logo.logo-talala {
  height: 64px;
}

.project-brand-logo.logo-butterfly {
  height: 62px;
}

/* Two-Column Showcase Layout */
.project-grid-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.project-section:nth-of-type(even) .project-grid-showcase {
  grid-template-columns: 0.9fr 1.1fr;
}

.project-section:nth-of-type(even) .project-image-column {
  order: 2;
}
.project-section:nth-of-type(even) .project-details-column {
  order: 1;
}

/* Image Visual Column */
.project-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.09);
  border: 1px solid var(--border-light);
  background: #FFFFFF;
}

.project-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-image-card:hover img {
  transform: scale(1.03);
}

/* Floating Payment Badge on Image */
.image-payment-pill {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.image-payment-pill .plan-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.image-payment-pill .plan-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-platinum);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Details Column */
.project-details-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Payment & Schedule Card */
.payment-schedule-box {
  background: var(--card-frosted);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.schedule-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.schedule-value {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-sans);
}

/* Pricing Overview Card: Clean 'M' Format Strict Rule */
.pricing-overview-module {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.03);
}

.pricing-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-divider);
}

.pricing-title-row span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.pricing-figures-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.price-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-item .unit-type {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-item .price-amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
}

.price-item .starting-note {
  font-size: 0.74rem;
  color: var(--text-subtle);
  font-weight: 500;
}

/* Key Highlights (Clean Responsive Grid) */
.highlights-grid-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.highlights-title {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

.highlight-spec-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-alabaster);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.highlight-spec-card:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.highlight-spec-card svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-primary);
  flex-shrink: 0;
}

/* Project Action CTA (Solid Green WhatsApp Button) */
.project-actions-row {
  display: flex;
  width: 100%;
  margin-top: 12px;
}

/* Primary Button: Solid Green WhatsApp button (#25D366) reading 'CONTACT US' */
.btn-whatsapp-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 54px;
  padding: 15px 32px;
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 22px var(--whatsapp-green-shadow);
  text-decoration: none;
}

.btn-whatsapp-primary:hover {
  background-color: var(--whatsapp-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  color: #FFFFFF;
}

.btn-whatsapp-primary svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ==========================================================================
   3. YOUR STRATEGIC PARTNER SECTION
   ========================================================================== */
.partner-section {
  padding: 110px 0;
  background: #FFFFFF;
  position: relative;
  border-bottom: 1px solid var(--border-divider);
}

.partner-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 60px;
}

.partner-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 14px;
  line-height: 1.2;
}

/* Value Cards (Minimalist Editorial Modules) */
.partner-modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 54px;
}

.partner-module-card {
  background: var(--bg-stone);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.partner-module-card:hover {
  transform: translateY(-4px);
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: var(--hover-shadow);
}

.module-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.module-number::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: #CBD5E1;
}

.module-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.module-description {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Strategic Partner CTA Button */
.partner-cta-container {
  display: flex;
  justify-content: center;
}

.btn-whatsapp-expert {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 44px;
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 26px var(--whatsapp-green-shadow);
  text-decoration: none;
}

.btn-whatsapp-expert:hover {
  background-color: var(--whatsapp-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
  color: #FFFFFF;
}

.btn-whatsapp-expert svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ==========================================================================
   4. TECHNICAL FOOTER & COMPLIANCE
   ========================================================================== */
.footer-compliance {
  background: var(--bg-platinum);
  padding: 80px 0 50px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 30px;
}

/* Disclaimer (Location B) */
.disclaimer-location-b {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 740px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}

/* Legal Links (Location B) Centered at bottom */
.legal-links-b {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.legal-links-b a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-links-b a:hover {
  color: var(--text-primary);
}

.footer-signature {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  font-weight: 500;
  text-transform: uppercase;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (Round Green Icon-Only)
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  background-color: var(--whatsapp-green-hover);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

.floating-whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: #FFFFFF;
}

/* Pulse animation on floating WhatsApp */
.floating-whatsapp-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-full);
  border: 2px solid var(--whatsapp-green);
  animation: waPulse 2.4s infinite cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

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

/* ==========================================================================
   VISUAL GALLERY LIGHTBOX MODAL
   ========================================================================== */
.gallery-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  animation: fadeIn 0.25s ease;
}

.gallery-modal-overlay.active {
  display: flex;
}

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

.gallery-modal-container {
  width: 100%;
  max-width: 1100px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #111827;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.gallery-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: #0B0F17;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-header-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gallery-header-info h4 {
  font-family: var(--font-sans);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.gallery-counter-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.gallery-close-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.gallery-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.gallery-close-btn svg {
  width: 20px;
  height: 20px;
  stroke: #FFFFFF;
}

/* Image Viewer Viewport */
.gallery-viewer {
  position: relative;
  flex: 1;
  min-height: 400px;
  max-height: 60vh;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-viewer img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.gallery-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
}

.gallery-nav-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
}

.gallery-nav-arrow.prev { left: 16px; }
.gallery-nav-arrow.next { right: 16px; }

.gallery-nav-arrow svg {
  width: 22px;
  height: 22px;
  stroke: #FFFFFF;
}

/* Gallery Footer / Caption */
.gallery-modal-footer {
  padding: 16px 24px;
  background: #0B0F17;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-caption-text {
  font-size: 0.88rem;
  color: #94A3B8;
}

.gallery-thumbnails-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb {
  width: 64px;
  height: 46px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.gallery-thumb:hover, .gallery-thumb.active {
  opacity: 1;
  border-color: #FFFFFF;
}

/* ==========================================================================
   SUCCESS REGISTRATION MODAL
   ========================================================================== */
.success-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.success-modal-overlay.active {
  display: flex;
}

.success-modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-light);
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-check-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-full);
  background: #ECFDF5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-check-icon svg {
  width: 36px;
  height: 36px;
  stroke: #059669;
}

.success-modal-box h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.success-modal-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.success-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-success-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--whatsapp-green);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-success-wa:hover {
  background: var(--whatsapp-green-hover);
  color: #FFFFFF;
}

.btn-success-wa svg {
  width: 20px;
  height: 20px;
  fill: #FFFFFF;
}

.btn-success-close {
  background: var(--bg-platinum);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-success-close:hover {
  background: #E2E8F0;
  color: var(--text-primary);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   MOBILE-FIRST RESPONSIVE BREAKPOINTS (100% Mobile Optimized)
   ========================================================================== */
@media (max-width: 992px) {
  .project-grid-showcase,
  .project-section:nth-of-type(even) .project-grid-showcase {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .project-section:nth-of-type(even) .project-image-column {
    order: 1;
  }
  .project-section:nth-of-type(even) .project-details-column {
    order: 2;
  }

  .project-image-card img {
    height: 380px;
  }

  .partner-modules-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 36px;
    padding-bottom: 60px;
  }

  .brand-logo-xl {
    width: 250px;
  }

  .hero-form-container {
    padding: 28px 20px;
  }

  .project-section {
    padding: 70px 0;
  }

  .project-image-card img {
    height: 280px;
  }

  .image-payment-pill {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 14px;
    bottom: 12px;
    left: 12px;
    right: 12px;
  }

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

  .project-actions-row {
    flex-direction: column;
    width: 100%;
  }

  .btn-whatsapp-primary {
    width: 100%;
  }

  .partner-section {
    padding: 70px 0;
  }

  .partner-module-card {
    padding: 30px 24px;
  }

  .floating-whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

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

@media (max-width: 480px) {
  .pricing-figures-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .country-dropdown-popover {
    width: 290px;
    max-width: calc(100vw - 48px);
  }
}
