/*
Theme Name: Hitschfeld Servicios
Theme URI: https://hitschfeldservicios.cl
Author: Hitschfeld Servicios
Author URI: https://hitschfeldservicios.cl
Description: Tema WordPress para Hitschfeld Servicios - Mantención de maquinaria agrícola en Región de Los Lagos y Los Ríos
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: hitschfeld-servicios
Tags: agricultural, services, business, responsive, custom-menu

Este tema está diseñado para Hitschfeld Servicios, especialistas en mantención de maquinaria agrícola.
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff;
  color: #0f172a;
  line-height: 1.5;
}

/* Merriweather for main titles */
.hero-title,
.section-title,
.trust-title,
.contact-info-title,
.services-cta-title,
.trust-feature-title,
.contact-cta-title,
.footer-title,
.footer-section-title,
.contact-info-item-title,
.foundation-title,
.foundation-info-title {
  font-family: 'Merriweather', serif;
}

/* Pre-Header */
.pre-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background-color: #0f172a;
  color: #ffffff;
  padding: 0.375rem 0;
  font-size: 0.75rem;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .pre-header {
    padding: 0.5rem 0;
    font-size: 0.875rem;
  }
}

.pre-header-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

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

.pre-header-text {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (min-width: 640px) {
  .pre-header-text {
    gap: 0.5rem;
  }
}

.pre-header-icon {
  color: #16a34a;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

@media (min-width: 640px) {
  .pre-header-icon {
    width: 16px;
    height: 16px;
  }
}

.pre-header-text strong {
  color: #4ade80;
  font-weight: 600;
}

.pre-header-text span {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

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

/* Header */
.header {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
  .header {
    top: 28px;
  }
}

.nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

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

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  min-height: 64px;
}

@media (min-width: 640px) {
  .nav-container {
    height: 80px;
    min-height: 80px;
  }
}

.logo-container {
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.75rem;
}

.logo-isotipo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .logo-isotipo {
    width: 45px;
    height: 45px;
  }
}

.logo-text {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .logo-text {
    font-size: 1.5rem;
  }
}

.logo-accent {
  color: #16a34a;
}

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

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

.nav-link {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #16a34a;
}

.nav-cta {
  display: none;
  align-items: center;
}

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

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: #475569;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  min-width: 44px;
  min-height: 44px;
  z-index: 51;
}

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

.mobile-menu-btn:hover,
.mobile-menu-btn:focus {
  color: #16a34a;
  outline: 2px solid #16a34a;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

.icon {
  display: inline-block;
  vertical-align: middle;
}

/* Icon spacing in buttons */
.btn {
  gap: 0.5rem;
}

.btn .icon {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover .icon,
.btn-primary:focus .icon {
  transform: translateX(2px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 88px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  z-index: 40;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 1rem;
  padding-bottom: 2rem;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .mobile-menu-content {
    padding: 0 1.5rem;
    gap: 1rem;
  }
}

.mobile-menu-link {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
  display: block;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus {
  color: #16a34a;
  background-color: #f8fafc;
}

.mobile-menu-link:hover {
  color: #16a34a;
}

.mobile-menu-cta {
  margin-top: 1rem;
  padding: 0 1rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 44px;
  min-width: 44px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px -5px rgba(22, 163, 74, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Pulse animation for primary buttons */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 10px 20px -5px rgba(22, 163, 74, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 10px 30px -5px rgba(22, 163, 74, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  }
}

.btn-primary:focus,
.btn-hero-primary:focus {
  animation: pulse-glow 2s ease-in-out infinite;
}

.btn-full {
  width: 100%;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 10px 25px -5px rgba(22, 163, 74, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-hero-primary:hover::after {
  left: 100%;
}

.btn-hero-primary:hover,
.btn-hero-primary:focus {
  background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(22, 163, 74, 0.5), 0 10px 20px -5px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-hero-primary:active {
  transform: translateY(-1px) scale(1);
  box-shadow: 0 10px 25px -5px rgba(22, 163, 74, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

.btn-hero-primary .icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-primary:hover .icon {
  transform: translateX(4px);
}

.btn-hero-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 1rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
  background-color: rgba(255, 255, 255, 0.95);
  color: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-hero-secondary:active {
  transform: translateY(0);
}

/* Main */
.main {
  margin-top: 88px;
}

@media (min-width: 640px) {
  .main {
    margin-top: 108px;
  }
}

/* Hero Section */
.hero {
  position: relative;
  background-color: #0f172a;
  color: #ffffff;
  overflow: hidden;
  margin-top: -88px;
  padding-top: 88px;
}

@media (min-width: 640px) {
  .hero {
    margin-top: -108px;
    padding-top: 108px;
  }
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.7));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 1rem;
}

@media (min-width: 640px) {
  .hero-content {
    padding: 8rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 10rem 2rem;
  }
}

.hero-inner {
  max-width: 768px;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(22, 163, 74, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero-badge-text {
  color: #4ade80;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-title-accent {
  color: #22c55e;
}

.hero-description {
  font-size: 1.125rem;
  color: #d1d5db;
  margin-bottom: 2rem;
  line-height: 1.75;
}

@media (min-width: 640px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.hero-bottom-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6rem;
  background: linear-gradient(to top, #ffffff, transparent);
  z-index: 10;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: #ffffff;
}

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

.section-header {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-description {
  font-size: 1.125rem;
  color: #475569;
}

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

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

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

.service-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: #16a34a;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: #dcfce7;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #16a34a;
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background-color: #16a34a;
  color: #ffffff;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.service-description {
  color: #475569;
  line-height: 1.75;
}

.services-cta {
  margin-top: 4rem;
  background: linear-gradient(to right, #f8fafc, #f0fdf4);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #e2e8f0;
}

@media (min-width: 640px) {
  .services-cta {
    padding: 3rem;
  }
}

.services-cta-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

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

.services-cta-text {
  /* Empty for now */
}

.services-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.services-cta-description {
  color: #1e293b;
  line-height: 1.75;
}

.services-cta-button {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .services-cta-button {
    justify-content: flex-end;
  }
}

/* Products Section */
.products {
  padding: 5rem 0;
  background-color: #ffffff;
}

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

.products-info {
  max-width: 768px;
  margin: 0 auto 3rem;
  text-align: center;
}

.products-info-text {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.75;
}

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

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

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

.product-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.product-card:hover {
  border-color: #16a34a;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-4px);
}

.product-image-placeholder {
  width: 100%;
  height: 200px;
  background-color: #f8fafc;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  font-family: 'Merriweather', serif;
}

.product-description {
  color: #475569;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  flex: 1;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #16a34a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  margin-top: auto;
}

.product-link:hover {
  color: #15803d;
}

.products-cta {
  text-align: center;
  padding: 2rem;
  background-color: #f8fafc;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
}

.products-cta-text {
  font-size: 1.125rem;
  color: #475569;
  margin-bottom: 1.5rem;
}

/* Brands Section */
.brands {
  padding: 5rem 0;
  background-color: #f8fafc;
}

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

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

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

@media (min-width: 1024px) {
  .brands-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
}

.brand-item {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s;
  min-height: 120px;
  position: relative;
}

.brand-item:hover {
  border-color: #16a34a;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.brand-logo {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.brand-item:hover .brand-logo {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Screen reader only - hide text when logo is present */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

@media (min-width: 640px) {
  .brand-name {
    font-size: 1.125rem;
  }
  
  .brand-logo {
    max-height: 90px;
  }
}

@media (min-width: 1024px) {
  .brand-logo {
    max-height: 100px;
  }
}

/* Trust Section */
.trust {
  padding: 5rem 0;
  background-color: #f8fafc;
}

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

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

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

.trust-image-wrapper {
  order: 2;
}

@media (min-width: 1024px) {
  .trust-image-wrapper {
    order: 1;
  }
}

.trust-image-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.trust-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  min-height: 500px;
}

.trust-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.2), transparent);
}

.trust-content {
  order: 1;
}

@media (min-width: 1024px) {
  .trust-content {
    order: 2;
  }
}

.trust-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #dcfce7;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.trust-badge-text {
  color: #15803d;
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .trust-title {
    font-size: 2.25rem;
  }
}

.trust-description {
  font-size: 1.125rem;
  color: #475569;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.trust-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.trust-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.trust-feature-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background-color: #dcfce7;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
}

.trust-feature-content {
  flex: 1;
}

.trust-feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.trust-feature-description {
  color: #475569;
}

/* Foundation Section */
.foundation {
  padding: 5rem 0;
  background-color: #ffffff;
}

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

.foundation-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.foundation-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #dcfce7;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.foundation-badge-text {
  color: #15803d;
  font-size: 0.875rem;
  font-weight: 500;
}

.foundation-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .foundation-title {
    font-size: 2.25rem;
  }
}

.foundation-title-accent {
  color: #16a34a;
}

.foundation-description {
  font-size: 1.125rem;
  color: #475569;
  margin-bottom: 3rem;
  line-height: 1.75;
  text-align: left;
}

.foundation-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
  text-align: left;
}

@media (min-width: 768px) {
  .foundation-info {
    flex-direction: row;
    gap: 2rem;
  }
}

.foundation-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}

.foundation-info-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background-color: #dcfce7;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
}

.foundation-info-content {
  flex: 1;
}

.foundation-info-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.foundation-info-text {
  color: #475569;
  line-height: 1.75;
}

.foundation-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .foundation-links {
    flex-direction: row;
    justify-content: center;
  }
}

/* Homologar altura de botones en foundation-links */
.foundation-links .btn {
  padding: 1rem 2rem;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.foundation-links .btn-primary {
  padding: 1rem 2rem;
}

.foundation-links .btn-hero-secondary {
  background-color: #f8fafc;
  color: #0f172a;
  border: 2px solid #e2e8f0;
  padding: 1rem 2rem;
}

.foundation-links .btn-hero-secondary:hover,
.foundation-links .btn-hero-secondary:focus {
  background-color: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(22, 163, 74, 0.3);
}

.foundation-links .btn-hero-secondary:active {
  transform: translateY(0);
}

/* Ensure all buttons maintain text color on hover */
.btn-primary,
.btn-hero-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-hero-primary:hover,
.btn-hero-primary:focus {
  color: #ffffff !important;
}

/* Pulse animation for primary buttons */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 10px 20px -5px rgba(22, 163, 74, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 10px 30px -5px rgba(22, 163, 74, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  }
}

.btn-primary:focus,
.btn-hero-primary:focus {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Smooth transitions for all interactive elements */
.btn,
.contact-cta-link,
.product-link {
  will-change: transform;
}

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

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

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

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

.contact-form-wrapper {
  background-color: #f8fafc;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #e2e8f0;
}

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

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

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

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.5);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.form-textarea {
  resize: none;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-header {
  /* Empty for now */
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.contact-info-description {
  color: #475569;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.contact-coverage {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 0.75rem;
}

.contact-coverage-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.contact-coverage-text {
  color: #475569;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.contact-coverage-list {
  list-style: none;
  margin-bottom: 1rem;
  padding-left: 0;
}

.contact-coverage-list li {
  color: #1e293b;
  line-height: 1.75;
  margin-bottom: 0.5rem;
  padding-left: 0;
}

.contact-coverage-list li strong {
  color: #15803d;
}

.contact-coverage-note {
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.75;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #dcfce7;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background-color: #dcfce7;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
}

.contact-info-content {
  flex: 1;
}

.contact-info-item-title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.contact-info-item-text {
  color: #475569;
}

.contact-info-item-subtext {
  color: #64748b;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.contact-cta {
  background: linear-gradient(to bottom right, #16a34a, #15803d);
  border-radius: 1rem;
  padding: 2rem;
  color: #ffffff;
  margin-top: 2rem;
}

.contact-cta-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-cta-text {
  color: #bbf7d0;
  margin-bottom: 1rem;
}

.contact-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  border: 2px solid #ffffff;
  border-radius: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
  position: relative;
  overflow: hidden;
}

.contact-cta-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.contact-cta-link:hover::before {
  left: 100%;
}

.contact-cta-link:hover,
.contact-cta-link:focus {
  background-color: rgba(255, 255, 255, 0.95);
  color: #15803d;
  border-color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.contact-cta-link:active {
  transform: translateY(0) scale(1);
}

.contact-cta-link .icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-cta-link:hover .icon {
  transform: translateX(4px);
}

/* Footer */
.footer {
  background-color: #0f172a;
  color: #ffffff;
}

.footer .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

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

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

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

.footer-company {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .footer-company {
    grid-column: span 2;
  }
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 1rem;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-logo:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .footer-logo {
    max-width: 180px;
  }
}

.footer-description {
  color: #9ca3af;
  margin-bottom: 1rem;
  max-width: 28rem;
  line-height: 1.75;
}

.footer-section-title {
  font-weight: 700;
  margin-bottom: 1rem;
  font-style: normal;
}

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

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #4ade80;
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9ca3af;
  font-style: normal;
}

.footer-icon {
  color: #22c55e;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #9ca3af;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
  }
}

.footer-copyright {
  /* Empty for now */
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-link:hover {
  color: #4ade80;
}

/* WordPress Entry Content Styles */
.entry-header {
  margin-bottom: 2rem;
}

.entry-title {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .entry-title {
    font-size: 2.5rem;
  }
}

.entry-content {
  color: #0f172a;
  line-height: 1.8;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.entry-content h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content a {
  color: #16a34a;
  text-decoration: underline;
}

.entry-content a:hover {
  color: #15803d;
}

.entry-content img {
  border-radius: 0.75rem;
  margin: 2rem 0;
}

.entry-meta {
  color: #64748b;
  font-size: 0.875rem;
}

.entry-thumbnail {
  margin: 2rem 0;
}

.entry-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

/* Image styles */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Link styles */
a {
  color: #16a34a;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #15803d;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  overflow: visible;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5), 0 4px 8px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #20BA5A 0%, #25D366 100%);
}

.whatsapp-float:active {
  transform: translateY(-2px) scale(1.05);
}

.whatsapp-icon {
  color: #ffffff;
  width: 28px;
  height: 28px;
  z-index: 2;
  position: relative;
  transition: transform 0.3s;
}

.whatsapp-float:hover .whatsapp-icon {
  transform: scale(1.1);
}

/* Pulse animation */
.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.6;
  animation: whatsapp-pulse 2s ease-out infinite;
  z-index: 1;
}

.whatsapp-pulse::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.6;
  animation: whatsapp-pulse 2s ease-out infinite;
  animation-delay: 1s;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
  
  .whatsapp-icon {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 1rem;
    right: 1rem;
  }
  
  .whatsapp-icon {
    width: 24px;
    height: 24px;
  }
}

/* Hide on print */
@media print {
  .whatsapp-float {
    display: none;
  }
}
