/* ========================================
   DESIGN TOKENS & CSS VARIABLES
======================================== */
:root {
  /* Color Palette - Ocean Theme MEJORADA */
  --color-primary: #036688;
  /* ocean-mid */
  --color-primary-dark: #01293b;
  /* ocean-deep */
  --color-primary-light: #00a6c7;
  /* ocean-surf */
  --color-base: #01293b;
  --color-footer: #001a24;
  --color-success: #25d366;
  --color-danger: #f44336;
  --color-warning: #ff9800;

  /* Nuevas Variables Oceánicas */
  --ocean-deep: #01293b;
  --ocean-mid: #036688;
  --ocean-surf: #00a6c7;
  --foam: #f6fbff;
  --glass: rgba(255, 255, 255, 0.06);
  --accent: #7fe8ff;

  /* Neutrals */
  --color-text: #032B3A;
  --color-text-muted: #6f8b94;
  --color-text-light: #999;
  --color-bg: #ffffff;
  --color-bg-secondary: #f8fbff;
  --color-bg-tertiary: #e9f7ff;

  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 20px;
  --space-2xl: 24px;
  --space-3xl: 32px;
  --space-4xl: 48px;
  --space-5xl: 64px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows - Ocean Depth Effect OPTIMIZADAS */
  --shadow-sm: 0 6px 18px rgba(1, 41, 59, 0.08);
  --shadow-md: 0 10px 30px rgba(1, 41, 59, 0.12);
  --shadow-lg: 0 22px 60px rgba(1, 41, 59, 0.16);
  --shadow-xl: 0 12px 48px rgba(2, 119, 189, 0.18);

  /* Nuevas Sombras Oceánicas */
  --shadow-ocean-sm: 0 6px 18px rgba(1, 41, 59, 0.08);
  --shadow-ocean-md: 0 10px 30px rgba(1, 41, 59, 0.12);
  --shadow-ocean-lg: 0 22px 60px rgba(1, 41, 59, 0.16);

  /* Transitions */
  --transition-fast: 0.15s;
  --transition-base: 0.25s;
  --transition-slow: 0.35s;
  --transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: cubic-bezier(0.2, 0.9, 0.3, 1);

  /* Typography Scale */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;

  /* Z-index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-tooltip: 500;
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--color-text);
  background: linear-gradient(135deg, #f7fbfc 0%, var(--color-bg-tertiary) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
  font-size: var(--font-size-base);
}

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

/* ========================================
   ACCESSIBILITY
======================================== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

a:focus,
button:focus,
input:focus,
select:focus {
  outline: 3px solid rgba(102, 204, 255, 0.4);
  outline-offset: 2px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.qr-destacado {
  text-align: center;
  margin: var(--space-4xl) 0;
}

.qr-destacado img {
  width: 320px;
  max-width: 90%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: inline-block;
}

/* ========================================
   BUTTONS - MEJORADO
======================================== */
.btn-reservar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin: var(--space-md);
  border-radius: var(--radius-full);
  padding: var(--space-md) var(--space-lg);
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: var(--color-bg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast) var(--transition-ease);
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 166, 199, 0.15), inset 0 2px 8px rgba(255, 255, 255, 0.08);
}

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

.btn-reservar:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 36px rgba(0, 166, 199, 0.22), inset 0 -6px 18px rgba(0, 0, 0, 0.06);
}

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

.btn-reservar:active {
  transform: translateY(-1px);
}

.btn-reservar span,
.btn-reservar svg {
  position: relative;
  z-index: 1;
}

/* ========================================
   SEASON CARDS & TABS
======================================== */
.season-grid {
  display: grid;
  gap: var(--space-3xl);
  margin: var(--space-3xl) 0;
}

.season-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-ocean-sm);
  transition: all var(--transition-base) var(--transition-bounce);
  border: 1px solid rgba(3, 102, 136, 0.06);
}

.season-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-ocean-lg);
}

.season-title {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-bg);
  padding: 22px var(--space-2xl);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.season-title small {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500 !important;
  font-size: var(--font-size-xs) !important;
  opacity: 0.95;
}

/* ========================================
   TABS SYSTEM
======================================== */
.tabs {
  display: flex;
  gap: 0;
  background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-bg-tertiary));
  border-bottom: 3px solid var(--color-primary);
}

.tab-btn {
  flex: 1;
  padding: 15px var(--space-xl);
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  transition: all var(--transition-base) var(--transition-ease);
  position: relative;
  border-right: 1px solid rgba(2, 119, 189, 0.1);
}

.tab-btn:last-child {
  border-right: none;
}

.tab-btn:hover {
  background: rgba(3, 102, 136, 0.08);
  color: var(--color-primary);
}

.tab-btn.active {
  color: var(--color-primary-dark);
  background: var(--color-bg);
  font-weight: 700;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 2px 2px 0 0;
}

.tab-container {
  padding: 0;
}

.tab-content {
  display: none;
  padding: var(--space-3xl);
  animation: fadeInTab 0.3s ease;
  min-height: 200px;
}

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

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

/* ========================================
   TARIFF TABLE
======================================== */
.tariff-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tariff-table thead {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  color: var(--color-base);
}

.tariff-table th {
  padding: 14px 10px;
  text-align: center;
  font-weight: 700;
  font-size: var(--font-size-xs);
  border-bottom: 3px solid var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.tariff-table th:first-child {
  text-align: left;
  padding-left: var(--space-lg);
}

.tariff-table th:last-child {
  text-align: left;
}

.tariff-table tbody tr {
  border-bottom: 1px solid #e9ecef;
  transition: all var(--transition-fast) var(--transition-ease);
}

.tariff-table tbody tr:hover {
  background: linear-gradient(135deg, #f8fbff, #f0f8ff);
  box-shadow: 0 2px 8px rgba(2, 119, 189, 0.08);
}

.tariff-table tbody tr:last-child {
  border-bottom: none;
}

.tariff-table td {
  padding: var(--space-lg) 10px;
  text-align: center;
  vertical-align: top;
}

.tariff-table td:first-child {
  text-align: left;
  font-weight: 500;
  padding-left: var(--space-lg);
}

.tariff-table td:last-child {
  text-align: left;
  font-size: var(--font-size-xs);
  line-height: 1.5;
  padding-right: var(--space-lg);
}

.tariff-table td:nth-child(2),
.tariff-table td:nth-child(3),
.tariff-table td:nth-child(4),
.tariff-table td:nth-child(5) {
  font-weight: 700;
  color: var(--color-primary-dark);
  font-size: var(--font-size-base);
  white-space: nowrap;
}

/* ========================================
   TAB CONTENT STYLES
======================================== */
.tab-content[data-name="incluye"] div,
.tab-content[data-name="no-incluye"] div {
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-sm);
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.6;
  transition: all var(--transition-fast) var(--transition-ease);
}

.tab-content[data-name="incluye"] div:hover,
.tab-content[data-name="no-incluye"] div:hover {
  background: var(--color-bg-tertiary);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.tab-content[data-name="incluye"] div:last-child,
.tab-content[data-name="no-incluye"] div:last-child {
  margin-bottom: 0;
}

.tab-content[data-name="itinerario"] div {
  padding: 14px 18px;
  border-left: 4px solid var(--color-primary-dark);
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--color-bg-secondary), #f0f8ff);
  border-radius: 0 10px 10px 0;
  line-height: 1.7;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast) var(--transition-ease);
}

.tab-content[data-name="itinerario"] div:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
}

/* Empty State */
#temporadasWrap>div[style*="padding"] {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl) !important;
  color: var(--color-text-muted);
  font-size: var(--font-size-lg);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  margin: var(--space-3xl) 0;
  box-shadow: var(--shadow-sm);
}



/* ========================================
   DESTINATION CONTENT - ESTILO FAQ OCEÁNICO
======================================== */

.destination-content {
  max-width: 800px;
  margin: 80px auto;
  background: #ffffff;
  padding: 80px 60px;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  overflow: visible;
  z-index: 1;
}

/* Remove decorative background */
.destination-content::before {
  display: none;
}

/* Título - Minimalist */
.destination-content h2 {
  text-align: left;
  font-size: 2.25rem;
  text-transform: none;
  font-weight: 600;
  color: #036688;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
  position: relative;
  line-height: 1.2;
}

.destination-content h2::after {
  display: none;
}

/* ========================================
   DESTINATION CONTENT TYPOGRAPHY & ELEMENTS
   Minimalist Design
======================================== */

/* Paragraphs - Clean and simple */
.destination-content p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #2c3e50;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
  font-weight: 400;
}

.destination-content p:last-of-type {
  margin-bottom: 3rem;
}

/* Section Headings (h3) - Minimalist typography */
.destination-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #036688;
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.destination-content h3:first-of-type {
  margin-top: 2rem;
}

/* Lists - Simple and clean */
.destination-content ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2.5rem;
  position: relative;
  z-index: 1;
}

.destination-content li {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #34495e;
  margin-bottom: 0.875rem;
  padding-left: 1.5rem;
  position: relative;
}

.destination-content li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: #036688;
  font-weight: 300;
  font-size: 1.25rem;
}

.destination-content li:last-child {
  margin-bottom: 0;
}

/* Enhanced visual sections */
.destination-content > * {
  position: relative;
  z-index: 1;
}

/* Minimal spacing for sections after h3 */
.destination-content h3 + ul {
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.destination-content h3 + p {
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

/* ========================================
   DETALLES FAQ
======================================== */

.destination-content details {
  background: linear-gradient(135deg, #f4fbff, #e2f6ff);
  border-radius: 14px;
  margin-bottom: 18px;
  padding: 20px 25px;
  box-shadow: 0 4px 15px rgba(0, 109, 146, 0.1);
  border-left: 6px solid #00b4d8;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: visible;
  /* 👈 importante */
}

.destination-content details:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 168, 204, 0.25);
  border-left-color: #00d4ff;
}

/* Resumen (pregunta) */
.destination-content summary {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a4f63;
  display: flex;
  align-items: center;
  list-style: none;
}

.destination-content summary::-webkit-details-marker {
  display: none;
}

/* Icono tipo ola */
.destination-content summary::before {
  content: "🌊";
  margin-right: 12px;
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.destination-content[open] summary::before,
.destination-content details[open] summary::before {
  transform: rotate(15deg) scale(1.2);
}

/* Párrafo (respuesta) */
.destination-content details p {
  margin-top: 12px;
  font-size: 1.05rem;
  color: #0a4f63;
  line-height: 1.8;
  animation: slideDown 0.35s ease;
  padding-left: 30px;
}

/* Animación de aparición */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

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

/* ========================================
   BURBUJAS DECORATIVAS
======================================== */

.destination-content .burbuja-dest {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), rgba(0, 212, 255, 0.1) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: floatBubbleEnhanced 18s infinite ease-in-out;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.4), 0 0 15px rgba(0, 212, 255, 0.2);
}

.destination-content .burbuja-dest:nth-of-type(1) {
  width: 120px;
  height: 120px;
  top: 15%;
  right: 5%;
  animation-delay: 0s;
}

.destination-content .burbuja-dest:nth-of-type(2) {
  width: 85px;
  height: 85px;
  bottom: 25%;
  left: 8%;
  animation-delay: 4s;
}

.destination-content .burbuja-dest:nth-of-type(3) {
  width: 100px;
  height: 100px;
  top: 55%;
  right: 10%;
  animation-delay: 8s;
}

@keyframes floatBubbleEnhanced {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }

  25% {
    transform: translate(15px, -15px) scale(1.1);
    opacity: 0.7;
  }

  50% {
    transform: translate(25px, -25px) scale(1.2);
    opacity: 0.8;
  }

  75% {
    transform: translate(10px, -10px) scale(1.15);
    opacity: 0.6;
  }
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 768px) {
  .destination-content {
    max-width: 90%;
    padding: 60px 40px;
  }

  .destination-content h2 {
    font-size: 1.875rem;
    margin-bottom: 2.5rem;
  }

  .destination-content h3 {
    font-size: 1.375rem;
    margin-top: 3rem;
  }

  .destination-content h3:first-of-type {
    margin-top: 2rem;
  }

  .destination-content p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }

  .destination-content li {
    font-size: 1rem;
    padding-left: 1.5rem;
  }

  .destination-content details {
    padding: 18px 20px;
  }

  .destination-content summary {
    font-size: 1rem;
  }

  .destination-content details p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .destination-content {
    max-width: 95%;
    padding: 50px 30px;
  }

  .destination-content h2 {
    font-size: 1.625rem;
    margin-bottom: 2rem;
  }

  .destination-content h3 {
    font-size: 1.25rem;
    margin-top: 2.5rem;
  }

  .destination-content h3:first-of-type {
    margin-top: 1.5rem;
  }

  .destination-content p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .destination-content li {
    font-size: 0.95rem;
    padding-left: 1.25rem;
  }
}



/* ========================================
   FOOTER - ESTILO OCEÁNICO
======================================== */

footer {
  background: linear-gradient(135deg, #003d52 0%, #001a24 100%);
  color: #ffffff;
  padding: 60px 40px 30px;
  border-top: 5px solid transparent;
  border-image: linear-gradient(90deg, #00a8cc, #00d4ff, #00a8cc) 1;
  box-shadow:
    0 -15px 50px rgba(0, 109, 146, 0.3),
    inset 0 1px 0 rgba(0, 168, 204, 0.1);
  position: relative;
  overflow: hidden;
  z-index: calc(var(--z-base) + 10);
}

/* Efecto de olas en la parte superior */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0, 168, 204, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 0%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Ondas decorativas animadas */
footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -50%;
  width: 200%;
  height: 100px;
  background:
    linear-gradient(to top, rgba(0, 168, 204, 0.05), transparent);
  animation: waveFooter 20s infinite linear;
  pointer-events: none;
}

@keyframes waveFooter {
  0% {
    transform: translateX(0) rotate(0deg);
  }

  100% {
    transform: translateX(50%) rotate(2deg);
  }
}

/* Container del footer */
.footer-container {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

/* Títulos de secciones */
.footer-container h3 {
  margin-bottom: 20px;
  color: #7fe8ff;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 12px;
  transition: all 0.3s ease;
}

/* Línea decorativa bajo los títulos */
.footer-container h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #00d4ff, transparent);
  border-radius: 2px;
  box-shadow: 0 1px 6px rgba(0, 212, 255, 0.4);
  transition: width 0.3s ease;
}

.footer-container h3:hover::after {
  width: 80px;
}

/* Icono decorativo antes del título */
.footer-container h3::before {
  content: '⚓';
  display: inline-block;
  margin-right: 8px;
  font-size: 1.1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 212, 255, 0.3));
  transition: transform 0.3s ease;
}

.footer-container h3:hover::before {
  transform: rotate(15deg) scale(1.1);
}

/* Párrafos */
.footer-container p {
  margin: 10px 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cfdce6;
  transition: color 0.3s ease;
}

.footer-container p:hover {
  color: #e0f2fe;
}

/* Enlaces */
footer a {
  color: #e0f2fe;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #00a8cc);
  transition: width 0.3s ease;
}

footer a:hover {
  color: #00d4ff;
  text-decoration: none;
  transform: translateX(3px);
}

footer a:hover::after {
  width: 100%;
}

/* Listas en el footer */
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  transition: all 0.3s ease;
}

footer ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #00d4ff;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

footer ul li:hover {
  padding-left: 25px;
}

footer ul li:hover::before {
  color: #7fe8ff;
  transform: translateX(3px);
}

/* Sección de redes sociales (si existe) */
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 168, 204, 0.15);
  border-radius: 50%;
  border: 2px solid rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
}

.footer-social a::after {
  display: none;
}

.footer-social a:hover {
  background: rgba(0, 212, 255, 0.18);
  border-color: #00d4ff;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

/* Footer bottom - copyright */
.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid rgba(0, 168, 204, 0.2);
  color: #cfdce6;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.footer-bottom p {
  margin: 8px 0;
  color: #b0c4d0;
}

/* Burbujas decorativas */
.footer-burbuja {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: floatBubbleFooter 18s infinite ease-in-out;
}

.footer-burbuja:nth-child(1) {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 5%;
  animation-delay: 0s;
}

.footer-burbuja:nth-child(2) {
  width: 80px;
  height: 80px;
  top: 50%;
  right: 10%;
  animation-delay: 4s;
}

.footer-burbuja:nth-child(3) {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 15%;
  animation-delay: 8s;
}

.footer-burbuja:nth-child(4) {
  width: 90px;
  height: 90px;
  top: 30%;
  right: 20%;
  animation-delay: 12s;
}

/* Consolidated duplicate floatBubbleFooter keyframes - removed redundant definition */

/* Efecto de brillo en hover para secciones */
.footer-container>div {
  padding: 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.footer-container>div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 168, 204, 0.05) 0%, transparent 70%);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.footer-container>div:hover::before {
  opacity: 1;
}

.footer-container>div:hover {
  background: rgba(0, 168, 204, 0.05);
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  footer {
    padding: 40px 25px 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-container h3 {
    font-size: 1.2rem;
  }

  .footer-container p {
    font-size: 0.9rem;
  }

  .footer-bottom {
    margin-top: 35px;
    padding-top: 20px;
    font-size: 0.85rem;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-burbuja {
    display: none;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 30px 20px 15px;
  }

  .footer-container h3 {
    font-size: 1.1rem;
  }

  .footer-social a {
    width: 35px;
    height: 35px;
  }
}


/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
  .hero h2 {
    font-size: var(--font-size-2xl);
  }

  /* ========================================
   GRID DE EQUIPO
======================================== */
  .salidas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(650px, 1fr));
    /* columnas adaptables */
    gap: var(--space-xl);
    justify-content: center;
    /* centra el conjunto de columnas */
    justify-items: center;
    /* centra cada tarjeta */
    align-items: start;
    text-align: center;
    /* centra el texto dentro de las tarjetas */
    margin: 0 auto 40px;
    /* centra el grid y agrega espacio inferior */
    max-width: 1200px;
    /* opcional, controla el ancho máximo */
  }

  nav[role="navigation"] ul {
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-sm);
  }

  .tabs {
    flex-wrap: wrap;
  }

  .tab-btn {
    flex: 1 1 48%;
    font-size: var(--font-size-xs);
    padding: var(--space-md) 10px;
  }

  .tariff-table {
    font-size: 0.8rem;
  }

  .tariff-table th,
  .tariff-table td {
    padding: 10px 6px;
  }

  .tariff-table th:first-child,
  .tariff-table td:first-child {
    padding-left: 10px;
  }

  .tariff-table td:last-child {
    font-size: 0.75rem;
    padding-right: 10px;
  }

  .tariff-table td:nth-child(2),
  .tariff-table td:nth-child(3),
  .tariff-table td:nth-child(4),
  .tariff-table td:nth-child(5) {
    font-size: 0.9rem;
  }

  #seasonFilters {
    gap: var(--space-sm);
    padding: var(--space-lg);
  }

  .season-filter {
    font-size: var(--font-size-xs);
    padding: 9px var(--space-lg);
  }

  .season-title {
    font-size: var(--font-size-xl);
    padding: var(--space-xl);
  }

  .tab-content {
    padding: var(--space-xl) var(--space-lg);
  }

  .destination-content {
    padding: var(--space-5xl) var(--space-lg);
  }

  .destination-content h2 {
    font-size: var(--font-size-2xl);
  }

  .destination-content h3 {
    font-size: var(--font-size-xl);
  }

  .destination-content p {
    font-size: 0.98rem;
  }

  .brand h1 {
    font-size: var(--font-size-xl);
  }
}

@media (max-width: 480px) {
  .brand h1 {
    font-size: var(--font-size-lg);
  }

  .btn-reservar {
    width: 100%;
    padding: var(--space-md);
  }

  .tab-btn {
    flex: 1 1 100%;
  }

  .tab-content[data-name="tarifas"] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tariff-table {
    min-width: 700px;
    font-size: 0.75rem;
  }

  .season-title {
    font-size: var(--font-size-lg);
    padding: var(--space-lg);
  }

  .tab-content {
    padding: var(--space-lg) var(--space-md);
  }

  #seasonFilters {
    padding: var(--space-md);
  }

  input,
  select,
  button {
    font-size: 16px;
  }
}


.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: var(--space-lg);
  text-decoration: none;
  z-index: var(--z-tooltip);
}

.skip-link:focus {
  top: 0;
}


/* ========================================
   LAYOUT
======================================== */
.container {
  width: 100%;
  max-width: 78%;
  /* limita el ancho máximo */
  margin: 0 auto;
  /* centra horizontalmente */
  padding-left: var(--space-md);
  padding-right: var(--space-md);
  box-sizing: border-box;
}

main {
  position: relative;
  z-index: calc(var(--z-base) + 10);
}




/* Evita que el header use el padding grande del contenedor */
header .container {
  padding: 0;
  /* quita el espacio interno solo dentro del header */
}

/* ========================================
   HEADER & NAVIGATION - MEJORADO
======================================== */
header {
  background: linear-gradient(180deg, rgba(1, 41, 59, 0.95) 0%, rgba(3, 102, 136, 0.92) 60%);
  padding: 0;
  /* elimina espacio vertical */
  border-bottom: 1px solid rgba(127, 232, 255, 0.06);
  box-shadow: var(--shadow-ocean-md);
  backdrop-filter: blur(4px);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  line-height: 1;
  /* elimina espacio extra vertical */
}

/* Ajuste del contenedor dentro del header */
header .container {
  max-width: 100%;
  margin: 0 auto;
  padding: 6px var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  /* centramos todo el contenido del header */
  flex-wrap: wrap;
  gap: var(--space-lg);
}

/* Logo y texto juntos, en una sola línea */
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-primary);
  transition: transform var(--transition-slow) var(--transition-ease);
  box-shadow: 0 0 18px rgba(127, 232, 255, 0.3);
}

.brand img:hover {
  transform: rotate(360deg) scale(1.05);
}

.brand h1 {
  color: var(--color-bg);
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.18);
}

/* Navegación */
nav[role="navigation"] {
  display: flex;
  justify-content: center;
}

nav[role="navigation"] ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
}

nav[role="navigation"] li {
  position: relative;
}

nav[role="navigation"] a {
  display: block;
  padding: 6px 14px;
  text-decoration: none;
  color: #f2f2f2;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all var(--transition-base) var(--transition-ease);
}

nav[role="navigation"] a:hover,
nav[role="navigation"] a.active {
  background: linear-gradient(90deg, rgba(127, 232, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 4px 10px rgba(0, 166, 199, 0.08), inset 0 -2px 10px rgba(255, 255, 255, 0.02);
  transform: translateY(-2px);
  color: var(--color-bg);
}

nav[role="navigation"] li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(2, 120, 189, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  min-width: 200px;
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-lg);
  max-height: 300px;
  overflow: auto;
}

nav[role="navigation"] li:hover>ul {
  display: block;
  animation: fadeInDropdown var(--transition-base) var(--transition-ease);
}

@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

/* Responsive */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: center;
  }

  .brand {
    justify-content: center;
    margin-bottom: var(--space-xs);
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand h1 {
    font-size: var(--font-size-lg);
  }

  nav[role="navigation"] a {
    padding: 5px 10px;
    font-size: 0.9rem;
  }
}


/* ========================================
   HERO BRAND SHOW - Ocean Landing MEJORADO
======================================== */
.hero-brand-show {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 50%, #01344a, #002737, #00121f);
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--color-bg);
}

.hero-brand-show::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 60%, rgba(127, 232, 255, 0.08), transparent 70%),
    radial-gradient(circle at 80% 30%, rgba(0, 119, 190, 0.1), transparent 70%);
  mix-blend-mode: screen;
  animation: waveDrift 18s ease-in-out infinite alternate;
  z-index: var(--z-base);
}

@keyframes waveDrift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.8;
  }

  50% {
    transform: translate(30px, -20px) scale(1.05);
    opacity: 1;
  }

  100% {
    transform: translate(-20px, 30px) scale(1);
    opacity: 0.8;
  }
}

.hero-brand-show::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.2), transparent 60%);
  mix-blend-mode: overlay;
  animation: sunlightPulse 16s ease-in-out infinite alternate;
  opacity: 0.6;
  z-index: var(--z-base);
}

@keyframes sunlightPulse {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }

  100% {
    transform: translate(30px, 20px) scale(1.1);
    opacity: 0.8;
  }
}

.ocean-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: var(--z-base);
  opacity: 0.8;
  filter: brightness(0.8) saturate(1.2);
}

.brand-show-content {
  position: relative;
  z-index: calc(var(--z-base) + 2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  animation: fadeRise 2s ease-out forwards;
  opacity: 0;
}

@keyframes fadeRise {
  from {
    transform: translateY(40px);
    opacity: 0;
  }

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

.brand-show-content img {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-full);
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 45px rgba(2, 119, 189, 0.6);
  animation: floatLogo 6s ease-in-out infinite, glowPulse 4s ease-in-out infinite;
  transition: transform var(--transition-base) var(--transition-ease),
    filter var(--transition-base) var(--transition-ease);
}

@keyframes floatLogo {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 45px rgba(2, 119, 189, 0.4);
  }

  50% {
    box-shadow: 0 0 80px rgba(2, 119, 189, 0.8);
  }
}

.brand-show-content img:hover {
  transform: scale(1.1) rotate(4deg);
  filter: brightness(1.25) saturate(1.15);
}

.brand-show-content h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 1.2px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}

.brand-show-content p {
  font-size: var(--font-size-lg);
  opacity: 0.9;
  max-width: 600px;
  line-height: 1.6;
  font-weight: 500;
}

/* ========================================
   INTRO PARALLAX - Ocean Depth Effect
======================================== */
#intro-parallax {
  position: center;
  height: 300vh;
  overflow: hidden;
}

.parallax-media {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url("/img/LOGOS/intro2.jpg") center/cover no-repeat;
  transform: scale(1.5);
  z-index: var(--z-base);
  transition: transform 1200ms cubic-bezier(0.22, 0.9, 0.27, 1),
    opacity 1200ms cubic-bezier(0.22, 0.9, 0.27, 1);
  will-change: transform, opacity;
}

.parallax-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
  z-index: calc(var(--z-base) + 1);
  transition: opacity 1200ms cubic-bezier(0.22, 0.9, 0.27, 1);
}

.solid-image {
  position: relative;
  width: 100%;
  height: 100vh;
  opacity: 0;
  z-index: calc(var(--z-base) + 2);
  overflow: hidden;
  transition: opacity 0.8s ease-in-out;
}

.solid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#intro-parallax.parallax-ended-final .solid-image {
  opacity: 1;
  pointer-events: auto;
}

#intro-parallax.parallax-ended-final .parallax-media {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: none;
}

#intro-parallax.parallax-ended-final .parallax-overlay {
  opacity: 0.3;
  pointer-events: none;
}

.hero-brand {
  position: relative;
  top: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: var(--color-bg);
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: calc(var(--z-base) + 3);
}

.hero-brand img {
  width: 120px;
  height: auto;
  border-radius: var(--radius-full);
  border: 3px solid var(--color-bg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.content-start {
  min-height: 100vh;
  background: #fafbfc;
  position: relative;
  z-index: calc(var(--z-base) + 4);
}

/* ========================================
   HERO SECTION - Blue Ocean Tours
======================================== */
.hero {
  background: radial-gradient(circle at 50% 20%, #004f75 0%, #002f49 100%);
  color: #e6f7ff;
  text-align: center;
  padding: clamp(4rem, 10vw, 8rem) 1.5rem;
  position: relative;
  overflow: hidden;
  z-index: calc(var(--z-base) + 10);
}

/* Olas animadas suaves */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  background-repeat: repeat-x;
  opacity: 0.25;
  bottom: 0;
}

.hero::before {
  background-image: url('data:image/svg+xml;utf8,<svg width="1200" height="120" xmlns="http://www.w3.org/2000/svg"><path d="M0,40 C300,100 900,-20 1200,60 L1200,120 L0,120 Z" fill="%23ffffff33"/></svg>');
  animation: waveMove 8s linear infinite;
}

.hero::after {
  background-image: url('data:image/svg+xml;utf8,<svg width="1200" height="120" xmlns="http://www.w3.org/2000/svg"><path d="M0,60 C300,140 900,0 1200,80 L1200,120 L0,120 Z" fill="%23ffffff22"/></svg>');
  animation: waveMoveReverse 10s linear infinite;
}

@keyframes waveMove {
  from {
    background-position-x: 0;
  }

  to {
    background-position-x: 100%;
  }
}

@keyframes waveMoveReverse {
  from {
    background-position-x: 100%;
  }

  to {
    background-position-x: 0;
  }
}

/* Titulares */
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: transparent;
  background: linear-gradient(135deg, #00bcd4, #4de1ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Botón opcional */
.hero .btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(90deg, #007a9b, #00bcd4);
  color: white;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.3s ease;
}

.hero .btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, #00bcd4, #4de1ff);
}

/* ========================================
   QUIÉNES SOMOS - ESTILO OCEÁNICO MEJORADO
======================================== */

section.quienes-somos {
  max-width: 65%;
  margin: 80px auto;
  text-align: center;
  padding: 70px 50px;
  background: linear-gradient(135deg, #e8f7ff 0%, #d4edfa 50%, #c0e4f7 100%);
  border-radius: 35px;
  box-shadow:
    0 15px 50px rgba(0, 109, 146, 0.18),
    0 0 0 1px rgba(0, 168, 204, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
  animation: sectionFloat 8s ease-in-out infinite, fadeInScale 1s ease-out;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

@keyframes sectionFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Efecto de olas decorativas animadas */
section.quienes-somos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 15% 75%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 25%, rgba(0, 168, 204, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(72, 202, 228, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: waveMovement 12s ease-in-out infinite;
}

@keyframes waveMovement {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }

  33% {
    transform: translate(5%, -5%) scale(1.05);
    opacity: 1;
  }

  66% {
    transform: translate(-5%, 5%) scale(1.02);
    opacity: 0.85;
  }
}

/* Líneas decorativas onduladas superiores */
section.quienes-somos::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background:
    linear-gradient(to bottom, rgba(0, 212, 255, 0.1), transparent),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4) 50%, transparent);
  border-radius: 35px 35px 0 0;
  pointer-events: none;
  z-index: 0;
  animation: topShimmer 5s ease-in-out infinite;
}

@keyframes topShimmer {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

/* Título principal mejorado */
section.quienes-somos h2 {
  font-size: 2.8rem;
  background: linear-gradient(135deg, #004d6d 0%, #00a8cc 50%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 25px;
  font-weight: 900;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
  filter: drop-shadow(0 3px 6px rgba(0, 109, 146, 0.2));
  animation: titleGlowPulse 4s ease-in-out infinite;
}

@keyframes titleGlowPulse {

  0%,
  100% {
    filter: drop-shadow(0 3px 6px rgba(0, 109, 146, 0.2));
  }

  50% {
    filter: drop-shadow(0 5px 15px rgba(0, 212, 255, 0.45));
  }
}

/* Línea decorativa animada bajo el título */
section.quienes-somos h2::after {
  content: '';
  display: block;
  width: 130px;
  height: 5px;
  background: linear-gradient(90deg, transparent, #00a8cc, #00d4ff, #48cae4, #00d4ff, #00a8cc, transparent);
  margin: 25px auto;
  border-radius: 5px;
  box-shadow:
    0 3px 12px rgba(0, 212, 255, 0.5),
    0 0 20px rgba(0, 168, 204, 0.3);
  animation: lineWave 3s ease-in-out infinite;
}

@keyframes lineWave {

  0%,
  100% {
    width: 130px;
    opacity: 0.8;
  }

  50% {
    width: 180px;
    opacity: 1;
  }
}

/* Contenido del texto mejorado */
section.quienes-somos p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #0a4f63;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  animation: fadeInText 1s ease-out backwards;
}

section.quienes-somos p:nth-of-type(1) {
  animation-delay: 0.2s;
}

section.quienes-somos p:nth-of-type(2) {
  animation-delay: 0.4s;
}

section.quienes-somos p:nth-of-type(3) {
  animation-delay: 0.6s;
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

section.quienes-somos p:last-of-type {
  margin-bottom: 0;
}

/* Destacar primera letra con efecto oceánico (alineación corregida + brillo) */
section.quienes-somos p:first-child::first-letter {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #00a8cc 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  float: left;
  line-height: 0.8;
  margin: 0 14px 0 0;
  filter: drop-shadow(0 2px 6px rgba(0, 168, 204, 0.3));
  transform: translateY(-4px);
  animation: letterFloat 3s ease-in-out infinite;
  position: relative;
}

section.quienes-somos p:first-child::first-letter::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 35%;
  width: 35%;
  height: 35%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

@keyframes letterFloat {

  0%,
  100% {
    transform: translateY(-4px);
    filter: drop-shadow(0 2px 6px rgba(0, 168, 204, 0.3));
  }

  50% {
    transform: translateY(-9px);
    filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.5));
  }
}

/* Elementos decorativos - burbujas mejoradas */
section.quienes-somos .burbuja {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
      rgba(255, 255, 255, 0.8),
      rgba(0, 212, 255, 0.15) 50%,
      rgba(0, 168, 204, 0.1) 70%,
      transparent 100%);
  pointer-events: none;
  z-index: 0;
  animation: floatBubbleEnhanced 18s infinite ease-in-out;
  box-shadow:
    inset 0 0 25px rgba(255, 255, 255, 0.5),
    0 0 20px rgba(0, 212, 255, 0.2);
}

section.quienes-somos .burbuja:nth-child(1) {
  width: 120px;
  height: 120px;
  top: 8%;
  left: 5%;
  animation-delay: 0s;
}

section.quienes-somos .burbuja:nth-child(2) {
  width: 80px;
  height: 80px;
  top: 55%;
  right: 7%;
  animation-delay: 3s;
}

section.quienes-somos .burbuja:nth-child(3) {
  width: 100px;
  height: 100px;
  bottom: 12%;
  left: 8%;
  animation-delay: 6s;
}

@keyframes floatBubbleEnhanced {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }

  25% {
    transform: translate(20px, -20px) scale(1.15);
    opacity: 0.7;
  }

  50% {
    transform: translate(30px, -30px) scale(1.25);
    opacity: 0.85;
  }

  75% {
    transform: translate(15px, -15px) scale(1.1);
    opacity: 0.65;
  }
}

/* Estilo para listas dentro de la sección */
section.quienes-somos ul {
  list-style: none;
  padding: 0;
  margin: 35px auto;
  max-width: 650px;
  text-align: left;
}

section.quienes-somos ul li {
  padding: 15px 0 15px 45px;
  position: relative;
  color: #094d64;
  font-size: 1.08rem;
  line-height: 1.7;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  margin-bottom: 10px;
}

section.quienes-somos ul li::before {
  content: '🌊';
  position: absolute;
  left: 10px;
  font-size: 1.3rem;
  filter: drop-shadow(0 2px 5px rgba(0, 168, 204, 0.3));
  transition: all 0.4s ease;
}

section.quienes-somos ul li:hover {
  padding-left: 50px;
  border-left-color: #00a8cc;
  color: #006d92;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.05), transparent);
  border-radius: 0 15px 15px 0;
}

section.quienes-somos ul li:hover::before {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 3px 8px rgba(0, 212, 255, 0.5));
}

/* Botón de acción mejorado */
section.quienes-somos .btn-conocer {
  display: inline-block;
  margin-top: 35px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #00b4d8 0%, #0096c7 50%, #0077b6 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 6px 20px rgba(0, 119, 182, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Efecto de brillo en el botón */
section.quienes-somos .btn-conocer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent 30%,
      rgba(255, 255, 255, 0.4) 50%,
      transparent 70%);
  transition: left 0.6s ease;
}

section.quienes-somos .btn-conocer:hover::before {
  left: 100%;
}

section.quienes-somos .btn-conocer:hover {
  background: linear-gradient(135deg, #0096c7 0%, #0077b6 50%, #005f8a 100%);
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 10px 30px rgba(0, 119, 182, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

section.quienes-somos .btn-conocer:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 6px 20px rgba(0, 119, 182, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

section.quienes-somos .btn-conocer::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

section.quienes-somos .btn-conocer:hover::after {
  opacity: 1;
}

/* Responsive mejorado */
@media (max-width: 968px) {
  section.quienes-somos {
    max-width: 75%;
  }
}

@media (max-width: 768px) {
  section.quienes-somos {
    max-width: 90%;
    margin: 60px auto;
    padding: 50px 35px;
    border-radius: 25px;
  }

  section.quienes-somos h2 {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }

  section.quienes-somos h2::after {
    width: 100px;
  }

  section.quienes-somos p {
    font-size: 1.05rem;
  }

  section.quienes-somos p:first-child::first-letter {
    font-size: 3rem;
    margin: 0 12px 0 0;
  }

  section.quienes-somos ul {
    max-width: 100%;
  }

  section.quienes-somos .burbuja {
    opacity: 0.3;
  }

  section.quienes-somos .btn-conocer {
    padding: 14px 35px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  section.quienes-somos {
    max-width: 95%;
    margin: 40px auto;
    padding: 40px 25px;
    border-radius: 20px;
  }

  section.quienes-somos h2 {
    font-size: 1.9rem;
  }

  section.quienes-somos p {
    font-size: 1rem;
  }

  section.quienes-somos p:first-child::first-letter {
    font-size: 2.5rem;
  }

  section.quienes-somos ul li {
    padding: 12px 0 12px 40px;
    font-size: 1rem;
  }

  section.quienes-somos .btn-conocer {
    padding: 13px 30px;
    font-size: 0.95rem;
  }

  section.quienes-somos .burbuja {
    display: none;
  }
}


/* ========================================
   BASE CARD COMPONENT
======================================== */
.card-base {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base) var(--transition-bounce),
    box-shadow var(--transition-base) var(--transition-ease);
  contain: layout style paint;
}

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


/* ========================================
   TESTIMONIOS - ESTILO OCEÁNICO
======================================== */

.testimonios {
  max-width: 82%;
  margin: 80px auto;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Fondo con degradado oceánico sutil */
.testimonios::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 168, 204, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 109, 146, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Título principal */
.testimonios h2 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #006d92 0%, #00a8cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

/* Línea decorativa bajo el título */
.testimonios h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #00a8cc, #00d4ff, #00a8cc);
  margin: 20px auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 168, 204, 0.3);
}

/* Icono decorativo antes del título */
.testimonios h2::before {
  content: '⭐';
  display: block;
  font-size: 2.5rem;
  margin-bottom: 10px;
  filter: drop-shadow(0 3px 6px rgba(0, 168, 204, 0.3));
  animation: starPulse 3s infinite ease-in-out;
}

@keyframes starPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

/* Subtítulo */
.testimonios>p {
  font-size: 1.1rem;
  color: #0a4f63;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

/* Icono de Google antes del subtítulo */
.testimonios>p::before {
  content: '🔍';
  display: inline-block;
  margin-right: 8px;
  font-size: 1.2rem;
  filter: drop-shadow(0 2px 4px rgba(0, 168, 204, 0.2));
}

/* Container de testimonios */
.testimonios-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 30px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 25px;
  box-shadow:
    0 10px 40px rgba(0, 109, 146, 0.12),
    0 0 0 1px rgba(0, 168, 204, 0.08);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Efecto de olas decorativas en el container */
.testimonios-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at center, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
  animation: waveRotate 20s infinite linear;
  pointer-events: none;
  z-index: 0;
}

@keyframes waveRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Ondas decorativas en la parte inferior */
.testimonios-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to top, rgba(0, 168, 204, 0.06), transparent);
  border-radius: 0 0 25px 25px;
  pointer-events: none;
  z-index: 0;
}

/* Widget de Elfsight */
.testimonios-container>div {
  position: relative;
  z-index: 1;
}

/* Estilos personalizados para las tarjetas de testimonios (si son accesibles) */
.testimonios-container .testimonial-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 25px;
  margin: 15px;
  box-shadow:
    0 4px 15px rgba(0, 109, 146, 0.08),
    0 0 0 1px rgba(0, 168, 204, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid #00a8cc;
}

.testimonios-container .testimonial-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow:
    0 8px 25px rgba(0, 109, 146, 0.15),
    0 0 0 1px rgba(0, 168, 204, 0.1);
  border-left-color: #00d4ff;
}

/* Burbujas decorativas */
.testimonios .burbuja-test {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: floatBubble 16s infinite ease-in-out;
}

.testimonios .burbuja-test:nth-child(1) {
  width: 110px;
  height: 110px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.testimonios .burbuja-test:nth-child(2) {
  width: 70px;
  height: 70px;
  top: 55%;
  right: 8%;
  animation-delay: 3s;
}

.testimonios .burbuja-test:nth-child(3) {
  width: 90px;
  height: 90px;
  bottom: 15%;
  left: 12%;
  animation-delay: 6s;
}

.testimonios .burbuja-test:nth-child(4) {
  width: 80px;
  height: 80px;
  top: 35%;
  right: 15%;
  animation-delay: 9s;
}

/* Consolidated duplicate floatBubble keyframes - removed redundant definition */

/* Citas decorativas (si quieres agregarlas) */
.testimonios-quote {
  position: absolute;
  font-size: 4rem;
  color: rgba(0, 168, 204, 0.08);
  font-family: Georgia, serif;
  font-weight: bold;
  pointer-events: none;
  z-index: 0;
}

.testimonios-quote.left {
  top: 20px;
  left: 30px;
}

.testimonios-quote.right {
  bottom: 20px;
  right: 30px;
  transform: rotate(180deg);
}

/* Badge de Google (opcional - si quieres agregarlo) */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 109, 146, 0.1);
  margin: 20px auto 0;
  font-weight: 600;
  color: #006d92;
  border: 2px solid rgba(0, 168, 204, 0.15);
  transition: all 0.3s ease;
}

.google-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 109, 146, 0.15);
  border-color: rgba(0, 168, 204, 0.3);
}

.google-badge::before {
  content: '⭐';
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonios {
    margin: 50px 20px;
    padding: 40px 20px;
  }

  .testimonios h2 {
    font-size: 2rem;
  }

  .testimonios h2::before {
    font-size: 2rem;
  }

  .testimonios>p {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .testimonios-container {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .testimonios .burbuja-test {
    display: none;
  }

  .testimonios-quote {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .testimonios h2 {
    font-size: 1.7rem;
  }

  .testimonios>p {
    font-size: 0.95rem;
  }

  .testimonios-container {
    padding: 25px 15px;
  }

  .testimonios-quote {
    display: none;
  }
}



/* ========================================
   SERVICIOS - ESTILO OCEÁNICO
======================================== */

.servicios {
  max-width: 82%;
  margin: 80px auto;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

/* Fondo con degradado oceánico sutil */
.servicios::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 168, 204, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(0, 109, 146, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.servicios h2 {
  text-align: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #006d92 0%, #00a8cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

/* Línea decorativa bajo el título */
.servicios h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #00a8cc, #00d4ff, #00a8cc);
  margin: 20px auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 168, 204, 0.3);
}

.servicios>p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: #0a4f63;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* Grid de servicios */
.servicios .salidas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

/* Tarjetas de servicios con tema oceánico */
.servicios .salida-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: none;
  border-left: 5px solid #00a8cc;
  border-radius: 20px;
  padding: 35px 30px;
  text-align: center;
  box-shadow:
    0 8px 30px rgba(0, 109, 146, 0.1),
    0 0 0 1px rgba(0, 168, 204, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: center;
  overflow: hidden;
}

/* Efecto de ola en hover */
.servicios .salida-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to top, rgba(0, 168, 204, 0.08), transparent);
  transition: height 0.4s ease;
  pointer-events: none;
  border-radius: 0 0 20px 20px;
}

.servicios .salida-card:hover::before {
  height: 100%;
}

/* Burbuja decorativa en la tarjeta */
.servicios .salida-card::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transition: all 0.4s ease;
  pointer-events: none;
}

.servicios .salida-card:hover::after {
  transform: scale(1.5);
  opacity: 0.6;
}

.servicios .salida-card:hover {
  background: linear-gradient(135deg, #e0f2fe 0%, #d0ebf8 100%);
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 15px 45px rgba(0, 109, 146, 0.15),
    0 0 0 1px rgba(0, 168, 204, 0.1);
  border-left-color: #00d4ff;
}

.servicios .salida-card h3 {
  color: #006d92;
  margin-bottom: 15px;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.servicios .salida-card:hover h3 {
  color: #00a8cc;
}

/* Icono decorativo antes del título (opcional) */
.servicios .salida-card h3::before {
  content: '🌊';
  display: block;
  font-size: 2.5rem;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 4px rgba(0, 168, 204, 0.2));
}

.servicios .salida-card p {
  font-size: 1rem;
  color: #0a4f63;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

/* Variaciones de color de borde para cada tarjeta */
.servicios .salida-card:nth-child(3n+1) {
  border-left-color: #00a8cc;
}

.servicios .salida-card:nth-child(3n+2) {
  border-left-color: #0096c7;
}

.servicios .salida-card:nth-child(3n+3) {
  border-left-color: #00b4d8;
}

/* Efecto de ondas flotantes de fondo */
.servicios .ola-decorativa {
  position: absolute;
  width: 200%;
  height: 200px;
  background:
    radial-gradient(ellipse at center, rgba(0, 168, 204, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.servicios .ola-decorativa:nth-of-type(1) {
  top: 20%;
  left: -50%;
  animation: waveFloat 20s infinite ease-in-out;
}

.servicios .ola-decorativa:nth-of-type(2) {
  bottom: 20%;
  right: -50%;
  animation: waveFloat 25s infinite ease-in-out reverse;
}

@keyframes waveFloat {

  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }

  50% {
    transform: translateX(30px) rotate(3deg);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .servicios {
    margin: 50px 20px;
    padding: 40px 20px;
  }

  .servicios h2 {
    font-size: 2rem;
  }

  .servicios>p {
    font-size: 1rem;
    margin-bottom: 35px;
  }

  .servicios .salidas-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .servicios .salida-card {
    padding: 25px 20px;
  }

  .servicios .salida-card h3 {
    font-size: 1.3rem;
  }

  .servicios .salida-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .servicios h2 {
    font-size: 1.7rem;
  }

  .servicios .salida-card h3::before {
    font-size: 2rem;
  }
}

/* ========================================
   NUESTRA ESENCIA - ESTILO OCEÁNICO
======================================== */

.esencia {
  max-width: 65%;
  margin: 80px auto;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

/* Fondo con degradado oceánico sutil */
.esencia::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 168, 204, 0.03) 0%, transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(0, 109, 146, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.esencia h2 {
  text-align: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #006d92 0%, #00a8cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

/* Línea decorativa bajo el título */
.esencia h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #00a8cc, #00d4ff, #00a8cc);
  margin: 20px auto 50px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 168, 204, 0.3);
}

/* Tarjetas con tema oceánico profundo */
.esencia .legal-card {
  background: linear-gradient(135deg, #006d92 0%, #004d66 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 40px 35px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 10px 35px rgba(0, 109, 146, 0.18),
    0 0 0 1px rgba(0, 168, 204, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

/* Efecto de olas brillantes */
.esencia .legal-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at center, rgba(0, 212, 255, 0.15) 0%, transparent 50%);
  animation: waveShimmer 8s infinite ease-in-out;
  pointer-events: none;
}

@keyframes waveShimmer {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.3;
  }

  50% {
    transform: translate(20px, 20px) rotate(45deg);
    opacity: 0.6;
  }
}

/* Borde brillante animado */
.esencia .legal-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #00a8cc, #00d4ff) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.esencia .legal-card:hover::after {
  opacity: 0.6;
}

/* Efecto de elevación y brillo en hover */
.esencia .legal-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 20px 50px rgba(0, 168, 204, 0.22),
    0 0 0 1px rgba(0, 212, 255, 0.3),
    0 0 30px rgba(0, 168, 204, 0.15);
  background: linear-gradient(135deg, #007ba3 0%, #005577 100%);
}

/* Título de la tarjeta */
.esencia .legal-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

/* Icono decorativo antes del título */
.esencia .legal-card h3::before {
  content: '💎';
  display: inline-block;
  margin-right: 10px;
  font-size: 1.3rem;
  filter: drop-shadow(0 2px 4px rgba(0, 212, 255, 0.3));
  transition: transform 0.3s ease;
}

.esencia .legal-card:hover h3::before {
  transform: scale(1.15) rotate(5deg);
}

.esencia .legal-card:hover h3 {
  color: #e0f2fe;
  text-shadow: 0 2px 12px rgba(0, 212, 255, 0.4);
}

/* Párrafo de la tarjeta */
.esencia .legal-card p {
  opacity: 0.95;
  font-size: 1rem;
  line-height: 1.7;
  color: #e0f2fe;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Grid de tarjetas (si tienes múltiples) */
.esencia .esencia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

/* Variaciones de degradado para múltiples tarjetas */
.esencia .legal-card:nth-child(odd) {
  background: linear-gradient(135deg, #006d92 0%, #004d66 100%);
}

.esencia .legal-card:nth-child(even) {
  background: linear-gradient(135deg, #00789e 0%, #005577 100%);
}

.esencia .legal-card:nth-child(3n) {
  background: linear-gradient(135deg, #0085aa 0%, #005f88 100%);
}

/* Burbujas decorativas de fondo */
.esencia .burbuja-fondo {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: floatBubble 12s infinite ease-in-out;
}

.esencia .burbuja-fondo:nth-child(1) {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.esencia .burbuja-fondo:nth-child(2) {
  width: 80px;
  height: 80px;
  top: 50%;
  right: 15%;
  animation-delay: 3s;
}

.esencia .burbuja-fondo:nth-child(3) {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 6s;
}

/* Consolidated duplicate floatBubble keyframes - removed redundant definition */

/* Responsive */
@media (max-width: 768px) {
  .esencia {
    margin: 50px 20px;
    padding: 40px 20px;
  }

  .esencia h2 {
    font-size: 2rem;
  }

  .esencia .esencia-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .esencia .legal-card {
    padding: 30px 25px;
  }

  .esencia .legal-card h3 {
    font-size: 1.3rem;
  }

  .esencia .legal-card p {
    font-size: 0.95rem;
  }

  .esencia .burbuja-fondo {
    display: none;
  }
}

@media (max-width: 480px) {
  .esencia h2 {
    font-size: 1.7rem;
  }

  .esencia .legal-card {
    padding: 25px 20px;
  }

  .esencia .legal-card h3::before {
    font-size: 1.1rem;
  }
}

/* ========================================
   SEARCH & FILTERS
======================================== */
.search-container {
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
  position: relative;
}

.search-bar {
  width: 100%;
  padding: 14px 48px 14px 18px;
  border-radius: var(--radius-full);
  border: 3px solid var(--color-primary);
  font-size: var(--font-size-base);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base) var(--transition-ease);
  background: var(--color-bg);
}

.search-bar:focus {
  border-color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  outline: none;
}

.search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: var(--font-size-lg);
  color: var(--color-primary);
}

.destino-selector-wrap {
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
}

.destino-selector-wrap label {
  display: block;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-lg);
}

#destinoSelect {
  width: 100%;
  padding: 14px var(--space-xl);
  border: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg);
  cursor: pointer;
  transition: all var(--transition-base) var(--transition-ease);
  box-shadow: var(--shadow-sm);
}

#destinoSelect:hover {
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

#destinoSelect:focus {
  outline: none;
  border-color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

.filter-container {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.filter-btn {
  padding: 10px var(--space-xl);
  margin: var(--space-xs);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-primary);
  background: var(--color-bg);
  color: var(--color-primary);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-fast) var(--transition-ease);
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

#seasonFilters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: var(--space-3xl) 0;
  padding: var(--space-xl);
  background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-bg-tertiary));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.season-filter {
  padding: 11px 22px;
  border: 2px solid var(--color-primary);
  background: var(--color-bg);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  transition: all var(--transition-fast) var(--transition-ease);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.season-filter:hover {
  background: var(--color-primary);
  color: var(--color-bg);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.season-filter.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-bg);
  border-color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ========================================
   VARIABLES OCEÁNICAS
======================================== */
:root {
  --ocean-deep: #0a1f44;
  --ocean-dark: #1a3a5c;
  --ocean-main: #2b5a8e;
  --ocean-bright: #3d7bbf;
  --ocean-light: #5ca3d9;
  --ocean-foam: #8dc9e6;
  --ocean-wave: #b8e6f7;
  --ocean-surface: #e0f4ff;

  --coral-accent: #ff6b6b;
  --sand-light: #f5e6d3;
  --seafoam-green: #4ecdc4;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 2.5rem;
  --space-3xl: 3rem;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-ocean-sm: 0 4px 12px rgba(10, 31, 68, 0.1), 0 2px 6px rgba(43, 90, 142, 0.08);
  --shadow-ocean-md: 0 8px 24px rgba(10, 31, 68, 0.15), 0 4px 12px rgba(43, 90, 142, 0.1);
  --shadow-ocean-lg: 0 16px 48px rgba(10, 31, 68, 0.2), 0 8px 24px rgba(43, 90, 142, 0.15);

  --transition-wave: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-ripple: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========================================
   GRIDS CON EFECTO OCEÁNICO
======================================== */
.salidas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-2xl);
  margin: var(--space-3xl) 0;
  padding: var(--space-xl);
  background: linear-gradient(180deg,
      rgba(224, 244, 255, 0.3) 0%,
      rgba(184, 230, 247, 0.2) 100%);
  border-radius: var(--radius-xl);
}

.salida-card {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(224, 244, 255, 0.9) 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-ocean-sm);
  transition: all 0.4s var(--transition-wave);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 2px solid rgba(92, 163, 217, 0.2);
}

/* Efecto de ola al hacer hover */
.salida-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(92, 163, 217, 0.15) 50%,
      transparent 100%);
  transition: left 0.6s var(--transition-wave);
  z-index: 1;
  pointer-events: none;
}

.salida-card:hover::before {
  left: 100%;
}

.salida-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-ocean-lg);
  border-color: var(--ocean-light);
}

/* Efecto de ondas en el fondo */
.salida-card::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='rgba(92,163,217,0.1)'/%3E%3C/svg%3E") no-repeat;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.4s var(--transition-wave);
  pointer-events: none;
}

.salida-card:hover::after {
  opacity: 1;
}

.card-image-container {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--ocean-dark) 0%, var(--ocean-main) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 8px rgba(10, 31, 68, 0.2);
}

/* Efecto de burbujas en el contenedor */
.card-image-container::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 2px, transparent 2px),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 60% 90%, rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px);
  background-size: 200% 200%;
  animation: bubbles 20s linear infinite;
  pointer-events: none;
  opacity: 0.6;
}

@keyframes bubbles {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 100%;
  }
}

.card-image-container video {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: inherit;
  transition: transform 0.6s var(--transition-wave), filter 0.4s ease;
  background-color: var(--ocean-deep);
  position: relative;
  z-index: 2;
}

.salida-card:hover .card-image-container video {
  transform: scale(1.08);
  filter: brightness(1.05) contrast(1.05);
}

@media (max-width: 768px) {
  .card-image-container {
    height: 280px;
  }

  .salidas-grid {
    gap: var(--space-xl);
    padding: var(--space-md);
  }
}

.card-badge {
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  background: linear-gradient(135deg, var(--ocean-bright) 0%, var(--ocean-main) 100%);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(43, 90, 142, 0.4);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.salida-card h3 {
  margin: var(--space-lg) var(--space-md) var(--space-sm);
  font-size: 1.5rem;
  color: var(--ocean-dark);
  text-align: center;
  font-weight: 700;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(10, 31, 68, 0.1);
}

.salida-card p {
  margin: var(--space-xs) var(--space-md) var(--space-lg);
  color: var(--ocean-main);
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* ========================================
   BANCOS GRID - ESTILO OCEÁNICO
======================================== */
.bancos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-2xl);
  margin: var(--space-3xl) 0;
}

.banco-card {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(184, 230, 247, 0.3) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-ocean-sm);
  transition: all 0.4s var(--transition-wave);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.banco-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
      var(--ocean-bright) 0%,
      var(--ocean-light) 50%,
      var(--seafoam-green) 100%);
  transform: scaleX(0);
  transition: transform 0.4s var(--transition-ripple);
}

.banco-card:hover::before {
  transform: scaleX(1);
}

.banco-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-ocean-lg);
  border-color: var(--ocean-light);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(184, 230, 247, 0.5) 100%);
}

.banco-card h3 {
  color: var(--ocean-dark);
  margin: 0 0 var(--space-md);
  font-size: 1.4rem;
  font-weight: 700;
}

/* ========================================
   LEGAL GRID - DISEÑO OCEÁNICO
======================================== */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
}

.legal-card {
  background: linear-gradient(135deg,
      var(--ocean-dark) 0%,
      var(--ocean-main) 50%,
      var(--ocean-bright) 100%);
  color: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-ocean-md);
  transition: all 0.4s var(--transition-wave);
  position: relative;
  overflow: hidden;
}

.legal-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.legal-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: var(--shadow-ocean-lg);
}

/* Efecto de ondas decorativas */
.legal-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E") no-repeat;
  background-size: cover;
  opacity: 0.6;
  pointer-events: none;
}

/* =============================
   TEMA OCÉANO 🌊 - ADAPTADO A script.js
   ============================= */

/* Contenedor general de tarjetas */
#temporadasWrap {
  display: grid;
  gap: 30px;
  margin: 30px 0;
}

/* Tarjeta de destino */
.temporada-section {
  background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(13, 71, 161, 0.15);
  border: 2px solid #64b5f6;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease;
}

/* Efecto de olas */
.temporada-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, rgba(144, 202, 249, 0.2), transparent);
  pointer-events: none;
  z-index: 0;
}

/* Título del destino */
.temporada-section h3 {
  color: #0d47a1;
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(13, 71, 161, 0.1);
  position: relative;
  z-index: 1;
  padding-bottom: 15px;
  border-bottom: 3px solid #64b5f6;
}

/* Pestañas dentro de temporada-section ya están en .tabs arriba */

/* Tabla dentro de la tarjeta */
.temporada-section table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(13, 71, 161, 0.2);
  background: #ffffff;
  margin-top: 20px;
}

/* Encabezados */
.temporada-section table thead th {
  background: linear-gradient(135deg, #1976d2 0%, #0d47a1 50%, #01579b 100%);
  color: #ffffff;
  padding: 18px 14px;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Celdas */
.temporada-section table tbody td {
  padding: 18px 14px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 2px solid #e3f2fd;
  font-size: 1rem;
  color: #0d47a1;
  font-weight: 700;
  transition: all 0.3s ease;
}

/* Duración */
.temporada-section table tbody td:nth-child(3) {
  color: #00acc1;
  font-weight: 800;
  font-size: 1.1rem;
  text-shadow: 1px 1px 2px rgba(0, 172, 193, 0.2);
}

/* Filas alternadas */
.temporada-section table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.temporada-section table tbody tr:nth-child(even) {
  background: linear-gradient(to right, #e1f5fe 0%, #f0f9ff 100%);
}

/* Hover fila */
.temporada-section table tbody tr:hover {
  background: linear-gradient(135deg, #b3e5fc 0%, #81d4fa 100%);
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.2);
  cursor: pointer;
}

/* Botones Ver / Consultar */
.btn-ver,
.btn-consultar {
  background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
  color: #ffffff !important;
  border: none;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-ver:hover,
.btn-consultar:hover {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(13, 71, 161, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .temporada-section {
    padding: 20px;
    overflow-x: auto;
  }

  .temporada-section table {
    min-width: 650px;
    font-size: 0.9rem;
  }

  .temporada-section table thead th,
  .temporada-section table tbody td {
    padding: 12px 10px;
  }

  .btn-ver,
  .btn-consultar {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  #destinoSelect {
    min-width: 100%;
  }

  .temporada-section h3 {
    font-size: 1.4rem;
  }
}

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ==============================
   COTIZADOR WHATSAPP - ESTILO OCEÁNICO
   ============================== */

.cotizador-section {
  background: linear-gradient(135deg, #e0f7ff 0%, #b8e6f5 50%, #d4f1f9 100%);
  padding: 70px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

/* Efecto de olas en el fondo */
.cotizador-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, rgba(0, 168, 204, 0.1), transparent);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}


/* ========================================
   COTIZADOR - ESTILO OCEÁNICO PREMIUM MEJORADO
======================================== */

.cotizador-container {
  background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 50%, #e0f2fe 100%);
  padding: 55px 50px;
  border-radius: 30px;
  box-shadow:
    0 12px 35px rgba(0, 109, 146, 0.2),
    0 0 0 1px rgba(0, 168, 204, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 212, 255, 0.1);
}

/* Brillo oceánico en movimiento mejorado */
.cotizador-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 35%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 75% 75%, rgba(0, 168, 204, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 50% 10%, rgba(72, 202, 228, 0.06) 0%, transparent 50%);
  animation: shimmerEnhanced 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes shimmerEnhanced {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }

  33% {
    transform: translate(8%, 5%) scale(1.05);
    opacity: 1;
  }

  66% {
    transform: translate(-5%, 8%) scale(1.02);
    opacity: 0.85;
  }
}

/* Efecto de olas decorativas en la parte superior */
.cotizador-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0, 212, 255, 0.08), transparent);
  pointer-events: none;
  z-index: 0;
  animation: waveTop 8s ease-in-out infinite;
}

@keyframes waveTop {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

.cotizador-container:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 20px 45px rgba(0, 109, 146, 0.25),
    0 0 0 1px rgba(0, 212, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Título con efecto de brillo */
.cotizador-container h2 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #004d6d 0%, #00a8cc 50%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  font-weight: 800;
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
  filter: drop-shadow(0 2px 4px rgba(0, 109, 146, 0.15));
  animation: titlePulse 4s ease-in-out infinite;
}

@keyframes titlePulse {

  0%,
  100% {
    filter: drop-shadow(0 2px 4px rgba(0, 109, 146, 0.15));
  }

  50% {
    filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.35));
  }
}

.cotizador-container h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #00a8cc, #00d4ff, #48cae4, #00d4ff, #00a8cc, transparent);
  margin: 15px auto;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 212, 255, 0.4);
  animation: lineGrow 3s ease-in-out infinite;
}

@keyframes lineGrow {

  0%,
  100% {
    width: 80px;
  }

  50% {
    width: 120px;
  }
}

.cotizador-container h2+p {
  color: #0a4f63;
  margin-bottom: 40px;
  font-size: 17px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Campos */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.form-group,
.form-group-full {
  text-align: left;
  animation: fadeInField 0.6s ease-out backwards;
}

.form-group:nth-child(1) {
  animation-delay: 0.1s;
}

.form-group:nth-child(2) {
  animation-delay: 0.15s;
}

.form-group:nth-child(3) {
  animation-delay: 0.2s;
}

.form-group:nth-child(4) {
  animation-delay: 0.25s;
}

@keyframes fadeInField {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

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

.form-group-full {
  grid-column: 1 / -1;
}

.cotizador-container label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: #006d92;
  font-size: 15px;
  text-align: left;
  position: relative;
  padding-left: 8px;
  transition: color 0.3s ease;
}

.cotizador-container label::before {
  content: '🌊';
  position: absolute;
  left: -18px;
  font-size: 14px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.form-group:hover label::before,
.form-group-full:hover label::before {
  opacity: 1;
  transform: translateX(-2px);
}

.cotizador-container select,
.cotizador-container input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 15px;
  border: 2px solid #c5e5f1;
  background: linear-gradient(to bottom, #ffffff, #fafcff);
  font-size: 15px;
  color: #094d64;
  transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 109, 146, 0.05);
  position: relative;
}

.cotizador-container select:hover,
.cotizador-container input:hover {
  border-color: #90d5ec;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 168, 204, 0.1);
  /* transform: translateY(-1px); */
}

.cotizador-container select:focus,
.cotizador-container input:focus {
  border-color: #00a8cc;
  background: #ffffff;
  outline: none;
  box-shadow:
    0 0 0 4px rgba(0, 168, 204, 0.1),
    0 4px 15px rgba(0, 168, 204, 0.2);
  /* transform: translateY(-2px); */
  text-align: left;
}

/* Botón con reflejo tipo ola mejorado */
.cotizador-container button {
  width: 100%;
  margin-top: 32px;
  padding: 16px;
  background: linear-gradient(135deg, #00b4d8 0%, #0096c7 50%, #0077b6 100%);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 6px 20px rgba(0, 119, 182, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
}

/* Reflejo de luz mejorado que se mueve al pasar el mouse */
.cotizador-container button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(110deg,
      transparent 0%,
      rgba(255, 255, 255, 0.4) 40%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0.4) 60%,
      transparent 100%);
  transform: skewX(-25deg);
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Onda adicional de fondo */
.cotizador-container button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cotizador-container button:hover::before {
  opacity: 1;
}

.cotizador-container button:hover::after {
  left: 140%;
  opacity: 1;
}

.cotizador-container button:hover {
  background: linear-gradient(135deg, #0096c7 0%, #0077b6 50%, #005f8a 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 12px 30px rgba(0, 119, 182, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cotizador-container button:active {
  transform: scale(0.97);
  box-shadow:
    0 4px 15px rgba(0, 119, 182, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Select mejorado */
.cotizador-container select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%23006d92' d='M7 10L2 5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  text-align: left;
}

.cotizador-container select:focus {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%2300a8cc' d='M7 10L2 5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  text-align: left;
}

/* Fecha y número mejorados */
.cotizador-container input[type="date"] {
  cursor: pointer;
}

.cotizador-container input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(35%) sepia(75%) saturate(1500%) hue-rotate(170deg);
  transition: filter 0.3s ease;
}

.cotizador-container input[type="date"]:hover::-webkit-calendar-picker-indicator {
  filter: invert(45%) sepia(85%) saturate(1800%) hue-rotate(170deg);
}

.cotizador-container input[type="number"] {
  -moz-appearance: textfield;
}

.cotizador-container input[type="number"]::-webkit-inner-spin-button,
.cotizador-container input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Estados de validación (opcional) */
.cotizador-container input:invalid:not(:placeholder-shown),
.cotizador-container select:invalid:not(:placeholder-shown) {
  border-color: #ff6b6b;
  background: linear-gradient(to bottom, #fff5f5, #ffe8e8);
}

.cotizador-container input:valid:not(:placeholder-shown),
.cotizador-container select:valid {
  border-color: #00d4aa;
}

/* Responsive mejorado */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cotizador-section {
    padding: 50px 20px;
  }

  .cotizador-container {
    padding: 40px 30px;
    border-radius: 25px;
  }

  .cotizador-container h2 {
    font-size: 2rem;
  }

  .cotizador-container button {
    padding: 15px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .cotizador-container {
    padding: 35px 25px;
  }

  .cotizador-container h2 {
    font-size: 1.8rem;
  }

  .cotizador-container label {
    font-size: 14px;
  }

  .cotizador-container select,
  .cotizador-container input {
    padding: 12px 14px;
    font-size: 14px;
  }
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }

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

/* Efecto de partículas oceánicas (opcional) */
.cotizador-container .ocean-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.6), transparent);
  border-radius: 50%;
  pointer-events: none;
  animation: floatParticle 15s linear infinite;
  z-index: 0;
}

@keyframes floatParticle {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
    transform: scale(1);
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translate(100px, -200px) scale(0);
    opacity: 0;
  }
}

/* ========================================
   LEGAL CONTENT - DISEÑO CORPORATIVO
======================================== */

.legal-content {
  max-width: 1100px;
  margin: 80px auto;
  background: #ffffff;
  padding: 60px 50px;
  border-radius: 10px;
  border: 1px solid #e6eef2;
  box-shadow: 0 8px 24px rgba(1,59,85,0.08);
  color: #05394a;
}

/* Título principal */
.legal-content h1 {
  text-align: center;
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #015670;
}

/* Subtítulos */
.legal-content h2,
.legal-content h3 {
  color: #015670;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Acordeones */
.legal-content details {
  border-left: 5px solid #0099b8;
  padding: 18px 22px;
  background: #f9fcfd;
  border-radius: 8px;
  margin-bottom: 18px;
  transition: background .25s ease;
}

.legal-content details:hover {
  background: #f0f7fa;
}

/* Encabezado del acordeón */
.legal-content summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none;
  position: relative;
  padding-right: 25px;
}

.legal-content summary::-webkit-details-marker {
  display: none;
}

/* Icono + y - profesional */
.legal-content summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 800;
  font-size: 1.3rem;
  color: #007e9f;
  transition: .3s ease;
}

.legal-content details[open] summary::after {
  content: "-";
}

/* Contenido del acordeón */
.legal-content details p {
  margin-top: 12px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #05394a;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 768px) {
  .legal-content {
    max-width: 92%;
    padding: 40px 25px;
  }
  
  .legal-content h1 {
    font-size: 2.3rem;
  }

  .legal-content summary {
    font-size: 1rem;
  }
}
