@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap');

/* --- SISTEMA DE DISEÑO (VARIABLES) --- */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #121212;
  --bg-card: #1c1c1c;
  --bg-card-hover: #262626;
  --color-accent: #b22222;        /* Crimson Red */
  --color-accent-hover: #d32f2f;  /* Brighter Red */
  --color-gold: #c5a880;          /* Warm Gold */
  --color-gold-hover: #d4af37;    /* Bright Gold */
  
  --text-main: #f5f5f5;
  --text-muted: #a0a0a0;
  --text-dark: #121212;
  
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
  --border-radius: 12px;
  --border-radius-sm: 8px;
}

/* --- RESET & GENERAL --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, textarea {
  font-family: inherit;
}

/* --- DECORACIONES Y ELEMENTOS COMUNES --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-main);
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 10px;
  font-weight: 300;
}

/* --- BOTONES PREMIUM --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  gap: 10px;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(178, 34, 34, 0.4);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid var(--color-gold);
}

.btn-secondary:hover {
  background-color: var(--color-gold);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.3);
}

.btn-whatsapp {
  background-color: #25D366;
  color: white;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* --- HEADER & NAVBAR --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 8px 0;
  background-color: rgba(10, 10, 10, 0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  transition: var(--transition-smooth);
}

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

.navbar .logo img {
  height: 60px;
  width: auto;
  transition: var(--transition-smooth);
}

header.scrolled .navbar .logo img {
  height: 48px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-accent-hover);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-accent);
}

.nav-link.active::after {
  width: 100%;
}

.nav-btn {
  display: flex;
}

/* Hamburguesa móvil */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--text-main);
  transition: var(--transition-fast);
}

/* --- HERO SECTION --- */
.hero {
  height: 100vh;
  min-height: 650px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.95)), 
              url('../images/oihr970.jpg') center/cover no-repeat fixed;
}

.hero-content {
  max-width: 800px;
  z-index: 10;
  padding: 0 20px;
  transform: translateY(20px);
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-logo {
  max-width: 160px;
  height: auto;
  margin: 0 auto 25px auto;
  display: block;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.6));
  animation: fadeIn 1.5s ease forwards;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-main);
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.hero-title span {
  color: var(--color-accent);
  background: linear-gradient(45deg, var(--color-accent), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* --- NOSOTROS (TABS INTERACTIVOS) --- */
.about {
  background-color: var(--bg-secondary);
}

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

.about-image-wrapper {
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition-smooth);
}

.about-image-wrapper:hover .about-img {
  transform: scale(1.02);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--bg-card);
  padding: 15px 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(197, 168, 128, 0.2);
  display: flex;
  align-items: center;
  gap: 15px;
}

.about-badge img {
  height: 60px;
  width: auto;
}

.about-badge span {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-gold);
  line-height: 1.2;
}

/* Estructura de pestañas */
.about-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 30px;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 24px;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-accent);
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  color: var(--color-accent);
}

.tab-btn.active::after {
  width: 100%;
}

/* Contenido de pestañas */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

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

.tab-content h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.tab-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-weight: 300;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 30px;
  margin-top: 15px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-weight: 500;
  font-size: 1.1rem;
}

.value-item i {
  color: var(--color-accent);
  font-size: 1.2rem;
}

/* --- INTERACTIVE PRODUCT CATALOG --- */
.products {
  background-color: var(--bg-primary);
}

.category-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.filter-btn {
  background-color: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 25px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--color-gold);
}

.filter-btn.active {
  background-color: var(--color-accent);
  color: var(--text-main);
  border-color: var(--color-accent);
  box-shadow: 0 4px 15px rgba(178, 34, 34, 0.4);
}

/* Grid de Productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
  transition: var(--transition-smooth);
}

.product-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.03);
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 168, 128, 0.3);
}

.product-img-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: #1a1a1a;
}

.product-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.product-category-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(197, 168, 128, 0.2);
}

.product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 8px;
}

.product-desc-preview {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 15px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

.product-action-text {
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.product-card:hover .product-action-text {
  color: var(--color-gold-hover);
}

/* --- PREMIUM PRODUCT MODAL --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: var(--bg-card);
  max-width: 850px;
  width: 90%;
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(197, 168, 128, 0.2);
  transform: translateY(50px);
  transition: var(--transition-smooth);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.modal.active .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(10, 10, 10, 0.7);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-main);
  font-size: 1.3rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 100;
}

.modal-close-btn:hover {
  background-color: var(--color-accent);
  color: var(--text-main);
  border-color: var(--color-accent);
}

.modal-image {
  background-color: #151515;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.modal-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-category {
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text-main);
}

.modal-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
  font-weight: 300;
}

.modal-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(178, 34, 34, 0.08);
  padding: 10px 15px;
  border-radius: var(--border-radius-sm);
  border: 1px dashed rgba(178, 34, 34, 0.3);
  margin-bottom: 30px;
  color: var(--text-main);
  font-size: 0.95rem;
}

.modal-badge i {
  color: var(--color-accent);
}

/* --- QUALITY / CERTIFICATIONS SECTION --- */
.quality {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  text-align: center;
}

.quality h2 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.quality p {
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 40px auto;
  font-size: 1.1rem;
  font-weight: 300;
}

.quality-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.quality-badge-item {
  background-color: var(--bg-card);
  padding: 25px 35px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: var(--shadow-sm);
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-smooth);
}

.quality-badge-item:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 168, 128, 0.2);
}

.quality-badge-item img {
  height: 90px;
  margin-bottom: 20px;
}

.quality-badge-item h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--text-main);
  letter-spacing: 1px;
}

.quality-badge-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* --- CONTACT & FORM SECTION --- */
.contact {
  background-color: var(--bg-primary);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* Info de contacto */
.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.contact-info-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 35px;
  font-weight: 300;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 35px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-detail-icon {
  background-color: rgba(178, 34, 34, 0.1);
  color: var(--color-accent);
  width: 46px;
  height: 46px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid rgba(178, 34, 34, 0.2);
  flex-shrink: 0;
}

.contact-detail-content h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-main);
  margin-bottom: 4px;
}

.contact-detail-content p, .contact-detail-content a {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
}

.contact-detail-content a:hover {
  color: var(--color-accent);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background-color: var(--color-accent);
  color: var(--text-main);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

/* Formulario */
.contact-form-card {
  background-color: var(--bg-card);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.03);
}

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

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background-color: rgba(10, 10, 10, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  padding: 14px 18px;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-accent);
  background-color: rgba(10, 10, 10, 0.8);
  box-shadow: 0 0 10px rgba(178, 34, 34, 0.15);
}

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

.form-response-msg {
  display: none;
  font-weight: 500;
  margin-top: 15px;
  padding: 10px 15px;
  border-radius: var(--border-radius-sm);
}

.form-response-msg.success {
  display: block;
  background-color: rgba(37, 211, 102, 0.1);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.form-response-msg.error {
  display: block;
  background-color: rgba(178, 34, 34, 0.1);
  color: #d32f2f;
  border: 1px solid rgba(178, 34, 34, 0.2);
}

/* Map Card */
.map-container {
  margin-top: 30px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.05);
  height: 250px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.9) invert(0.9) contrast(1.1); /* Dark map effect */
}

/* --- FOOTER --- */
footer {
  background-color: #050505;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img {
  height: 45px;
  width: auto;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
}

.footer-credits {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-credits a img {
  height: 25px;
  width: auto;
  opacity: 0.7;
  transition: var(--transition-fast);
}

.footer-credits a:hover img {
  opacity: 1;
}

/* --- ANIMACIONES CSS --- */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* --- RESPONSIVIDAD (MEDIA QUERIES) --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .about-wrapper {
    gap: 40px;
  }
  
  .contact-wrapper {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .about-wrapper {
    grid-template-columns: 1fr;
  }
  
  .about-image-wrapper {
    order: 2;
    max-width: 500px;
    margin: 40px auto 0 auto;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .modal-container {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .modal-image {
    height: 280px;
  }
  
  .modal-body {
    padding: 30px;
  }
  
  .modal-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  /* Hamburguesa responsiva */
  .hamburger {
    display: block;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-menu {
    position: fixed;
    top: 91px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 91px);
    background-color: var(--bg-secondary);
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
    gap: 40px;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  header.scrolled .nav-menu {
    top: 65px;
    height: calc(100vh - 65px);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-btn {
    display: none; /* Ocultar en móvil o integrar en menú */
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.4rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .tab-btn {
    padding: 8px 15px;
    font-size: 1.1rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-body {
    padding: 24px;
  }
  
  .modal-title {
    font-size: 1.7rem;
  }
  
  .about-badge {
    right: 0;
    bottom: -10px;
    padding: 10px 15px;
  }
  
  .about-badge img {
    height: 40px;
  }
}
