/*
Theme Name: PRIDE Industrial Theme
Theme URI: https://pride-ec.com
Author: PRIDE S.A.S.
Description: Tema corporativo para PRIDE Proveedores Industriales - Ecuador
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: pride-theme
*/

/* ========================================
   VARIABLES Y COLORES
======================================== */
:root {
  --pride-navy: #1a2f5e;
  --pride-navy-dark: #12203f;
  --pride-gold: #e8b84b;
  --pride-gold-dark: #c99a30;
  --pride-gray: #6b7280;
  --pride-light: #f5f6fa;
  --pride-white: #ffffff;
}

/* ========================================
   RESET Y BASE
======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #374151;
  line-height: 1.6;
  background: #fff;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ========================================
   TIPOGRAFÍA
======================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--pride-navy);
}

/* ========================================
   UTILIDADES
======================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 80px 0;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,184,75,0.1);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pride-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--pride-navy);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--pride-gray);
  max-width: 680px;
  margin: 0 auto;
}

.text-gold { color: var(--pride-gold); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-gold {
  background: var(--pride-gold);
  color: var(--pride-navy);
}
.btn-gold:hover {
  background: var(--pride-gold-dark);
  box-shadow: 0 8px 24px rgba(232,184,75,0.35);
}

.btn-outline-gold {
  background: transparent;
  border: 2px solid var(--pride-gold);
  color: var(--pride-gold);
}
.btn-outline-gold:hover {
  background: rgba(232,184,75,0.1);
}

.btn-outline-white {
  background: transparent;
  border: 2px solid white;
  color: white;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

.btn-navy {
  background: var(--pride-navy);
  color: white;
}
.btn-navy:hover {
  background: var(--pride-navy-dark);
  box-shadow: 0 8px 24px rgba(26,47,94,0.3);
}

/* ========================================
   NAVBAR
======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: var(--pride-navy);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 10px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-menu a:hover { color: var(--pride-gold); }

.navbar-cta {
  background: var(--pride-gold);
  color: var(--pride-navy) !important;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700 !important;
}

.navbar-cta:hover {
  background: var(--pride-gold-dark);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--pride-navy);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .navbar-menu.open { display: flex; }
}

/* ========================================
   HERO
======================================== */
#inicio {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,47,94,0.95) 40%, rgba(26,47,94,0.6));
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 140px 0 80px;
  width: 100%;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 8px 16px;
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--pride-gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-contacts {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.7);
}

.hero-contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-contact-label { font-size: 0.7rem; color: rgba(255,255,255,0.5); display: block; }
.hero-contact-value { font-size: 0.875rem; font-weight: 500; color: white; }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-stat-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 24px;
  transition: background 0.3s;
}

.hero-stat-card:nth-child(2),
.hero-stat-card:nth-child(4) { margin-top: 32px; }

.hero-stat-card:hover { background: rgba(255,255,255,0.15); }

.hero-stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--pride-gold);
  margin-bottom: 4px;
}

.hero-stat-title { color: white; font-weight: 500; font-size: 0.95rem; }
.hero-stat-sub { color: rgba(255,255,255,0.6); font-size: 0.8rem; margin-top: 2px; }

@media (max-width: 1024px) {
  .hero-stats { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { justify-content: center; }
}

/* ========================================
   SERVICIOS
======================================== */
#servicios {
  background: linear-gradient(to bottom, white, var(--pride-light));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.service-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: box-shadow 0.4s, transform 0.3s;
}

.service-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

.service-card-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.service-card:hover .service-card-img img { transform: scale(1.1); }

.service-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,47,94,0.9), transparent);
}

.service-card-icon {
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: 48px;
  height: 48px;
  background: var(--pride-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-icon svg { color: var(--pride-navy); }

.service-card-body { padding: 20px; }

.service-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pride-navy);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.service-card:hover .service-card-title { color: var(--pride-gold); }

.service-card-desc {
  font-size: 0.875rem;
  color: var(--pride-gray);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card-features { margin-bottom: 16px; }

.service-card-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--pride-gray);
  padding: 3px 0;
}

.service-card-feature::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--pride-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pride-gold);
  font-size: 0.875rem;
  font-weight: 600;
}

.services-cta { text-align: center; margin-top: 56px; }
.services-cta p { color: var(--pride-gray); margin-bottom: 20px; }

/* ========================================
   DIVISIONES
======================================== */
#divisiones { background: white; }

.divisions-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: var(--pride-light);
  border-radius: 20px;
  padding: 8px;
  margin-bottom: 32px;
}

.division-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border-radius: 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--pride-gray);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s;
}

.division-tab.active {
  background: var(--pride-navy);
  color: white;
}

.division-tab svg { width: 24px; height: 24px; }

.division-content { display: none; }
.division-content.active { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.division-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}

.division-img img { width: 100%; height: 420px; object-fit: cover; }

.division-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,47,94,0.6), transparent);
}

.division-stats-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  gap: 16px;
}

.division-stat {
  background: rgba(255,255,255,0.95);
  border-radius: 14px;
  padding: 16px;
  flex: 1;
}

.division-stat-number { font-size: 1.5rem; font-weight: 700; color: var(--pride-gold); }
.division-stat-label { font-size: 0.8rem; color: var(--pride-gray); }

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

.division-icon {
  width: 64px;
  height: 64px;
  background: var(--pride-gold);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.division-icon svg { width: 32px; height: 32px; color: var(--pride-navy); }

.division-title { font-size: 1.8rem; font-weight: 700; color: var(--pride-navy); }
.division-short { color: var(--pride-gray); margin-top: 4px; }
.division-desc { color: var(--pride-gray); line-height: 1.7; margin-bottom: 24px; font-size: 1rem; }

.division-services-title { font-weight: 600; color: var(--pride-navy); margin-bottom: 12px; }

.division-services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

.division-service-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--pride-gray);
  font-size: 0.875rem;
}

.division-service-item svg { color: var(--pride-gold); width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }

@media (max-width: 768px) {
  .divisions-tabs { grid-template-columns: repeat(2, 1fr); }
  .division-content.active { grid-template-columns: 1fr; }
  .division-services-list { grid-template-columns: 1fr; }
}

/* ========================================
   PRODUCTOS
======================================== */
#productos { background: var(--pride-light); }

.products-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.product-filter-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  background: white;
  color: var(--pride-gray);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.product-filter-btn.active,
.product-filter-btn:hover {
  background: var(--pride-navy);
  color: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transition: all 0.4s;
}

.product-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
  transform: translateY(-4px);
}

.product-img-wrap { position: relative; }

.product-img-wrap img { width: 100%; height: 200px; object-fit: cover; }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--pride-gold);
  color: var(--pride-navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.product-agotado {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-agotado span {
  background: rgba(255,255,255,0.9);
  color: #374151;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 999px;
}

.product-body { padding: 18px; }

.product-name {
  font-weight: 600;
  color: var(--pride-navy);
  margin-bottom: 10px;
  font-size: 0.925rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.product-card:hover .product-name { color: var(--pride-gold); }

.product-prices {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.product-original { font-size: 0.875rem; color: var(--pride-gray); text-decoration: line-through; }
.product-price { font-size: 1.25rem; font-weight: 700; color: var(--pride-gold); }

.product-actions { display: flex; gap: 8px; }

.product-btn-detail {
  flex: 1;
  padding: 9px;
  border: 1.5px solid var(--pride-navy);
  border-radius: 10px;
  background: transparent;
  color: var(--pride-navy);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.product-btn-detail:hover { background: var(--pride-navy); color: white; }

.product-btn-cart {
  width: 40px;
  height: 40px;
  background: var(--pride-gold);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.product-btn-cart:hover { background: var(--pride-gold-dark); }
.product-btn-cart svg { color: var(--pride-navy); }

/* Modal de producto */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: white;
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--pride-light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 16px; }
.modal-grid img { width: 100%; height: 240px; object-fit: cover; border-radius: 14px; }
.modal-title { font-size: 1.4rem; font-weight: 700; color: var(--pride-navy); margin-bottom: 8px; }
.modal-desc { color: var(--pride-gray); font-size: 0.9rem; }
.modal-features-title { font-weight: 600; color: var(--pride-navy); margin-bottom: 10px; margin-top: 16px; }
.modal-feature { display: flex; align-items: center; gap: 8px; color: var(--pride-gray); font-size: 0.875rem; padding: 3px 0; }
.modal-feature::before { content: ''; width: 6px; height: 6px; background: var(--pride-gold); border-radius: 50%; flex-shrink: 0; }
.modal-prices { display: flex; align-items: center; gap: 12px; margin-top: 16px; margin-bottom: 16px; }
.modal-original { text-decoration: line-through; color: var(--pride-gray); }
.modal-price { font-size: 1.8rem; font-weight: 700; color: var(--pride-gold); }
.modal-stock-warn { font-size: 0.85rem; color: #d97706; margin-top: 8px; }

@media (max-width: 640px) { .modal-grid { grid-template-columns: 1fr; } }

/* ========================================
   POR QUÉ ELEGIRNOS
======================================== */
#por-que-nosotros {
  background: var(--pride-navy);
  color: white;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s;
}

.why-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.why-icon {
  width: 56px;
  height: 56px;
  background: rgba(232,184,75,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.3s;
}

.why-card:hover .why-icon { background: var(--pride-gold); }
.why-icon svg { color: var(--pride-gold); width: 28px; height: 28px; transition: color 0.3s; }
.why-card:hover .why-icon svg { color: var(--pride-navy); }

.why-card-title { font-size: 1.05rem; font-weight: 700; color: white; margin-bottom: 8px; }
.why-card-desc { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.6; }

.why-section-badge { border-color: rgba(232,184,75,0.3); color: rgba(255,255,255,0.85); background: rgba(232,184,75,0.1); }
.why-section-title { color: white; }
.why-section-sub { color: rgba(255,255,255,0.7); }

/* ========================================
   NOSOTROS
======================================== */
#nosotros { background: white; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.about-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.15);
}

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

.about-years-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--pride-gold);
  color: var(--pride-navy);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  text-align: center;
}

.about-years-badge .big { font-size: 2.8rem; font-weight: 700; line-height: 1; }
.about-years-badge .label { font-size: 0.8rem; font-weight: 600; line-height: 1.3; margin-top: 4px; }

.about-text h3 { font-size: 1.5rem; margin-bottom: 12px; }
.about-text p { color: var(--pride-gray); line-height: 1.8; margin-bottom: 16px; }

.about-trayectoria {
  background: var(--pride-light);
  border-radius: 16px;
  padding: 20px;
  margin-top: 8px;
}

.about-trayectoria h4 { font-weight: 700; color: var(--pride-navy); margin-bottom: 8px; }
.about-trayectoria p { font-size: 0.9rem; color: var(--pride-gray); line-height: 1.7; margin: 0; }

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
}

.mv-card { border-radius: 20px; padding: 32px; }
.mv-card-navy { background: linear-gradient(135deg, var(--pride-navy), #274080); color: white; }
.mv-card-gold { background: linear-gradient(135deg, var(--pride-gold), var(--pride-gold-dark)); color: var(--pride-navy); }

.mv-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.mv-icon svg { width: 28px; height: 28px; }
.mv-card-navy .mv-icon svg { color: var(--pride-gold); }
.mv-card-gold .mv-icon svg { color: var(--pride-navy); }

.mv-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.mv-card-navy h3 { color: white; }
.mv-card-gold h3 { color: var(--pride-navy); }
.mv-card-navy p { color: rgba(255,255,255,0.8); line-height: 1.7; }
.mv-card-gold p { color: rgba(26,47,94,0.8); line-height: 1.7; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.value-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.value-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: rgba(232,184,75,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: background 0.3s;
}

.value-card:hover .value-icon { background: var(--pride-gold); }
.value-icon svg { width: 28px; height: 28px; color: var(--pride-gold); transition: color 0.3s; }
.value-card:hover .value-icon svg { color: var(--pride-navy); }

.value-title { font-weight: 700; color: var(--pride-navy); margin-bottom: 8px; }
.value-desc { font-size: 0.85rem; color: var(--pride-gray); }

.industries-certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ic-box {
  background: var(--pride-light);
  border-radius: 20px;
  padding: 32px;
}

.ic-box h3 { font-size: 1.15rem; font-weight: 700; color: var(--pride-navy); margin-bottom: 20px; }

.industries-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.industry-tag {
  background: white;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pride-navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.certs-list { display: flex; flex-direction: column; gap: 12px; }

.cert-item { display: flex; align-items: center; gap: 10px; color: var(--pride-gray); }
.cert-item svg { width: 20px; height: 20px; color: var(--pride-gold); flex-shrink: 0; }

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .mission-vision-grid { grid-template-columns: 1fr; }
  .industries-certs-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

/* ========================================
   CONTACTO
======================================== */
#contacto {
  background: linear-gradient(to bottom, var(--pride-light), white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: start;
}

.contact-info-cards { display: flex; flex-direction: column; gap: 14px; }

.contact-card {
  background: white;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
}

.contact-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(232,184,75,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}

.contact-card:hover .contact-card-icon { background: var(--pride-gold); }
.contact-card-icon svg { width: 20px; height: 20px; color: var(--pride-gold); transition: color 0.3s; }
.contact-card:hover .contact-card-icon svg { color: var(--pride-navy); }

.contact-card-label { font-size: 0.8rem; color: var(--pride-gray); }
.contact-card-value { font-weight: 600; color: var(--pride-navy); }

.contact-social { padding-top: 16px; }
.contact-social p { font-size: 0.875rem; color: var(--pride-gray); margin-bottom: 12px; }
.contact-social-icons { display: flex; gap: 10px; }

.social-icon-btn {
  width: 40px;
  height: 40px;
  background: var(--pride-navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.2s;
}

.social-icon-btn:hover { background: var(--pride-gold); color: var(--pride-navy); }
.social-icon-btn svg { width: 18px; height: 18px; }

.contact-form-wrap {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.1);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pride-navy);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #374151;
  background: white;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--pride-gold);
  box-shadow: 0 0 0 3px rgba(232,184,75,0.15);
}

.form-textarea { resize: none; }

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--pride-gold);
  color: var(--pride-navy);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
}

.form-submit:hover {
  background: var(--pride-gold-dark);
  box-shadow: 0 8px 24px rgba(232,184,75,0.35);
}

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--pride-gray);
  margin-top: 12px;
}

.contact-success {
  display: none;
  text-align: center;
  padding: 60px 0;
}

.contact-success.show { display: block; }

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(232,184,75,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-icon svg { width: 40px; height: 40px; color: var(--pride-gold); }
.contact-success h3 { font-size: 1.5rem; color: var(--pride-navy); margin-bottom: 8px; }
.contact-success p { color: var(--pride-gray); }

.coverage-box {
  background: var(--pride-navy);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  color: white;
  margin-top: 48px;
}

.coverage-box svg { width: 48px; height: 48px; color: var(--pride-gold); margin: 0 auto 16px; }
.coverage-box h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.coverage-box p { color: rgba(255,255,255,0.8); max-width: 680px; margin: 0 auto; line-height: 1.7; }

@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } .contact-form-wrap { padding: 24px; } }

/* ========================================
   FOOTER
======================================== */
footer {
  background: var(--pride-navy);
  color: white;
}

.footer-main {
  padding: 64px 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-logo { height: 48px; filter: brightness(0) invert(1); margin-bottom: 20px; }

.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 20px; }

.footer-contacts { display: flex; flex-direction: column; gap: 10px; }

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-contact-link:hover { color: var(--pride-gold); }
.footer-contact-link svg { width: 16px; height: 16px; flex-shrink: 0; }

.footer-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; }

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

.footer-link {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 0;
}

.footer-link:hover { color: var(--pride-gold); }

.footer-social-icons { display: flex; gap: 10px; margin-top: 8px; }

.footer-social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.2s;
}

.footer-social-btn:hover { background: var(--pride-gold); color: var(--pride-navy); }
.footer-social-btn svg { width: 18px; height: 18px; }

.footer-urgent {
  margin-top: 24px;
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 16px;
}

.footer-urgent p { font-size: 0.875rem; font-weight: 600; margin-bottom: 8px; }

.footer-urgent-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pride-gold);
  font-weight: 600;
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright { font-size: 0.8rem; color: rgba(255,255,255,0.45); }

.footer-bottom-links { display: flex; gap: 24px; }

.footer-bottom-link {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-bottom-link:hover { color: white; }

@media (max-width: 1024px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-main { grid-template-columns: 1fr; } }

/* ========================================
   SCROLL TO TOP
======================================== */
#scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--pride-gold);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pride-navy);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 999;
  transition: all 0.3s;
  opacity: 0;
  pointer-events: none;
}

#scroll-top.visible { opacity: 1; pointer-events: all; }
#scroll-top:hover { background: var(--pride-gold-dark); transform: translateY(-2px); }
#scroll-top svg { width: 20px; height: 20px; }

/* ========================================
   ANIMACIONES
======================================== */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal { opacity: 0; }
.reveal.animated { animation: fadeInUp 0.6s ease forwards; }

/* ========================================
   ADMIN BAR FIX
======================================== */
.navbar { top: 32px; }
@media (max-width: 782px) { .navbar { top: 46px; } }
body:not(.logged-in) .navbar { top: 0; }
