/* Variables CSS */
:root {
  --font-size: 16px;
  --background: #ffffff;
  --foreground: #171717;
  --card: #ffffff;
  --card-foreground: #171717;
  --primary: #030213;
  --primary-foreground: #ffffff;
  --secondary: #f1f2f6;
  --secondary-foreground: #030213;
  --muted: #ececf0;
  --muted-foreground: #717182;
  --accent: #e9ebef;
  --accent-foreground: #030213;
  --destructive: #d4183d;
  --destructive-foreground: #ffffff;
  --border: rgba(0, 0, 0, 0.1);
  --input: transparent;
  --input-background: #f3f3f5;
  --radius: 0.625rem;
  --font-weight-medium: 500;
  --font-weight-normal: 400;
}

/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

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

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Tipografía */
h1 {
  font-size: 2rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}

h2 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}

h3 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}

h4 {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}

p {
  font-size: 1rem;
  font-weight: var(--font-weight-normal);
  line-height: 1.5;
}

/* Header */
.header-fixed {
  background: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  background: var(--primary);
  padding: 0.5rem;
  border-radius: var(--radius);
}

.logo-icon i {
  width: 2rem;
  height: 2rem;
  color: white;
}

.logo-text h1 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0;
}

.logo-text p {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

.nav-desktop a {
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--primary);
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.mobile-menu-btn i {
  width: 1.5rem;
  height: 1.5rem;
  color: #374151;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  padding-bottom: 1rem;
}

.mobile-menu.active {
  display: block;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-mobile a {
  color: #374151;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.2s;
}

.nav-mobile a:hover {
  color: var(--primary);
}

/* Hero Banner */
.hero-banner {
  position: relative;
  height: 500px;
  overflow: hidden;
  margin-top: 5rem;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  text-align: center;
  color: white;
  max-width: 64rem;
  padding: 0 1rem;
}

.hero-text h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  animation: slideInUp 0.6s ease-out 0.2s both;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  animation: slideInUp 0.6s ease-out 0.4s both;
}

.hero-btn {
  background: #d4183d;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: background-color 0.2s;
  animation: slideInUp 0.6s ease-out 0.6s both;
}

.hero-btn:hover {
  background: #1a1a2e;
}

@media (max-width: 768px) {
  .hero-text h2 {
    font-size: 2rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
}

.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s;
}

.hero-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-nav-btn i {
  width: 1.5rem;
  height: 1.5rem;
}

.prev-btn {
  left: 1rem;
}

.next-btn {
  right: 1rem;
}

.hero-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.2s;
}

.indicator.active {
  background: white;
}

/* Animaciones */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background: #f9fafb;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-image {
    order: -1;
  }
}

.about-img {
  border-radius: var(--radius);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 24rem;
  object-fit: cover;
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: #374151;
}

/* Products Section */
.products-section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.section-header p {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 48rem;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.product-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.product-content {
  padding: 1.5rem;
}

.product-content h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.product-content p {
  color: #6b7280;
  margin-bottom: 1rem;
}

.product-content ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.product-content li {
  color: #374151;
  margin-bottom: 0.25rem;
  padding-left: 1rem;
  position: relative;
}

.product-content li:before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: 0;
}

.quote-btn {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
}

.quote-btn:hover {
  background: #1a1a2e;
}

/* Mission Vision Section */
.mission-vision-section {
  padding: 5rem 0;
  background: #f3f4f6;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

.mission-card,
.vision-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.mv-icon {
  background: var(--primary);
  color: white;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.mv-icon i {
  width: 2rem;
  height: 2rem;
}

.mission-card h3,
.vision-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.mission-card p,
.vision-card p {
  color: #374151;
  line-height: 1.7;
}

/* Values Section */
.values-section {
  padding: 5rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

.value-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.2s;
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-icon {
  background: #d4183d;
  color: #e9ebef;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-icon i {
  width: 1.5rem;
  height: 1.5rem;
}

.value-card h4 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.value-card p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Gate Production Section */
.gate-production-section {
  padding: 5rem 0;
  background: #f9fafb;
}

.gates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .gates-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gate-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s;
}

.gate-card:hover {
  transform: translateY(-4px);
}

.gate-card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.gate-content {
  padding: 1.5rem;
}

.gate-icon {
  background: var(--primary);
  color: white;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.gate-icon i {
  width: 1.5rem;
  height: 1.5rem;
}

.gate-content h4 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.gate-content p {
  color: #6b7280;
  margin-bottom: 1rem;
}

.gate-content ul {
  list-style: none;
}

.gate-content li {
  color: #374151;
  margin-bottom: 0.25rem;
  padding-left: 1rem;
  position: relative;
  font-size: 0.875rem;
}

.gate-content li:before {
  content: "✓";
  color: #10b981;
  position: absolute;
  left: 0;
}

/* Glazing Section */
.glazing-section {
  padding: 5rem 0;
}

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

.glazing-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.glazing-header p {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 48rem;
  margin: 0 auto;
}

.glazing-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .glazing-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .glazing-services {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.service-item:hover {
  transform: translateY(-2px);
}

.service-icon {
  background: #f0f9ff;
  color: var(--primary);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon i {
  width: 1.5rem;
  height: 1.5rem;
}

.service-content h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.service-content p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background: #f9fafb;
}

.form-container {
  max-width: 64rem;
  margin: 0 auto;
}

.form-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.form-header {
  background: #d4183d;
  padding: 2rem;
  text-align: center;
}

.form-header h3 {
  font-size: 1.5rem;
  color: #f0f9ff;
  margin-bottom: 0.5rem;
}

.form-header p {
  color: #f6f6f6;
}

/* Tabs */
.tabs {
  padding: 2rem;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #f3f4f6;
  border-radius: var(--radius);
  padding: 0.25rem;
  margin-bottom: 2rem;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all 0.2s;
  color: #6b7280;
}

.tab-btn.active {
  background: white;
  color: var(--primary);
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.tab-content {
  display: none;
}

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

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: var(--font-weight-medium);
  color: var(--foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  background: var(--input-background);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(3, 2, 19, 0.1);
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radio-item input[type="radio"] {
  width: auto;
  margin: 0;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-item label {
  margin: 0;
  font-size: 0.875rem;
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.captcha-question {
  background: #f3f4f6;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 1.125rem;
  font-weight: var(--font-weight-medium);
}

.captcha-container input {
  width: 6rem;
  margin: 0;
}

.refresh-btn {
  background: white;
  border: 1px solid var(--border);
  padding: 0.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s;
}

.refresh-btn:hover {
  background: #f9fafb;
}

.refresh-btn i {
  width: 1rem;
  height: 1rem;
}

.review-content {
  background: #f9fafb;
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
}

.review-content div {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-actions {
    flex-direction: row;
  }
}

.submit-btn {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: background-color 0.2s;
  flex: 1;
}

.submit-btn:hover {
  background: #1a1a2e;
}

.draft-btn {
  background: white;
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
}

.draft-btn:hover {
  background: var(--primary);
  color: white;
}

/* Location Section */
.location-section {
  margin-top: 4rem;
}

.location-header {
  text-align: center;
  margin-bottom: 2rem;
}

.location-header h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.location-header p {
  font-size: 1.125rem;
  color: #6b7280;
}

.location-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.map-container {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.map-wrapper {
  width: 100%;
  height: 20rem;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-info {
  padding: 1.5rem;
}

.map-text {
  text-align: center;
  margin-bottom: 1.5rem;
}

.map-text h5 {
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.map-text p {
  font-size: 0.875rem;
  color: #6b7280;
}

.map-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .map-buttons {
    flex-direction: row;
  }
}

.map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.map-btn.primary {
  background: var(--primary);
  color: white;
  border: none;
}

.map-btn.primary:hover {
  background: #1a1a2e;
}

.map-btn.secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.map-btn.secondary:hover {
  background: var(--primary);
  color: white;
}

.map-btn i {
  width: 1rem;
  height: 1rem;
}

.map-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.feature {
  text-align: center;
}

.feature p:first-child {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.feature p:last-child {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Contact Info Section */
.contact-info-section {
  margin-top: 3rem;
}

.contact-info-header {
  background: linear-gradient(135deg, rgba(3, 2, 19, 0.05), rgba(3, 2, 19, 0.1));
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius) var(--radius) 0 0;
}

.contact-info-header h4 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-info-header p {
  color: #6b7280;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 2rem;
  background: white;
}

@media (min-width: 640px) {
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-card {
  background: #f9fafb;
  padding: 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  transition: box-shadow 0.2s;
}

.contact-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  background: rgba(3, 2, 19, 0.1);
  color: var(--primary);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.contact-icon i {
  width: 1.75rem;
  height: 1.75rem;
}

.contact-card h5 {
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.contact-details {
  margin-bottom: 0.75rem;
}

.contact-details p {
  color: #374151;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.contact-btn {
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border: none;
  border-radius: var(--radius);
  font-size: 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.contact-btn:hover {
  background: #1a1a2e;
}

.status {
  font-size: 0.75rem;
  color: var(--primary);
  margin-top: 0.75rem;
}

/* WhatsApp Section */
.whatsapp-section {
  margin-top: 2rem;
}

.whatsapp-card {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  padding: 2rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .whatsapp-card {
    flex-direction: column;
    text-align: center;
  }
}

.whatsapp-icon {
  background: rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.whatsapp-content {
  flex: 1;
}

.whatsapp-content h5 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.whatsapp-content p {
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.whatsapp-numbers {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .whatsapp-numbers {
    justify-content: center;
  }
}

.whatsapp-btn {
  background: white;
  color: #25d366;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.whatsapp-btn:hover {
  background: #f0f9ff;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--primary);
  color: white;
  padding: 3rem 0 1rem;
}

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

@media (min-width: 640px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  background: white;
  color: var(--primary);
  padding: 0.5rem;
  border-radius: var(--radius);
}

.footer-logo-icon i {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-logo-text h3 {
  margin: 0;
}

.footer-logo-text p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer-description {
  opacity: 0.8;
  line-height: 1.7;
  font-size: 0.875rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
  font-size: 0.875rem;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.contact-item i {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  opacity: 0.8;
  flex-shrink: 0;
}

.contact-item span {
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social span {
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer-social a {
  color: white;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-social a:hover {
  opacity: 1;
}

.footer-social i {
  width: 1.25rem;
  height: 1.25rem;
}

/* Utilidades responsivas */
@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  .hero-text h2 {
    font-size: 2rem;
  }
  
  .about-content h2 {
    font-size: 2rem;
  }
}

/* Estados de carga y transiciones */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

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

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible para navegación por teclado */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}