/*
Theme Name: Impomin Theme
Theme URI: https://impomin.com
Author: Impomin
Author URI: https://impomin.com
Description: Tema personalizado para Impomin - Herramientas para la Exploración Minera
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: impomin-theme
*/

/* ============================================================
   GLOBAL STYLES
   ============================================================ */
:root {
  --color-primary-dark: #343128;
  --color-primary-orange: #F49E1B;
  --color-primary-yellow: #ffd700;
  --color-text-dark: #1a1a1a;
  --color-text-gray: #555;
  --color-bg-light: #fff5e6;
  --color-white: #ffffff;
}

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

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

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

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar-logo a {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 50px;
  width: auto;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

.navbar-menu a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
  white-space: nowrap;
}

.navbar-menu a:hover,
.navbar-menu .current-menu-item a {
  color: #F49E1B;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #1a1a1a;
  border-radius: 10px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-line.open:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-line.open:nth-child(2) {
  opacity: 0;
}

.hamburger-line.open:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.navbar-search {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 25px;
  padding: 0.5rem 1rem;
  min-width: 250px;
  position: relative;
  flex-shrink: 0;
}

.navbar-lang {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

.navbar-lang ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}

.navbar-lang li {
  margin: 0;
  padding: 0;
}

.navbar-lang a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  color: #1a1a1a;
  background: #ffffff;
  border: 1px solid #eee;
}

.navbar-lang a:hover {
  border-color: rgba(244, 158, 27, 0.45);
  background: rgba(244, 158, 27, 0.10);
}

.navbar-lang .current-lang a {
  border-color: rgba(244, 158, 27, 0.65);
  background: rgba(244, 158, 27, 0.14);
}

.navbar-lang img {
  width: 18px;
  height: 18px;
  object-fit: cover;
  border-radius: 999px;
  display: block;
}

 .navbar-lang select {
  height: 34px;
  border-radius: 999px;
  border: 1px solid #eee;
  background: #ffffff;
  padding: 0 10px;
  font-weight: 600;
  font-size: 12px;
  color: #1a1a1a;
 }

.search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
  color: #333;
  flex: 1;
  padding: 0.3rem 0;
}

.search-input::placeholder {
  color: #999;
}

.search-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: color 0.3s;
}

.search-button:hover {
  color: #F49E1B;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  animation: slideDown 0.2s ease;
  display: none;
}

.search-suggestions.active {
  display: block;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-suggestion-item {
  padding: 0.9rem 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-item:hover {
  background: #f9f9f9;
  padding-left: 1.5rem;
}

.suggestion-name {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.95rem;
}

.suggestion-category {
  font-size: 0.8rem;
  color: #F49E1B;
  font-weight: 500;
}

.search-no-results {
  padding: 1.2rem;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

@media (max-width: 1024px) and (min-width: 841px) {
  .navbar-container {
    padding: 0 2rem;
    gap: 2rem;
  }
  .navbar-menu {
    gap: 1.5rem;
  }
  .navbar-search {
    min-width: 200px;
  }
}

@media (max-width: 840px) {
  .navbar-container {
    padding: 0 1.5rem;
    gap: 1rem;
  }
  .hamburger-menu {
    display: flex;
    order: 3;
  }
  .navbar-logo {
    order: 1;
  }
  .navbar-search {
    order: 2;
    min-width: auto;
    flex: 1;
    max-width: 300px;
    margin-left: auto;
    margin-right: 1rem;
  }
  .navbar-lang {
    order: 4;
  }
  .navbar-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: #ffffff;
    flex-direction: column;
    padding: 2rem 0;
    gap: 0;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    overflow-y: auto;
  }
  .navbar-menu.active {
    left: 0;
  }
  .navbar-menu li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }
  .navbar-menu a {
    display: block;
    padding: 1.2rem 2rem;
    font-size: 1rem;
    color: #1a1a1a;
    transition: all 0.3s ease;
  }
  .navbar-menu a:hover {
    background: #f9f9f9;
    color: #F49E1B;
    padding-left: 2.5rem;
  }
  .search-input {
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .navbar-container {
    padding: 0 1rem;
  }
  .logo-image {
    height: 38px;
  }
  .navbar-search {
    max-width: 150px;
    padding: 0.3rem 0.8rem;
  }
  .search-input {
    font-size: 0.8rem;
  }
  .navbar-menu {
    width: 250px;
  }
}

@media (max-width: 500px) {
  .navbar-container {
    gap: 0.5rem;
  }
  .navbar-search {
    width: 40px;
    max-width: 40px;
    padding: 0.4rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  .navbar-search.expanded {
    width: 180px;
    max-width: 180px;
    border-radius: 25px;
    padding: 0.4rem 1rem;
  }
  .search-input {
    width: 0;
    opacity: 0;
    padding: 0;
    transition: all 0.3s ease;
  }
  .navbar-search.expanded .search-input {
    width: 100%;
    opacity: 1;
    padding: 0.3rem 0;
  }
  .search-button {
    flex-shrink: 0;
  }
  .navbar-search:not(.expanded) .search-button {
    margin: 0;
  }
}

/* ============================================================
   SOCIAL SIDEBAR
   ============================================================ */
.social-sidebar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 1000;
  border-radius: 0 8px 8px 0;
  overflow: hidden;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.social-sidebar-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.social-sidebar-icon:hover {
  padding-right: 10px;
}

.social-sidebar-icon.twitter {
  background: #00acee;
  color: white;
}

.social-sidebar-icon.facebook {
  background: #3b5998;
  color: white;
}

.social-sidebar-icon.instagram {
  background: #e4405f;
  color: white;
}

.social-sidebar-icon.youtube {
  background: #F49E1B;
  color: white;
}

@media (max-width: 768px) {
  .social-sidebar {
    display: none;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: #ffffff;
  padding-bottom: 3rem;
  width: 100%;
  position: relative;
  overflow: visible;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: -2%;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-subtitle {
  font-weight: bold;
  font-size: 1.5rem;
  color: #333;
}

.hero-subtitle .highlight {
  color: #F49E1B;
  font-weight: 600;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.5px;
}

.hero-divider {
  width: 200px;
  height: 4px;
  background: #F49E1B;
  margin: 0.8rem 0;
}

.hero-description {
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
  text-align: justify;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image img {
  max-width: 140%;
  height: auto;
  border-radius: 0;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.15));
}

.hero-features {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 10;
}

.feature-card {
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}

.feature-icon {
  flex-shrink: 0;
  width: 65px;
  height: 65px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 55px;
  height: 55px;
}

.feature-text h3 {
  font-size: 1rem;
  color: #1a1a1a;
  margin: 0;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-features {
    padding: 0 2rem;
  }
}

/* ============================================================
   FEATURED PRODUCTS
   ============================================================ */
.featured-products {
  padding: 0;
  background: #ffffff;
  position: relative;
}

.featured-header {
  background: #F49E1B;
  height: 60px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-bar {
  width: 100%;
  height: 100%;
  background: #F49E1B;
}

.featured-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 3rem;
  text-align: center;
}

.featured-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.featured-subtitle {
  color: #999;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  font-size: 1.15rem;
  font-weight: 500;
}

.featured-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.product-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.3s;
  overflow: visible;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.product-image-wrapper {
  position: relative;
  width: 240px;
  height: 280px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 1rem;
}

.product-circle-bg {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #F49E1B;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.product-image {
  position: relative;
  max-width: 200px;
  max-height: 260px;
  object-fit: contain;
  z-index: 2;
  margin-top: 50px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.product-card .product-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.product-card .product-description {
  color: #999;
  font-size: 0.85rem;
  text-align: center;
  margin: 0;
}

.product-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}

.btn-outline {
  padding: 0.7rem 1.5rem;
  border: 2px solid #F49E1B;
  background: transparent;
  color: #F49E1B;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-outline:hover {
  background: #F49E1B;
  color: white;
}

.btn-primary {
  padding: 0.7rem 1.5rem;
  border: none;
  background: #F49E1B;
  color: white;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 0.9rem;
}

.btn-primary:hover {
  background: #d88a15;
}

@media (max-width: 768px) {
  .featured-products-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SPECIAL PRODUCT / CTA
   ============================================================ */
.special-product {
  padding: 4rem 0;
  background: #ffffff;
}

.special-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.special-image {
  display: flex;
  justify-content: center;
}

.special-image img {
  max-width: 80%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.special-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.special-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.3;
}

.special-description {
  color: #666;
  line-height: 1.8;
  font-size: 1rem;
}

.special-actions {
  display: flex;
  gap: 1.2rem;
  margin-top: 1rem;
}

.btn-special-outline {
  padding: 0.8rem 1.8rem;
  border: 2px solid #F49E1B;
  background: transparent;
  color: #F49E1B;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-special-outline:hover {
  background: #F49E1B;
  color: white;
}

.btn-special-primary {
  padding: 0.8rem 1.8rem;
  border: none;
  background: #F49E1B;
  color: white;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 0.95rem;
}

.btn-special-primary:hover {
  background: #d88a15;
}

@media (max-width: 768px) {
  .special-container {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SPECIALIZATIONS
   ============================================================ */
.specializations {
  padding: 5rem 0;
  background: #6b6b6b;
}

.specializations-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.specializations-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  margin-bottom: 3rem;
}

.specializations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.specialization-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s;
  border-top: 5px solid #F49E1B;
  position: relative;
}

.specialization-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.specialization-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.specialization-icon img {
  width: 100px;
  height: 100px;
}

.specialization-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
}

.specialization-description {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
}

.btn-specialization {
  padding: 0.7rem 1.5rem;
  border: none;
  background: #3a3a3a;
  color: white;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: auto;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-specialization:hover {
  background: #2a2a2a;
  color: white;
}

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

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

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team {
  padding: 4rem 0;
  background: #ffffff;
}

.team-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.team-image {
  display: flex;
  justify-content: center;
}

.team-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.team-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.team-subtitle {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

.team-subtitle .highlight {
  font-size: 1.6rem;
  color: #F49E1B;
  font-weight: 600;
}

.team-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.2;
  margin: 0;
}

.team-divider {
  width: 200px;
  height: 4px;
  background: #F49E1B;
  margin: 0.8rem 0;
}

.team-description {
  color: #666;
  line-height: 1.6;
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 768px) {
  .team-container {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ACHIEVEMENTS
   ============================================================ */
.achievements {
  padding: 5rem 0;
  background: #f5f5f5;
}

.achievements-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.achievements-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 3rem;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.achievement-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.achievement-card:hover {
  transform: translateY(-5px);
}

.achievement-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
  background: none !important;
  border-radius: 0 !important;
}

.achievement-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.achievement-card h3 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #1a1a1a;
  text-transform: uppercase;
}

.achievement-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

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

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

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 5rem 0;
  background: #6b6b6b;
}

.testimonials-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.testimonials-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  margin-bottom: 1.5rem;
}

.testimonials-subtitle {
  color: #e0e0e0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  font-size: 1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-top: 5px solid #F49E1B;
  text-align: center;
  align-items: center;
}

.testimonial-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
}

.testimonial-card .testimonial-text {
  color: #666;
  line-height: 1.6;
  font-size: 0.85rem;
  flex-grow: 1;
}

.testimonial-rating {
  display: flex;
  gap: 0.3rem;
  margin: 0.5rem 0;
}

.testimonial-rating .star-filled {
  color: #F49E1B;
  font-size: 1.3rem;
}

.testimonial-author {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.author-name {
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0;
  font-size: 0.9rem;
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 3rem 0 1rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #F49E1B;
  margin-bottom: 0.5rem;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-description {
  color: #cbd5e0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-description-small {
  color: #cbd5e0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.footer-social .social-icon {
  width: 35px;
  height: 35px;
  background: #F49E1B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.footer-social .social-icon:hover {
  background: #ffb347;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #cbd5e0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #F49E1B;
}

.footer-contact-section {
  gap: 0.8rem;
}

.contact-item {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding-top: 0;
  position: relative;
}

.contact-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  flex-shrink: 0;
}

.contact-input {
  background: white;
  border: none;
  padding: 0.8rem 1rem 0.8rem 3rem;
  border-radius: 5px;
  font-size: 0.85rem;
  color: #333;
  width: 100%;
  font-family: inherit;
  flex: 1;
  resize: none;
  overflow: auto;
  line-height: 1.4;
}

.contact-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #F49E1B;
}

.footer-bottom {
  border-top: 1px solid #2d3748;
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  text-align: center;
}

.footer-bottom-left,
.footer-bottom-center,
.footer-bottom-right {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom-left p,
.footer-bottom-right p {
  color: #718096;
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom-center a {
  color: #718096;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-bottom-center a:hover {
  color: #F49E1B;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-bottom {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* ============================================================
   WHATSAPP BUTTON
   ============================================================ */
.whatsapp-float-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  animation: pulse 2s infinite;
}

.whatsapp-float-button:hover {
  background: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-button:active {
  transform: scale(0.95);
}

.whatsapp-float-button svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes pulse {
  0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1); }
  100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

@media (max-width: 768px) {
  .whatsapp-float-button {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
  .whatsapp-float-button svg {
    width: 26px;
    height: 26px;
  }
}

/* ============================================================
   PRODUCT LINES PAGE
   ============================================================ */
.product-lines {
  padding: 5rem 0;
  background: #ffffff;
  min-height: 60vh;
}

.product-lines-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.product-lines-title {
  font-size: 3rem;
  font-weight: 900;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.product-lines-subtitle {
  color: #999;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 4rem;
  line-height: 1.8;
  font-size: 1.1rem;
  font-weight: 400;
}

.product-lines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.product-line-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.product-line-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.product-line-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f5f5f5;
}

.product-line-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-line-card:hover .product-line-image img {
  transform: scale(1.05);
}

.product-line-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 1.5rem 2rem 1rem;
  text-align: center;
}

.product-line-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
  margin: 0 2rem 1.5rem;
  flex-grow: 1;
}

.product-line-actions {
  display: flex;
  gap: 1rem;
  padding: 0 2rem 2rem;
  justify-content: center;
}

.btn-line-outline {
  padding: 0.8rem 1.5rem;
  border: 2px solid #F49E1B;
  background: transparent;
  color: #F49E1B;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-line-outline:hover {
  background: #F49E1B;
  color: white;
}

.btn-line-primary {
  padding: 0.8rem 1.5rem;
  border: none;
  background: #F49E1B;
  color: white;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 0.9rem;
}

.btn-line-primary:hover {
  background: #d88a15;
}

@media (max-width: 1024px) {
  .product-lines-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .product-lines-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .product-lines {
    padding: 3rem 0;
  }
  .product-lines-container {
    padding: 0 2rem;
  }
  .product-lines-grid {
    grid-template-columns: 1fr;
  }
  .product-lines-title {
    font-size: 2rem;
  }
  .product-lines-subtitle {
    font-size: 1rem;
  }
}

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-detail {
  padding: 4rem 0;
  background: #ffffff;
  min-height: 70vh;
}

.product-detail-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.product-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.product-gallery {
  display: flex;
  gap: 1.5rem;
}

.gallery-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: #F49E1B;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-main {
  flex: 1;
  background: #f5f5f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 500px;
}

.gallery-main img {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
}

.product-info-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-detail-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #1a1a1a;
  margin: 0;
}

.title-orange {
  color: #F49E1B;
}

.product-detail .product-description {
  color: #555;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1rem;
  text-align: left;
}

.product-size-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-label {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.size-selector {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: inherit;
  background: white;
  cursor: pointer;
  transition: border-color 0.3s;
  line-height: 1.4;
}

.size-selector:focus {
  outline: none;
  border-color: #F49E1B;
}

.collapsible-sections {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.collapsible-item {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}

.collapsible-header {
  width: 100%;
  padding: 1rem 1.5rem;
  background: white;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  transition: background 0.3s;
  text-align: left;
}

.collapsible-header:hover {
  background: #f9f9f9;
}

.collapsible-header.active {
  background: #f5f5f5;
}

.collapsible-header .arrow {
  font-size: 1.5rem;
  font-weight: 300;
  color: #666;
}

.collapsible-content {
  padding: 1rem 1.5rem;
  background: #fafafa;
  border-top: 1px solid #e0e0e0;
  display: none;
}

.collapsible-content.active {
  display: block;
}

.collapsible-content p {
  margin: 0 0 0.5rem;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.collapsible-content ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.collapsible-content li {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.3rem;
}

.btn-cotizar {
  padding: 1.1rem 2rem;
  background: #F49E1B;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 1rem;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.btn-cotizar:hover {
  background: #e08d0f;
}

.related-products-section {
  margin-top: 4rem;
}

.related-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 3rem;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.related-product-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.related-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.related-product-image {
  width: 100%;
  height: 220px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.related-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.related-product-info {
  padding: 1.2rem 1.2rem 0.8rem;
}

.related-product-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.3rem 0;
}

.related-product-series {
  font-size: 0.9rem;
  font-weight: 600;
  color: #F49E1B;
  margin: 0;
}

.btn-ver-detalles-related {
  background: #F49E1B;
  color: white;
  border: none;
  padding: 0.75rem 1.2rem;
  margin: 0 1.2rem 1.2rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
  display: block;
  text-align: center;
}

.btn-ver-detalles-related:hover {
  background: #e08d0f;
  color: white;
}

@media (max-width: 1024px) {
  .product-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-detail-container {
    padding: 0 1.5rem;
  }
  .product-gallery {
    flex-direction: column-reverse;
  }
  .gallery-thumbnails {
    flex-direction: row;
    overflow-x: auto;
  }
  .thumbnail {
    min-width: 70px;
  }
  .gallery-main {
    min-height: 350px;
  }
  .product-detail-title {
    font-size: 1.8rem;
  }
  .related-products-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CATALOG (MINERIA/GEOTECNIA/OBRAS CIVILES)
   ============================================================ */
.mineria-catalog {
  padding: 4rem 0;
  background: #ffffff;
  min-height: 70vh;
}

.catalog-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

 .catalog-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  align-items: start;
 }

 .catalog-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
 }

 .catalog-filter {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
 }

 .catalog-filter-title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  font-weight: 800;
  font-size: 1rem;
 }

 .catalog-filter-body {
  padding: 12px;
 }

 .catalog-filter-group + .catalog-filter-group {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f2f2f2;
 }

 .catalog-filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  color: #1a1a1a;
  font-weight: 700;
  transition: all 0.2s ease;
 }

 .catalog-filter-link:hover {
  background: rgba(244, 158, 27, 0.12);
  color: #1a1a1a;
 }

 .catalog-filter-link.is-active {
  background: rgba(244, 158, 27, 0.18);
  border: 1px solid rgba(244, 158, 27, 0.4);
 }

 .catalog-filter-link.parent {
  font-size: 0.95rem;
 }

 .catalog-filter-children {
  margin-top: 8px;
  padding-left: 10px;
  display: grid;
  gap: 6px;
 }

 .catalog-filter-link.child {
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 10px;
  border-radius: 10px;
  color: #444;
 }

 .catalog-content .catalog-title {
  text-align: left;
 }

 .catalog-content .catalog-subtitle {
  text-align: left;
  margin-left: 0;
 }

.catalog-title {
  font-size: 3rem;
  font-weight: 900;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 1rem;
}

.catalog-subtitle {
  color: #999;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 4rem;
  line-height: 1.8;
  font-size: 1.1rem;
  font-weight: 400;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.mineria-product-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mineria-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mineria-product-card .product-image-wrapper {
  width: 100%;
  height: 280px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: static;
}

.mineria-product-card .product-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-info {
  padding: 1.5rem 1.5rem 1rem;
  flex-grow: 1;
}

.product-info .product-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.3rem;
}

.product-series {
  font-size: 0.95rem;
  font-weight: 600;
  color: #F49E1B;
  margin: 0;
}

.btn-ver-detalles {
  background: #F49E1B;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  margin: 0 1.5rem 1.5rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
  display: block;
  text-align: center;
}

.btn-ver-detalles:hover {
  background: #e08d0f;
  color: white;
}

 .mineria-catalog .navigation.pagination {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
 }

 .mineria-catalog .navigation.pagination .nav-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #eee;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
 }

 .mineria-catalog .navigation.pagination .nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #e8e8e8;
  background: #fff;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
 }

 .mineria-catalog .navigation.pagination .nav-links .page-numbers:hover {
  border-color: #F49E1B;
  color: #F49E1B;
  transform: translateY(-1px);
 }

 .mineria-catalog .navigation.pagination .nav-links .page-numbers.current {
  background: #F49E1B;
  color: #fff;
  border-color: #F49E1B;
 }

 .mineria-catalog .navigation.pagination .nav-links .page-numbers.prev,
 .mineria-catalog .navigation.pagination .nav-links .page-numbers.next {
  min-width: auto;
  padding: 0 16px;
 }

.btn-cargar-mas {
  display: block;
  margin: 3rem auto 0;
  background: transparent;
  color: #F49E1B;
  border: 2px solid #F49E1B;
  padding: 1rem 3rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-cargar-mas:hover {
  background: #F49E1B;
  color: white;
}

.load-more-container {
  text-align: center;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.btn-load-more {
  display: inline-block;
  background: transparent;
  color: #F49E1B;
  border: 2px solid #F49E1B;
  padding: 0.875rem 2.5rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-load-more:hover {
  background: #F49E1B;
  color: white;
}

.btn-load-more:disabled {
  opacity: 0.6;
  cursor: wait;
}

.load-more-count {
  color: #6b6b6b;
  font-size: 0.9rem;
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .catalog-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 640px) {
  .catalog-container {
    padding: 0 1.5rem;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .catalog-sidebar {
    position: static;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .catalog-title {
    font-size: 2rem;
  }
  .catalog-subtitle {
    font-size: 1rem;
  }
  .mineria-product-card .product-image-wrapper {
    height: 220px;
  }
}

/* ============================================================
   PRODUCT HERO / CAROUSEL (BLOG PAGE)
   ============================================================ */
.product-hero {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}

.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-content {
  text-align: center;
  color: white;
  max-width: 700px;
  padding: 2rem;
}

.slide-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  letter-spacing: 1px;
}

.slide-description {
  font-size: 1.3rem;
  line-height: 1.8;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: 400;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
  left: 2rem;
}

.carousel-btn-next {
  right: 2rem;
}

.carousel-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}

.carousel-indicators .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-indicators .indicator.active {
  background: white;
  width: 30px;
  border-radius: 6px;
}

.carousel-indicators .indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .product-hero {
    height: 300px;
  }
  .slide-content {
    padding: 0 2rem;
  }
  .slide-title {
    font-size: 2rem;
  }
  .slide-description {
    font-size: 0.95rem;
  }
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  .carousel-btn-prev {
    left: 1rem;
  }
  .carousel-btn-next {
    right: 1rem;
  }
}

/* ============================================================
   PRODUCT SECTIONS (BLOG PAGE)
   ============================================================ */
.product-sections {
  padding: 5rem 0;
  background: #f9f9f9;
}

.product-sections-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.product-section {
  display: flex;
  gap: 3rem;
  align-items: center;
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.product-section.reverse {
  flex-direction: row-reverse;
}

.section-image {
  flex: 0 0 400px;
  border-radius: 15px;
  overflow: hidden;
}

.section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.section-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.3;
  margin: 0;
}

.section-description-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.section-text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.section-link {
  color: #F49E1B;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s;
  display: inline-block;
  margin-top: 0.5rem;
}

.section-link:hover {
  color: #d88a15;
  transform: translateX(5px);
}

@media (max-width: 1024px) {
  .product-section,
  .product-section.reverse {
    flex-direction: column;
  }
  .section-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .product-sections {
    padding: 3rem 0;
  }
  .product-sections-container {
    padding: 0 2rem;
    gap: 3rem;
  }
  .product-section {
    padding: 2rem;
  }
  .section-title {
    font-size: 1.4rem;
  }
  .section-description-text {
    font-size: 1rem;
  }
  .section-text {
    font-size: 0.9rem;
  }
}

/* ============================================================
   CONTACT HERO
   ============================================================ */
.contact-hero {
  padding: 5rem 0;
  background: #ffffff;
  min-height: 60vh;
}

.contact-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-person {
  width: 100%;
  max-width: 450px;
  height: auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 180px;
  height: auto;
  z-index: 3;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

.contact-hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.contact-hero-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
}

.btn-contact-hero {
  padding: 1rem 2.5rem;
  background: #F49E1B;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  align-self: flex-start;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
  text-decoration: none;
  display: inline-block;
}

.btn-contact-hero:hover {
  background: #d88a15;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
  color: white;
}

@media (max-width: 1024px) {
  .contact-hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-hero-image {
    order: -1;
  }
  .contact-hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 3rem 0;
  }
  .contact-hero-container {
    padding: 0 2rem;
  }
  .contact-hero-title {
    font-size: 2rem;
  }
  .hero-badge {
    width: 140px;
  }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-section {
  padding: 5rem 0;
  background: #f5f5f5;
}

.contact-form-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 3rem;
}

.contact-form-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-form-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.contact-form-subtitle {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-input,
.form-textarea {
  padding: 1rem 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s;
  background: #fafafa;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #F49E1B;
  background: white;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-message {
  padding: 1rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  animation: slideDown 0.3s ease-out;
}

.submit-message.success {
  background: #d4edda;
  color: #155724;
  border: 2px solid #c3e6cb;
}

.submit-message.whatsapp {
  background: #fff3cd;
  color: #856404;
  border: 2px solid #ffeaa7;
}

.btn-submit-form {
  width: 100%;
  padding: 1.2rem;
  background: #F49E1B;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1rem;
}

.btn-submit-form:hover:not(:disabled) {
  background: #d88a15;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.3);
}

.btn-submit-form:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .contact-form-section {
    padding: 3rem 0;
  }
  .contact-form-container {
    padding: 0 2rem;
  }
  .contact-form-title {
    font-size: 2rem;
  }
  .contact-form {
    padding: 2rem 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ============================================================
   LOCATIONS
   ============================================================ */
.locations {
  padding: 5rem 0;
  background: #6b6b6b;
}

.locations-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.locations-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  margin-bottom: 4rem;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.location-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.location-card:hover {
  transform: translateY(-5px);
}

.location-image {
  width: 220px;
  min-width: 220px;
  height: auto;
  overflow: hidden;
  border-radius: 15px;
  margin: 15px;
}

.location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-info {
  padding: 2rem 2rem 2rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.location-country {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  flex: 1;
}

.location-detail {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}

.location-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.location-detail p {
  margin: 0;
}

.btn-location {
  width: 100%;
  padding: 0.8rem;
  background: #F49E1B;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
  text-decoration: none;
  display: block;
  text-align: center;
}

.btn-location:hover {
  background: #d88a15;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 158, 27, 0.3);
  color: white;
}

.btn-location.disabled {
  background: #cccccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-location.disabled:hover {
  background: #cccccc;
  transform: none;
  box-shadow: none;
}

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

@media (max-width: 768px) {
  .locations {
    padding: 3rem 0;
  }
  .locations-container {
    padding: 0 2rem;
  }
  .locations-title {
    font-size: 2rem;
  }
  .location-card {
    flex-direction: column;
  }
  .location-image {
    width: 100%;
    height: 180px;
    margin: 0;
    border-radius: 0;
  }
  .location-info {
    padding: 1.5rem;
  }
}

/* ============================================================
   ABOUT HERO
   ============================================================ */
.about-hero {
  padding: 3rem 0;
  background: #ffffff;
}

.about-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.hero-top-section {
  margin-bottom: 4rem;
}

.team-image-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-hero .team-image {
  width: 100%;
  max-width: 900px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.experience-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F49E1B;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.hero-content-section {
  text-align: center;
}

.about-hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 3rem;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  text-align: left;
}

.text-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-hero-text {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  text-align: justify;
}

.story-section {
  margin-top: 2rem;
}

.story-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
  font-style: italic;
}

.work-image-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.work-image {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
  .content-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-hero-title {
    font-size: 2.5rem;
  }
  .experience-badge {
    position: static;
    margin: 1rem auto 0;
    display: inline-block;
  }
  .team-image-container {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 2rem 0;
  }
  .about-hero-container {
    padding: 0 2rem;
  }
  .about-hero-title {
    font-size: 2rem;
  }
  .about-hero-text {
    font-size: 0.95rem;
  }
  .hero-top-section {
    margin-bottom: 3rem;
  }
}

/* ============================================================
   COMPANY ESSENCE
   ============================================================ */
.company-essence {
  padding: 5rem 0;
  background: #6b6b6b;
}

.company-essence-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.company-essence-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  margin-bottom: 4rem;
}

.essence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.essence-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
}

.essence-card:hover {
  transform: translateY(-8px);
}

.essence-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.essence-icon img {
  width: 120px;
  height: 120px;
}

.essence-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
}

.essence-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 1024px) {
  .essence-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .company-essence {
    padding: 3rem 0;
  }
  .company-essence-container {
    padding: 0 2rem;
  }
  .company-essence-title {
    font-size: 2rem;
  }
}

/* ============================================================
   OUR LOGOS / ACHIEVEMENTS (ABOUT PAGE)
   ============================================================ */
.our-logos {
  padding: 5rem 0;
  background: #f5f5f5;
}

.our-logos-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.our-logos-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 4rem;
}

.logros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.logros-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
  text-align: center;
}

.logros-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.logros-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  background: none !important;
  border-radius: 0 !important;
}

.logros-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.logros-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.logros-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

.images-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.gallery-image:hover {
  transform: translateY(-5px);
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

@media (max-width: 768px) {
  .our-logos {
    padding: 3rem 0;
  }
  .our-logos-container {
    padding: 0 2rem;
  }
  .our-logos-title {
    font-size: 2rem;
  }
  .logros-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .images-gallery {
    grid-template-columns: 1fr;
  }
  .gallery-image img {
    height: 200px;
  }
}

/* ============================================================
   BUSINESS PARTNERS
   ============================================================ */
.business-partners {
  padding: 5rem 0;
  background: #f5f5f5;
}

.business-partners-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.partners-section {
  background: white;
  padding: 4rem 3rem;
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.business-partners-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 3rem;
}

.partners-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.partner-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  min-width: 200px;
}

.partner-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: all 0.3s;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.specialties-section {
  background: white;
  padding: 4rem 3rem;
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.specialties-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 3rem;
}

.impobiomedical-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

 .impobiomedical-logo a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
 }

 .impobiomedical-logo a img {
  display: block;
 }

.impobiomedical-logo img {
  max-width: 400px;
  max-height: 120px;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .partners-row {
    justify-content: center;
    gap: 1.5rem;
  }
  .partner-logo {
    min-width: 150px;
  }
  .business-partners-title {
    font-size: 2rem;
  }
  .specialties-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .business-partners {
    padding: 3rem 0;
  }
  .business-partners-container {
    padding: 0 2rem;
  }
  .partners-section,
  .specialties-section {
    padding: 3rem 2rem;
  }
  .partners-row {
    flex-direction: column;
    gap: 2rem;
  }
  .partner-logo {
    min-width: auto;
    width: 200px;
  }
  .business-partners-title {
    font-size: 1.8rem;
  }
  .specialties-title {
    font-size: 1.6rem;
  }
  .impobiomedical-logo img {
    max-width: 300px;
  }
}

/* ============================================================
   TERMS MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
  animation: fadeIn 0.3s ease;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: white;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

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

.modal-close {
  position: sticky;
  top: 1rem;
  right: 1rem;
  float: right;
  background: #f5f5f5;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 1;
  margin-bottom: -40px;
}

.modal-close:hover {
  background: #F49E1B;
  color: white;
  transform: rotate(90deg);
}

.modal-body {
  padding: 2.5rem;
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2rem;
  text-align: center;
}

.modal-section {
  margin-bottom: 2rem;
}

.modal-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #343128;
  margin-bottom: 1rem;
}

.modal-subsection-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #343128;
  margin-bottom: 0.8rem;
}

.modal-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 0.8rem;
}

.modal-text a {
  color: #F49E1B;
  text-decoration: none;
  font-weight: 600;
}

.modal-text a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .modal-content {
    max-height: 90vh;
  }
  .modal-body {
    padding: 1.5rem;
  }
  .modal-title {
    font-size: 1.5rem;
  }
  .modal-section-title {
    font-size: 1.1rem;
  }
  .modal-subsection-title {
    font-size: 1rem;
  }
  .modal-text {
    font-size: 0.9rem;
  }
}

/* ============================================================
   PRIVACY POLICY & TERMS PAGES
   ============================================================ */
.privacy-policy-page,
.terms-conditions-page {
  padding: 4rem 0;
  background: #ffffff;
  min-height: 70vh;
}

.privacy-container,
.terms-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 3rem;
}

.privacy-container h1,
.terms-container h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 2rem;
  text-align: center;
}

.privacy-container h2,
.terms-container h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #343128;
  margin: 2rem 0 1rem;
}

.privacy-container h3,
.terms-container h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #343128;
  margin: 1.5rem 0 0.8rem;
}

.privacy-container p,
.terms-container p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1rem;
}

.privacy-container a,
.terms-container a {
  color: #F49E1B;
  font-weight: 600;
}

.privacy-container a:hover,
.terms-container a:hover {
  text-decoration: underline;
}

/* ============================================================
   SHARED SERVICE STYLES
   ============================================================ */
.title-orange { color: #F49E1B; }
.text-orange { color: #F49E1B; font-weight: 700; }
.title-underline { width: 200px; height: 3px; background: #F49E1B; margin-bottom: 1.5rem; }
.benefit-title { color: #1a1a1a; font-weight: 700; }

.service-cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem;
  text-align: center;
}
.service-cta h2 { font-size: 1.8rem; color: #1a1a1a; margin-bottom: 0.5rem; }
.service-cta p { color: #666; margin-bottom: 1.5rem; }
.service-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   PLANTA METALMECANICA PAGE
   ============================================================ */
.planta-content { background: #ffffff; }
.planta-main-container { max-width: 1400px; margin: 0 auto; padding: 4rem 3rem; }
.planta-hero-wrapper { width: 100%; max-width: 1100px; margin: 0 auto 3rem; border-radius: 25px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.15); }
.planta-hero-image { width: 100%; height: auto; display: block; }
.planta-content-wrapper { max-width: 1200px; margin: 0 auto; }
.planta-main-title { font-size: 2.5rem; font-weight: 900; color: #1a1a1a; margin-bottom: 0.5rem; line-height: 1.3; }
.planta-main-subtitle { font-size: 1.15rem; font-weight: 600; color: #1a1a1a; margin-bottom: 1.5rem; line-height: 1.5; }
.planta-intro-text { font-size: 1.05rem; color: #666; line-height: 1.8; margin-bottom: 1.2rem; text-align: justify; }
.planta-two-column { display: flex; gap: 3rem; align-items: flex-start; margin-top: 2rem; }
.planta-left-content { flex: 1; display: flex; flex-direction: column; gap: 1.2rem; }
.planta-section-title { font-size: 1.7rem; font-weight: 700; color: #1a1a1a; line-height: 1.4; margin: 0 0 1.5rem 0; }
.planta-description { font-size: 1.05rem; color: #666; line-height: 1.8; margin: 0 0 1.5rem 0; text-align: justify; }
.planta-highlight { font-size: 1.05rem; color: #1a1a1a; margin: 0 0 1.2rem 0; font-weight: 500; }
.planta-benefits { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.planta-benefits li { font-size: 1.05rem; color: #666; line-height: 1.8; padding-left: 2rem; position: relative; text-align: justify; }
.planta-benefits li::before { content: '\25CF'; color: #F49E1B; font-size: 1.5rem; position: absolute; left: 0; top: 0; line-height: 1.8; }
.planta-footer { font-size: 1.05rem; color: #666; line-height: 1.8; margin: 0; text-align: justify; }
.planta-right-image { flex: 0 0 420px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 35px rgba(0,0,0,0.12); }
.planta-right-image img { width: 100%; height: auto; object-fit: cover; display: block; }
.planta-gallery { padding: 4rem 0; background: #ffffff; }
.gallery-container { max-width: 1400px; margin: 0 auto; padding: 0 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.gallery-item { border-radius: 20px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.12); transition: transform 0.3s; }
.gallery-item:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.18); }
.gallery-item img { width: 100%; height: 420px; object-fit: cover; display: block; }

@media (max-width: 1024px) {
  .planta-two-column { flex-direction: column; }
  .planta-right-image { flex: 0 0 auto; width: 100%; max-width: 500px; margin: 0 auto; }
  .gallery-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .planta-main-container { padding: 3rem 2rem; }
  .planta-hero-wrapper { margin-bottom: 2rem; border-radius: 15px; }
  .planta-main-title { font-size: 1.8rem; }
  .title-underline { width: 150px; }
  .planta-main-subtitle { font-size: 1rem; }
  .planta-intro-text { font-size: 0.95rem; }
  .planta-two-column { gap: 2rem; }
  .planta-section-title { font-size: 1.4rem; }
  .planta-description, .planta-highlight, .planta-benefits li, .planta-footer { font-size: 0.95rem; }
  .gallery-container { grid-template-columns: 1fr; padding: 0 2rem; }
  .gallery-item img { height: 250px; }
}

/* ============================================================
   CAPACITACIONES PAGE
   ============================================================ */
.capacitaciones-content { background: #ffffff; }
.capacitaciones-main-container { max-width: 1400px; margin: 0 auto; padding: 4rem 3rem; }
.capacitaciones-hero-wrapper { width: 100%; max-width: 1100px; margin: 0 auto 3rem; border-radius: 25px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.15); }
.capacitaciones-hero-image { width: 100%; height: 450px; object-fit: cover; display: block; }
.capacitaciones-content-wrapper { max-width: 1200px; margin: 0 auto; }
.capacitaciones-main-title { font-size: 2.5rem; font-weight: 900; color: #1a1a1a; margin-bottom: 0.5rem; line-height: 1.3; }
.capacitaciones-main-subtitle { font-size: 1.15rem; font-weight: 600; color: #1a1a1a; margin-bottom: 1.5rem; line-height: 1.5; }
.capacitaciones-intro-text { font-size: 1.05rem; color: #666; line-height: 1.8; margin-bottom: 2rem; text-align: justify; }
.capacitaciones-two-column { display: flex; gap: 3rem; align-items: flex-start; margin-bottom: 3rem; }
.capacitaciones-left-content { flex: 1; display: flex; flex-direction: column; gap: 1.2rem; }
.capacitaciones-section-title { font-size: 1.7rem; font-weight: 700; color: #1a1a1a; line-height: 1.4; margin: 0 0 1.5rem 0; }
.capacitaciones-section-title-full { font-size: 1.7rem; font-weight: 700; color: #1a1a1a; line-height: 1.4; margin: 2rem 0 1.5rem 0; }
.capacitaciones-description { font-size: 1.05rem; color: #666; line-height: 1.8; margin: 0 0 1.2rem 0; text-align: justify; }
.capacitaciones-benefits { list-style: none; padding: 0; margin: 0 0 1.2rem 0; display: flex; flex-direction: column; gap: 1.2rem; }
.capacitaciones-benefits li { font-size: 1.1rem; color: #666; line-height: 1.8; padding-left: 2rem; position: relative; text-align: justify; }
.capacitaciones-benefits li::before { content: '\25CF'; color: #F49E1B; font-size: 1.5rem; position: absolute; left: 0; top: 0; line-height: 1.8; }
.capacitaciones-right-image { flex: 0 0 420px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 35px rgba(0,0,0,0.12); }
.capacitaciones-right-image img { width: 100%; height: auto; object-fit: cover; display: block; }
.capacitaciones-final-section { display: flex; gap: 3rem; align-items: flex-start; margin-top: 0; }
.capacitaciones-final-text { flex: 1; display: flex; flex-direction: column; gap: 1.2rem; }
.capacitaciones-final-image-wrapper { flex: 0 0 450px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 35px rgba(0,0,0,0.12); align-self: flex-start; }
.capacitaciones-final-image { width: 100%; height: auto; display: block; }
.capacitaciones-footer { font-size: 1.1rem; color: #666; line-height: 1.8; margin: 0; text-align: justify; }

@media (max-width: 1024px) {
  .capacitaciones-two-column, .capacitaciones-final-section { flex-direction: column; }
  .capacitaciones-right-image, .capacitaciones-final-image-wrapper { flex: 0 0 auto; width: 100%; max-width: 500px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .capacitaciones-main-container { padding: 3rem 2rem; }
  .capacitaciones-hero-wrapper { margin-bottom: 2rem; border-radius: 15px; }
  .capacitaciones-hero-image { height: 200px; }
  .capacitaciones-main-title { font-size: 1.8rem; }
  .capacitaciones-main-subtitle { font-size: 1rem; }
  .capacitaciones-intro-text, .capacitaciones-description, .capacitaciones-benefits li, .capacitaciones-footer { font-size: 0.95rem; }
  .capacitaciones-section-title, .capacitaciones-section-title-full { font-size: 1.4rem; }
  .capacitaciones-two-column, .capacitaciones-final-section { gap: 2rem; }
}

/* ============================================================
   EXPOS MINERIA PAGE
   ============================================================ */
.expos-content { background: #ffffff; }
.expos-main-container { max-width: 1400px; margin: 0 auto; padding: 4rem 3rem; }
.expos-hero-wrapper { width: 100%; max-width: 1100px; margin: 0 auto 3rem; border-radius: 25px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.15); }
.expos-hero-image { width: 100%; height: 450px; object-fit: cover; display: block; }
.expos-content-wrapper { max-width: 1200px; margin: 0 auto; }
.expos-main-title { font-size: 2.5rem; font-weight: 900; color: #1a1a1a; margin-bottom: 0.5rem; line-height: 1.3; }
.expos-main-subtitle { font-size: 1.15rem; font-weight: 600; color: #1a1a1a; margin-bottom: 1.5rem; line-height: 1.5; }
.expos-intro-text { font-size: 1.05rem; color: #666; line-height: 1.8; margin-bottom: 1.2rem; text-align: justify; }
.expos-gallery-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 3rem 0; }
.gallery-three-item { border-radius: 20px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.12); transition: transform 0.3s; }
.gallery-three-item:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.18); }
.gallery-three-item img { width: 100%; height: 350px; object-fit: cover; display: block; }
.expos-section-title { font-size: 1.9rem; font-weight: 700; color: #1a1a1a; line-height: 1.4; margin: 2rem 0 1.5rem 0; }
.expos-description { font-size: 1.1rem; color: #666; line-height: 1.8; margin: 0 0 1.5rem 0; text-align: justify; }
.expos-benefits-title { font-size: 1.1rem; color: #F49E1B; margin: 2rem 0 1.2rem 0; font-weight: 700; }
.expos-benefits { list-style: none; padding: 0; margin: 0 0 2rem 0; display: flex; flex-direction: column; gap: 1.2rem; }
.expos-benefits li { font-size: 1.1rem; color: #666; line-height: 1.8; padding-left: 2rem; position: relative; text-align: justify; }
.expos-benefits li::before { content: '\25CF'; color: #F49E1B; font-size: 1.5rem; position: absolute; left: 0; top: 0; line-height: 1.8; }
.expos-benefits-section { display: flex; gap: 3rem; align-items: flex-start; margin-top: 0; }
.expos-benefits-content { flex: 1; display: flex; flex-direction: column; gap: 1.2rem; }
.expos-final-image-wrapper { flex: 0 0 450px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 35px rgba(0,0,0,0.12); align-self: flex-start; }
.expos-final-image { width: 100%; height: auto; display: block; }
.expos-footer-text { font-size: 1.1rem; color: #666; line-height: 1.8; margin: 0; text-align: justify; }

@media (max-width: 1024px) {
  .expos-gallery-three { grid-template-columns: repeat(2, 1fr); }
  .expos-benefits-section { flex-direction: column; }
  .expos-final-image-wrapper { flex: 0 0 auto; width: 100%; max-width: 500px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .expos-main-container { padding: 3rem 2rem; }
  .expos-hero-wrapper { margin-bottom: 2rem; border-radius: 15px; }
  .expos-hero-image { height: 200px; }
  .expos-main-title { font-size: 1.8rem; }
  .expos-main-subtitle { font-size: 1rem; }
  .expos-intro-text { font-size: 0.95rem; }
  .expos-gallery-three { grid-template-columns: 1fr; gap: 1.5rem; margin: 2rem 0; }
  .gallery-three-item img { height: 250px; }
  .expos-section-title { font-size: 1.4rem; }
  .expos-description, .expos-benefits-title, .expos-benefits li, .expos-footer-text { font-size: 0.95rem; }
  .expos-benefits-section { gap: 2rem; }
}

/* ============================================================
   LOGISTICA INTEGRAL & MANTENIMIENTO PAGES
   ============================================================ */
.logistica-content, .mantenimiento-content { background: #ffffff; }
.logistica-main-container, .mantenimiento-main-container { max-width: 1400px; margin: 0 auto; padding: 4rem 3rem; }
.logistica-hero-wrapper, .mantenimiento-hero-wrapper { width: 100%; max-width: 1100px; margin: 0 auto 3rem; border-radius: 25px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.15); }
.logistica-hero-image, .mantenimiento-hero-image { width: 100%; height: auto; display: block; }
.logistica-content-wrapper, .mantenimiento-content-wrapper { max-width: 1200px; margin: 0 auto; }
.logistica-main-title, .mantenimiento-main-title { font-size: 2.5rem; font-weight: 900; color: #1a1a1a; margin-bottom: 0.5rem; line-height: 1.3; }
.logistica-main-subtitle, .mantenimiento-main-subtitle { font-size: 1.15rem; font-weight: 600; color: #1a1a1a; margin-bottom: 1.5rem; line-height: 1.5; }
.logistica-intro-text, .mantenimiento-intro-text { font-size: 1.05rem; color: #666; line-height: 1.8; margin-bottom: 1.2rem; text-align: justify; }
.logistica-two-column, .mantenimiento-two-column { display: flex; gap: 3rem; align-items: flex-start; margin-top: 2rem; }
.logistica-left-content, .mantenimiento-left-content { flex: 1; display: flex; flex-direction: column; gap: 1.2rem; }
.logistica-section-title, .mantenimiento-section-title { font-size: 1.7rem; font-weight: 700; color: #1a1a1a; line-height: 1.4; margin: 0 0 1.5rem 0; }
.logistica-description, .mantenimiento-description { font-size: 1.05rem; color: #666; line-height: 1.8; margin: 0 0 1.5rem 0; text-align: justify; }
.logistica-highlight, .mantenimiento-highlight { font-size: 1.05rem; color: #1a1a1a; margin: 0 0 1.2rem 0; font-weight: 500; }
.logistica-benefits, .mantenimiento-benefits { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.logistica-benefits li, .mantenimiento-benefits li { font-size: 1.05rem; color: #666; line-height: 1.8; padding-left: 2rem; position: relative; text-align: justify; }
.logistica-benefits li::before, .mantenimiento-benefits li::before { content: '\25CF'; color: #F49E1B; font-size: 1.5rem; position: absolute; left: 0; top: 0; line-height: 1.8; }
.logistica-footer, .mantenimiento-footer { font-size: 1.05rem; color: #666; line-height: 1.8; margin: 0; text-align: justify; }
.logistica-right-image, .mantenimiento-right-image { flex: 0 0 420px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 35px rgba(0,0,0,0.12); }
.logistica-right-image img, .mantenimiento-right-image img { width: 100%; height: auto; object-fit: cover; display: block; }
.logistica-gallery, .mantenimiento-gallery { padding: 4rem 0; background: #ffffff; }
@media (max-width: 1024px) {
  .logistica-two-column, .mantenimiento-two-column { flex-direction: column; }
  .logistica-right-image, .mantenimiento-right-image { flex: 0 0 auto; width: 100%; max-width: 500px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .logistica-main-container, .mantenimiento-main-container { padding: 3rem 2rem; }
  .logistica-hero-wrapper, .mantenimiento-hero-wrapper { margin-bottom: 2rem; border-radius: 15px; }
  .logistica-main-title, .mantenimiento-main-title { font-size: 1.8rem; }
  .logistica-main-subtitle, .mantenimiento-main-subtitle { font-size: 1rem; }
  .logistica-intro-text, .mantenimiento-intro-text,
  .logistica-description, .logistica-highlight, .logistica-benefits li, .logistica-footer,
  .mantenimiento-description, .mantenimiento-highlight, .mantenimiento-benefits li, .mantenimiento-footer { font-size: 0.95rem; }
  .logistica-section-title, .mantenimiento-section-title { font-size: 1.4rem; }
  .logistica-two-column, .mantenimiento-two-column { gap: 2rem; }
}

/* ============================================================
   PRIVACY POLICY & TERMS PAGES
   ============================================================ */
.policy-container, .terms-container {
  min-height: 70vh;
  background: #ffffff;
  padding: 4rem 2rem;
}
.policy-content, .terms-content {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}
.policy-main-title, .terms-main-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 2rem;
  text-align: center;
  border-bottom: 3px solid #F49E1B;
  padding-bottom: 1rem;
}
.policy-section, .terms-section { margin-bottom: 2.5rem; }
.policy-section-title, .terms-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F49E1B;
  margin-bottom: 1rem;
}
.terms-subsection-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #F49E1B;
  margin-bottom: 0.5rem;
}
.policy-text, .terms-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1rem;
  text-align: justify;
}
.policy-text a, .terms-text a {
  color: #F49E1B;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.policy-text a:hover, .terms-text a:hover {
  color: #e08d0f;
  text-decoration: underline;
}
@media (max-width: 768px) {
  .policy-container, .terms-container { padding: 2rem 1rem; }
  .policy-content, .terms-content { padding: 2rem 1.5rem; }
  .policy-main-title, .terms-main-title { font-size: 2rem; }
  .policy-section-title, .terms-section-title { font-size: 1.3rem; }
  .policy-text, .terms-text { font-size: 1rem; text-align: left; }
}

/* ============================================================
   WP ADMIN BAR FIX
   ============================================================ */
body.admin-bar .navbar {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .navbar {
    top: 46px;
  }
}
