/* ============================================================
   LANDGOLD COLOMBIA – PREMIUM CORPORATE STYLES
   Paleta: Dorado #C9A227 | Verde #1E6B4A | Gris #2D2D2D | Blanco #FFF
   ============================================================ */

/* ─── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #C9A227;
  --gold-light: #E2BC4A;
  --gold-dark: #A07D10;
  --green: #1E6B4A;
  --green-light: #27845C;
  --green-dark: #134A33;
  --dark: #2D2D2D;
  --dark-2: #1A1A1A;
  --gray: #6B7280;
  --gray-light: #F3F4F6;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, .12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .18);
  --shadow-gold: 0 8px 32px rgba(201, 162, 39, .35);
  --shadow-green: 0 8px 32px rgba(30, 107, 74, .35);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: all .35s cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ─── Typography ────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

.subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

/* ─── Section Base ──────────────────────────────────────────── */
section {
  padding: 100px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201, 162, 39, .5);
  color: var(--white);
}

.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(30, 107, 74, .5);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .6);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}

/* ─── NAVBAR ────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: var(--transition);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
}

.logo-gold {
  color: var(--gold);
}

.logo-green {
  color: var(--green-light);
}

.logo-colombia {
  color: var(--gray);
  font-size: .75rem;
  display: block;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: .875rem;
  font-weight: 500;
  color: var(--dark);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--green-dark);
  background: rgba(30, 107, 74, .1);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--white) !important;
}

/* Dropdown Menu Styles (Desktop only) */
@media (min-width: 1025px) {
  .nav-dropdown {
    position: relative;
  }

  .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
    z-index: 100;
    border-top: 3px solid var(--gold);
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown.open .nav-dropdown-menu,
  .nav-dropdown.active .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Chevron rotation on desktop hover/open */
  .nav-dropdown:hover .nav-dropdown-toggle i,
  .nav-dropdown.open .nav-dropdown-toggle i {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: .875rem;
    color: var(--dark);
    transition: var(--transition);
  }

  .nav-dropdown-menu li a:hover {
    background: rgba(30, 107, 74, .08);
    color: var(--green-dark);
  }
}


.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── HERO ──────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(30, 107, 74, .9) 0%,
      rgba(39, 132, 92, .7) 50%,
      rgba(201, 162, 39, .6) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles::before,
.hero-particles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  animation: float 8s infinite ease-in-out;
}

.hero-particles::before {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 162, 39, .15) 0%, transparent 70%);
  top: 10%;
  right: 10%;
  animation-delay: -3s;
}

.hero-particles::after {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(30, 107, 74, .2) 0%, transparent 70%);
  bottom: 20%;
  left: 5%;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: heroFadeIn 1.2s ease both;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 162, 39, .2);
  border: 1px solid rgba(201, 162, 39, .4);
  color: var(--gold-light);
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(1.5);
  }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
  line-height: 1.15;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 40px;
  max-width: 620px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: heroFadeIn 1.4s ease both;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .6);
  font-size: .75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll i {
  font-size: 1.2rem;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ─── QUIÉNES SOMOS ─────────────────────────────────────────── */
#quienes-somos {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-badge-floating {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-gold);
  text-align: center;
}

.about-badge-floating .num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.about-badge-floating .lbl {
  font-family: 'Poppins', sans-serif;
  font-size: .75rem;
  font-weight: 500;
  opacity: .9;
}

.about-content .section-header {
  text-align: left;
}

.about-content .section-line {
  margin: 16px 0 0;
}

.about-text {
  color: var(--gray);
  margin-bottom: 40px;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.about-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 24px;
  border-top: 4px solid var(--gold);
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--green);
}

.about-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.about-card p {
  font-size: .85rem;
  color: var(--gray);
  line-height: 1.6;
}

.valores-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.valor-tag {
  background: linear-gradient(135deg, rgba(30, 107, 74, .1), rgba(201, 162, 39, .1));
  border: 1px solid rgba(201, 162, 39, .3);
  color: var(--green-dark);
  font-family: 'Poppins', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
}

/* ─── SERVICIOS ─────────────────────────────────────────────── */
#servicios {
  background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
}

#servicios::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 162, 39, .08) 0%, transparent 70%);
  pointer-events: none;
}

#servicios .section-header h2 {
  color: var(--white);
}

#servicios .section-header p {
  color: rgba(255, 255, 255, .65);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  background: rgba(255, 255, 255, .08);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(201, 162, 39, .15), rgba(30, 107, 74, .15));
  border: 1px solid rgba(201, 162, 39, .25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--gold), var(--green));
}

.service-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.service-card p {
  font-size: .875rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.7;
}

/* ─── IMPACTO ───────────────────────────────────────────────── */
#impacto {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, var(--green-light) 100%);
  position: relative;
  overflow: hidden;
}

#impacto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

#impacto .section-header h2 {
  color: var(--white);
}

#impacto .section-header p {
  color: rgba(255, 255, 255, .8);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255, 255, 255, .18);
  transform: translateY(-6px);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--gold-light);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .9);
}

/* ─── PROYECTOS ─────────────────────────────────────────────── */
#proyectos {
  background: var(--gray-light);
}

.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.proyecto-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.proyecto-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.proyecto-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.proyecto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.proyecto-card:hover .proyecto-img img {
  transform: scale(1.08);
}

.proyecto-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green-dark), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.proyecto-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}

.proyecto-body {
  padding: 24px;
}

.proyecto-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.proyecto-body p {
  font-size: .875rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.proyecto-meta {
  display: flex;
  gap: 16px;
  font-size: .8rem;
  color: var(--gray);
}

.proyecto-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.proyecto-meta i {
  color: var(--gold);
}

.proyecto-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  margin-top: 16px;
  transition: var(--transition);
}

.proyecto-link:hover {
  color: var(--gold);
  gap: 10px;
}

/* ─── SOSTENIBILIDAD ────────────────────────────────────────── */
#sostenibilidad {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.sost-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/sustainability-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.sost-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19, 74, 51, .92) 0%, rgba(26, 26, 26, .8) 100%);
}

.sost-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: var(--white);
}

.sost-content .section-header {
  text-align: left;
}

.sost-content .section-header h2 {
  color: var(--white);
}

.sost-content .section-line {
  margin: 16px 0 0;
}

.sost-text {
  color: rgba(255, 255, 255, .85);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 40px;
}

.sost-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.sost-pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.sost-pillar-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.sost-pillar h4 {
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.sost-pillar p {
  font-size: .8rem;
  color: rgba(255, 255, 255, .7);
}

/* ─── PRECIO DEL ORO ────────────────────────────────────────── */
#oro {
  background: var(--dark-2);
}

#oro .section-header h2 {
  color: var(--white);
}

#oro .section-header p {
  color: rgba(255, 255, 255, .65);
}

.gold-dashboard {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(201, 162, 39, .2);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-gold);
}

.gold-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.gold-stat {
  text-align: center;
  padding: 28px 16px;
  background: rgba(201, 162, 39, .06);
  border: 1px solid rgba(201, 162, 39, .15);
  border-radius: var(--radius);
}

.gold-stat-label {
  font-family: 'Poppins', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}

.gold-stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.gold-stat-sub {
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
  margin-top: 6px;
  display: block;
}

.gold-change-up {
  color: #22c55e;
}

.gold-change-down {
  color: #ef4444;
}

.gold-chart-wrapper {
  position: relative;
  height: 280px;
}

.gold-update {
  text-align: right;
  font-size: .75rem;
  color: rgba(255, 255, 255, .4);
  margin-top: 12px;
  font-family: 'Poppins', sans-serif;
}

.gold-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: rgba(255, 255, 255, .5);
  gap: 12px;
}

.gold-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(201, 162, 39, .2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ─── NOTICIAS ──────────────────────────────────────────────── */
#noticias {
  background: var(--white);
}

.noticias-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
}

.noticia-featured {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  grid-row: span 2;
}

.noticia-featured:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.noticia-featured-img {
  height: 320px;
  overflow: hidden;
}

.noticia-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}

.noticia-featured:hover .noticia-featured-img img {
  transform: scale(1.05);
}

.noticia-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.noticia-featured-body {
  padding: 32px;
}

.noticia-featured-body .noticia-cat {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.noticia-featured-body h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.noticia-featured-body p {
  color: var(--gray);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.noticia-fecha {
  font-size: .8rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
}

.noticia-fecha i {
  color: var(--gold);
}

.noticia-small {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  transition: var(--transition);
}

.noticia-small:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.noticia-small-img {
  width: 120px;
  min-width: 120px;
  overflow: hidden;
}

.noticia-small-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.noticia-small-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.noticia-small-body {
  padding: 20px;
  flex: 1;
}

.noticia-small-body .noticia-cat {
  font-family: 'Poppins', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
  display: block;
}

.noticia-small-body h3 {
  font-size: .95rem;
  margin-bottom: 6px;
  line-height: 1.4;
  color: var(--dark);
}

.noticia-small-body .noticia-fecha {
  font-size: .75rem;
}

.noticias-cta {
  text-align: center;
  margin-top: 48px;
}

/* ─── GALERÍA ───────────────────────────────────────────────── */
#galeria {
  background: var(--gray-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: linear-gradient(135deg, var(--green-dark), var(--gold-dark));
  aspect-ratio: 1;
  transition: var(--transition);
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: var(--white);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

/* ─── REDES SOCIALES ────────────────────────────────────────── */
#redes {
  background: var(--white);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.social-platform-card {
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: var(--transition);
  color: var(--white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.social-platform-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.social-platform-card.fb {
  background: linear-gradient(135deg, #1877F2, #0d5bbf);
}

.social-platform-card.ig {
  background: linear-gradient(135deg, #E1306C, #833AB4, #F77737);
}

.social-platform-card.li {
  background: linear-gradient(135deg, #0A66C2, #064e9e);
}

.social-platform-card.yt {
  background: linear-gradient(135deg, #FF0000, #cc0000);
}

.social-platform-card.wa {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.social-platform-card i {
  font-size: 2.2rem;
}

.social-platform-card span {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .9rem;
}

/* ─── CONTACTO ──────────────────────────────────────────────── */
#contacto {
  background: linear-gradient(135deg, var(--dark-2), var(--dark));
}

#contacto .section-header h2 {
  color: var(--white);
}

#contacto .section-header p {
  color: rgba(255, 255, 255, .65);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, .3);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201, 162, 39, .06);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  color: #22c55e;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.contact-info {
  color: var(--white);
}

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--white);
}

.contact-info p {
  color: rgba(255, 255, 255, .7);
  margin-bottom: 32px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
}

.contact-item-text .label {
  font-family: 'Poppins', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}

.contact-item-text a,
.contact-item-text span {
  color: rgba(255, 255, 255, .85);
  font-size: .9rem;
  transition: var(--transition);
}

.contact-item-text a:hover {
  color: var(--gold);
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, .1);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--dark-2);
  color: var(--white);
}

.footer-top {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-tagline {
  color: rgba(255, 255, 255, .5);
  font-size: .875rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: rgba(255, 255, 255, .7);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, .55);
  font-size: .875rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .6);
  font-size: .875rem;
}

.footer-contact li i {
  color: var(--gold);
  width: 16px;
}

.footer-contact li a {
  color: rgba(255, 255, 255, .6);
}

.footer-contact li a:hover {
  color: var(--gold);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .35);
}

/* ─── FLOATING BUTTONS ──────────────────────────────────────── */
.floating-buttons {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
  transition: var(--transition);
  text-decoration: none;
  animation: popIn .5s ease both;
}

.float-btn:hover {
  transform: scale(1.12);
}

.float-btn.whatsapp {
  background: #25D366;
}

.float-btn.facebook {
  background: #1877F2;
}

.float-btn.instagram {
  background: linear-gradient(135deg, #E1306C, #833AB4);
}

.float-btn.back-top {
  background: var(--gold);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.float-btn.back-top.visible {
  opacity: 1;
  pointer-events: all;
}

@keyframes popIn {
  from {
    transform: scale(0) rotate(180deg);
    opacity: 0;
  }

  to {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}

/* ─── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── LIGHTBOX ──────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .95);
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  line-height: 1;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--gold);
}

/* ─── RESPONSIVE UTILITY CLASSES ───────────────────────────── */
.news-detail-hero {
  transition: height .3s ease;
}

.news-carousel {
  height: 380px;
  transition: height .3s ease;
}

.detail-layout {
  transition: grid-template-columns .3s ease;
}

.quienes-cards-grid {
  transition: grid-template-columns .3s ease;
}

/* Sub-page inner content padding fix */
.detail-layout article>div {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */

/* ── Tablet landscape (≤ 1024px) ─────────────────────────── */
@media (max-width: 1024px) {
  /* ─ Navbar ─ */
  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, .98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 999;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    font-size: 1.1rem;
    color: #fff;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.open span {
    background: #fff;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Dropdown Responsive */
  .nav-dropdown {
    width: 100%;
    text-align: center;
  }
  
  .nav-dropdown-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border-top: none;
    padding: 0;
    min-width: 100%;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown.open .nav-dropdown-toggle i {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu li a {
    color: rgba(255, 255, 255, .7) !important;
    padding: 10px 20px;
    font-size: .95rem;
  }

  .nav-dropdown-menu li a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .1);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image {
    height: 400px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gold-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .gold-dashboard {
    padding: 28px;
  }

  .noticias-grid {
    grid-template-columns: 1fr;
  }

  .noticia-featured {
    grid-row: span 1;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* Detail pages — article + sidebar grid */
  .detail-layout {
    grid-template-columns: 1fr !important;
  }

  .detail-layout aside {
    order: 1;
  }
}

/* ── Tablet portrait / Mobile landscape (≤ 768px) ────────── */
@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }

  .container {
    padding: 0 16px;
  }

  /* ─ Hero ─ */
  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-scroll {
    bottom: 24px;
  }

  .hero-badge {
    font-size: .7rem;
    padding: 6px 14px;
  }

  /* ─ Hero Mini (sub-pages) ─ */
  .hero-mini,
  [style*="padding:80px 0 60px"] {
    padding: 60px 0 40px !important;
  }

  /* ─ Section headers ─ */
  .section-header {
    margin-bottom: 40px;
  }

  .section-badge {
    font-size: .7rem;
    padding: 5px 14px;
  }

  /* ─ Buttons ─ */
  .btn {
    padding: 12px 24px;
    font-size: .875rem;
  }

  /* ─ About ─ */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image {
    height: 300px;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .about-badge-floating {
    display: none;
  }

  .about-content .section-header {
    text-align: center;
  }

  .about-content .section-line {
    margin: 16px auto 0;
  }

  /* ─ Services ─ */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 28px 20px;
  }

  /* ─ Stats ─ */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-card {
    padding: 28px 12px;
  }

  .stat-number {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  /* ─ Projects ─ */
  .proyectos-grid {
    grid-template-columns: 1fr;
  }

  .proyecto-img {
    height: 200px;
  }

  /* ─ Sustainability ─ */
  .sost-pillars {
    grid-template-columns: 1fr;
  }

  .sost-text {
    font-size: .95rem;
  }

  .sost-content {
    max-width: 100%;
  }

  /* ─ Gold dashboard ─ */
  .gold-dashboard {
    padding: 20px;
  }

  .gold-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gold-stat {
    padding: 16px 10px;
  }

  .gold-stat-value {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
  }

  .gold-chart-wrapper {
    height: 220px;
  }

  /* ─ News ─ */
  .noticias-grid {
    grid-template-columns: 1fr;
  }

  .noticia-featured {
    grid-row: span 1;
  }

  .noticia-featured-img {
    height: 240px;
  }

  .noticia-featured-body {
    padding: 24px;
  }

  .noticia-featured-body h3 {
    font-size: 1.2rem;
  }

  .noticia-small {
    flex-direction: column;
  }

  .noticia-small-img {
    width: 100%;
    height: 160px;
  }

  /* ─ Gallery ─ */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:first-child {
    grid-column: span 2;
  }

  /* ─ Social ─ */
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-platform-card {
    padding: 24px 16px;
  }

  .social-platform-card i {
    font-size: 1.8rem;
  }

  .social-platform-card span {
    font-size: .8rem;
  }

  /* ─ Contact ─ */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info h3 {
    font-size: 1.3rem;
  }

  .map-wrapper {
    height: 200px;
  }

  /* ─ Footer ─ */
  .footer-top {
    padding: 48px 0 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo {
    font-size: 1.4rem;
  }

  /* ─ Detail pages: article + sidebar ─ */
  .detail-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* ─ News detail hero ─ */
  .news-detail-hero {
    height: 320px !important;
  }

  .news-detail-hero .container {
    padding: 24px 16px !important;
  }

  .news-detail-hero h1 {
    font-size: clamp(1.3rem, 5vw, 2rem) !important;
  }

  /* ─ News carousel ─ */
  .news-carousel {
    height: 260px !important;
  }

  /* ─ Quienes-somos cards grid ─ */
  .quienes-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* ─ Floating buttons ─ */
  .floating-buttons {
    bottom: 16px;
    right: 16px;
  }

  .float-btn {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  /* ─ Lightbox ─ */
  .lightbox-content {
    max-width: 95vw;
  }

  .lightbox-content img {
    max-height: 70vh;
  }

  .lightbox-close {
    top: -36px;
    font-size: 1.5rem;
  }
}

/* ── Small mobile (≤ 480px) ──────────────────────────────── */
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  section {
    padding: 56px 0;
  }

  .container {
    padding: 0 12px;
  }

  /* ─ Navbar ─ */
  .nav-container {
    padding: 0 12px;
  }

  .nav-logo img {
    height: 48px !important;
  }

  /* ─ Hero ─ */
  .hero-title {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .hero-text {
    font-size: .9rem;
    margin-bottom: 28px;
  }

  .hero-badge {
    font-size: .65rem;
    padding: 5px 12px;
    letter-spacing: 1px;
  }

  /* ─ Typography ─ */
  h2 {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  h3 {
    font-size: clamp(1rem, 3vw, 1.3rem);
  }

  .section-header {
    margin-bottom: 32px;
  }

  /* ─ Buttons ─ */
  .btn {
    padding: 11px 20px;
    font-size: .85rem;
  }

  /* ─ Stats ─ */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 20px 8px;
  }

  .stat-number {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }

  .stat-label {
    font-size: .8rem;
  }

  /* ─ Gold ─ */
  .gold-dashboard {
    padding: 14px;
    border-radius: var(--radius);
  }

  .gold-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .gold-stat {
    padding: 14px 8px;
  }

  .gold-stat-label {
    font-size: .65rem;
  }

  .gold-stat-value {
    font-size: clamp(1rem, 4vw, 1.3rem);
  }

  .gold-chart-wrapper {
    height: 180px;
  }

  /* ─ Services ─ */
  .service-card {
    padding: 24px 16px;
  }

  .service-icon {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }

  .service-card h3 {
    font-size: .9rem;
  }

  .service-card p {
    font-size: .825rem;
  }

  /* ─ About ─ */
  .about-image {
    height: 240px;
  }

  .about-text {
    font-size: .9rem;
  }

  .about-card {
    padding: 18px;
  }

  .about-card h4 {
    font-size: .8rem;
  }

  .about-card p {
    font-size: .8rem;
  }

  /* ─ Projects ─ */
  .proyecto-img {
    height: 180px;
  }

  .proyecto-body {
    padding: 18px;
  }

  .proyecto-body h3 {
    font-size: 1rem;
  }

  .proyecto-body p {
    font-size: .825rem;
  }

  .proyecto-meta {
    font-size: .75rem;
    flex-wrap: wrap;
  }

  /* ─ Social ─ */
  .social-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .social-platform-card {
    padding: 20px 12px;
    gap: 8px;
  }

  .social-platform-card i {
    font-size: 1.5rem;
  }

  .social-platform-card span {
    font-size: .75rem;
  }

  /* ─ Gallery ─ */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  /* ─ Contact ─ */
  .contact-form {
    padding: 18px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px 14px;
    font-size: .85rem;
  }

  .form-group label {
    font-size: .8rem;
  }

  .contact-item-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1rem;
  }

  .contact-item-text a,
  .contact-item-text span {
    font-size: .85rem;
  }

  /* ─ News ─ */
  .noticia-featured-img {
    height: 200px;
  }

  .noticia-featured-body {
    padding: 18px;
  }

  .noticia-featured-body h3 {
    font-size: 1.1rem;
  }

  .noticia-featured-body p {
    font-size: .825rem;
  }

  /* ─ Sustainability ─ */
  .sost-pillar {
    padding: 16px;
  }

  .sost-pillar-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 1rem;
  }

  .sost-pillar h4 {
    font-size: .8rem;
  }

  .sost-pillar p {
    font-size: .75rem;
  }

  /* ─ Footer ─ */
  .footer-top {
    padding: 40px 0 32px;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer-logo {
    font-size: 1.3rem;
  }

  .footer-tagline {
    font-size: .8rem;
  }

  .footer-col h4 {
    font-size: .8rem;
    margin-bottom: 14px;
  }

  .footer-col ul li a {
    font-size: .825rem;
  }

  .footer-bottom {
    padding: 16px 12px;
    font-size: .75rem;
  }

  /* ─ Floating buttons ─ */
  .floating-buttons {
    bottom: 12px;
    right: 12px;
    gap: 8px;
  }

  .float-btn {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  /* ─ Lightbox ─ */
  .lightbox-content img {
    max-height: 60vh;
  }

  /* ─ Detail pages ─ */
  .news-detail-hero {
    height: 280px !important;
  }

  .news-carousel {
    height: 220px !important;
  }
}

/* ── Extra-small mobile (≤ 360px) ────────────────────────── */
@media (max-width: 360px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 0 10px;
  }

  /* ─ Hero ─ */
  .hero-title {
    font-size: 1.3rem;
  }

  .hero-text {
    font-size: .85rem;
  }

  .hero-badge {
    font-size: .6rem;
  }

  /* ─ Stats ─ */
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .gold-stats {
    grid-template-columns: 1fr;
  }

  /* ─ Social ─ */
  .social-grid {
    grid-template-columns: 1fr;
  }

  /* ─ Gallery ─ */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:first-child {
    grid-column: span 1;
  }

  /* ─ Gold ─ */
  .gold-dashboard {
    padding: 10px;
  }

  .gold-chart-wrapper {
    height: 150px;
  }

  /* ─ Contact ─ */
  .contact-form {
    padding: 14px;
  }

  .map-wrapper {
    height: 160px;
  }

  /* ─ Detail pages ─ */
  .news-detail-hero {
    height: 240px !important;
  }

  .news-carousel {
    height: 180px !important;
  }
}

/* ── Print ────────────────────────────────────────────────── */
@media print {

  .navbar,
  .floating-buttons,
  .hero-scroll,
  .lightbox,
  .float-btn,
  .nav-toggle {
    display: none !important;
  }

  section {
    padding: 24px 0;
  }

  .hero-content {
    animation: none;
  }
}
/* --------------------------------------------------------------
   QUIENES SOMOS - MISION / VISION
-------------------------------------------------------------- */

.qs-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

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

.qs-mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.qs-mv-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.qs-mv-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.qs-mv-card:hover .qs-mv-img-wrap img {
  transform: scale(1.06);
}

.qs-mv-body {
  padding: 36px 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qs-mv-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.qs-mv-icon-gold {
  background: linear-gradient(135deg,rgba(201,162,39,.15),rgba(201,162,39,.05));
  border: 1.5px solid rgba(201,162,39,.3);
  color: var(--gold);
}

.qs-mv-mision {
  border-top: 4px solid var(--gold);
}

.qs-mv-icon-green {
  background: linear-gradient(135deg,rgba(30,107,74,.15),rgba(30,107,74,.05));
  border: 1.5px solid rgba(30,107,74,.3);
  color: var(--green);
}

.qs-mv-vision {
  border-top: 4px solid var(--green);
}

.qs-mv-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.qs-mv-text {
  color: var(--gray);
  font-size: .95rem;
  line-height: 1.8;
  margin: 0;
  flex-grow: 1;
}

/* --------------------------------------------------------------
   QUIENES SOMOS - VALORES
-------------------------------------------------------------- */

.qs-valores-section { padding-bottom: 16px; }

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

.qs-valor-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201,162,39,.1);
}

.qs-valor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.qs-valor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,162,39,.25);
}

.qs-valor-card:hover::before { transform: scaleX(1); }

.qs-valor-icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg,rgba(201,162,39,.12),rgba(30,107,74,.08));
  border: 1.5px solid rgba(201,162,39,.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
  transition: var(--transition);
  flex-shrink: 0;
}

.qs-valor-card:hover .qs-valor-icon-wrap {
  background: linear-gradient(135deg, var(--gold), var(--green));
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.qs-valor-nombre {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  line-height: 1.3;
}

.qs-valor-def {
  font-size: .875rem;
  color: var(--gray);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 768px) {
  .qs-mv-grid { grid-template-columns: 1fr; }
  .qs-mv-body { padding: 28px 24px; }
  .qs-valores-grid { grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 20px; }
  .qs-valor-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .qs-valores-grid { grid-template-columns: 1fr; }
}

/* -- Valores: 6 en una fila (override) ------------------- */
.qs-valores-grid {
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 20px !important;
}

.qs-valor-card {
  padding: 28px 18px !important;
}

@media (max-width: 1100px) {
  .qs-valores-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .qs-valores-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 400px) {
  .qs-valores-grid {
    grid-template-columns: 1fr !important;
  }
}
