/* =====================================================
   PUERTO PALMERAS - MODERN STYLES
   Redesigned with vibrant colors, animations & effects
   ===================================================== */

/* ============ CSS CUSTOM PROPERTIES ============ */
:root {
  /* Color Palette - Matching Original */
  --color-primary: #1a7bb9; /* Turquesa/Azul principal */
  --color-primary-dark: #145d8a;
  --color-primary-light: #e8f4fc;
  --color-secondary: #c92020; /* Rojo para CTAs */
  --color-secondary-hover: #a51818;
  --color-accent: #f9a825; /* Amarillo/Naranja accent */
  --color-bg: #fef6f3; /* Rosa/Salmón suave de fondo */
  --color-bg-alt: #fff5f2;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-white: #ffffff;
  --color-dark: #1a2e35;

  /* Feature Cards Colors */
  --feature-1: #ffe4d6; /* Salmón claro */
  --feature-2: #d4f0f7; /* Turquesa claro */
  --feature-3: #ffe8e8; /* Rosa claro */

  /* Typography */
  --font-script: "Dancing Script", cursive;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Montserrat", -apple-system, sans-serif;

  /* Spacing - Fluid values for perfect scaling */
  --section-padding: clamp(40px, 8vw, 100px);
  --card-padding: clamp(18px, 3vw, 35px);
  --container-padding: clamp(15px, 4vw, 40px);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
  --shadow-colored: 0 10px 40px rgba(26, 123, 185, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* Prevent horizontal overflow on all elements */
* {
  max-width: 100%;
}

/* Exclude specific elements that need overflow */
.container,
.row,
.swiper-wrapper,
svg,
canvas {
  max-width: none;
}

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

/* ============ NAVBAR ============ */
.navbar {
  padding: 12px 0;
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  border-bottom-color: transparent;
}

.navbar-logo {
  height: clamp(45px, 6vw, 70px);
  width: auto;
  transition: transform var(--transition-normal);
}

.navbar-logo:hover {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-dark) !important;
  position: relative;
  padding: 8px 0 !important;
}

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

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

.nav-link:hover {
  color: var(--color-secondary) !important;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
}

.social-icon:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
  color: var(--color-white);
}

/* ============ HERO SECTION ============ */
.hero-section {
  /* Fallback for older browsers */
  min-height: 100vh;
  /* Modern approach: use dvh for better accuracy with different DPI scales */
  min-height: 100dvh;
  /* Remove fixed height to allow content to grow if needed */
  height: auto;
  background: url("../images/fondobannerindex.webp?v=2.0") no-repeat center
    center/cover;
  position: relative;
  padding-top: clamp(100px, 15vh, 140px); /* Responsive padding for navbar */
  padding-bottom: clamp(120px, 18vh, 180px); /* Responsive padding for wave */
  overflow: visible; /* Allow content to be visible */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Overlay oscuro */
  z-index: 1;
}

.hero-section > .container {
  position: relative;
  z-index: 2;
}

/* Scroll offset for anchor links with fixed navbar */
section[id] {
  scroll-margin-top: 90px;
}

/* Background animated elements */
.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(60px);
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--color-primary);
  top: -100px;
  right: -100px;
  animation: floatShape1 15s ease-in-out infinite;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--color-secondary);
  bottom: 20%;
  left: -100px;
  animation: floatShape2 18s ease-in-out infinite;
}

.shape-3 {
  width: 250px;
  height: 250px;
  background: var(--color-accent);
  top: 40%;
  right: 10%;
  animation: floatShape3 12s ease-in-out infinite;
}

@keyframes floatShape1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-30px, 50px) scale(1.1);
  }
  66% {
    transform: translate(20px, -30px) scale(0.95);
  }
}

@keyframes floatShape2 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(60px, -40px) rotate(10deg);
  }
}

@keyframes floatShape3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-40px, 30px) scale(1.15);
  }
}

/* Wave at bottom */
.wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: clamp(80px, 12vh, 120px); /* Responsive wave height */
  color: var(--color-white);
  z-index: 5;
}

.wave-bottom svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wave-bottom svg path {
  fill: var(--color-primary-light);
  filter: drop-shadow(0 -3px 6px rgba(26, 123, 185, 0.15));
}

/* Hero Logo */
.hero-logo-wrapper {
  position: relative;
  display: inline-block;
}

.hero-logo {
  max-width: 420px;
  width: 100%;
  opacity: 0;
  animation: logoReveal 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  background: radial-gradient(
    circle,
    rgba(249, 168, 37, 0.3) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  animation: glowPulse 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes logoReveal {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Hero Text Wrapper */
.hero-text-wrapper {
  position: relative;
}

/* Hero Title - Staggered Reveal */
.hero-title {
  font-family: var(--font-script);
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--color-white);
  line-height: 0.9;
  font-weight: 700;
  margin-bottom: 15px;
  perspective: 1000px;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(80px) rotateX(-40deg);
  transform-origin: center bottom;
  animation: titleReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.title-line-1 {
  animation-delay: 0.2s;
}

.title-line-2 {
  animation-delay: 0.4s;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

@keyframes titleReveal {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

/* Hero Subtitle */
.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--color-white);
  font-weight: 600;
  margin-top: 15px;
  overflow: hidden;
}

.subtitle-text {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: subtitleSlide 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

@keyframes subtitleSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero CTA Button */
.hero-cta {
  margin-top: 30px;
  opacity: 0;
  transform: translateY(30px);
  animation: ctaReveal 0.6s ease 0.9s forwards;
}

@keyframes ctaReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-reserva {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #e62121 100%);
  color: var(--color-white);
  border: none;
  padding: 18px 45px;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(201, 32, 32, 0.4);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
}

.btn-content {
  position: relative;
  z-index: 2;
}

.btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  50%,
  100% {
    left: 100%;
  }
}

.btn-reserva:hover {
  background: linear-gradient(135deg, #e62121 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(201, 32, 32, 0.5);
}

.btn-reserva:active {
  transform: translateY(-2px) scale(0.98);
}

.pulse-btn {
  animation: pulseShadow 2s ease-in-out infinite;
}

@keyframes pulseShadow {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(201, 32, 32, 0.4);
  }
  50% {
    box-shadow: 0 10px 50px rgba(201, 32, 32, 0.6),
      0 0 0 10px rgba(201, 32, 32, 0.1);
  }
}

/* Hero Tagline */
.hero-tagline {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem); /* Responsive font size */
  color: var(--color-primary-light);
  font-weight: 500;
  margin-top: clamp(15px, 3vh, 30px); /* Responsive margin */
  opacity: 0;
  animation: fadeInUp 0.6s ease 1.1s forwards;
  line-height: 1.6; /* Better line height for readability */
}

.hero-tagline span {
  display: inline-block;
}

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

/* ============ FEATURE CARDS SECTION ============ */
.feature-cards-section {
  background: var(--color-white);
  padding: clamp(30px, 5vw, 60px) 0 clamp(20px, 4vw, 40px);
  position: relative;
  z-index: 10;
  border-top: 4px solid var(--color-primary-light);
}

.feature-card {
  padding: var(--card-padding);
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.animate-card {
  opacity: 0;
  transform: translateY(60px) scale(0.9);
  animation: cardReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0.8s)
    forwards;
}

@keyframes cardReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.feature-card-inner {
  position: relative;
  z-index: 2;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 100%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

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

.feature-card:hover::after {
  width: 300%;
  height: 300%;
}

.feature-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card-1 {
  background: linear-gradient(145deg, var(--feature-1), #ffd4c4);
}

.feature-card-2 {
  background: linear-gradient(145deg, var(--feature-2), #b8e6f0);
}

.feature-card-3 {
  background: linear-gradient(145deg, var(--feature-3), #ffd6d6);
}

.feature-icon {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: clamp(12px, 2vw, 20px);
  color: var(--color-primary);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(5deg);
}

.feature-card p {
  font-weight: 600;
  margin: 0;
  font-size: 1rem;
  color: var(--color-text);
}

/* ============ SECTION TITLES ============ */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-primary);
  font-weight: 700;
  font-style: italic;
}

.section-title-dark {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--color-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ============ QUIÉNES SOMOS ============ */
.section-quienes {
  background: var(--color-white);
  padding: clamp(20px, 3vw, 40px) 0 clamp(30px, 4vw, 50px);
  position: relative;
}

.mision-vision-card {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 1.5vw, 20px);
  padding: clamp(15px, 2vw, 25px);
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border-left: 4px solid var(--color-primary);
  height: 100%;
}

.mision-vision-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.mision-vision-card.vision {
  background: var(--color-primary);
  color: var(--color-white);
  border-left-color: var(--color-accent);
}

.mision-vision-card.vision h3,
.mision-vision-card.vision p {
  color: var(--color-white);
}

/* Compact variant for side-by-side layout */
.mision-vision-card.compact {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(18px, 2.5vw, 28px);
  border-left: none;
  border-top: 4px solid var(--color-primary);
}

.mision-vision-card.compact.vision {
  border-top-color: var(--color-accent);
}

.mision-vision-card.compact .mv-icon {
  width: clamp(45px, 5vw, 60px);
  height: clamp(45px, 5vw, 60px);
  min-width: clamp(45px, 5vw, 60px);
  font-size: clamp(1.2rem, 1.5vw, 1.6rem);
  margin-bottom: 12px;
}

.mision-vision-card.compact .mv-content h3 {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  margin-bottom: 8px;
}

.mision-vision-card.compact .mv-content p {
  font-size: clamp(0.85rem, 1vw, 0.92rem);
  line-height: 1.5;
}

/* Horizontal variant for full-width row layout (like reference model) */
.mision-vision-card.horizontal {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: clamp(15px, 2vw, 25px);
  padding: clamp(20px, 2.5vw, 30px);
  border-radius: clamp(12px, 1.5vw, 16px);
}

.mision-vision-card.horizontal .mv-icon {
  width: clamp(50px, 6vw, 70px);
  height: clamp(50px, 6vw, 70px);
  min-width: clamp(50px, 6vw, 70px);
  font-size: clamp(1.3rem, 1.8vw, 1.8rem);
}

.mision-vision-card.horizontal .mv-content h3 {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  margin-bottom: 6px;
}

.mision-vision-card.horizontal .mv-content p {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.6;
}

.mv-icon {
  width: clamp(45px, 6vw, 65px);
  height: clamp(45px, 6vw, 65px);
  min-width: clamp(45px, 6vw, 65px);
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: clamp(1.2rem, 1.5vw, 1.6rem);
  flex-shrink: 0;
}

.mision-vision-card.vision .mv-icon {
  background: rgba(255, 255, 255, 0.2);
}

.mv-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.mv-content p {
  margin: 0;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  line-height: 1.6;
}

/* Dual Circular Images Container - Overlapping Style */
.dual-circular-images {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 500px;
  height: clamp(320px, 50vw, 480px);
}

.dual-circular-images .circular-image-wrapper:first-child {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.dual-circular-images .circular-image-wrapper:first-child .circular-image {
  width: clamp(280px, 35vw, 400px);
  height: clamp(280px, 35vw, 400px);
}

.dual-circular-images .circular-image-wrapper:last-child {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
}

.dual-circular-images .circular-image-wrapper:last-child .circular-image {
  width: clamp(180px, 25vw, 260px);
  height: clamp(180px, 25vw, 260px);
  border-color: var(--color-accent);
}

.circular-image-wrapper {
  position: relative;
  display: inline-block;
}

.circular-image {
  width: clamp(220px, 30vw, 350px);
  height: clamp(220px, 30vw, 350px);
  border-radius: 50%;
  object-fit: cover;
  border: clamp(4px, 0.5vw, 8px) solid var(--color-primary-light);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-slow);
}

.circular-image:hover {
  transform: scale(1.05) rotate(5deg);
  border-color: var(--color-primary);
}

/* ============ QUOTE BANNER - OCEAN STYLE ============ */
.quote-banner {
  background: linear-gradient(135deg, #006994 0%, #009ddb 50%, #00cfff 100%);
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 70px) clamp(15px, 4vw, 30px);
  margin: clamp(20px, 4vw, 50px) clamp(10px, 2vw, 25px);
  border-radius: clamp(12px, 2vw, 24px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.quote-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: pulse-bg 4s ease-in-out infinite;
}

/* Ocean Waves Animation */
.quote-banner .waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  overflow: hidden;
}

.quote-banner .wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(255,255,255,0.1)' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E")
    repeat-x;
  animation: waveAnimation 8s linear infinite;
}

.quote-banner .wave:nth-child(2) {
  bottom: 10px;
  opacity: 0.5;
  animation-delay: -2s;
  animation-duration: 10s;
}

.quote-banner .wave:nth-child(3) {
  bottom: 20px;
  opacity: 0.3;
  animation-delay: -4s;
  animation-duration: 12s;
}

@keyframes waveAnimation {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes pulse-bg {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  color: var(--color-white);
  text-align: center;
  margin: 0;
  position: relative;
  z-index: 1;
  text-shadow: 0 3px 10px rgba(0, 80, 120, 0.8);
  font-weight: 700;
  animation: floatText 3s ease-in-out infinite alternate;
}

@keyframes floatText {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}

/* ============ SERVICIOS CARDS ============ */
.section-servicios {
  background: var(--color-bg);
}

.servicio-card {
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-slow);
  height: 100%;
}

.servicio-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.servicio-image-wrapper {
  position: relative;
  height: clamp(180px, 25vw, 320px);
  overflow: hidden;
}

.servicio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
}

/* Image position utility classes */
.img-pos-top {
  object-position: top center !important;
}

.img-pos-center {
  object-position: center center !important;
}

.img-pos-bottom {
  object-position: bottom center !important;
}

.servicio-card:hover .servicio-image {
  transform: scale(1.1);
}

.servicio-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.servicio-content {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--card-padding);
  text-align: center;
  position: relative;
}

.servicio-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: clamp(10px, 1.5vw, 18px);
  font-weight: 600;
}

.servicio-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.btn-servicio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--color-primary-dark);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all var(--transition-normal);
}

.btn-servicio:hover {
  background: var(--color-accent);
  color: var(--color-dark);
  transform: scale(1.15) rotate(90deg);
}

/* ============ TESTIMONIOS ============ */
.section-opiniones {
  background: var(--color-white);
}

.testimonial-swiper {
  padding: clamp(15px, 2vw, 25px) clamp(20px, 5vw, 60px) clamp(40px, 6vw, 70px);
  position: relative;
}

.testimonial-swiper .swiper-slide {
  height: auto;
}

.testimonial-card {
  background: var(--color-primary-light);
  padding: var(--card-padding);
  border-radius: clamp(12px, 2vw, 20px);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stars {
  color: #ffc107;
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.author-avatar {
  width: clamp(40px, 5vw, 55px);
  height: clamp(40px, 5vw, 55px);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-primary);
}

/* Avatar Placeholder with Initials */
.author-avatar-placeholder {
  width: clamp(40px, 5vw, 55px);
  height: clamp(40px, 5vw, 55px);
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: clamp(0.85rem, 1.2vw, 1.1rem);
  border: 3px solid var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  color: var(--color-dark);
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* Swiper Navigation */
.testimonial-prev,
.testimonial-next {
  color: var(--color-primary) !important;
  background: var(--color-white);
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--color-primary);
  color: var(--color-white) !important;
}

.testimonial-prev::after,
.testimonial-next::after {
  font-size: 1rem !important;
  font-weight: 700;
}

/* Swiper Pagination */
.testimonial-pagination {
  bottom: 10px !important;
}

.swiper-pagination-bullet {
  background: var(--color-primary);
  opacity: 0.4;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  width: 25px;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-swiper {
    padding: 20px 10px 60px;
  }

  .testimonial-prev,
  .testimonial-next {
    display: none !important;
  }
}

/* ============ FOOTER ============ */
.footer-section {
  background: var(--color-dark);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1920")
    center/cover;
  opacity: 0.15;
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-white);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
  color: var(--color-accent);
}

.whatsapp-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 12px 20px;
  border-radius: 12px;
  color: var(--color-white);
  transition: all var(--transition-normal);
}

.btn-whatsapp i {
  font-size: 2rem;
  color: #25d366;
}

.btn-whatsapp span {
  text-align: left;
  line-height: 1.3;
}

.btn-whatsapp small {
  font-size: 0.75rem;
  opacity: 0.8;
}

.btn-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: var(--color-white);
  transform: translateY(-3px);
}

.btn-whatsapp:hover i {
  color: var(--color-white);
}

.social-footer {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-footer span {
  font-weight: 600;
  font-size: 0.9rem;
}

.social-footer a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all var(--transition-normal);
}

.social-footer a:hover {
  background: var(--color-accent);
  transform: scale(1.1);
}

.contact-mini-form input {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  padding: 12px 15px;
  border-radius: 8px;
}

.contact-mini-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-mini-form input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-primary);
  box-shadow: none;
  color: var(--color-white);
}

.btn-enviar {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  transition: all var(--transition-normal);
}

.btn-enviar:hover {
  background: var(--color-accent);
  color: var(--color-dark);
  transform: translateY(-2px);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  font-size: 0.9rem;
  padding: 20px 0;
  margin-top: auto;
}

.footer-bottom p {
  margin: 0;
  padding: 0;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  width: 65px;
  height: 65px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  transition: all var(--transition-normal);
  animation: bounce-subtle 2s infinite;
}

@keyframes bounce-subtle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.whatsapp-float:hover {
  transform: scale(1.15);
  color: var(--color-white);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
  .hero-section {
    padding-top: 120px;
  }

  .hero-logo {
    max-width: 200px;
  }

  .hero-title {
    font-size: 4rem;
  }

  .circular-image {
    width: 280px;
    height: 280px;
  }

  .navbar-nav {
    background: var(--color-white);
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
    box-shadow: var(--shadow-lg);
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .feature-card {
    padding: 20px;
  }

  .mision-vision-card {
    flex-direction: column;
    text-align: center;
  }

  .mv-icon {
    margin: 0 auto;
  }

  .circular-image {
    width: 220px;
    height: 220px;
  }

  .servicio-image-wrapper {
    height: 200px;
  }

  .whatsapp-buttons {
    flex-direction: column;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 1.8rem;
  }

  .quote-banner {
    margin: 20px 10px;
    padding: 40px 15px;
  }

  /* ===== HERO MOBILE/TABLET - Logo as watermark ===== */
  .hero-section {
    padding-top: 100px;
    padding-bottom: 40px;
    min-height: 100vh;
    height: 100vh;
    position: relative;
  }

  .hero-logo-wrapper {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    opacity: 0;
    animation: watermarkReveal 1.5s ease-out 0.8s forwards;
  }

  .hero-logo {
    max-width: 280px !important;
    opacity: 1;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    animation: none !important;
  }

  .logo-glow {
    display: none;
  }

  .hero-text-wrapper {
    position: relative;
    z-index: 2;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    margin-top: 10px;
  }

  .hero-tagline {
    font-size: 1rem;
    padding: 0 20px;
    margin-top: 15px;
  }

  .hero-cta {
    margin-top: 25px;
  }
}

/* Watermark reveal animation for mobile */
@keyframes watermarkReveal {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
  }
  100% {
    opacity: 0.3;
    transform: translateX(-50%) scale(1);
  }
}

/* Extra small screens (phones ≤576px) - Size refinements */
@media (max-width: 576px) {
  .hero-logo-wrapper {
    bottom: 70px;
  }

  .hero-logo {
    max-width: 220px !important;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-tagline {
    font-size: 0.9rem;
    padding: 0 12px;
  }

  .btn-reserva {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  .feature-card {
    padding: 15px 12px;
  }

  .feature-icon {
    font-size: 2.2rem;
  }

  .quote-banner {
    margin: 15px 8px;
    padding: 30px 12px;
  }

  .mision-vision-card {
    padding: 18px;
  }

  .servicio-content {
    padding: 20px;
  }

  .servicio-content h3 {
    font-size: 1.4rem;
  }

  .testimonial-card {
    padding: 20px;
  }

  .footer-title {
    font-size: 1.1rem;
  }
}

/* ============ LARGE SCREENS & 4K SUPPORT ============ */
@media (min-width: 1400px) {
  /* Increase base font for large screens */
  html {
    font-size: 18px;
  }

  .container {
    max-width: 1320px;
  }

  .hero-title {
    font-size: clamp(5rem, 10vw, 9rem);
  }

  .hero-subtitle {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
  }

  .section-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
  }

  .section-title-dark {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }

  .feature-card {
    padding: clamp(30px, 3vw, 45px);
  }

  .feature-icon {
    font-size: clamp(3rem, 4vw, 4.5rem);
  }

  .mision-vision-card {
    padding: clamp(30px, 3vw, 40px);
  }

  .servicio-image-wrapper {
    height: clamp(300px, 25vw, 400px);
  }

  .quote-text {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  }
}

/* Extra large screens for 4K monitors */
@media (min-width: 1920px) {
  html {
    font-size: 20px;
  }

  .container {
    max-width: 1600px;
  }

  .hero-section {
    padding-top: clamp(120px, 12vh, 180px);
    padding-bottom: clamp(150px, 15vh, 220px);
  }
}

/* ============ ANIMATED EFFECTS ============ */

/* === HERO BUBBLES === */
.hero-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -100px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.95),
    rgba(26, 123, 185, 0.5)
  );
  border-radius: 50%;
  opacity: 0;
  animation: bubbleRise linear infinite;
  box-shadow: 0 0 10px rgba(26, 123, 185, 0.3);
}

.bubble:nth-child(1) {
  left: 10%;
  width: 35px;
  height: 35px;
  animation-duration: 8s;
  animation-delay: 0s;
}
.bubble:nth-child(2) {
  left: 20%;
  width: 55px;
  height: 55px;
  animation-duration: 10s;
  animation-delay: 1s;
}
.bubble:nth-child(3) {
  left: 35%;
  width: 25px;
  height: 25px;
  animation-duration: 7s;
  animation-delay: 2s;
}
.bubble:nth-child(4) {
  left: 50%;
  width: 45px;
  height: 45px;
  animation-duration: 9s;
  animation-delay: 0.5s;
}
.bubble:nth-child(5) {
  left: 65%;
  width: 30px;
  height: 30px;
  animation-duration: 11s;
  animation-delay: 3s;
}
.bubble:nth-child(6) {
  left: 80%;
  width: 50px;
  height: 50px;
  animation-duration: 8s;
  animation-delay: 2s;
}
.bubble:nth-child(7) {
  left: 90%;
  width: 20px;
  height: 20px;
  animation-duration: 6s;
  animation-delay: 1s;
}

@keyframes bubbleRise {
  0% {
    transform: translateY(0) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.85;
    transform: translateY(-50px) scale(1);
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-100vh) scale(0.6);
    opacity: 0;
  }
}

/* === QUIÉNES SOMOS - FLOATING LEAVES === */
.section-quienes {
  position: relative;
  overflow: hidden;
}

.floating-leaves {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.leaf {
  position: absolute;
  font-size: 3rem;
  opacity: 0.35;
  color: #2e8b57;
  animation: floatLeaf ease-in-out infinite;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.leaf:nth-child(1) {
  top: 10%;
  left: 5%;
  animation-duration: 6s;
}
.leaf:nth-child(2) {
  top: 30%;
  right: 8%;
  animation-duration: 8s;
  animation-delay: 1s;
  font-size: 3.5rem;
}
.leaf:nth-child(3) {
  top: 60%;
  left: 3%;
  animation-duration: 7s;
  animation-delay: 2s;
  font-size: 2.5rem;
}
.leaf:nth-child(4) {
  top: 80%;
  right: 5%;
  animation-duration: 5s;
  animation-delay: 0.5s;
  font-size: 2rem;
}
.leaf:nth-child(5) {
  top: 45%;
  left: 92%;
  animation-duration: 9s;
  animation-delay: 3s;
  font-size: 3rem;
}

@keyframes floatLeaf {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(10deg);
  }
  50% {
    transform: translateY(-5px) rotate(-5deg);
  }
  75% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* === SERVICIOS - SWIMMING FISH === */
.section-servicios {
  position: relative;
  overflow: hidden;
}

.swimming-fish {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.fish {
  position: absolute;
  font-size: 2.5rem;
  opacity: 0.35;
  color: #1a7bb9;
  animation: swimFish linear infinite;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.fish:nth-child(1) {
  top: 15%;
  animation-duration: 12s;
  animation-delay: 0s;
}
.fish:nth-child(2) {
  top: 35%;
  animation-duration: 15s;
  animation-delay: 2s;
  font-size: 3rem;
}
.fish:nth-child(3) {
  top: 55%;
  animation-duration: 10s;
  animation-delay: 4s;
  font-size: 2rem;
}
.fish:nth-child(4) {
  top: 75%;
  animation-duration: 14s;
  animation-delay: 1s;
  font-size: 2.2rem;
}
.fish:nth-child(5) {
  top: 45%;
  animation-duration: 11s;
  animation-delay: 6s;
  font-size: 2.8rem;
}

@keyframes swimFish {
  0% {
    left: -50px;
    transform: scaleX(1) translateY(0);
  }
  25% {
    transform: scaleX(1) translateY(-10px);
  }
  50% {
    transform: scaleX(1) translateY(10px);
  }
  75% {
    transform: scaleX(1) translateY(-5px);
  }
  100% {
    left: calc(100% + 50px);
    transform: scaleX(1) translateY(0);
  }
}

/* === OPINIONES - TWINKLING STARS === */
.section-opiniones {
  position: relative;
  overflow: hidden;
}

.twinkling-stars {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  color: #ffc107;
  opacity: 0;
  animation: twinkle ease-in-out infinite;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.star:nth-child(1) {
  top: 10%;
  left: 10%;
  font-size: 1.5rem;
  animation-duration: 2s;
}
.star:nth-child(2) {
  top: 20%;
  left: 85%;
  font-size: 1.8rem;
  animation-duration: 3s;
  animation-delay: 0.5s;
}
.star:nth-child(3) {
  top: 50%;
  left: 5%;
  font-size: 1.3rem;
  animation-duration: 2.5s;
  animation-delay: 1s;
}
.star:nth-child(4) {
  top: 70%;
  left: 90%;
  font-size: 1.6rem;
  animation-duration: 2s;
  animation-delay: 1.5s;
}
.star:nth-child(5) {
  top: 30%;
  left: 50%;
  font-size: 1.4rem;
  animation-duration: 3s;
  animation-delay: 0.8s;
}
.star:nth-child(6) {
  top: 80%;
  left: 20%;
  font-size: 1.5rem;
  animation-duration: 2.2s;
  animation-delay: 2s;
}
.star:nth-child(7) {
  top: 15%;
  left: 70%;
  font-size: 2rem;
  animation-duration: 2.8s;
  animation-delay: 0.3s;
}
.star:nth-child(8) {
  top: 60%;
  left: 75%;
  font-size: 1.2rem;
  animation-duration: 2s;
  animation-delay: 1.2s;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.4) rotate(180deg);
  }
}

/* === FOOTER - OCEAN WAVES === */
.footer-section {
  position: relative;
  overflow: hidden;
}

.footer-waves {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  overflow: hidden;
  transform: rotate(180deg);
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(255,255,255,0.05)' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E")
    repeat-x;
  animation: footerWave 10s linear infinite;
}

.footer-wave:nth-child(2) {
  top: 20px;
  opacity: 0.5;
  animation-delay: -3s;
  animation-duration: 12s;
}

.footer-wave:nth-child(3) {
  top: 40px;
  opacity: 0.3;
  animation-delay: -5s;
  animation-duration: 15s;
}

@keyframes footerWave {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* === HERO WAVE DIVIDER (bottom) === */
.hero-wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  overflow: hidden;
}

.hero-wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.hero-wave-divider .wave-back {
  fill: rgba(255, 255, 255, 0.3);
  animation: waveMove 8s ease-in-out infinite;
}

.hero-wave-divider .wave-front {
  fill: var(--color-white);
  animation: waveMove 6s ease-in-out infinite reverse;
}

@keyframes waveMove {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-25px);
  }
}

/* === FLOATING ICONS ANIMATION === */
.floating-icon {
  display: inline-block;
  animation: floatIcon 3s ease-in-out infinite;
}

.floating-icon-slow {
  animation-duration: 4s;
}

.floating-icon-fast {
  animation-duration: 2s;
}

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

/* === PULSE RING EFFECT === */
.pulse-ring {
  position: relative;
}

.pulse-ring::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 3px solid var(--color-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulseRing 2s ease-out infinite;
  pointer-events: none;
}

@keyframes pulseRing {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* === SHIMMER TEXT EFFECT === */
.shimmer-text {
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-accent),
    var(--color-primary)
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 3s linear infinite;
}

@keyframes shimmerText {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* === GLOW EFFECT === */
.glow-effect {
  animation: glowEffect 2s ease-in-out infinite alternate;
}

@keyframes glowEffect {
  0% {
    box-shadow: 0 0 5px rgba(26, 123, 185, 0.5);
  }
  100% {
    box-shadow: 0 0 20px rgba(26, 123, 185, 0.8),
      0 0 40px rgba(26, 123, 185, 0.4);
  }
}

/* ============ FORM FIXES ============ */
/* Corrección para solapamiento en select flotante */
.contact-form .form-floating > .form-select {
  padding-top: 2rem !important; /* Más espacio arriba para el label y evitar colisión */
  padding-bottom: 0.5rem !important;
  height: 62px !important; /* Altura generosa */
  line-height: normal;
}

.contact-form .form-floating > label {
  padding-left: 1rem;
  top: 0px;
  opacity: 0.8;
}

/* Ajuste para inputs normales también para consistencia */
.contact-form .form-floating > .form-control {
  height: 62px !important;
  padding-top: 2rem !important;
  padding-bottom: 0.5rem !important;
}

/* Excepción para textarea que tiene altura variable */
.contact-form .form-floating > textarea.form-control {
  height: 120px !important;
  padding-top: 2rem !important;
}
