/* Imports for Quicksand and Inter Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --primary: #4fa88d;
  --primary-hover: #3d8f76;
  --primary-light: #e6f4f0;
  --primary-transparent: rgba(79, 168, 141, 0.1);
  --primary-transparent-medium: rgba(79, 168, 141, 0.2);
  --secondary: #23375c;
  --secondary-hover: #1b2b48;
  --secondary-light: #f0f4f8;
  --secondary-dark: #121d30;
  --bg-light: #fafbfc;
  --bg-white: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  
  --font-headers: 'Quicksand', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(250, 251, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  transition: var(--transition);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(226, 232, 240, 0.8);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--primary);
  transition: var(--transition);
}

.nav-logo svg {
  height: 35px;
  width: auto;
}

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

.nav-link {
  text-decoration: none;
  font-family: var(--font-headers);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
  transition: var(--transition);
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

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

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--secondary);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* Background Circles Pattern (Hero & Contact) */
.circles-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.circle-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light);
  padding: 8rem 2rem 4rem 2rem;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-logo-large {
  width: 160px;
  height: auto;
  margin-bottom: 1rem;
  animation: float 6s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 5rem;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-family: var(--font-headers);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--text-dark);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-headers);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.5;
  width: 20px;
  height: 20px;
}

/* Layout Utilities */
section {
  padding: 7rem 2rem;
  position: relative;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
  position: relative;
}

.section-header-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-dash {
  flex-grow: 1;
  height: 1px;
  border-top: 1.5px dashed var(--primary);
  opacity: 0.5;
}

.section-logo-tag {
  font-family: var(--font-headers);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.section-title {
  font-family: var(--font-headers);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-dark);
  max-width: 700px;
  margin-top: 0.75rem;
  font-weight: 400;
}

/* Nosotros Section */
.nosotros {
  background-color: var(--bg-white);
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.pillar-card {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary);
  opacity: 0;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-transparent-medium);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-title {
  font-family: var(--font-headers);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pillar-icon {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
}

.pillar-text {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.nosotros-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nosotros-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  transition: var(--transition-slow);
}

.nosotros-img:hover {
  transform: scale(1.02);
}

/* Valor Section */
.valor {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.valor-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.logo-tag-dark-blue {
  color: var(--secondary) !important;
}

.dash-dark-blue {
  border-top-color: var(--secondary) !important;
  opacity: 0.4 !important;
}

.title-dark-blue {
  color: var(--secondary) !important;
}

.valor-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
  text-align: left;
}

.valor-paragraph {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--bg-white);
}

.valor-divider {
  width: 1px;
  height: 120px;
  border-left: 1.5px dashed var(--secondary);
  opacity: 0.4;
}

@media (max-width: 768px) {
  .valor-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .valor-divider {
    width: 80%;
    height: 1px;
    border-left: none;
    border-top: 1.5px dashed var(--secondary);
    margin: 0 auto;
  }
}

.valor-chart-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.15;
  pointer-events: none;
}

/* Servicios Section */
.servicios {
  background-color: var(--bg-light);
}

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

.service-card {
  background-color: var(--bg-white);
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-transparent-medium);
}

.service-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-title-container {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.service-icon-box {
  background-color: var(--primary-transparent);
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.service-card:hover .service-icon-box {
  background-color: var(--primary);
}

.service-icon-box svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  transition: var(--transition);
}

.service-card:hover .service-icon-box svg {
  stroke: var(--bg-white);
}

.service-card-title {
  font-family: var(--font-headers);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary);
}

.service-desc {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.5;
}

.service-list-title {
  font-family: var(--font-headers);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.service-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.service-list li::before {
  content: "•";
  color: var(--primary);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -4px;
}

.service-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.service-pill {
  background-color: var(--primary-light);
  color: var(--primary-hover);
  border: 1px solid var(--primary-transparent-medium);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.service-pill:hover {
  background-color: var(--primary);
  color: var(--bg-white);
}

.service-bottom {
  background-color: var(--bg-light);
  border-radius: 12px;
  padding: 1.25rem;
  border-left: 4px solid var(--primary);
}

.service-delivery-title {
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.service-delivery-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.service-delivery-text em {
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
}

/* Team Section */
.team {
  background-color: var(--secondary);
  color: var(--bg-white);
}

.team .section-title {
  color: var(--primary-light);
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
}

.team-card {
  background-color: var(--bg-white);
  color: var(--text-dark);
  border-radius: 20px;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-slow);
  max-width: 480px;
  width: 100%;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px -10px rgba(0, 0, 0, 0.3);
}

.team-avatar-container {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  border: 4px solid var(--primary-light);
  box-shadow: var(--shadow-md);
  background-color: #f1f5f9;
}

.team-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: var(--transition-slow);
}

.team-card:hover .team-avatar {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.team-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.team-avatar-placeholder svg {
  width: 60px;
  height: 60px;
  fill: #94a3b8;
}

.team-name {
  font-family: var(--font-headers);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.team-role {
  font-family: var(--font-headers);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.team-bio:last-child {
  margin-bottom: 0;
}

/* Clientes Section */
.clientes {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.clientes-carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
  margin-top: 3.5rem;
  padding: 1.5rem 0;
}

.clientes-carousel::before,
.clientes-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.clientes-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-white) 0%, rgba(255, 255, 255, 0) 100%);
}

.clientes-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-white) 0%, rgba(255, 255, 255, 0) 100%);
}

.clientes-track {
  display: flex;
  width: calc(240px * 20);
  animation: logoScroll 30s linear infinite;
}

.clientes-carousel:hover .clientes-track {
  animation-play-state: paused;
}

.cliente-logo-card {
  background-color: var(--bg-light);
  width: 200px;
  height: 100px;
  flex-shrink: 0;
  margin: 0 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  transition: var(--transition-slow);
  filter: grayscale(100%) opacity(0.6);
}

.cliente-logo-card:hover {
  filter: grayscale(0%) opacity(1);
  background-color: var(--bg-white);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px) scale(1.04);
}

@keyframes logoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-240px * 10));
  }
}

.cliente-logo-text {
  font-family: var(--font-headers);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  color: var(--secondary);
  letter-spacing: 0.5px;
}

.cliente-logo-img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  transition: var(--transition);
}

/* Clientes Specific Custom CSS Logo Marks */
.logo-cladd {
  font-family: 'Georgia', serif;
  font-weight: 700;
  color: #8c7644;
  letter-spacing: 1px;
}
.logo-banco {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  color: #1e3a8a;
  font-style: italic;
}
.logo-motorola {
  font-family: 'Arial', sans-serif;
  font-weight: 600;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 5px;
}
.logo-caromar {
  font-family: 'Arial Black', sans-serif;
  font-weight: 900;
  color: #d32f2f;
  letter-spacing: -0.5px;
}
.logo-canuelas {
  font-family: 'Palatino', serif;
  font-weight: 700;
  color: #0d47a1;
}
.logo-amcor {
  font-family: 'Trebuchet MS', sans-serif;
  font-weight: 700;
  color: #00796b;
}
.logo-leader {
  font-family: 'Impact', sans-serif;
  font-weight: 400;
  color: #0f172a;
}
.logo-verisure {
  font-family: 'Futura', sans-serif;
  font-weight: 800;
  color: #c62828;
}
.logo-nordheimer {
  font-family: 'Times New Roman', serif;
  font-weight: 700;
  color: #1b5e20;
}
.logo-vacavaliente {
  font-family: 'Courier New', monospace;
  font-weight: 800;
  color: #e65100;
}

/* Contacto Section */
.contacto {
  position: relative;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem;
}

.contacto-card {
  background-color: var(--bg-white);
  border-radius: 24px;
  padding: 4rem;
  max-width: 750px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--primary-transparent-medium);
  z-index: 5;
  text-align: center;
  position: relative;
}

.contacto-title {
  font-family: var(--font-headers);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.contacto-desc {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.contacto-methods {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-button {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition-slow);
}

.btn-whatsapp {
  background-color: var(--primary-light);
  color: var(--primary-hover);
  border: 1px solid var(--primary-transparent-medium);
}

.btn-whatsapp:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

button.contact-button {
  border: none;
  cursor: pointer;
  outline: none;
}

.btn-email {
  background-color: var(--secondary-light);
  color: var(--secondary);
  border: 1px solid rgba(35, 55, 92, 0.1);
  position: relative; /* for tooltip absolute positioning */
  cursor: pointer;
}

.btn-email:hover {
  background-color: var(--secondary);
  color: var(--bg-white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tooltip-confirm {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--secondary);
  color: var(--bg-white);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

.tooltip-confirm::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--secondary) transparent transparent transparent;
}

.tooltip-confirm.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.contact-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Footer Section */
.site-footer {
  background-color: var(--secondary); /* Dark blue */
  color: var(--bg-white);
  padding: 0 2rem 3rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 5;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top-line {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 0 4rem 0;
}

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

.footer-col-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-logo-title {
  font-family: var(--font-headers);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col-title {
  font-family: var(--font-headers);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-menu-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-slow);
}

.footer-menu-link:hover {
  color: var(--primary-light);
  transform: translateX(4px);
  display: inline-block;
}

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

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

.footer-contact-icon {
  width: 20px;
  height: 20px;
  fill: var(--primary-light);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.footer-contact-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-text a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-slow);
}

.footer-contact-text a:hover {
  color: var(--primary-light);
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-slow);
  font-size: 0.95rem;
}

.footer-social-link:hover {
  color: var(--primary-light);
  transform: translateY(-2px);
}

.footer-social-icon {
  width: 20px;
  height: 20px;
  fill: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .footer-col-logo {
    align-items: center;
  }
  
  .footer-contact-item {
    justify-content: center;
  }
  
  .footer-social-link {
    justify-content: center;
  }
  
  .footer-menu-link:hover {
    transform: none;
  }
}

/* Scroll Animation Classes */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  visibility: hidden;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .services-grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  section {
    padding: 5rem 1.5rem;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.2rem;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: 4px;
  }
  
  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .nosotros-image {
    order: -1;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .clientes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .contacto-card {
    padding: 2.5rem 1.5rem;
  }
  
  .contacto-methods {
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
  }
  
  .contact-button {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  
  .valor-text {
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .clientes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
}
