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

:root {
  /* Premium Corporate Color Palette */
  --gold: #bfa15f;
  --gold-light: #dec68d;
  --gold-dark: #8c713a;
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  
  /* Accents */
  --accent-green: #10b981;
  --accent-red: #f43f5e;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(191, 161, 95, 0.15);
  
  /* System */
  --transition: 0.3s cubic-bezier(.25,.8,.25,1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.06);
}

/* Global Reset */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
a { text-decoration: none; color: inherit; }

/* ─── HEADER & NAVIGATION ─── */
.header {
  position: fixed; top:0; left:0; width:100%; z-index:1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.03);
}
.header-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 2rem;
}
.logo { display:flex; align-items:center; gap:0.8rem; }
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav { display:flex; align-items:center; gap:2.2rem; }
.nav .nav-link {
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.2px; text-transform: none;
  color: var(--text-secondary); transition: var(--transition); position:relative;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav .nav-link::after {
  content:''; position:absolute; bottom:-4px; left:50%; width:0; height:2px;
  background: var(--gold); transition: var(--transition);
  transform: translateX(-50%);
}
.nav .nav-link:hover, .nav .nav-link.active { color: var(--gold); }
.nav .nav-link:hover::after, .nav .nav-link.active::after { width:100%; }

/* Dropdowns */
.nav-item { position: relative; }
.dropdown-toggle::after {
  content: '▾';
  font-size: 0.75rem;
  margin-left: 0.2rem;
  transition: transform var(--transition);
}
.nav-item:hover .dropdown-toggle::after { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 0.8rem 0;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1010;
  pointer-events: none;
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: block;
  padding: 0.7rem 1.6rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}
.dropdown-item:hover {
  background: rgba(191, 161, 95, 0.06);
  color: var(--gold-dark);
  padding-left: 1.8rem;
}

/* Compact Production Dropdown */
.prod-dropdown {
  min-width: 380px;
  padding: 1.8rem;
}
.prod-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}
.prod-dropdown-col h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-dark);
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  font-family: 'Inter', sans-serif;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.4rem;
}
.prod-dropdown-col .dropdown-item {
  padding: 0.4rem 0;
  font-size: 0.88rem;
}
.prod-dropdown-col .dropdown-item:hover {
  padding-left: 0.3rem;
  background: transparent;
  color: var(--gold);
}

/* ─── HEADER ACTIONS ─── */
.header-actions { display: flex; align-items: center; gap: 1rem; }
.btn-client {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #ffffff; border: none; padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 0.82rem;
  cursor: pointer; transition: var(--transition); letter-spacing: 0.3px;
  box-shadow: 0 4px 15px rgba(191, 161, 95, 0.2);
}
.btn-client:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(191, 161, 95, 0.35);
}

/* ─── PRODUCT LAYOUT & SIDEBAR ─── */
.product-layout-container {
  display: grid; grid-template-columns: 1fr 310px; gap: 2rem;
  max-width: 1320px; margin: 0 auto; padding: 5rem 2rem;
}
.product-main-content { min-width: 0; }
.product-sidebar { position: sticky; top: 110px; align-self: start; }
.sidebar-box {
  background: var(--bg-surface); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 2.2rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-box h3 {
  font-size: 1.15rem; color: var(--text-primary);
  margin-bottom: 1.5rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gold);
}
.sidebar-nav { display: flex; flex-direction: column; gap: 0.8rem; }
.sidebar-link {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.92rem; font-weight: 500; color: var(--text-secondary);
  padding: 0.7rem 1.2rem; border-radius: var(--radius-sm);
  transition: var(--transition); border: 1px solid transparent;
}
.sidebar-link:hover, .sidebar-link.active {
  background: rgba(191, 161, 95, 0.06);
  color: var(--gold-dark); font-weight: 600;
  border-color: rgba(191, 161, 95, 0.12);
}
.sidebar-link::after {
  content: '→'; font-size: 0.95rem; opacity: 0;
  transition: var(--transition); transform: translateX(-5px);
}
.sidebar-link:hover::after, .sidebar-link.active::after {
  opacity: 1; transform: translateX(0);
}

/* ─── HERO SECTION ─── */
.hero {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('assets/img/hero.png') center/cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.85) 60%, rgba(255, 255, 255, 0.96) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 960px; padding: 0 2rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(191, 161, 95, 0.08);
  border: 1px solid rgba(191, 161, 95, 0.2);
  padding: 0.5rem 1.4rem; border-radius: 50px; font-size: 0.8rem;
  color: var(--gold-dark); letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 600; margin-bottom: 1.8rem;
  animation: fadeInDown 0.8s ease forwards;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); animation: pulse 2s infinite;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.5rem); font-weight: 900; line-height: 1.15;
  margin-bottom: 1.5rem; animation: fadeInUp 1s ease 0.2s both;
  color: var(--text-primary);
}
.hero h1 .gold { color: var(--gold-dark); }
.hero p {
  font-size: 1.18rem; color: var(--text-secondary); max-width: 700px;
  margin: 0 auto 2.8rem; animation: fadeInUp 1s ease 0.4s both;
  line-height: 1.7;
}
.hero-buttons {
  display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s both;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #ffffff; padding: 0.95rem 2.4rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(191, 161, 95, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(191, 161, 95, 0.4);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--gold);
  color: var(--gold-dark); padding: 0.95rem 2.4rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: var(--transition);
}
.btn-outline:hover {
  background: #ffffff; color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(191, 161, 95, 0.1);
}

/* ─── SECTIONS ─── */
section { padding: 7rem 2rem; position: relative; }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-header .label {
  color: var(--gold-dark); font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 2px; font-weight: 700; margin-bottom: 0.8rem;
}
.section-header h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 1.2rem;
  font-weight: 800; line-height: 1.25;
}
.section-header p {
  color: var(--text-secondary); max-width: 650px; margin: 0 auto;
  font-size: 1.08rem; line-height: 1.7;
}
.container { max-width: 1200px; margin: 0 auto; }

/* Left-aligned section headers */
.section-header.text-left {
  text-align: left;
  margin-bottom: 2.5rem;
}
.section-header.text-left p {
  margin: 0;
  max-width: 750px;
}
.section-header.text-left .label {
  margin-bottom: 0.8rem;
}

/* ─── SERVICES GRID (Inicio) ─── */
#services { background: var(--bg-surface); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2.5rem; }
.service-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border-color);
  transition: var(--transition); cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.service-card-img { height: 230px; overflow: hidden; position: relative; }
.service-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
}
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 2rem; }
.service-card-body h3 { font-size: 1.35rem; margin-bottom: 0.8rem; font-weight: 700; }
.service-card-body p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.65; }
.service-card-icon {
  position: absolute; top: 1.2rem; right: 1.2rem; z-index: 5;
  width: 48px; height: 48px; background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

/* ─── LABORES (Cards Generales) ─── */
#labores { background: var(--bg-main); }
.labores-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.labor-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border-color);
  padding: 2.2rem; transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.labor-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.labor-card .labor-status {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.8rem; border-radius: 50px; font-size: 0.72rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
}
.labor-card .labor-status.active { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }
.labor-card .labor-status.prep { background: rgba(191, 161, 95, 0.1); color: var(--gold-dark); }
.labor-card h3 { font-size: 1.25rem; margin-bottom: 0.8rem; font-weight: 700; }
.labor-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }
.labor-card .labor-tag {
  display: inline-block; margin-top: 1.2rem; padding: 0.35rem 0.75rem;
  background: rgba(191, 161, 95, 0.06); border: 1px solid rgba(191, 161, 95, 0.12);
  border-radius: var(--radius-sm); font-size: 0.78rem; color: var(--gold-dark);
  font-weight: 600;
}
.labor-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0; transition: var(--transition);
}
.labor-card:hover::before { opacity: 1; }

.labor-notice {
  margin-top: 3.5rem; text-align: center; padding: 1.8rem;
  background: rgba(191, 161, 95, 0.04); border: 1px dashed rgba(191, 161, 95, 0.25);
  border-radius: var(--radius-md);
}
.labor-notice p { color: var(--text-secondary); font-size: 0.95rem; }
.labor-notice strong { color: var(--gold-dark); }

/* ─── INVESTMENT & WRAPPER ─── */
#inversion { background: var(--bg-surface); }
.investment-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4.5rem; align-items: center; }
.invest-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.invest-visual img { width: 100%; display: block; border-radius: var(--radius-lg); transition: transform 0.5s ease; }
.invest-visual:hover img { transform: scale(1.02); }
.invest-content h2 { font-size: 2.2rem; margin-bottom: 1.2rem; font-weight: 800; }
.invest-content p { color: var(--text-secondary); margin-bottom: 2.2rem; font-size: 1.05rem; line-height: 1.7; }
.invest-features { list-style: none; margin-bottom: 2.2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.invest-features li { display: flex; align-items: flex-start; gap: 0.8rem; font-size: 0.96rem; color: var(--text-secondary); }
.invest-features li .check { color: var(--gold); font-size: 1.15rem; flex-shrink: 0; margin-top: 0.1rem; }

/* ─── SLIDER HIGHTLIGHTS ─── */
.slider-container {
  position: relative; max-width: 1000px; margin: 0 auto;
  overflow: hidden; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); background: var(--bg-card);
  border: 1px solid var(--border-color);
}
.slider-track { display: flex; transition: transform 0.5s ease; }
.slide {
  min-width: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 4.5rem 3rem;
  text-align: center;
}
.slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 100%; display: flex; justify-content: space-between;
  padding: 0 1.2rem; pointer-events: none;
}
.slider-btn {
  pointer-events: auto; background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-color); width: 44px; height: 44px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-sm); color: var(--text-primary);
  font-weight: bold; transition: var(--transition);
}
.slider-btn:hover { background: var(--gold); color: white; border-color: var(--gold); }
.slider-dots { position: absolute; bottom: 1.2rem; width: 100%; display: flex; justify-content: center; gap: 0.6rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-color); cursor: pointer; transition: var(--transition); }
.dot.active { background: var(--gold); width: 20px; border-radius: 10px; }

/* ─── CONTACT SECTION ─── */
#contacto { background: var(--bg-main); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.contact-info h3 { font-size: 1.8rem; margin-bottom: 1.2rem; font-weight: 700; }
.contact-info p { color: var(--text-secondary); margin-bottom: 2.5rem; line-height: 1.7; }
.contact-item { display: flex; align-items: flex-start; gap: 1.2rem; margin-bottom: 2rem; }
.contact-item-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm); flex-shrink: 0;
  background: rgba(191, 161, 95, 0.08); border: 1px solid rgba(191, 161, 95, 0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark); font-size: 1.2rem;
}
.contact-item-text h4 { font-size: 0.98rem; margin-bottom: 0.25rem; font-weight: 700; }
.contact-item-text p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { position: relative; }
.form-group input, .form-group textarea {
  width: 100%; padding: 1rem 1.25rem; background: var(--bg-card);
  border: 1px solid var(--border-color); border-radius: var(--radius-sm);
  color: var(--text-primary); font-family: 'Inter', sans-serif;
  font-size: 0.92rem; transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(191, 161, 95, 0.12);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #94a3b8; }

/* ─── TABS & INVEST TABS ─── */
.tabs-invest {
  display: flex; margin-bottom: 2.5rem; border-radius: var(--radius-sm);
  overflow: hidden; border: 1px solid var(--border-color); background: var(--bg-card);
}
.tabs-invest button {
  flex: 1; padding: 0.85rem; background: transparent; border: none;
  color: var(--text-secondary); font-weight: 600; font-size: 0.88rem;
  cursor: pointer; transition: var(--transition);
}
.tabs-invest button.active { background: var(--gold); color: #ffffff; }

/* ─── INDUSTRIAL TABLES (Ficha Tecnica) ─── */
.ficha-table-wrapper {
  background: var(--bg-surface); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
}
.ficha-table {
  width: 100%; border-collapse: collapse; text-align: left; font-size: 0.9rem;
}
.ficha-table th {
  background: #f8fafc; color: var(--text-primary); font-weight: 700;
  padding: 1.1rem 1.4rem; border-bottom: 2px solid var(--border-color);
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.ficha-table td {
  padding: 1rem 1.4rem; border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}
.ficha-table tr:last-child td { border-bottom: none; }
.ficha-table tr:hover td { background: #f8fafc; }
.badge-highlight {
  background: rgba(191, 161, 95, 0.1); color: var(--gold-dark);
  font-weight: 700; padding: 0.35rem 0.75rem; border-radius: var(--radius-sm);
}
.badge-secondary {
  background: #f1f5f9; color: #475569;
  font-weight: 600; padding: 0.35rem 0.75rem; border-radius: var(--radius-sm);
}

/* ─── MODALS ─── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(11, 15, 25, 0.75); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center; align-items: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 3rem; width: 90%; max-width: 460px;
  position: relative; animation: scaleIn 0.3s ease; box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 38px; height: 38px;
  border-radius: var(--radius-sm); border: 1px solid var(--border-color);
  background: transparent; color: var(--text-secondary); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.modal-close:hover { border-color: var(--accent-red); color: var(--accent-red); }
.modal h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; }
.modal .modal-subtitle { color: var(--text-secondary); margin-bottom: 2.2rem; font-size: 0.92rem; }
.modal .form-group { margin-bottom: 1.2rem; }
.modal .form-group label {
  display: block; font-size: 0.82rem; color: var(--text-secondary);
  margin-bottom: 0.5rem; font-weight: 600;
}
.modal .btn-primary { width: 100%; margin-top: 0.8rem; }
.modal .divider {
  text-align: center; margin: 1.8rem 0; color: var(--text-secondary);
  font-size: 0.82rem; position: relative;
}
.modal .divider::before, .modal .divider::after {
  content: ''; position: absolute; top: 50%; width: 38%; height: 1px;
  background: var(--border-color);
}
.modal .divider::before { left: 0; }
.modal .divider::after { right: 0; }
.modal .subscribe-link { text-align: center; margin-top: 1.2rem; font-size: 0.9rem; color: var(--text-secondary); }
.modal .subscribe-link a { color: var(--gold-dark); font-weight: 700; }
.modal .subscribe-link a:hover { text-decoration: underline; }

/* ─── FOOTER ─── */
.footer {
  background: #0b0f19; color: #94a3b8; border-top: 1px solid rgba(255,255,255,0.05);
  padding: 5rem 2rem 2.5rem; font-size: 0.9rem;
}
.footer-container {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 4rem;
}
.footer-brand {
  display: flex; flex-direction: column; gap: 1.2rem;
}
.footer-logo {
  height: 60px; width: auto; align-self: flex-start;
  filter: brightness(0) invert(1);
  object-fit: contain;
}
.footer-desc {
  line-height: 1.6; font-size: 0.88rem; color: #94a3b8;
}
.footer-social .social-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: #ffffff; font-weight: 600; font-size: 0.88rem;
  background: rgba(255,255,255,0.06); padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}
.footer-social .social-link:hover {
  background: var(--gold); border-color: var(--gold); color: #ffffff;
}

.footer-links-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.footer-col h3 {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  color: #ffffff; letter-spacing: 1px; margin-bottom: 1.2rem;
  font-family: 'Inter', sans-serif;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul a {
  color: #94a3b8; transition: var(--transition); font-size: 0.88rem;
}
.footer-col ul a:hover { color: #ffffff; padding-left: 3px; }

.footer-bottom {
  max-width: 1320px; margin: 4rem auto 0; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05); text-align: center;
  font-size: 0.82rem; color: #64748b;
}
.footer-bottom .gold { color: var(--gold-light); font-weight: 600; }

@media(max-width: 900px) {
  .footer-container { grid-template-columns: 1fr; gap: 3rem; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 480px) {
  .footer-links-grid { grid-template-columns: 1fr; }
}

/* ─── HAMBURGER & RESPONSIVE MOBILE ─── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 0.5rem; }
.hamburger span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

@media(max-width: 1024px) {
  .product-layout-container { grid-template-columns: 1fr; gap: 3rem; }
  .product-sidebar { position: static; width: 100%; }
  .investment-wrap, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media(max-width: 768px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    flex-direction: column; background: var(--bg-surface); padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color); gap: 1rem;
    box-shadow: var(--shadow-md); max-height: calc(100vh - 80px);
    overflow-y: auto; align-items: flex-start;
  }
  .nav.open { display: flex; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .labores-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.2rem; }
  
  .nav-item { width: 100%; }
  .nav .nav-link { width: 100%; justify-content: space-between; padding: 0.65rem 0; }
  .nav .nav-link::after { display: none; }
  
  .dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    display: none; box-shadow: none; border: none;
    border-left: 2px solid var(--gold-light); padding: 0.5rem 0 0.5rem 1.2rem;
    pointer-events: auto; width: 100%; background: transparent;
  }
  .dropdown-menu::before { display: none; }
  .nav-item.active-dropdown .dropdown-menu { display: block; }
  .nav-item.active-dropdown .dropdown-toggle::after { transform: rotate(180deg); }
  .prod-dropdown {
    min-width: auto;
    padding: 0.5rem 0 0.5rem 1.2rem;
  }
  .prod-dropdown-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .prod-dropdown-col h3 {
    margin-top: 0.5rem;
    margin-bottom: 0.4rem;
  }
}

@media(max-width: 480px) {
  .labores-grid { grid-template-columns: 1fr; }
  .header-inner { padding: 0.6rem 1rem; }
}

/* ─── WHATSAPP FLOAT ─── */
.float-ws {
  position: fixed; bottom: 30px; right: 30px;
  background-color: #25d366; color: white;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0px 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000; transition: var(--transition);
}
.float-ws:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0px 12px 30px rgba(37, 211, 102, 0.6);
  color: white;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.fade-in { opacity: 0; transform: translateY(30px); transition: 0.8s cubic-bezier(.25,.8,.25,1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── CREATIVE HOMEPAGE SECTIONS ─── */
.grid-layout-creative {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4.5rem;
  align-items: start;
}
@media (max-width: 991px) {
  .grid-layout-creative {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Accordion System */
.minerals-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.mineral-item {
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.mineral-item:hover {
  border-color: var(--gold);
}
.mineral-header {
  padding: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: rgba(191,161,95,0.01);
  transition: var(--transition);
  user-select: none;
}
.mineral-header:hover {
  background: rgba(191,161,95,0.04);
}
.mineral-title-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.mineral-title-wrapper .icon {
  font-size: 1.35rem;
}
.mineral-title-wrapper .title {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
}
.mineral-header .arrow-icon {
  font-size: 0.8rem;
  transition: transform var(--transition);
  color: var(--text-secondary);
}
.mineral-item.active .mineral-header .arrow-icon {
  transform: rotate(180deg);
  color: var(--gold-dark);
}
.mineral-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.4s ease;
  padding: 0 1.2rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.mineral-item.active .mineral-content {
  max-height: 250px;
  padding: 1.2rem;
  border-top: 1px solid var(--border-color);
}
.mineral-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.mineral-badge.purity {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
}
.mineral-badge.gold-badge {
  background: rgba(191, 161, 95, 0.1);
  color: var(--gold-dark);
}
.mineral-badge.normal {
  background: #f1f5f9;
  color: #475569;
}

/* Metric Cards */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 480px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}
.metric-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}
.metric-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

/* Pilares Grid */
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}
.pilar-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 3rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pilar-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--gold-light);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}
.pilar-link {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  margin-top: 1.5rem;
}
.pilar-link .arrow {
  transition: transform var(--transition);
}
.pilar-card:hover .pilar-link {
  color: #ffffff;
}
.pilar-card:hover .pilar-link .arrow {
  transform: translateX(4px);
}

/* Compromiso Ambiental */
.env-cards-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.env-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: var(--transition);
}
.env-card:hover {
  transform: translateX(10px);
  border-color: var(--gold);
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
}
.env-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.env-card:hover .env-icon {
  transform: scale(1.1) rotate(10deg);
  background: rgba(191, 161, 95, 0.1);
  border-color: rgba(191, 161, 95, 0.3);
}
.env-card-info h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}
.env-card-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
