/* =============================================
   ECOMBEX SAC — Estilos Corporativos
   ============================================= */

:root {
  --navy:    #1A3660;
  --blue:    #4A8DC8;
  --blue-light: #EBF3FB;
  --gray-dark: #2D3436;
  --gray:    #6B7280;
  --gray-light: #E0E4EA;
  --bg:      #F4F6F8;
  --white:   #FFFFFF;
  --accent:  #4A8DC8;
}

/* BASE */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--gray-dark);
  background: var(--white);
  padding-top: 96px;
}

/* NAVBAR */
.bg-navy { background-color: var(--navy) !important; }

.navbar-nav .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 6px 14px !important;
  border-radius: 6px;
  transition: background 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background: rgba(255,255,255,0.12);
}

.btn-contact-nav {
  background: var(--blue) !important;
  color: var(--white) !important;
}
.btn-contact-nav:hover {
  background: #3a7ab8 !important;
}

/* LANGUAGE TOGGLE */
.lang-switcher { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.lang-btn {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn:hover, .lang-btn.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

/* HERO */
.hero {
  min-height: 66vh;
  background:
    linear-gradient(to right, rgba(15,30,60,0.88) 0%, rgba(15,30,60,0.55) 60%, rgba(15,30,60,0.30) 100%),
    url('../img/portada-export3.jpg') center center/cover no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.badge-tag {
  display: inline-block;
  background: rgba(74,141,200,0.3);
  border: 1px solid rgba(74,141,200,0.5);
  color: #a8d4f5;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

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

.hero-graphic {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-icon-grid {
  font-size: 7rem;
  color: rgba(255,255,255,0.15);
}

/* BOTONES */
.btn-primary-ecombex {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary-ecombex:hover {
  background: #3a7ab8;
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-ecombex {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline-ecombex:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: var(--white);
}

/* ESTADÍSTICAS */
.section-stats {
  background: var(--bg);
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 14px;
  padding: 28px 20px;
  box-shadow: 0 2px 12px rgba(26,54,96,0.07);
  transition: box-shadow 0.25s, transform 0.2s;
}
.stat-card:hover {
  box-shadow: 0 6px 24px rgba(26,54,96,0.13);
  transform: translateY(-3px);
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 6px;
}
.stat-icon {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 10px;
  opacity: 0.9;
}

/* SECCIÓN GENÉRICA */
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.section-desc {
  color: var(--gray);
  max-width: 540px;
  margin: 0 auto;
  font-size: 1rem;
}

/* SERVICIOS */
.section-services { background: var(--bg); }
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 28px;
  height: 100%;
  border: 1px solid var(--gray-light);
  transition: box-shadow 0.25s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(26,54,96,0.12);
  transform: translateY(-3px);
}
.service-icon {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 16px;
}
.service-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}

/* POR QUÉ ELEGIRNOS */
.section-why { background: var(--white); }
.why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--gray-light);
  height: 100%;
}
.why-item i {
  font-size: 1.5rem;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.why-item h6 {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.why-item p {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.5;
}

/* CTA */
.section-cta {
  background: linear-gradient(135deg, var(--navy), #1e4a8a);
  color: var(--white);
}
.cta-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
}
.cta-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin: 0 auto;
}

/* FOOTER */
.site-footer {
  background: #101f3a;
  color: rgba(255,255,255,0.75);
}
.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}
.footer-ruc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-heading {
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 8px;
  font-size: 0.88rem;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue); }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact i {
  color: var(--blue);
  font-size: 0.95rem;
}
.footer-divider { border-color: rgba(255,255,255,0.1); }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.text-accent { color: var(--blue) !important; }

/* IMÁGENES */
.product-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 22px;
  box-shadow: 0 6px 24px rgba(26,54,96,0.18);
}

.about-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(26,54,96,0.20);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-radius: 16px;
  overflow: hidden;
}
.gallery-strip img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-strip img:hover { transform: scale(1.05); }

.section-visual { background: var(--navy); overflow: hidden; }

/* PÁGINAS INTERNAS — HERO PEQUEÑO */
.page-hero {
  background: linear-gradient(135deg, var(--navy), #1e4a8a);
  color: var(--white);
  padding: 70px 0 50px;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1rem; }
.breadcrumb-item, .breadcrumb-item a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; }
.breadcrumb-item.active { color: rgba(255,255,255,0.9); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* NOSOTROS */
.mission-card {
  background: var(--bg);
  border-left: 4px solid var(--blue);
  border-radius: 0 10px 10px 0;
  padding: 24px 20px;
}
.mission-card h5 { color: var(--navy); font-weight: 700; }
.mission-card p { color: var(--gray); font-size: 0.92rem; margin: 0; line-height: 1.7; }

.valor-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.valor-item i { color: var(--blue); font-size: 1.1rem; margin-top: 3px; }
.valor-item strong { display: block; color: var(--navy); font-size: 0.95rem; }
.valor-item span { color: var(--gray); font-size: 0.88rem; }

/* PRODUCTOS */
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  padding: 28px 24px;
  height: 100%;
  transition: box-shadow 0.25s, transform 0.2s;
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(26,54,96,0.1);
  transform: translateY(-3px);
}
.product-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--blue);
  margin-bottom: 16px;
}
.product-card h5 { font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.product-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; margin: 0; }
.product-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

/* CONTACTO */
.contact-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(26,54,96,0.08);
  border: 1px solid var(--gray-light);
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-info-item .icon-box {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-info-item h6 { font-weight: 700; color: var(--navy); margin-bottom: 4px; font-size: 0.9rem; }
.contact-info-item p { color: var(--gray); font-size: 0.88rem; margin: 0; }
.contact-info-item a { color: var(--gray); text-decoration: none; }
.contact-info-item a:hover { color: var(--blue); }

.form-label { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.form-control, .form-select {
  border: 1.5px solid var(--gray-light);
  border-radius: 8px;
  font-size: 0.92rem;
  padding: 10px 14px;
  transition: border-color 0.2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74,141,200,0.15);
}
.btn-submit {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 13px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
}
.btn-submit:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

/* ALERT SUCCESS */
#formSuccess { display: none; }

/* SERVICIOS CON IMAGEN */
.service-img-wrap {
  position: relative;
  width: 100%;
  height: 175px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.service-card:hover .service-img-wrap img { transform: scale(1.05); }
.service-icon-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 44px;
  height: 44px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(26,54,96,0.30);
}

/* PRODUCTOS DESTACADOS */
.product-feature-block { }

.product-feature-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-feature-icon {
  font-size: 3.5rem;
  line-height: 1;
}

.variety-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  padding: 18px 16px;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}
.variety-card:hover {
  box-shadow: 0 6px 20px rgba(26,54,96,0.1);
  transform: translateY(-2px);
}
.variety-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.97rem;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue-light);
}
.variety-card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 10px;
}
.variety-detail {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  border-radius: 4px;
  padding: 3px 8px;
}

.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--blue-light);
  border: 1px solid #c5dff4;
  border-radius: 20px;
  padding: 4px 12px;
}
.info-pill i { color: var(--blue); }

/* REDES SOCIALES */
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--blue-light);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.social-btn:hover {
  background: var(--blue);
  color: var(--white);
}

/* NOTICIAS DE EXPORTACIÓN */
.section-news { background: var(--bg); }

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  padding: 0;
  height: 100%;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.2s;
}
.news-card:hover {
  box-shadow: 0 8px 28px rgba(26,54,96,0.12);
  transform: translateY(-3px);
  border-color: var(--blue);
  color: inherit;
}
/* Imagen superior de tarjeta de noticia */
.news-card-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: 0;
  flex-shrink: 0;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.06); }

/* Espaciado del contenido de la tarjeta */
.news-card .news-source { margin: 16px 20px 10px; align-self: flex-start; }
.news-card h6          { padding: 0 20px; margin-bottom: 8px; }
.news-card p           { padding: 0 20px; flex: 1; margin-bottom: 12px; }
.news-card .news-link  { padding: 0 20px 20px; margin-top: auto; }

.news-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.news-card h6 {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.97rem;
  margin-bottom: 8px;
  line-height: 1.4;
}
.news-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}
.news-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.news-extra-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  padding: 14px 20px;
}
.news-extra-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 4px;
}
.news-extra-bar a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg);
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  padding: 5px 12px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.news-extra-bar a:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* PARTNERS Y COLABORADORES */
.section-partners { background: var(--white); }

.partner-photo-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26,54,96,0.12);
}
.partner-photo-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.partner-photo-card:hover img { transform: scale(1.04); }
.partner-photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(26,54,96,0.80));
  padding: 20px 18px 16px;
}
.partner-photo-overlay span {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.market-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.market-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: var(--gray-light);
}
.market-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.market-img:hover img { transform: scale(1.06); }

/* También uniformar fotos de partners */
.partner-photo-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 768px) {
  .market-gallery { grid-template-columns: repeat(2, 1fr); }
  .partner-photo-card img { height: 240px; }
}
@media (max-width: 480px) {
  .market-gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}

/* WHATSAPP FLOTANTE */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 1050;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,0.60);
  color: #fff;
}
.wa-float .wa-tooltip {
  position: absolute;
  right: 68px;
  background: #fff;
  color: #1a1a1a;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* RESPONSIVE — TABLET */
@media (max-width: 991px) {
  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-strip img:last-child {
    grid-column: span 2;
    height: 200px;
  }
}

/* RESPONSIVE — MOBILE */
@media (max-width: 768px) {
  body { padding-top: 64px; }

  /* Hero */
  .hero { min-height: auto; padding: 56px 0 48px; }
  .hero-title { font-size: 1.85rem; }
  .hero-subtitle { font-size: 0.93rem; }
  .badge-tag { font-size: 0.72rem; }

  /* Botones hero */
  .btn-primary-ecombex,
  .btn-outline-ecombex { padding: 11px 22px; font-size: 0.9rem; }

  /* Estadísticas */
  .stat-number { font-size: 1.9rem; }

  /* Secciones generales */
  .section-title { font-size: 1.5rem; }
  .page-hero { padding: 48px 0 32px; }
  .page-hero h1 { font-size: 1.75rem; }

  /* Imágenes */
  .about-img { height: 240px; }
  .product-img { height: 190px; }

  /* Galería home */
  .gallery-strip { grid-template-columns: 1fr; }
  .gallery-strip img { height: 210px; border-radius: 0; }
  .gallery-strip img:last-child { grid-column: span 1; }

  /* Tarjetas variedad productos */
  .variety-card { padding: 14px 12px; }
  .variety-name { font-size: 0.9rem; }

  /* Formulario contacto */
  .contact-form-card { padding: 24px 18px; }

  /* Footer */
  .site-footer { text-align: center; }
  .footer-contact li { justify-content: center; }

  /* Why items */
  .why-item { flex-direction: column; gap: 8px; }
  .why-item i { font-size: 1.3rem; }

  /* WA flotante — más pequeño en mobile */
  .wa-float { width: 52px; height: 52px; font-size: 1.5rem; bottom: 20px; right: 20px; }
}

/* RESPONSIVE — MÓVIL PEQUEÑO */
@media (max-width: 480px) {
  .hero-title { font-size: 1.6rem; }
  .d-flex.gap-3 { flex-direction: column; gap: 10px !important; }
  .btn-primary-ecombex, .btn-outline-ecombex { width: 100%; text-align: center; }
  .stat-card { padding: 14px 6px; }
  .stat-number { font-size: 1.6rem; }
  .section-cta .btn-primary-ecombex { width: auto; }
  .contact-form-card { padding: 20px 14px; }
  .about-img { height: 200px; }
}

/* GALERÍA — CARDS DE FOTOS */
.gallery-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.25s, transform 0.2s;
}
.gallery-card:hover {
  box-shadow: 0 10px 32px rgba(26,54,96,0.13);
  transform: translateY(-4px);
}
.gallery-card-img {
  width: 100%;
  overflow: hidden;
  background: var(--bg);
}
.gallery-card-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-card:hover .gallery-card-img img { transform: scale(1.02); }
.gallery-card-body {
  padding: 20px 22px 24px;
}
.gallery-card-place {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.gallery-card-place i { margin-right: 4px; }
.gallery-card-body h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.gallery-card-body p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}

/* SOSTENIBILIDAD — ODS TILES */
.ods-tile {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-top: 4px solid var(--blue);
  border-radius: 10px;
  padding: 18px 12px 16px;
  text-align: center;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}
.ods-tile:hover {
  box-shadow: 0 6px 20px rgba(26,54,96,0.12);
  transform: translateY(-3px);
}
.ods-num {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--white);
  background: var(--blue);
  border-radius: 4px;
  padding: 3px 8px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.ods-icon {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1;
}
.ods-tile p {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin: 0;
  line-height: 1.3;
}
