/* ==========================================================================
   EXPO NEXO INDUSTRIAL 2026 - DESIGN SYSTEM & LANDING STYLES
   Refined with UI/UX Pro Max standards & Impeccable Skills
   ========================================================================== */

/* --- Design Tokens & Custom Properties --- */
:root {
  /* Colors */
  --color-primary: #E46A3A;          /* Industrial Orange */
  --color-primary-dark: #C95528;     /* Darker Orange for Hover */
  --color-bg-charcoal: #292929;      /* Background Charcoal */
  --color-surface-dark: #202020;     /* Surface Dark */
  --color-surface-dark-variant: #333333; /* Surface Dark Variant */
  --color-surface-light: #FFFFFF;    /* Surface Light */
  --color-on-dark: #FFFFFF;          /* Text on Dark Backgrounds */
  --color-on-light: #242424;         /* Text on Light Backgrounds */
  --color-muted-gray: #8A8A8A;       /* Secondary Muted Gray */
  --color-logo-black: #111111;       /* Special Brand black */

  /* Fonts */
  --font-headline: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Border Radii - Architectural & Industrial Rectangular forms (NO PILL/CAPSULE SLOP) */
  --radius-small: 4px;
  --radius-medium: 6px;              /* Precise, sleek corners for B2B buttons and touch targets */
  --radius-large: 16px;              /* High-end structural rounding for smaller blocks */
  --radius-xlarge: 20px;             /* Architectural corner radius for large cards */
  --radius-full: 9999px;

  /* Transitions - Exponential ease-out-quint */
  --transition-smooth: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-fast: all 0.2s ease;

  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  
  /* Layout limits */
  --max-width-grid: 1200px;
}

/* --- Modern Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* Avoid horizontal scroll entirely */
  background-color: var(--color-bg-charcoal);
  color: var(--color-on-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  margin-top: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--color-muted-gray);
}

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

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

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* --- Base Layout Components --- */
.section-container {
  max-width: var(--max-width-grid);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

/* --- Buttons & CTAs - Sleek B2B Rectangular Forms --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-medium); /* Sleek 6px corners */
  cursor: pointer;
  border: none;
  min-height: 48px; /* Touch target minimum */
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-on-dark);
  box-shadow: 0 4px 20px rgba(228, 106, 58, 0.35);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(228, 106, 58, 0.5);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-on-dark);
  border: 2px solid var(--color-surface-dark-variant);
  border-radius: var(--radius-medium);
}

.btn-secondary:hover,
.btn-secondary:focus {
  border-color: var(--color-primary);
  background-color: rgba(228, 106, 58, 0.05);
}

.btn-large {
  padding: 1.25rem 3.25rem;
  font-size: 1.25rem;
  border-radius: var(--radius-medium); /* Sleek 6px corners */
}

/* Nav CTA - Optimized for high contrast and extreme B2B visual polish */
.nav-cta {
  background-color: transparent;
  color: var(--color-on-dark);
  border: 2px solid var(--color-primary) !important;
  box-shadow: 0 4px 15px rgba(228, 106, 58, 0.2);
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-medium); /* Sleek 6px corners */
}

.nav-cta:hover,
.nav-cta:focus {
  background-color: var(--color-primary) !important;
  color: var(--color-on-dark) !important;
  box-shadow: 0 8px 25px rgba(228, 106, 58, 0.45) !important;
  transform: translateY(-2px);
}

/* Pulsing Glow Animation for the Primary CTA Button with 6px corners */
.btn-pulse {
  position: relative;
  animation: pulse-glow 2.5s infinite ease-in-out;
  z-index: 2;
}

.btn-pulse:hover {
  animation: none; /* Stops pulse on hover to keep cursor precise, but adds strong hover states */
  transform: translateY(-4px) scale(1.03);
  background-color: var(--color-primary-dark);
  box-shadow: 0 10px 35px rgba(228, 106, 58, 0.65);
}

@keyframes pulse-glow {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(228, 106, 58, 0.4), 0 0 0 0 rgba(228, 106, 58, 0.4);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 8px 30px rgba(228, 106, 58, 0.6), 0 0 18px 14px rgba(228, 106, 58, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(228, 106, 58, 0.4), 0 0 0 0 rgba(228, 106, 58, 0);
  }
}

.cta-subtext {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted-gray);
  margin-top: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cta-subtext.light-text {
  color: rgba(255, 255, 255, 0.6);
}

/* --- Badges & Highlights - Editorial Typographic Labels (NO CAPSULE/PILL SLOP) --- */
.badge-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.2em; /* Super-wide, elegant geometric letter spacing */
  text-transform: uppercase;
  color: var(--color-primary);
  background-color: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
  margin-bottom: var(--space-sm);
}

.badge-marker {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 0; /* Sharp, solid square block - highly architectural and B2B */
  flex-shrink: 0;
}

.text-highlight {
  color: var(--color-primary);
}

/* ==========================================================================
   Header Component - Large and highly visible Logo
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
}

.header-container {
  max-width: var(--max-width-grid);
  margin: 0 auto;
  padding: 2.5rem var(--space-md); /* Increased padding for breathing room */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 95px; /* Large, bold, highly visible brand logo */
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(0,0,0,0.2));
  transition: var(--transition-smooth);
}

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

/* ==========================================================================
   Hero Section (DARK BACKGROUND)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 11rem var(--space-md) 6rem var(--space-md); /* Elevated padding for large logo */
  background-color: var(--color-bg-charcoal);
  overflow: hidden;
}

/* Subtle Industrial Geometric Backdrops */
.hero-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(228, 106, 58, 0.05) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(32, 32, 32, 0.8) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: var(--max-width-grid);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: var(--space-lg);
  align-items: center;
  width: 100%;
}

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

.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.8rem);
  line-height: 1.05;
  font-weight: 900;
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.85);
}

.hero-cta-group {
  margin-bottom: 1rem;
}

/* Overlapping/Masked Photography Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xlarge); /* Structured, elegant 20px radius */
  position: relative;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  filter: grayscale(15%) contrast(105%);
}

.geometric-backdrop {
  position: absolute;
  top: -15px;
  left: 15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-xlarge);
  z-index: 2;
  pointer-events: none;
}

/* Floating badge styled like a high-end corporate industrial widget */
.floating-badge {
  position: absolute;
  bottom: 25px;
  left: -25px;
  background-color: var(--color-surface-dark); /* #202020 */
  color: var(--color-on-dark);
  padding: 1.25rem 2rem;
  border-radius: var(--radius-medium); /* Sleek 6px corners */
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 4px solid var(--color-primary); /* Bold industrial accent line */
  box-shadow: 0 15px 35px rgba(0,0,0,0.35);
  animation: float 6s ease-in-out infinite;
}

.floating-badge .badge-number {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.floating-badge .badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

/* ==========================================================================
   Quick Details Bar (LIGHT SECTION - Alternate #1)
   ========================================================================== */
.details-bar {
  background-color: var(--color-surface-light); /* #FFFFFF */
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
  box-shadow: 0 15px 40px rgba(0,0,0,0.02);
}

.details-container {
  max-width: var(--max-width-grid);
  margin: 0 auto;
  padding: 3rem var(--space-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.detail-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-medium); /* Sleek 6px corners */
  background-color: rgba(228, 106, 58, 0.08);
  color: var(--color-primary);
  flex-shrink: 0;
  border: 1px solid rgba(228, 106, 58, 0.12);
}

.detail-icon svg {
  width: 24px;
  height: 24px;
}

.detail-info {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.detail-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-on-light); /* Charcoal Black for high contrast on light bg */
}

/* ==========================================================================
   Features / Value Prop Grid (LIGHT BACKGROUND - Alternate #2)
   ========================================================================== */
.features-section {
  background-color: #F8F7F5; /* Premium soft light-warm beige background */
  position: relative;
}

.section-header {
  max-width: 700px;
  margin-bottom: var(--space-lg);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  font-weight: 900;
  color: var(--color-on-light); /* Dark text for high contrast on light section bg */
}

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

/* Card Styling - Premium large architectural corners */
.card {
  border-radius: var(--radius-xlarge); /* Structured, elegant 20px radius */
  padding: 3.5rem var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

/* White Card: Soluciones Integrales - Perfectly defined border and shadow on beige bg */
.card-light {
  background-color: var(--color-surface-light);
  color: var(--color-on-light);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 15px 45px rgba(0,0,0,0.03);
}

.card-light .card-tag {
  color: var(--color-primary);
  font-weight: 900;
}

.card-light .card-title {
  color: var(--color-on-light);
}

.card-light .card-text {
  color: rgba(36, 36, 36, 0.8);
}

/* Dark Card: Agilidad Operativa - Looks spectacular popping on light background */
.card-dark {
  background-color: var(--color-surface-dark); /* #202020 */
  color: var(--color-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.card-dark .card-tag {
  color: var(--color-primary);
  font-weight: 900;
}

.card-dark .card-title {
  color: var(--color-on-dark);
}

.card-dark .card-text {
  color: rgba(255, 255, 255, 0.7);
}

.card-tag {
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.card-title {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.card-text {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

/* Card Lists */
.card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-on-light);
}

.check-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Card Stats Grid */
.card-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: auto;
}

.card-stat-box {
  background-color: var(--color-surface-dark-variant);
  border-radius: var(--radius-small); /* Sleek 4px corners to match buttons */
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.card-stat-box .stat-num {
  font-family: var(--font-headline);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.card-stat-box .stat-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  line-height: 1.4;
}

/* Hover effects */
.card:hover {
  transform: translateY(-8px);
}
.card-light:hover {
  box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}
.card-dark:hover {
  border-color: rgba(228, 106, 58, 0.35);
  box-shadow: 0 25px 50px rgba(0,0,0,0.22);
}

/* ==========================================================================
   Connection Section (DARK BACKGROUND - Alternate #3)
   ========================================================================== */
.connection-section {
  background-color: var(--color-surface-dark); /* #202020 */
  position: relative;
  overflow: hidden;
}

.connection-container {
  max-width: var(--max-width-grid);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.connection-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-lg);
  align-items: center;
}

/* Large Circular Overlapping Image */
.connection-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.circle-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
}

.circle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full);
  position: relative;
  z-index: 3;
  border: 4px solid var(--color-surface-dark-variant);
  box-shadow: 0 20px 45px rgba(0,0,0,0.5);
  filter: grayscale(10%) contrast(105%);
}

.circle-backdrop {
  position: absolute;
  top: 15px;
  left: -15px;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 2px dashed var(--color-primary);
  border-radius: var(--radius-full);
  z-index: 2;
  opacity: 0.5;
}

.connection-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.connection-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.connection-text {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.connection-subtext {
  font-size: 1rem;
  color: var(--color-muted-gray);
  line-height: 1.6;
  max-width: 60ch;
}

/* ==========================================================================
   Closing / Footer CTA Section (LIGHT BACKGROUND - Alternate #4)
   ========================================================================== */
.closing-section {
  background-color: var(--color-surface-light); /* #FFFFFF */
  padding: var(--space-xl) var(--space-md);
  position: relative;
}

.closing-card {
  max-width: var(--max-width-grid);
  margin: 0 auto;
  background-color: var(--color-surface-dark); /* #202020 */
  border-radius: var(--radius-xlarge); /* Structured, elegant 20px corners */
  padding: 5rem 4rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

.closing-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(228, 106, 58, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.closing-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
}

.closing-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--color-on-dark);
}

.closing-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-bottom: 3rem;
}

.closing-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Footer Component - Clean Horizontal Desktop alignment
   ========================================================================== */
.site-footer {
  background-color: #161616; /* Deep dark B2B footer */
  border-top: 1px solid var(--color-surface-dark-variant);
  padding: 4.5rem var(--space-md);
  color: var(--color-muted-gray);
  font-size: 0.9rem;
}

.footer-container {
  max-width: var(--max-width-grid);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center; /* Perfect vertical alignment on horizontal axis */
  flex-wrap: wrap;
  gap: 3rem;
}

/* Horizontal brand group: logo left, text right with separator */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 650px;
}

.footer-logo {
  height: 70px; /* Large, bold footer logo size */
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  border-right: 1px solid rgba(255, 255, 255, 0.15); /* Vertical divider */
  padding-right: 2rem;
  flex-shrink: 0;
}

.footer-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-muted-gray);
  margin: 0;
  max-width: 32ch;
  text-align: left;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
  text-align: right;
  align-self: center;
}

.footer-meta p {
  margin: 0;
}

.copyright {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   Responsive Design Breakpoints (Mobile-First Strategy)
   ========================================================================== */

/* --- Tablet Breakpoint (Max-width: 1023px) --- */
@media screen and (max-width: 1023px) {
  .section-container {
    padding: var(--space-lg) var(--space-md);
  }

  .hero-section {
    padding-top: 10rem;
    padding-bottom: 4rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

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

  .hero-image-wrapper {
    max-width: 380px;
  }

  .details-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem var(--space-md);
  }

  .detail-card {
    justify-content: flex-start;
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .card {
    padding: 3rem 2rem;
  }

  .connection-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .connection-visual {
    order: 2;
  }

  .circle-image-wrapper {
    max-width: 340px;
  }

  .connection-content {
    align-items: center;
    order: 1;
  }

  .connection-subtext {
    margin-left: auto;
    margin-right: auto;
  }

  .closing-card {
    padding: 4rem 2rem;
  }

  /* Footer Stacked Layout for mobile/tablet */
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
  }

  .footer-brand {
    flex-direction: column; /* Stack logo and text */
    align-items: center;
    gap: 1.25rem;
    text-align: center;
  }

  .footer-logo {
    border-right: none;
    padding-right: 0;
    height: 60px;
  }

  .footer-desc {
    text-align: center;
    max-width: 100%;
  }

  .footer-meta {
    align-items: center;
    text-align: center;
  }
}

/* --- Mobile Breakpoint (Max-width: 767px) --- */
@media screen and (max-width: 767px) {
  :root {
    --space-xl: 3.5rem;
    --space-lg: 2rem;
  }

  .header-container {
    padding: 1.5rem var(--space-sm);
  }

  .logo-img {
    height: 70px; /* Larger responsive mobile logo */
  }

  .nav-cta {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
  }

  .hero-section {
    padding-top: 8.5rem;
  }

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

  .hero-image-wrapper {
    max-width: 300px;
  }

  .floating-badge {
    padding: 0.75rem 1.25rem;
    bottom: 15px;
    left: -15px;
  }

  .floating-badge .badge-number {
    font-size: 1.5rem;
  }

  .card-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
