/* ==========================================================================
   MAT-TERRA | INGENIERÍA Y MOVIMIENTO TIERRA
   Design System & Corporate Stylesheet
   ========================================================================== */

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

:root {
  /* Brand Gold & Metallic Palette */
  --gold-300: #F3D979;
  --gold-400: #E5C158;
  --gold-500: #D4AF37;
  --gold-600: #B89020;
  --gold-700: #8E6C12;
  --gold-gradient: linear-gradient(135deg, #F5DC86 0%, #D4AF37 50%, #9E7416 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FFE89C 0%, #E5C158 50%, #B8881A 100%);
  --copper-500: #B87333;

  /* Dark Theme (Default) */
  --bg-primary: #0A0C10;
  --bg-secondary: #12151F;
  --bg-tertiary: #191E2C;
  --bg-glass: rgba(18, 21, 31, 0.75);
  --bg-glass-card: rgba(25, 30, 44, 0.65);
  --border-subtle: rgba(212, 175, 55, 0.15);
  --border-focus: rgba(212, 175, 55, 0.5);
  --border-light: rgba(255, 255, 255, 0.08);

  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --text-gold: #E5C158;

  --badge-bg: rgba(212, 175, 55, 0.12);
  --badge-border: rgba(212, 175, 55, 0.3);
  --badge-text: #F3D979;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 25px rgba(212, 175, 55, 0.25);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Light Theme */
[data-theme="light"] {
  --bg-primary: #F8F9FA;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F1EFE9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-card: rgba(255, 255, 255, 0.9);
  --border-subtle: rgba(184, 144, 32, 0.25);
  --border-focus: rgba(184, 144, 32, 0.6);
  --border-light: rgba(0, 0, 0, 0.08);

  --text-primary: #12151B;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --text-gold: #9E7416;

  --badge-bg: rgba(212, 175, 55, 0.15);
  --badge-border: rgba(184, 144, 32, 0.35);
  --badge-text: #8E6C12;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 4px 20px rgba(184, 144, 32, 0.2);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

img, picture, video {
  max-width: 100%;
  display: block;
}

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

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

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

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-text);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-tag svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-title .text-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0A0C10;
  box-shadow: var(--shadow-gold);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--gold-500);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-400);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--gold-500);
  color: var(--gold-400);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold-500);
  color: #0A0C10;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Top Bar
   ========================================================================== */

.topbar {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.82rem;
  padding: 8px 0;
  color: var(--text-secondary);
  position: relative;
  z-index: 101;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  color: var(--gold-500);
}

.topbar-item a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.topbar-item a:hover {
  color: var(--gold-400);
  text-decoration: underline;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10B981;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.76rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   Main Header & Navigation
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 4px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  gap: 36px;
}

.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-shrink: 0;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* Premium Architectural Badge for Navbar Logo */
.brand-logo-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(18, 21, 31, 0.65) 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.brand-logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 45px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
  pointer-events: none;
  transition: all var(--transition-smooth);
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.35));
  transition: all var(--transition-smooth);
}

.brand-logo-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-25deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.brand-logo-link:hover .brand-logo-badge {
  border-color: rgba(212, 175, 55, 0.65);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(25, 30, 44, 0.85) 100%);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.brand-logo-link:hover .brand-logo-badge::after {
  left: 150%;
}

.brand-logo-link:hover .brand-logo-glow {
  width: 190px;
  height: 65px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.5) 0%, transparent 70%);
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 14px rgba(212, 175, 55, 0.65));
}

/* Vertical metallic divider separating Logo from Nav Links */
.nav-brand-divider {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, transparent, var(--gold-500), transparent);
  opacity: 0.55;
}

/* Light Theme badge adaptation */
[data-theme="light"] .brand-logo-badge {
  background: linear-gradient(135deg, rgba(184, 144, 32, 0.08) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-color: rgba(184, 144, 32, 0.35);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 1);
}

[data-theme="light"] .brand-logo-glow {
  background: radial-gradient(ellipse at center, rgba(184, 144, 32, 0.15) 0%, transparent 70%);
}

[data-theme="light"] .brand-logo-img {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

[data-theme="light"] .brand-logo-link:hover .brand-logo-badge {
  border-color: rgba(184, 144, 32, 0.7);
  box-shadow: 0 6px 20px rgba(184, 144, 32, 0.25);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 10px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--transition-smooth);
  border-radius: var(--radius-full);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-gold);
}

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

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--gold-500);
  color: var(--gold-400);
}

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

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  padding: 10px;
  cursor: pointer;
}

.hamburger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px 0;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.12), transparent 45%),
              linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(212, 175, 55, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-text);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-title .highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero Visual (Exact same dimensions & styling as About Section) */
.hero-visual {
  position: relative;
  width: 100%;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, var(--bg-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: all var(--transition-smooth);
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
  border-radius: calc(var(--radius-lg) - 6px);
  transition: transform var(--transition-smooth);
}

.hero-visual:hover .hero-image {
  transform: scale(1.02);
}

/* Live Operational Metrics Strip */
.metrics-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 36px 0;
  position: relative;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-card {
  text-align: center;
  padding: 16px;
  border-right: 1px solid var(--border-light);
}

.metric-card:last-child {
  border-right: none;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.metric-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   About Us Section
   ========================================================================== */

.about-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-visual-stack {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, var(--bg-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.about-main-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
  border-radius: calc(var(--radius-lg) - 6px);
  transition: transform var(--transition-smooth);
}

.about-visual-stack:hover .about-main-img {
  transform: scale(1.02);
}

.about-text h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
}

.pillar-item:hover {
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--badge-bg);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-item h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pillar-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.4;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 20px rgba(212, 175, 55, 0.1);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-smooth);
}

.service-card:hover .service-icon-box {
  background: var(--gold-gradient);
  color: #0A0C10;
}

.service-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.4;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.service-features-list li svg {
  width: 14px;
  height: 14px;
  color: var(--gold-500);
  flex-shrink: 0;
}

/* ==========================================================================
   Machinery Fleet Section
   ========================================================================== */

.fleet-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.fleet-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.filter-btn.active {
  background: var(--gold-gradient);
  color: #0A0C10;
  border-color: transparent;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.fleet-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.fleet-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.fleet-card-header {
  padding: 24px 24px 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.fleet-category-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-text);
}

.fleet-qty-tag {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.fleet-card-body {
  padding: 0 24px 24px 24px;
  flex-grow: 1;
}

.fleet-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.fleet-specs-table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
}

.fleet-specs-table tr {
  border-bottom: 1px solid var(--border-light);
}

.fleet-specs-table tr:last-child {
  border-bottom: none;
}

.fleet-specs-table td {
  padding: 8px 0;
  font-size: 0.86rem;
}

.fleet-specs-table td:first-child {
  color: var(--text-muted);
  font-weight: 500;
}

.fleet-specs-table td:last-child {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

.fleet-card-footer {
  padding: 16px 24px;
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   Projects & Works Section
   ========================================================================== */

.projects-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.project-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.project-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(212, 175, 55, 0.15);
}

.project-thumb-box {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.project-card:hover .project-thumb-img {
  transform: scale(1.08);
}

.project-thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 12, 16, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.project-client-badge {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
  color: #0A0C10;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}

.project-info {
  padding: 24px;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.84rem;
  margin-bottom: 14px;
}

.project-location svg {
  width: 14px;
  height: 14px;
  color: var(--gold-500);
}

.project-summary {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 18px;
}

.project-link-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-gold);
}

.project-link-action svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.project-card:hover .project-link-action svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Project Video Showcase & Real Faena Gallery
   ========================================================================== */

.project-video-showcase {
  margin-top: 60px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-smooth);
}

.project-video-showcase:hover {
  border-color: var(--gold-500);
}

.video-container-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

@media (max-width: 992px) {
  .video-container-card {
    grid-template-columns: 1fr;
  }
}

.video-player-wrapper {
  position: relative;
  background: #000;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: none;
}

.video-info-box {
  padding: 40px;
}

.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.video-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.video-desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}

.video-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-tertiary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

/* Full Project Photo Gallery Grid */
.project-gallery-section-wrapper {
  margin-top: 70px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.gallery-section-title-box {
  text-align: center;
  margin-bottom: 36px;
}

.gallery-section-title-box h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.gallery-section-title-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 680px;
  margin: 0 auto;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  transition: all var(--transition-smooth);
}

.gallery-item:hover {
  border-color: var(--gold-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 12, 16, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

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

.gallery-item-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.gallery-item-location {
  font-size: 0.8rem;
  color: var(--gold-400);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.gallery-zoom-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 12, 16, 0.7);
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-fast);
}

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

/* ==========================================================================
   QHSE & Standards Section
   ========================================================================== */

.qhse-section {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
}

.qhse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.qhse-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-smooth);
}

.qhse-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.qhse-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qhse-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.qhse-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   Infrastructure & Base in Calama
   ========================================================================== */

.infra-section {
  padding: 90px 0;
  background: var(--bg-secondary);
}

.infra-banner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(26, 31, 44, 0.95) 100%),
              url('../assets/img/company/instalaciones_calama.webp') center/cover no-repeat;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.infra-details h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.infra-details p {
  color: #E2E8F0;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.infra-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.infra-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #F8FAFC;
  font-weight: 600;
  font-size: 0.95rem;
}

.infra-highlight-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold-400);
}

.infra-stats-box {
  background: rgba(10, 12, 16, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px;
  text-align: center;
}

.infra-stats-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 10px;
}

.infra-stats-label {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.infra-stats-sub {
  color: #94A3B8;
  font-size: 0.84rem;
}

/* ==========================================================================
   Quotation Calculator & Contact Section
   ========================================================================== */

.contact-section {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
}

/* Calculator Box */
.calc-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.calc-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.calc-subtitle {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 28px;
}

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

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Direct Contacts Box */
.contact-info-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.exec-directory {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0;
}

.exec-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.exec-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.exec-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.exec-role {
  font-size: 0.8rem;
  color: var(--text-gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.exec-contact-link {
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.exec-contact-link:hover {
  color: var(--gold-400);
  text-decoration: underline;
}

.exec-contact-static {
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  user-select: text;
  cursor: default;
}

.location-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
}

.location-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 80px 0 30px 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 20px 0;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */

.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 99;
  transition: all var(--transition-smooth);
}

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

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

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-smooth);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   Modal Lightbox
   ========================================================================== */

.modal-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}

.modal-lightbox.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--gold-500);
  color: #0A0C10;
}

.modal-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.modal-content {
  padding: 28px;
}

.modal-client {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
  color: #0A0C10;
  margin-bottom: 10px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.modal-location {
  font-size: 0.88rem;
  color: var(--text-gold);
  margin-bottom: 14px;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Email Dispatch Modal
   ========================================================================== */

.email-modal-container {
  max-width: 540px;
  padding: 34px 30px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-lg);
  position: relative;
}

.email-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.email-modal-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.email-modal-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.email-modal-subtitle {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.email-modal-recipient-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.email-recipient-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-400);
}

.email-recipient-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.email-recipient-info strong {
  font-size: 0.94rem;
  color: var(--text-primary);
}

.email-recipient-address {
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-family: monospace;
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.email-modal-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.email-option-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.email-option-card:hover {
  border-color: var(--gold-500);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.email-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.email-option-icon.gmail-icon {
  background: rgba(234, 67, 53, 0.15);
  color: #EA4335;
  border: 1px solid rgba(234, 67, 53, 0.3);
}

.email-option-icon.outlook-icon {
  background: rgba(0, 120, 212, 0.15);
  color: #0078D4;
  border: 1px solid rgba(0, 120, 212, 0.3);
}

.email-option-icon.app-icon {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.email-option-icon.copy-icon {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-400);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.email-option-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.email-option-text strong {
  font-size: 0.92rem;
  color: var(--text-primary);
}

.email-option-text span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.email-option-arrow {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.email-option-card:hover .email-option-arrow {
  color: var(--gold-400);
  transform: translateX(4px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .infra-banner {
    grid-template-columns: 1fr;
    padding: 40px 30px;
  }
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-brand-divider {
    display: none;
  }
  .nav-brand-group {
    gap: 0;
  }
  .brand-logo-badge {
    padding: 4px 10px;
  }
  .brand-logo-img {
    height: 38px;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 24px;
    gap: 20px;
    transition: left var(--transition-smooth);
    border-top: 1px solid var(--border-light);
    overflow-y: auto;
  }
  .nav-menu.active {
    left: 0;
  }
  .hamburger-btn {
    display: flex;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-card:nth-child(2) {
    border-right: none;
  }
  .qhse-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .topbar-info {
    justify-content: center;
    width: 100%;
  }
}
