:root {
  --brand-primary: #0e7490;
  --brand-secondary: #155e75;
  --brand-accent: #f59e0b;
  --brand-dark: #0b3a4a;
  --surface: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #475569;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-main);
  background-color: var(--surface);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.navbar-brand img {
  max-height: 58px;
  width: auto;
  max-width: 100%;
}

.top-contact {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-section {
  position: relative;
  min-height: 68vh;
  background: linear-gradient(rgba(2, 6, 23, 0.58), rgba(2, 6, 23, 0.58)),
    url("../../images/new/horizontal/DSC_5232.JPG_converted.avif") center / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.section-title {
  font-weight: 700;
  color: var(--brand-secondary);
  letter-spacing: -0.015em;
}

.section-subtitle {
  color: var(--text-muted);
}

.intro-narrow {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.feature-card,
.info-card {
  border: 0;
  border-radius: 0.9rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  height: 100%;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.feature-card:hover,
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.feature-card img {
  height: 220px;
  object-fit: cover;
}

.badge-soft {
  background-color: #ffd700;
  color: #3b2f00;
  border: 1px solid #ffcc00;
  position: relative;
  overflow: hidden;
  animation: badgePulse 2.4s ease-in-out infinite;
}

.badge-soft::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 45%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: badgeShine 2.8s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(245, 158, 11, 0);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 0 0.9rem rgba(255, 215, 0, 0.6);
    transform: translateY(-1px);
  }
}

@keyframes badgeShine {
  0% {
    left: -120%;
  }
  55%,
  100% {
    left: 140%;
  }
}

.cta-strip {
  background: linear-gradient(90deg, var(--brand-secondary), var(--brand-primary));
  color: #fff;
}

.gallery-image {
  border-radius: 0.85rem;
  width: 100%;
  height: 240px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.15);
}

.testimonial {
  border-left: 4px solid var(--brand-accent);
  background-color: #fff;
}

.corp-trust-strip {
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.corp-point-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.corp-point-card h3 {
  color: var(--brand-secondary);
}

.corp-testimonial p {
  font-size: 0.98rem;
}

.corp-group-panel {
  background: linear-gradient(120deg, #ffffff, #f8fafc);
  border: 1px solid #dbe7f0;
  border-radius: 1rem;
  padding: 1.2rem 1.35rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.footer-meta {
  color: #94a3b8;
  font-size: 0.82rem;
}

.seo-content-section p {
  color: #334155;
}

.seo-story-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.seo-story-image {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.seo-story-content {
  padding: 1.45rem;
}

.seo-split-panel {
  background: linear-gradient(120deg, #f8fafc, #ffffff);
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.3rem;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
}

.seo-tall-image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

.seo-note-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.35rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.seo-banner-card {
  background: linear-gradient(120deg, #ffffff, #f8fafc);
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.45rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.seo-grid-highlight {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.seo-highlight-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.35rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.seo-highlight-image-wrap {
  margin: 0;
}

.seo-highlight-image {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.page-hero {
  background: linear-gradient(90deg, rgba(14, 116, 144, 0.93), rgba(21, 94, 117, 0.9));
  color: #fff;
  padding: 5rem 0 3.5rem;
}

.page-hero h1 {
  font-weight: 700;
}

/* Inner pages (accommodation, facilities, tours, tariff) */
.inner-page-hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  color: #fff;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.inner-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(245, 158, 11, 0.18), transparent 55%);
  pointer-events: none;
}

.inner-page-hero .container {
  position: relative;
  z-index: 1;
}

.inner-page-hero .lead {
  color: rgba(255, 255, 255, 0.92);
  max-width: 42rem;
}

.inner-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.inner-hero-actions .btn-warning {
  font-weight: 600;
  border: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.inner-hero-actions .btn-outline-light {
  border-width: 2px;
  font-weight: 600;
}

.inner-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.inner-hero-chips .contact-chip {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(4px);
}

.inner-page-hero--accommodation {
  background-image:
    linear-gradient(115deg, rgba(11, 58, 74, 0.92) 0%, rgba(14, 116, 144, 0.85) 50%, rgba(21, 94, 117, 0.82) 100%),
    url("../../images/new/horizontal/DSC_5244.JPG_converted.avif");
}

.inner-page-hero--facilities {
  background-image:
    linear-gradient(115deg, rgba(11, 58, 74, 0.92) 0%, rgba(14, 116, 144, 0.85) 50%, rgba(21, 94, 117, 0.82) 100%),
    url("../../images/new/horizontal/DSC_5258.JPG_converted.avif");
}

.inner-page-hero--tours {
  background-image:
    linear-gradient(115deg, rgba(11, 58, 74, 0.92) 0%, rgba(14, 116, 144, 0.85) 50%, rgba(21, 94, 117, 0.82) 100%),
    url("../../images/new/horizontal/DSC_5291.JPG_converted.avif");
}

.inner-page-hero--tariff {
  background-image:
    linear-gradient(115deg, rgba(11, 58, 74, 0.92) 0%, rgba(14, 116, 144, 0.85) 50%, rgba(21, 94, 117, 0.82) 100%),
    url("../../images/new/horizontal/RECEPTION.jpg_converted.avif");
}

.inner-page-hero--gallery {
  background-image:
    linear-gradient(115deg, rgba(11, 58, 74, 0.92) 0%, rgba(14, 116, 144, 0.85) 50%, rgba(21, 94, 117, 0.82) 100%),
    url("../../images/new/horizontal/DSC_5335.JPG_converted.avif");
}

.content-panel {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.09);
  overflow: hidden;
  background: #fff;
  height: 100%;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.content-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.content-panel-head {
  background: linear-gradient(90deg, var(--brand-secondary), var(--brand-primary));
  color: #fff;
  padding: 1.15rem 1.4rem;
}

.content-panel-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.content-panel-head p {
  margin: 0.4rem 0 0;
  opacity: 0.95;
  font-size: 0.9rem;
}

.content-panel-body {
  padding: 1.4rem 1.5rem;
}

.content-panel-body .list-icon:last-child {
  margin-bottom: 0;
}

.gallery-section-title {
  font-weight: 700;
  color: var(--brand-secondary);
  letter-spacing: -0.02em;
}

.accent-cta-card {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.09);
  background: #fff;
  border: 1px solid #e2e8f0;
  height: 100%;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.accent-cta-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.accent-cta-card .accent-cta-head {
  background: linear-gradient(135deg, #0f766e 0%, var(--brand-primary) 100%);
  color: #fff;
  padding: 1.35rem 1.5rem;
}

.accent-cta-card .accent-cta-head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.accent-cta-card .accent-cta-head p {
  margin: 0.5rem 0 0;
  opacity: 0.95;
  font-size: 0.92rem;
}

.accent-cta-card .accent-cta-body {
  padding: 1.5rem;
}

.accent-cta-card .btn-primary {
  font-weight: 600;
  border-radius: 0.65rem;
  padding: 0.65rem 1rem;
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
}

.accent-cta-card .btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.accent-cta-card .btn-outline-secondary {
  border-radius: 0.65rem;
  font-weight: 600;
  border-color: #cbd5e1;
  color: var(--text-main);
}

.accent-cta-card .btn-outline-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: var(--brand-dark);
}

.tariff-table-card .tariff-note {
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tariff-table-wrap {
  padding: 0 1.5rem 1.25rem;
}

.tariff-table-wrap .table {
  margin-bottom: 0;
  vertical-align: middle;
}

.tariff-table-wrap thead th {
  background: #f1f5f9;
  color: var(--brand-secondary);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid #cbd5e1;
  padding: 0.85rem 1rem;
  white-space: nowrap;
}

.tariff-table-wrap tbody td {
  padding: 0.85rem 1rem;
  border-color: #e2e8f0;
}

.tariff-table-wrap tbody tr:nth-child(even) {
  background: #fafbfc;
}

.tariff-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  padding: 1rem 1.5rem;
  background: linear-gradient(90deg, rgba(14, 116, 144, 0.08), rgba(245, 158, 11, 0.08));
  border-top: 1px solid #e2e8f0;
  font-size: 0.95rem;
}

.tariff-meta-bar strong {
  color: var(--brand-secondary);
}

.tariff-aside-img {
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  width: 100%;
  object-fit: cover;
  min-height: 240px;
}

.mini-policy-card {
  border-radius: 0.85rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1rem 1.15rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.mini-policy-card h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-secondary);
  margin-bottom: 0.35rem;
}

.mini-policy-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.facility-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.facility-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
}

.feature-card .card-body .seo-kicker {
  margin-bottom: 0.5rem;
}

@media (max-width: 991px) {
  .inner-page-hero {
    padding: 3.25rem 0 3rem;
  }

  .seo-grid-highlight {
    grid-template-columns: 1fr;
  }

  .seo-story-image,
  .seo-highlight-image {
    min-height: 280px;
  }

  .seo-tall-image {
    min-height: 320px;
  }
}

/* Contact page */
.contact-page-hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  background:
    linear-gradient(115deg, rgba(11, 58, 74, 0.92) 0%, rgba(14, 116, 144, 0.88) 45%, rgba(21, 94, 117, 0.82) 100%),
    url("../../images/new/horizontal/DSC_5239.JPG_converted.avif") center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.contact-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(245, 158, 11, 0.18), transparent 55%);
  pointer-events: none;
}

.contact-page-hero .container {
  position: relative;
  z-index: 1;
}

.contact-page-hero .lead {
  color: rgba(255, 255, 255, 0.92);
  max-width: 36rem;
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.contact-hero-actions .btn-warning {
  font-weight: 600;
  border: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.contact-hero-actions .btn-outline-light {
  border-width: 2px;
  font-weight: 600;
}

.contact-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.contact-trust-row .contact-chip {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(4px);
}

.contact-layout .contact-form-panel {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  overflow: hidden;
  background: #fff;
  height: auto;
}

.contact-form-panel .contact-form-head {
  background: linear-gradient(90deg, var(--brand-secondary), var(--brand-primary));
  color: #fff;
  padding: 1.25rem 1.5rem;
}

.contact-form-panel .contact-form-head p {
  margin: 0;
  opacity: 0.95;
  font-size: 0.95rem;
}

.contact-form-panel .contact-form-body {
  padding: 1.5rem;
}

.contact-form-panel .form-label {
  font-weight: 600;
  color: #334155;
  font-size: 0.9rem;
}

.contact-form-panel .form-control {
  border-radius: 0.65rem;
  border-color: #cbd5e1;
  padding: 0.65rem 0.85rem;
}

.contact-form-panel .form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.2rem rgba(14, 116, 144, 0.2);
}

.contact-form-panel .btn-primary {
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: 0.65rem;
}

.contact-form-panel .btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.contact-method-tile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

a.contact-method-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
  border-color: rgba(14, 116, 144, 0.35);
  color: inherit;
}

.contact-method-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 116, 144, 0.12);
  color: var(--brand-secondary);
}

.contact-method-icon.whatsapp {
  background: rgba(22, 163, 74, 0.15);
  color: #15803d;
}

.contact-method-icon.email {
  background: rgba(245, 158, 11, 0.18);
  color: #b45309;
}

.contact-method-icon.reception {
  background: rgba(99, 102, 241, 0.12);
  color: #4338ca;
}

.contact-method-tile .contact-method-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-method-tile .contact-method-value {
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
}

.contact-method-tile small {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.contact-side-heading {
  font-weight: 700;
  color: var(--brand-secondary);
  letter-spacing: -0.02em;
}

.contact-map-panel {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  background: #fff;
}

.contact-map-panel .contact-map-head {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.contact-map-panel .contact-map-head h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--brand-secondary);
}

.contact-map-panel .contact-map-head p {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-map-panel iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.contact-address-card {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  padding: 1.25rem 1.35rem;
}

.contact-address-card .address-line {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.contact-address-card .contact-method-icon {
  width: 2.25rem;
  height: 2.25rem;
}

/* Booking WhatsApp modal */
.booking-modal .modal-content {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

.booking-modal .modal-header {
  background: linear-gradient(90deg, var(--brand-secondary), var(--brand-primary));
  color: #fff;
}

.booking-modal .modal-header .btn-close {
  filter: invert(1);
}

.booking-modal .modal-body {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  padding-bottom: 1.35rem;
}

.booking-modal .booking-helper {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.booking-modal .form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.3rem;
}

.booking-modal .form-control,
.booking-modal .form-select {
  border-radius: 0.65rem;
  border-color: #cbd5e1;
}

.booking-modal .form-control:focus,
.booking-modal .form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.2rem rgba(14, 116, 144, 0.18);
}

.booking-modal .btn-success {
  background: #15803d;
  border-color: #15803d;
  border-radius: 0.7rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
}

.booking-modal .btn-success:hover {
  background: #166534;
  border-color: #166534;
}

/* Gallery page */
.gallery-page-main {
  background:
    radial-gradient(circle at 12% 0%, rgba(14, 116, 144, 0.11), transparent 35%),
    radial-gradient(circle at 88% 16%, rgba(245, 158, 11, 0.1), transparent 34%);
}

.gallery-page-main .section-subtitle {
  max-width: 52rem;
}

.gallery-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.96));
  border: 1px solid #dbe6ef;
  border-radius: 1.2rem;
  padding: 1.1rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.gallery-section-head {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.gallery-kicker {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--brand-secondary);
}

.gallery-editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.95rem;
}

.gallery-ribbon {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.95rem;
}

.gallery-ribbon-tile {
  grid-column: span 3;
  min-height: 250px;
}

.gallery-ribbon-tile:nth-child(1) {
  grid-column: span 6;
  min-height: 360px;
}

.gallery-ribbon-tile:nth-child(2),
.gallery-ribbon-tile:nth-child(3) {
  min-height: 175px;
}

.gallery-ribbon-tile:nth-child(8),
.gallery-ribbon-tile:nth-child(15) {
  grid-column: span 6;
  min-height: 320px;
}

.gallery-portrait-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.9rem;
}

.gallery-tile {
  grid-column: span 3;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #0f172a;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
  isolation: isolate;
}

.gallery-editorial-grid .gallery-tile.is-wide {
  grid-column: span 6;
}

.gallery-editorial-grid .gallery-tile.is-featured {
  grid-column: span 5;
}

.gallery-editorial-grid .gallery-tile.is-tall {
  grid-column: span 3;
}

.gallery-editorial-grid .gallery-tile.is-tall img {
  min-height: 430px;
}

.gallery-portrait-grid .gallery-tile {
  grid-column: span 2;
}

.gallery-portrait-grid .gallery-tile img {
  min-height: 300px;
}

.gallery-tile-btn {
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
  position: relative;
}

.gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
  filter: saturate(1.02);
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.66) 5%, rgba(2, 6, 23, 0.08) 58%);
  opacity: 0.8;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.gallery-tile::before {
  content: "";
  position: absolute;
  inset: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0.75rem;
  opacity: 0;
  transform: scale(1.03);
  transition: transform 0.28s ease, opacity 0.28s ease;
  pointer-events: none;
  z-index: 1;
}

.gallery-tile-meta {
  position: absolute;
  left: 1rem;
  bottom: 0.95rem;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  color: #fff;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.34rem 0.7rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.gallery-tile:hover img,
.gallery-tile-btn:focus-visible img {
  transform: scale(1.06);
  filter: saturate(1.12);
}

.gallery-tile:hover::after,
.gallery-tile:focus-within::after {
  opacity: 0.35;
}

.gallery-tile:hover::before,
.gallery-tile:focus-within::before {
  opacity: 1;
  transform: scale(1);
}

.gallery-tile:hover .gallery-tile-meta,
.gallery-tile-btn:focus-visible .gallery-tile-meta {
  opacity: 1;
  transform: translateY(0);
}

.gallery-tile-btn:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: -2px;
}

.gallery-modal .modal-content {
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.gallery-modal .modal-header {
  padding-bottom: 0.3rem;
}

.gallery-modal-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.gallery-modal-controls #galleryModalCaption {
  flex: 1;
  text-align: center;
}

@media (max-width: 991px) {
  .gallery-panel {
    padding: 0.85rem;
  }

  .gallery-editorial-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .gallery-editorial-grid .gallery-tile,
  .gallery-editorial-grid .gallery-tile.is-wide,
  .gallery-editorial-grid .gallery-tile.is-featured,
  .gallery-editorial-grid .gallery-tile.is-tall {
    grid-column: span 3;
  }

  .gallery-editorial-grid .gallery-tile.is-tall img {
    min-height: 260px;
  }

  .gallery-portrait-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .gallery-portrait-grid .gallery-tile {
    grid-column: span 2;
  }

  .gallery-ribbon {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .gallery-ribbon-tile {
    grid-column: span 3;
    min-height: 240px;
  }

  .gallery-ribbon-tile:nth-child(1),
  .gallery-ribbon-tile:nth-child(8),
  .gallery-ribbon-tile:nth-child(15) {
    grid-column: span 6;
    min-height: 300px;
  }
}

@media (max-width: 576px) {
  .gallery-editorial-grid,
  .gallery-portrait-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-editorial-grid .gallery-tile,
  .gallery-editorial-grid .gallery-tile.is-wide,
  .gallery-editorial-grid .gallery-tile.is-featured,
  .gallery-editorial-grid .gallery-tile.is-tall,
  .gallery-portrait-grid .gallery-tile {
    grid-column: span 2;
  }

  .gallery-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-ribbon-tile,
  .gallery-ribbon-tile:nth-child(1),
  .gallery-ribbon-tile:nth-child(8),
  .gallery-ribbon-tile:nth-child(15) {
    grid-column: span 2;
    min-height: 230px;
  }
}

@media (max-width: 991px) {
  .contact-page-hero {
    padding: 3.25rem 0 3rem;
  }
}

.list-icon li {
  margin-bottom: 0.65rem;
}

.list-icon li::marker {
  color: var(--brand-primary);
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background-color: #e2e8f0;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer {
  background-color: #0f172a;
  color: #cbd5e1;
}

.site-footer a {
  color: #e2e8f0;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.trust-badge {
  background-color: #fff;
  border-radius: 0.85rem;
  border: 1px solid #e2e8f0;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
}

.policy-card {
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  padding: 1rem;
  background-color: #fff;
}

.seo-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.seo-block-image {
  width: 100%;
  height: 220px;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.seo-block-content {
  padding: 1.35rem;
}

.seo-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-secondary);
  background: rgba(14, 116, 144, 0.1);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

.compact-guide .seo-block {
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.compact-guide .seo-block-image {
  height: 190px;
  min-height: 190px;
}

.compact-guide .seo-block-content {
  padding: 1.1rem;
}

.compact-guide .seo-block-content p {
  color: var(--text-muted);
}

.keyword-chip {
  display: inline-block;
  font-size: 0.8rem;
  margin: 0.25rem 0.35rem 0 0;
  background: #e2e8f0;
  color: #1e293b;
  border-radius: 999px;
  padding: 0.35rem 0.62rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.navbar .nav-link.active {
  color: var(--brand-primary);
  font-weight: 600;
}

.navbar-toggler {
  border-color: rgba(15, 23, 42, 0.2);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815,23,42,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

img,
iframe {
  max-width: 100%;
}

a,
p,
li,
td,
th {
  overflow-wrap: anywhere;
}

.mobile-action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  display: none;
  background: #ffffff;
  border-top: 1px solid #cbd5e1;
  box-shadow: 0 -8px 18px rgba(15, 23, 42, 0.1);
  padding: 0.5rem;
  gap: 0.5rem;
}

.mobile-action-bar a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  padding: 0.65rem 0.4rem;
  border-radius: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.mobile-action-call {
  background-color: #e0f2fe;
  color: var(--brand-dark);
}

.mobile-action-whatsapp {
  background-color: #dcfce7;
  color: #166534;
}

.mobile-action-book {
  background-color: #fef3c7;
  color: #92400e;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 4.8rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background-color: var(--brand-secondary);
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1031;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .hero-section {
    min-height: 58vh;
  }

  .feature-card img,
  .gallery-image {
    height: 200px;
  }

  .seo-block-image {
    height: 220px;
    min-height: 220px;
  }

  .compact-guide .seo-block-image {
    height: 170px;
    min-height: 170px;
  }
}

@media (max-width: 767px) {
  .display-5 {
    font-size: 1.9rem;
  }

  .hero-section {
    min-height: auto;
    padding: 4rem 0;
  }

  .page-hero {
    padding: 3.25rem 0 2.4rem;
  }

  .btn-lg,
  .hero-section .btn,
  .inner-page-hero .btn-lg {
    width: 100%;
  }

  .site-footer .text-md-end {
    text-align: left !important;
  }

  .mobile-action-bar {
    display: flex;
  }

  body {
    padding-bottom: 4.6rem;
  }
}

/* Legal pages premium styling */
.legal-page {
  background:
    radial-gradient(900px 380px at 0% -5%, rgba(21, 94, 117, 0.12), transparent 58%),
    radial-gradient(840px 340px at 100% -5%, rgba(249, 115, 22, 0.1), transparent 58%),
    #f8fafc;
}

.legal-hero {
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.04)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
  pointer-events: none;
}

.legal-hero .container {
  position: relative;
  z-index: 1;
}

.legal-shell {
  max-width: 960px;
}

.legal-main .row {
  position: relative;
}

.legal-main .row::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(14, 116, 144, 0.45), rgba(14, 116, 144, 0.08));
}

.legal-card {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  padding-left: 3.1rem !important;
}

.legal-card::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 1.45rem;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9, #155e75);
  box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.15);
}

.legal-card h2 {
  color: #0f172a;
  letter-spacing: 0.01em;
}

.legal-card p,
.legal-card li {
  color: #334155;
}

.legal-card strong {
  color: #0f172a;
}

.legal-page--privacy .legal-card::before {
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
}

.legal-page--terms .legal-card::before {
  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

.legal-page--cancellation .legal-card::before {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

@media (max-width: 767px) {
  .legal-main .row::before {
    left: 0.95rem;
  }

  .legal-card {
    padding-left: 2.65rem !important;
  }

  .legal-card::before {
    left: 0.78rem;
    width: 10px;
    height: 10px;
  }
}
