/* ==========================================================================
   Second Tide — Ocean Light Design System
   Renewal. Connection. Vallarta.
   ==========================================================================
   Light, airy, ocean-fresh aesthetic inspired by Puerto Vallarta.
   Canvas: soft white-blue. Cards: pure white. Accent: ocean blue + turquoise.
   ========================================================================== */

:root {
  /* Colors — Ocean Light */
  --color-canvas: #f7fbfd;
  --color-card: #ffffff;
  --color-surface: #eef6fb;
  --color-surface-alt: #e0f2f9;
  --color-border: #d6e4ee;
  --color-border-soft: #eaf2f7;
  --color-text: #0a2540;
  --color-text-muted: #5a6b7a;
  --color-text-light: #8a9aab;
  --color-ocean: #0077C8;
  --color-ocean-dark: #005a96;
  --color-ocean-light: #e8f4fb;
  --color-turquoise: #00C4E6;
  --color-turquoise-light: #e0f7fc;
  --color-gold: #F4B860;
  --color-gold-soft: #fff8e8;
  --color-white: #ffffff;
  --color-sand: #faf6f0;

  /* Legacy aliases for compatibility */
  --st-navy: #0a2540;
  --st-ocean: #0077C8;
  --st-turquoise: #00C4E6;
  --st-gold: #F4B860;
  --st-white: #ffffff;
  --st-gray: #5a6b7a;
  --st-gray-light: #eef6fb;
  --st-border: #d6e4ee;
  --st-navy-light: #1a4a7a;
  --st-ocean-light: #e8f4fb;
  --st-turquoise-light: #e0f7fc;
  --st-gold-light: #fff8e8;

  /* Bootstrap overrides */
  --bs-primary: #0077C8;
  --bs-primary-rgb: 0, 119, 200;
  --bs-body-color: #0a2540;
  --bs-body-bg: #f7fbfd;
  --bs-body-font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --bs-heading-color: #0a2540;
  --bs-link-color: #0077C8;
  --bs-link-hover-color: #005a96;
  --bs-border-radius: 12px;
  --bs-border-color: #d6e4ee;
  --bs-card-bg: #ffffff;
  --bs-card-border-color: #eaf2f7;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Type scale */
  --text-caption: 12px;
  --text-body-sm: 14px;
  --text-body: 16px;
  --text-body-lg: 18px;
  --text-subheading: 21px;
  --text-heading-sm: 28px;
  --text-heading: 32px;
  --text-heading-lg: 42px;
  --text-display: 56px;

  /* Spacing */
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-20: 20px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-40: 40px;
  --spacing-56: 56px;
  --spacing-72: 72px;
  --spacing-112: 112px;
  --spacing-128: 128px;

  /* Layout */
  --page-max-width: 1200px;
  --section-gap: 72px;
  --card-padding: 32px;
  --element-gap: 12px;

  /* Border radius */
  --radius-default: 4px;
  --radius-cards: 16px;
  --radius-buttons: 32px;
  --radius-inputs: 32px;
  --radius-nav: 40px;
  --radius-tags: 40px;

  /* Shadows — soft, ocean-air */
  --st-shadow-sm: 0 2px 8px rgba(0, 90, 150, 0.06);
  --st-shadow: 0 4px 20px rgba(0, 90, 150, 0.08);
  --st-shadow-lg: 0 12px 40px rgba(0, 90, 150, 0.12);

  /* Legacy */
  --st-section-padding: 4.5rem 0;
  --st-nav-height: 72px;
}

/* --------------------------------------------------------------------------
   Reset and base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-canvas);
  line-height: 1.6;
  font-size: var(--text-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.25rem, 5vw, var(--text-display)); line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 4vw, var(--text-heading-lg)); line-height: 1.15; }
h3 { font-size: clamp(1.4rem, 3vw, var(--text-heading-sm)); line-height: 1.25; }
h4 { font-size: var(--text-subheading); font-weight: 600; }
h5 { font-size: var(--text-body-lg); font-weight: 600; }

p { margin-bottom: 1rem; }

a {
  color: var(--color-ocean);
  transition: color 0.2s ease;
  text-decoration: none;
}
a:hover { color: var(--color-ocean-dark); }

::selection { background: var(--color-ocean); color: var(--color-white); }

/* --------------------------------------------------------------------------
   Layout containers
   -------------------------------------------------------------------------- */
.container, .container-fluid { max-width: var(--page-max-width); }

.st-section {
  padding: var(--section-gap) 0;
  background: var(--color-canvas);
}

.st-section-alt {
  background: var(--color-white);
}

/* --------------------------------------------------------------------------
   Navigation — transparent over hero, frosted on scroll
   -------------------------------------------------------------------------- */
.st-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--st-nav-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid var(--color-border-soft);
}

.st-navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 90, 150, 0.08);
}

.st-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.st-navbar-brand {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}
.st-navbar-brand:hover { transform: scale(1.03); }
.st-navbar-brand img {
  height: 44px;
  transition: opacity 0.2s ease;
}
.st-navbar-brand:hover img { opacity: 0.85; }
.st-navbar-brand-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--st-navy, #0a2540);
  margin-left: 0.55rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.st-navbar-nav {
  display: flex;
  gap: var(--spacing-4);
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.st-navbar-nav .nav-link {
  color: var(--color-text);
  font-size: var(--text-body-sm);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-nav);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.st-navbar-nav .nav-link:hover {
  background: var(--color-ocean-light);
  color: var(--color-ocean);
}

.st-navbar-nav .nav-link.active {
  color: var(--color-ocean);
  background: var(--color-ocean-light);
}

.st-navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-ocean);
}

/* Dropdown */
.st-nav-dropdown .dropdown-toggle::after {
  border: none;
  content: '\276F';
  font-size: 10px;
  margin-left: 6px;
  transform: rotate(90deg);
  transition: transform 0.25s ease;
}
.st-nav-dropdown.show .dropdown-toggle::after {
  transform: rotate(270deg);
}
.st-dropdown-menu {
  background: var(--color-white);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-cards);
  box-shadow: var(--st-shadow-lg);
  padding: var(--spacing-8);
  margin-top: var(--spacing-8);
  border: none;
  animation: st-dropdown-in 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes st-dropdown-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.st-dropdown-menu .dropdown-item {
  border-radius: var(--radius-default);
  padding: 10px 16px;
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-text);
  transition: all 0.2s ease;
}
.st-dropdown-menu .dropdown-item:hover {
  background: var(--color-ocean-light);
  color: var(--color-ocean);
}

.st-navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-16);
}

.st-nav-cta {
  white-space: nowrap;
  animation: st-pulse-soft 3s ease-in-out infinite;
}
@keyframes st-pulse-soft {
  0%, 100% { box-shadow: 0 4px 14px rgba(0, 119, 200, 0.25); }
  50% { box-shadow: 0 4px 20px rgba(0, 119, 200, 0.4); }
}

.st-lang-switcher {
  display: flex;
  align-items: center;
  background: var(--color-ocean-light);
  border-radius: var(--radius-pill, 999px);
  padding: 3px;
  gap: 2px;
}
.st-lang-switcher a {
  color: var(--color-text-muted);
  font-size: var(--text-body-sm);
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-pill, 999px);
  text-decoration: none;
  transition: all 0.25s ease;
}
.st-lang-switcher a:hover {
  color: var(--color-ocean);
}
.st-lang-switcher a.active {
  background: var(--color-white);
  color: var(--color-ocean);
  box-shadow: 0 1px 4px rgba(0, 90, 150, 0.12);
}
.st-lang-switch a {
  color: var(--color-text-muted);
  font-size: var(--text-body-sm);
  padding: 4px 12px;
  border-radius: var(--radius-tags);
  font-weight: 500;
  transition: all 0.25s ease;
}
.st-lang-switch a.active {
  color: var(--color-ocean);
  background: var(--color-ocean-light);
}

/* --------------------------------------------------------------------------
   Buttons — pill-shaped, soft shadows, micro-interactions
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-body);
  border-radius: var(--radius-buttons);
  padding: 12px 28px;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

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

.btn-primary,
.btn-primary:focus {
  background: var(--color-ocean);
  color: var(--color-white);
  border: none;
  box-shadow: 0 4px 14px rgba(0, 119, 200, 0.25);
}
.btn-primary:hover {
  background: var(--color-ocean-dark);
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 90, 150, 0.35);
  transform: translateY(-2px);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 90, 150, 0.3);
}

.btn-outline-light,
.btn-outline-primary {
  background: transparent;
  color: var(--color-ocean);
  border: 1.5px solid var(--color-ocean);
}
.btn-outline-light:hover,
.btn-outline-primary:hover {
  background: var(--color-ocean);
  color: var(--color-white);
  border-color: var(--color-ocean);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 200, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius-nav);
  transition: all 0.25s ease;
}
.btn-ghost:hover {
  background: var(--color-surface);
  color: var(--color-ocean);
}

.btn-lg { padding: 16px 36px; font-size: var(--text-body-lg); }
.btn-sm { padding: 8px 20px; font-size: var(--text-body-sm); }

/* WhatsApp button — ocean */
.btn-whatsapp {
  background: var(--color-ocean);
  color: var(--color-white);
  border-radius: var(--radius-buttons);
  padding: 12px 24px;
  box-shadow: 0 4px 14px rgba(0, 119, 200, 0.25);
}
.btn-whatsapp:hover {
  background: var(--color-ocean-dark);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Cards — white on canvas, soft shadow, 16px radius, hover lift
   -------------------------------------------------------------------------- */
.card,
.st-card {
  background: var(--color-card);
  border-radius: var(--radius-cards);
  border: 1px solid var(--color-border-soft);
  padding: var(--card-padding);
  box-shadow: var(--st-shadow-sm);
  transition: box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.25s ease;
}

.st-card-hover:hover,
.st-card:hover,
.st-pillar:hover,
.st-blog-card:hover,
.st-team-card:hover,
.st-gallery-item:hover {
  box-shadow: var(--st-shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-ocean);
}

/* --------------------------------------------------------------------------
   Scroll reveal animation
   -------------------------------------------------------------------------- */
/* 'backwards' (no 'both'): conserva el fade-in sin dejar un transform permanente
   que rompería position:fixed de modales/lightbox dentro de estas secciones. */
.st-section,
.st-card,
.st-pillar,
.st-blog-card,
.st-team-card,
.st-gallery-item,
.st-faq-item {
  animation: st-fade-in 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

@keyframes st-fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.st-hero-content > * {
  animation: st-hero-in 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}
.st-hero-tagline { animation-delay: 0.1s; }
.st-hero-title { animation-delay: 0.2s; }
.st-hero-subtitle { animation-delay: 0.3s; }
.st-hero-actions { animation-delay: 0.4s; }

@keyframes st-hero-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Hero — full-bleed, ocean gradient, light and airy
   -------------------------------------------------------------------------- */
.st-hero {
  min-height: calc(100vh - var(--st-nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, #e8f4fb 0%, #f7fbfd 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.st-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(0, 196, 230, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.st-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 var(--spacing-24);
}

.st-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, var(--text-display));
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: var(--spacing-24);
}

.st-hero-subtitle {
  font-size: var(--text-body-lg);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-40);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.st-hero-tagline {
  font-size: var(--text-body-sm);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-ocean);
  margin-bottom: var(--spacing-16);
  font-weight: 600;
}

.st-hero-actions {
  display: flex;
  gap: var(--spacing-16);
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Sections — eyebrow, heading, lead
   -------------------------------------------------------------------------- */
.st-section-eyebrow {
  display: inline-block;
  font-size: var(--text-caption);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-ocean);
  font-weight: 600;
  margin-bottom: var(--spacing-12);
}

.st-section h2 {
  margin-bottom: var(--spacing-20);
}

.st-section-lead {
  font-size: var(--text-body-lg);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 640px;
}

/* --------------------------------------------------------------------------
   Pillars / feature cards
   -------------------------------------------------------------------------- */
.st-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-24);
  margin-top: var(--spacing-56);
}

.st-pillar {
  background: var(--color-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-cards);
  padding: var(--card-padding);
  box-shadow: var(--st-shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.st-pillar:hover {
  box-shadow: var(--st-shadow);
  transform: translateY(-2px);
}

.st-pillar h3 {
  font-size: var(--text-heading-sm);
  font-weight: 600;
  margin-bottom: var(--spacing-12);
  color: var(--color-text);
}

.st-pillar p {
  color: var(--color-text-muted);
  font-size: var(--text-body);
  line-height: 1.6;
}

.st-pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-ocean-light), var(--color-turquoise-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-20);
  color: var(--color-ocean);
}

/* --------------------------------------------------------------------------
   Why Second Tide — list
   -------------------------------------------------------------------------- */
.st-why-list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-32) 0 0;
}
.st-why-list li {
  padding: var(--spacing-16) 0;
  border-bottom: 1px solid var(--color-border-soft);
  color: var(--color-text);
  font-size: var(--text-body-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-16);
}
.st-why-list li::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-turquoise);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   CTA section
   -------------------------------------------------------------------------- */
.st-cta {
  text-align: center;
  padding: var(--spacing-112) 0;
  background: linear-gradient(180deg, #f7fbfd 0%, #e8f4fb 100%);
}
.st-cta h2 {
  font-size: clamp(1.75rem, 4vw, var(--text-heading-lg));
  font-weight: 600;
  margin-bottom: var(--spacing-20);
}
.st-cta p {
  font-size: var(--text-body-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-40);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.st-footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  border-top: none;
  padding: var(--spacing-72) 0 var(--spacing-40);
}
.st-footer h4,
.st-footer h5 {
  color: var(--color-white);
  font-size: var(--text-body-sm);
  font-weight: 600;
  margin-bottom: var(--spacing-20);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.st-footer a {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-body-sm);
  transition: color 0.2s ease;
}
.st-footer a:hover { color: var(--color-turquoise); }
.st-footer-brand img,
.st-footer-logo {
  display: flex;
  align-items: center;
}
.st-footer-logo img {
  height: 44px;
  margin-bottom: var(--spacing-16);
}
.st-footer-logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-left: 0.55rem;
  margin-bottom: var(--spacing-16);
  white-space: nowrap;
}
.st-footer p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-body-sm);
}
.st-footer-tagline {
  font-style: italic;
  color: rgba(255, 255, 255, 0.5) !important;
  margin-bottom: var(--spacing-24);
  font-size: var(--text-body-sm);
}

/* Footer contact section */
.st-footer-contact {
  padding-bottom: var(--spacing-56);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: var(--spacing-40);
}
.st-footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-24);
}
.st-footer-contact-list li {
  display: flex;
  align-items: center;
  gap: var(--spacing-12);
  padding: var(--spacing-8) 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-body-sm);
}
.st-footer-contact-list li svg {
  color: var(--color-turquoise);
  flex-shrink: 0;
}
.st-footer-contact-list li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-body-sm);
}
.st-footer-contact-list li a:hover { color: var(--color-turquoise); }

/* Footer social */
.st-footer-social {
  display: flex;
  gap: var(--spacing-8);
}

/* Footer map */
.st-footer-map {
  border-radius: var(--radius-cards);
  overflow: hidden;
  height: 100%;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.st-footer-map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  filter: grayscale(0.3) brightness(0.9);
  transition: filter 0.3s ease;
}
.st-footer-map:hover iframe { filter: grayscale(0) brightness(1); }
.st-footer-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.3);
}
.st-footer-map-placeholder svg { margin-bottom: var(--spacing-12); }

/* Footer links section */
.st-footer-links {
  padding-bottom: var(--spacing-32);
}
.st-footer ul.list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}
.st-footer ul.list-unstyled li {
  padding: var(--spacing-4) 0;
}
.st-footer ul.list-unstyled li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-body-sm);
}
.st-footer ul.list-unstyled li a:hover {
  color: var(--color-turquoise);
}

.st-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--spacing-24);
  margin-top: var(--spacing-16);
  font-size: var(--text-caption);
  color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   Forms — pill inputs, soft surface
   -------------------------------------------------------------------------- */
.form-control,
.form-select {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-inputs);
  color: var(--color-text);
  font-size: var(--text-body);
  padding: 12px 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus,
.form-select:focus {
  background: var(--color-white);
  border-color: var(--color-ocean);
  color: var(--color-text);
  box-shadow: 0 0 0 4px rgba(0, 119, 200, 0.1);
}
.form-control::placeholder { color: var(--color-text-light); }
.form-label {
  color: var(--color-text);
  font-size: var(--text-body-sm);
  font-weight: 500;
  margin-bottom: var(--spacing-8);
}
.form-check-label { color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */
.table { color: var(--color-text); }
.table thead th {
  border-bottom: 2px solid var(--color-border);
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: var(--text-body-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.table td {
  border-color: var(--color-border-soft);
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.st-gallery-grid,
.st-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-24);
}
.st-gallery-item {
  border-radius: var(--radius-cards);
  overflow: hidden;
  background: var(--color-card);
  cursor: pointer;
  box-shadow: var(--st-shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  border: 1px solid var(--color-border-soft);
}
.st-gallery-item:hover {
  box-shadow: var(--st-shadow);
  transform: translateY(-2px);
}
.st-gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.st-gallery-caption {
  padding: var(--spacing-16);
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
}
.st-gallery-caption strong {
  color: var(--color-text);
  display: block;
  margin-bottom: var(--spacing-4);
  font-weight: 600;
}

/* Lightbox de galería — botón de cierre flotante */
.st-lightbox-content {
  background: transparent;
  border: none;
  position: relative;
}
.st-lightbox-content img {
  cursor: pointer;
}
.st-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(10, 37, 64, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(6px);
}
.st-lightbox-close:hover,
.st-lightbox-close:focus-visible {
  background: var(--st-ocean, #0077C8);
  transform: scale(1.08);
  outline: none;
}

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.st-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-24);
}
.st-team-card {
  background: var(--color-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-cards);
  padding: var(--card-padding);
  text-align: center;
  box-shadow: var(--st-shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.st-team-card:hover {
  box-shadow: var(--st-shadow);
  transform: translateY(-2px);
}
.st-team-card img,
.st-team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--spacing-20);
  display: block;
  border: 3px solid var(--color-ocean-light);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--color-ocean-light);
}
.st-team-card h4 {
  font-weight: 600;
  margin-bottom: var(--spacing-4);
  color: var(--color-text);
}
.st-team-card .st-team-role {
  color: var(--color-ocean);
  font-size: var(--text-body-sm);
  font-weight: 500;
  margin-bottom: var(--spacing-12);
}
.st-team-card .st-team-bio {
  color: var(--color-text-muted);
  font-size: var(--text-body-sm);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.st-faq-item {
  background: var(--color-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-cards);
  padding: var(--spacing-24);
  margin-bottom: var(--spacing-16);
  box-shadow: var(--st-shadow-sm);
  transition: box-shadow 0.2s ease;
}
.st-faq-item:hover {
  box-shadow: var(--st-shadow);
}
.st-faq-item h3 {
  font-size: var(--text-body-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-12);
  cursor: pointer;
  color: var(--color-text);
}
.st-faq-item p {
  color: var(--color-text-muted);
  font-size: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.st-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-24);
}
.st-blog-card {
  background: var(--color-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-cards);
  padding: var(--card-padding);
  box-shadow: var(--st-shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.st-blog-card:hover {
  box-shadow: var(--st-shadow);
  transform: translateY(-2px);
}
.st-blog-card h3 {
  font-size: var(--text-heading-sm);
  font-weight: 600;
  margin-bottom: var(--spacing-12);
  color: var(--color-text);
}
.st-blog-card .st-blog-meta {
  font-size: var(--text-caption);
  color: var(--color-text-light);
  margin-bottom: var(--spacing-12);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.st-blog-card p {
  color: var(--color-text-muted);
  font-size: var(--text-body-sm);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.st-contact-info {
  list-style: none;
  padding: 0;
}
.st-contact-info li {
  padding: var(--spacing-12) 0;
  border-bottom: 1px solid var(--color-border-soft);
  color: var(--color-text-muted);
  font-size: var(--text-body);
}
.st-contact-info li strong {
  color: var(--color-text);
  font-weight: 600;
  display: inline-block;
  min-width: 100px;
}

/* --------------------------------------------------------------------------
   Badges
   -------------------------------------------------------------------------- */
.badge {
  background: var(--color-ocean-light);
  color: var(--color-ocean);
  border-radius: var(--radius-tags);
  font-size: var(--text-caption);
  font-weight: 600;
  padding: 4px 12px;
}
.badge-primary { background: var(--color-ocean); color: var(--color-white); }

/* --------------------------------------------------------------------------
   Alerts
   -------------------------------------------------------------------------- */
.alert {
  border-radius: var(--radius-cards);
  border: 1px solid var(--color-border);
  padding: var(--spacing-16) var(--spacing-24);
}
.alert-success { background: var(--color-ocean-light); border-color: var(--color-ocean); color: var(--color-ocean-dark); }
.alert-danger { background: #fef0f2; border-color: #e53e5e; color: #c92a4a; }
.alert-warning { background: var(--color-gold-soft); border-color: var(--color-gold); color: #8a6420; }
.alert-info { background: var(--color-turquoise-light); border-color: var(--color-turquoise); color: #006a7a; }

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */
.modal-content {
  background: var(--color-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-cards);
  color: var(--color-text);
  box-shadow: var(--st-shadow-lg);
}
.modal-header, .modal-footer {
  border-color: var(--color-border-soft);
}

/* --------------------------------------------------------------------------
   WhatsApp floating button
   -------------------------------------------------------------------------- */
.st-whatsapp-float {
  position: fixed;
  bottom: var(--spacing-24);
  right: var(--spacing-24);
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 119, 200, 0.35);
  transition: all 0.25s ease;
}
.st-whatsapp-float:hover {
  background: var(--color-ocean-dark);
  color: var(--color-white);
  transform: scale(1.05);
}
.st-whatsapp-float-label {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-card);
  color: var(--color-text);
  padding: var(--spacing-8) var(--spacing-16);
  border-radius: var(--radius-buttons);
  font-size: var(--text-body-sm);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  box-shadow: var(--st-shadow);
}
.st-whatsapp-float:hover .st-whatsapp-float-label { opacity: 1; }

/* --------------------------------------------------------------------------
   Cookie banner — elegant bottom bar
   -------------------------------------------------------------------------- */
.st-cookie-banner {
  position: fixed;
  bottom: var(--spacing-24);
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: calc(100% - 48px);
  max-width: 560px;
  background: var(--color-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-cards);
  padding: var(--spacing-24) var(--spacing-32);
  z-index: 998;
  box-shadow: var(--st-shadow-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.st-cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.st-cookie-text {
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}
.st-cookie-link {
  color: var(--color-ocean);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.st-cookie-link:hover { color: var(--color-ocean-dark); }
.st-cookie-actions {
  display: flex;
  gap: var(--spacing-12);
  justify-content: flex-end;
}
.st-cookie-btn-reject {
  background: transparent;
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-buttons);
  padding: 8px 20px;
  font-size: var(--text-body-sm);
  font-weight: 500;
  transition: all 0.25s ease;
}
.st-cookie-btn-reject:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}
.st-cookie-btn-accept {
  background: var(--color-ocean);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-buttons);
  padding: 8px 24px;
  font-size: var(--text-body-sm);
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0, 119, 200, 0.25);
  transition: all 0.25s ease;
}
.st-cookie-btn-accept:hover {
  background: var(--color-ocean-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 90, 150, 0.35);
}

/* --------------------------------------------------------------------------
   Hero background (full-bleed image with soft overlay)
   -------------------------------------------------------------------------- */
.st-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.38;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   Hero wave (decorative bottom) — blends into canvas
   -------------------------------------------------------------------------- */
.st-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 1;
  line-height: 0;
}
.st-hero-wave svg { width: 100%; height: 80px; display: block; }
.st-hero-wave path { fill: #f7fbfd; }

/* --------------------------------------------------------------------------
   Gold button — mapped to ocean (primary accent)
   -------------------------------------------------------------------------- */
.btn-gold {
  background: var(--color-ocean);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-buttons);
  padding: 12px 28px;
  font-weight: 500;
  font-size: var(--text-body);
  box-shadow: 0 4px 14px rgba(0, 119, 200, 0.25);
  transition: all 0.25s ease;
}
.btn-gold:hover {
  background: var(--color-ocean-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 90, 150, 0.35);
}

/* --------------------------------------------------------------------------
   Image frame — soft card around images
   -------------------------------------------------------------------------- */
.st-image-frame {
  background: var(--color-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-cards);
  padding: var(--spacing-16);
  overflow: hidden;
  box-shadow: var(--st-shadow-sm);
}
.st-image-frame img {
  border-radius: var(--radius-default);
  width: 100%;
  display: block;
}

/* --------------------------------------------------------------------------
   Imagen destacada de página (featured image)
   -------------------------------------------------------------------------- */
.st-page-featured {
  padding: 0 0 var(--spacing-48);
}
.st-featured-frame {
  border-radius: var(--radius-cards);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10, 37, 64, 0.14);
  max-height: 480px;
}
.st-featured-frame img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.st-featured-frame:hover img {
  transform: scale(1.02);
}

/* --------------------------------------------------------------------------
   Card body / icon
   -------------------------------------------------------------------------- */
.st-card-body { padding: 0; }
.st-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-ocean-light), var(--color-turquoise-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-20);
  color: var(--color-ocean);
}

/* --------------------------------------------------------------------------
   CTA band — full-width ocean gradient
   -------------------------------------------------------------------------- */
.st-cta-band {
  padding: var(--spacing-72) 0;
  background: linear-gradient(180deg, #e8f4fb 0%, #d4ecf7 100%);
  text-align: center;
}
.st-cta-band h2 {
  font-size: clamp(1.75rem, 4vw, var(--text-heading-lg));
  font-weight: 600;
  margin-bottom: var(--spacing-16);
  color: var(--color-text);
}
.st-cta-band p {
  font-size: var(--text-body-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-32);
}

/* --------------------------------------------------------------------------
   Language switcher
   -------------------------------------------------------------------------- */
.st-lang-switcher {
  display: flex;
  gap: var(--spacing-4);
  align-items: center;
}
.st-lang-switcher a {
  color: var(--color-text-muted);
  font-size: var(--text-body-sm);
  padding: 4px 12px;
  border-radius: var(--radius-tags);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}
.st-lang-switcher a.active {
  color: var(--color-ocean);
  background: var(--color-ocean-light);
}
.st-lang-switcher a:hover { color: var(--color-ocean); }

/* --------------------------------------------------------------------------
   Skip link (accessibility)
   -------------------------------------------------------------------------- */
.st-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--color-ocean);
  color: var(--color-white);
  padding: var(--spacing-8) var(--spacing-16);
  border-radius: var(--radius-default);
}
.st-skip-link:focus {
  left: var(--spacing-16);
  top: var(--spacing-16);
}

/* --------------------------------------------------------------------------
   Navbar toggler (mobile)
   -------------------------------------------------------------------------- */
.navbar-toggler {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-default);
  padding: var(--spacing-8);
  transition: all 0.25s ease;
}
.navbar-toggler:hover {
  border-color: var(--color-ocean);
  background: var(--color-ocean-light);
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(0, 119, 200, 0.15);
}
.navbar-toggler-icon {
  filter: none;
}

/* Menú móvil expandido — panel blanco elegante */
@media (max-width: 991.98px) {
  .st-navbar {
    height: auto;
    min-height: var(--st-nav-height);
    padding: var(--spacing-8) 0;
  }
  .st-navbar .container {
    flex-wrap: wrap;
  }
  .st-navbar .navbar-collapse {
    flex-basis: 100%;
    background: var(--color-white);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-cards);
    box-shadow: var(--st-shadow-lg);
    padding: var(--spacing-12);
    margin-top: var(--spacing-12);
  }
  .st-navbar .st-navbar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
  }
  .st-navbar .st-navbar-nav .nav-link {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius-default);
  }
  .st-navbar .st-navbar-nav .nav-link.active::after {
    display: none;
  }
  .st-navbar .st-navbar-nav .nav-link.active {
    background: var(--color-ocean-light);
  }
  .st-navbar .st-dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    background: var(--color-ocean-light);
    margin: 4px 0 4px 12px;
    padding: 4px;
    border-radius: var(--radius-default);
  }
  .st-navbar .st-navbar-actions {
    width: 100%;
    padding-top: var(--spacing-12);
    margin-top: var(--spacing-8);
    border-top: 1px solid var(--color-border-soft);
    justify-content: space-between;
  }
  .st-navbar .st-nav-cta {
    flex: 1;
    text-align: center;
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   Page hero (interior pages)
   -------------------------------------------------------------------------- */
.st-page-hero {
  padding: calc(var(--st-nav-height) + var(--spacing-72)) 0 var(--spacing-72);
  background: linear-gradient(180deg, #e8f4fb 0%, #f7fbfd 100%);
  text-align: center;
  position: relative;
}
.st-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(0, 196, 230, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.st-page-hero h1 {
  font-size: clamp(2rem, 5vw, var(--text-display));
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-text);
  position: relative;
  z-index: 1;
}
.st-page-hero p {
  font-size: var(--text-body-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: var(--spacing-16) auto 0;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Blog content (single post)
   -------------------------------------------------------------------------- */
.st-blog-content {
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-text);
  font-size: var(--text-body);
  line-height: 1.8;
}
.st-blog-content h2,
.st-blog-content h3 {
  margin-top: var(--spacing-40);
  margin-bottom: var(--spacing-16);
  font-weight: 600;
  color: var(--color-text);
}
.st-blog-content p { color: var(--color-text-muted); margin-bottom: var(--spacing-16); }
.st-blog-content img {
  border-radius: var(--radius-cards);
  margin: var(--spacing-24) 0;
  width: 100%;
}
.st-blog-content blockquote {
  border-left: 3px solid var(--color-ocean);
  padding-left: var(--spacing-24);
  color: var(--color-text-muted);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Legal content (privacy, terms)
   -------------------------------------------------------------------------- */
.st-legal-content {
  max-width: 760px;
  margin: 0 auto;
  color: var(--color-text);
}
.st-legal-content h2,
.st-legal-content h3 {
  margin-top: var(--spacing-32);
  margin-bottom: var(--spacing-12);
  font-weight: 600;
  color: var(--color-text);
}
.st-legal-content p {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-16);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Forms (contact, request-info)
   -------------------------------------------------------------------------- */
.st-form {
  background: var(--color-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-cards);
  padding: var(--card-padding);
  box-shadow: var(--st-shadow-sm);
}
.st-form-error {
  color: #c92a4a;
  font-size: var(--text-body-sm);
  margin-top: var(--spacing-4);
}
.st-form-success {
  color: var(--color-ocean);
  font-size: var(--text-body-sm);
  margin-top: var(--spacing-4);
}

/* --------------------------------------------------------------------------
   Social links (footer)
   -------------------------------------------------------------------------- */
.st-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-tags);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  margin-right: var(--spacing-8);
  transition: all 0.2s ease;
}
.st-social-link:hover {
  background: var(--color-turquoise);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   FAQ toggle button
   -------------------------------------------------------------------------- */
.st-faq-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  font-size: var(--text-body-lg);
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: var(--spacing-12);
  cursor: pointer;
}
.st-faq-toggle svg {
  transition: transform 0.25s ease;
}
.st-faq-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.st-faq-item .collapse:not(.show) { display: none; }
.st-faq-item .collapse.show { display: block; }

/* --------------------------------------------------------------------------
   Dynamic content from DB
   -------------------------------------------------------------------------- */
.st-dynamic-content {
  color: var(--color-text-muted);
  font-size: var(--text-body-lg);
  line-height: 1.8;
}
.st-dynamic-content h2,
.st-dynamic-content h3 {
  color: var(--color-text);
  margin-top: var(--spacing-32);
  margin-bottom: var(--spacing-12);
}
.st-dynamic-content p {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-16);
  line-height: 1.7;
}
.st-dynamic-content ul,
.st-dynamic-content ol {
  color: var(--color-text-muted);
  padding-left: var(--spacing-24);
  margin-bottom: var(--spacing-16);
}
.st-dynamic-content blockquote {
  border-left: 3px solid var(--color-ocean);
  padding-left: var(--spacing-24);
  color: var(--color-text-muted);
  font-style: italic;
  margin: var(--spacing-24) 0;
}
.st-dynamic-content img {
  border-radius: var(--radius-cards);
  margin: var(--spacing-24) 0;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.text-muted { color: var(--color-text-muted) !important; }
.text-primary { color: var(--color-ocean) !important; }
.text-white { color: var(--color-white) !important; }
.text-center { text-align: center; }
.bg-light { background: var(--color-surface) !important; }
.bg-dark { background: var(--color-text) !important; }
.bg-primary { background: var(--color-ocean) !important; }
.border { border: 1px solid var(--color-border) !important; }
.border-top { border-top: 1px solid var(--color-border-soft) !important; }
.border-bottom { border-bottom: 1px solid var(--color-border-soft) !important; }
.rounded { border-radius: var(--radius-cards) !important; }
.rounded-pill { border-radius: var(--radius-buttons) !important; }
.shadow { box-shadow: var(--st-shadow) !important; }
.shadow-sm { box-shadow: var(--st-shadow-sm) !important; }
.shadow-lg { box-shadow: var(--st-shadow-lg) !important; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .st-hero-title { font-size: clamp(2rem, 8vw, 2.5rem); }
  .st-pillars { grid-template-columns: 1fr; }
  .st-gallery-grid, .st-gallery { grid-template-columns: 1fr; }
  .st-team-grid { grid-template-columns: 1fr; }
  .st-blog-grid { grid-template-columns: 1fr; }
  .st-section { padding: 3rem 0; }
  .st-cta, .st-cta-band { padding: 4rem 0; }
}

/* Testimonios de huéspedes */
.st-review-card { background: #fff; border: 1px solid #eae4da; border-radius: 14px; padding: 1.75rem; height: 100%; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.st-review-card:hover { box-shadow: 0 12px 32px rgba(10,37,64,.10); transform: translateY(-3px); }
.st-review-stars { color: #c9a96a; font-size: 1.05rem; letter-spacing: .12em; margin-bottom: .85rem; }
.st-review-text { color: #4a5568; font-size: .98rem; line-height: 1.7; flex: 1; margin-bottom: 1.25rem; font-style: italic; }
.st-review-author { display: flex; align-items: center; gap: .75rem; border-top: 1px solid #f0ece4; padding-top: 1rem; }
.st-review-author strong { color: #0a2540; font-size: .95rem; }
.st-review-avatar { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: linear-gradient(135deg, #0a2540, #1a5f7a); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.st-review-source { margin-left: auto; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b0a893; border: 1px solid #eae4da; border-radius: 20px; padding: .3rem .7rem; }

/* Logo en el hero del home */
.st-hero-logo { display: block; width: min(300px, 70vw); height: auto; margin: 0 auto var(--spacing-24, 1.5rem); filter: drop-shadow(0 2px 12px rgba(0,0,0,.45)); }
