:root {
  --vlx-teal: #1d92a4;
  --vlx-teal-dark: #14798a;
  --vlx-blue: #213f7d;
  --vlx-blue-dark: #172f61;
  --vlx-ink: #20262b;
  --vlx-muted: #657079;
  --vlx-paper: #ffffff;
  --vlx-soft: #f5f7f8;
  --vlx-line: #dce3e7;
  --vlx-footer: #11171b;
  --vlx-focus: #1d92a4;
  --content-wide: 1180px;
  --content-text: 780px;
  --header-height: 72px;
  --radius: 4px;
  --shadow-soft: 0 18px 46px rgba(21, 34, 45, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--vlx-paper);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--vlx-paper);
  color: var(--vlx-ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.drawer-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--vlx-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--vlx-teal-dark);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--vlx-focus) 70%, white);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--vlx-blue);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 30;
  height: var(--header-height);
  border-bottom: 1px solid rgba(220, 227, 231, 0.85);
  background: rgba(255, 255, 255, 0.97);
}

.header-inner {
  width: min(100% - 40px, var(--content-wide));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 92px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.home-link {
  color: var(--vlx-muted);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.home-link:hover {
  color: var(--vlx-blue);
}

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 0 8px 8px;
  border: 0;
  background: transparent;
  color: var(--vlx-ink);
  font-weight: 700;
  cursor: pointer;
}

.menu-icon {
  width: 25px;
  height: 16px;
  position: relative;
}

.menu-icon::before,
.menu-icon::after,
.menu-icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.menu-icon::before {
  top: 0;
}

.menu-icon span {
  top: 7px;
}

.menu-icon::after {
  top: 14px;
}

.hero {
  position: relative;
  width: 100%;
  height: clamp(540px, 72svh, 900px);
  min-height: 540px;
  overflow: hidden;
  background-color: #102848;
  background-image: url("/assets/images/gran-canaria-poster.webp");
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.hero-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.hero-loading {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(10, 20, 31, 0.68);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  transition: opacity 180ms ease;
  pointer-events: none;
}

.hero.is-loaded .hero-loading {
  opacity: 0;
}

.loading-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vlx-teal);
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}

.intro-section {
  padding: 54px 0 32px;
  background: var(--vlx-paper);
}

.content-wide {
  width: min(100% - 40px, var(--content-wide));
  margin: 0 auto;
}

.content-text {
  width: min(100%, var(--content-text));
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 52px;
}

.eyebrow,
.breadcrumbs {
  margin: 0 0 12px;
  color: var(--vlx-teal-dark);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.095em;
  line-height: 1.35;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.breadcrumbs span[aria-hidden="true"] {
  padding: 0 6px;
  color: #97a3aa;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--vlx-ink);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.25rem, 5vw, 4.45rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.72rem, 3.3vw, 2.65rem);
}

h3 {
  font-size: 1.18rem;
}

.lead {
  max-width: 780px;
  margin: 24px 0 0;
  color: #49545c;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.62;
}

.intro-action {
  padding-bottom: 5px;
}

.primary-button,
.secondary-button,
.cookie-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.primary-button {
  background: var(--vlx-blue);
  color: #fff;
}

.primary-button:hover {
  background: var(--vlx-blue-dark);
  color: #fff;
  transform: translateY(-1px);
}

.secondary-button {
  border-color: var(--vlx-line);
  background: transparent;
  color: var(--vlx-ink);
}

.secondary-button:hover {
  border-color: var(--vlx-teal);
  color: var(--vlx-teal-dark);
}

.button-icon {
  width: 18px;
  height: 18px;
}

.affiliate-inline {
  margin: 32px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--vlx-line);
  color: var(--vlx-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.at-glance {
  padding: 28px 0 4px;
}

.glance-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--vlx-line);
  border-bottom: 1px solid var(--vlx-line);
}

.glance-item {
  min-width: 0;
  padding: 22px 24px 22px 0;
}

.glance-item + .glance-item {
  padding-left: 24px;
  border-left: 1px solid var(--vlx-line);
}

.glance-item dt {
  margin-bottom: 7px;
  color: var(--vlx-muted);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.075em;
  line-height: 1.3;
  text-transform: uppercase;
}

.glance-item dd {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.45;
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: var(--vlx-soft);
}

.section + .section:not(.section-soft),
.section:not(.section-soft) + .section:not(.section-soft) {
  border-top: 1px solid rgba(220, 227, 231, 0.7);
}

.section p {
  margin: 0 0 20px;
  color: #3f4a52;
}

.section p:last-child {
  margin-bottom: 0;
}

.section-kicker {
  margin: 0 0 11px !important;
  color: var(--vlx-teal-dark) !important;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.area-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px 28px;
  margin-top: 42px;
}

.area-group-title {
  margin: 0 0 14px;
  color: var(--vlx-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.area-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-link-list li {
  border-top: 1px solid var(--vlx-line);
}

.area-link-list li:last-child {
  border-bottom: 1px solid var(--vlx-line);
}

.area-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  color: var(--vlx-ink);
  font-size: 0.94rem;
  font-weight: 660;
  text-decoration: none;
}

.area-link::after {
  content: "↗";
  color: var(--vlx-teal);
  font-size: 0.94rem;
}

.area-link:hover {
  color: var(--vlx-blue);
}

.hotel-message {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 38px;
  padding: 26px 0;
  border-top: 1px solid var(--vlx-line);
  border-bottom: 1px solid var(--vlx-line);
}

.hotel-message p {
  margin: 0;
}

.hotel-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid var(--vlx-line);
  list-style: none;
}

.hotel-item {
  border-bottom: 1px solid var(--vlx-line);
}

.hotel-item:nth-child(odd) {
  padding-right: 24px;
}

.hotel-item:nth-child(even) {
  padding-left: 24px;
  border-left: 1px solid var(--vlx-line);
}

.hotel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 14px 0;
  color: var(--vlx-ink);
  font-weight: 680;
  text-decoration: none;
}

.hotel-link small {
  display: block;
  margin-top: 2px;
  color: var(--vlx-muted);
  font-weight: 500;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
  border-top: 1px solid var(--vlx-line);
}

.related-link {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 22px 0;
  border-bottom: 1px solid var(--vlx-line);
  color: var(--vlx-ink);
  text-decoration: none;
}

.related-link:not(:nth-child(3n + 1)) {
  padding-left: 24px;
  border-left: 1px solid var(--vlx-line);
}

.related-link strong {
  font-size: 1.06rem;
}

.related-link span {
  color: var(--vlx-teal-dark);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.related-link:hover strong {
  color: var(--vlx-blue);
}

.faq-list {
  margin-top: 32px;
  border-top: 1px solid var(--vlx-line);
}

.faq-item {
  border-bottom: 1px solid var(--vlx-line);
}

.faq-question {
  position: relative;
  padding: 22px 48px 22px 0;
  color: var(--vlx-ink);
  font-size: 1rem;
  font-weight: 720;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  top: 19px;
  right: 2px;
  color: var(--vlx-teal-dark);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "×";
}

.faq-answer {
  max-width: 700px;
  padding: 0 38px 22px 0;
}

.source-note {
  margin-top: 34px !important;
  color: var(--vlx-muted) !important;
  font-size: 0.8rem;
  line-height: 1.55;
}

.source-note a {
  color: inherit;
}

.site-footer {
  padding: 64px 0 30px;
  border-top: 3px solid var(--vlx-teal);
  background: var(--vlx-footer);
  color: #d6dde1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 2.1fr);
  gap: 72px;
}

.footer-brand-logo {
  width: 150px;
  height: auto;
}

.footer-tagline {
  margin: 14px 0 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 690;
  letter-spacing: 0.01em;
}

.footer-description {
  max-width: 330px;
  margin: 16px 0 0;
  color: #9facb4;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
}

.footer-heading {
  margin: 0 0 13px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 7px;
}

.footer-links a,
.footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #aeb9bf;
  font-size: 0.84rem;
  line-height: 1.45;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid #2b343a;
  color: #7f8d95;
  font-size: 0.76rem;
}

.drawer-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  background: rgba(8, 16, 22, 0.54);
  opacity: 0;
  transition: opacity 180ms ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
}

.area-drawer {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  width: min(440px, 92vw);
  height: 100dvh;
  padding: 26px 30px 40px;
  overflow-y: auto;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transform: translateX(102%);
  transition: transform 210ms ease;
}

.area-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--vlx-line);
}

.drawer-title {
  margin: 0;
  font-size: 1.25rem;
}

.drawer-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--vlx-line);
  border-radius: 50%;
  background: #fff;
  color: var(--vlx-ink);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.drawer-groups {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.drawer-group-title {
  margin: 0 0 9px;
  color: var(--vlx-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drawer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.drawer-links li {
  border-top: 1px solid var(--vlx-line);
}

.drawer-links li:last-child {
  border-bottom: 1px solid var(--vlx-line);
}

.drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  color: var(--vlx-ink);
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}

.drawer-links a[aria-current="page"] {
  color: var(--vlx-teal-dark);
}

.drawer-links a::after {
  content: "↗";
  color: var(--vlx-teal);
}

.cookie-banner {
  position: fixed;
  z-index: 110;
  right: 18px;
  bottom: 18px;
  left: 18px;
  width: min(calc(100% - 36px), 980px);
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--vlx-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 70px rgba(16, 28, 36, 0.22);
  backdrop-filter: blur(12px);
}

.cookie-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
}

.cookie-copy h2 {
  margin: 0 0 5px;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.cookie-copy p {
  margin: 0;
  color: var(--vlx-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.cookie-button {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.79rem;
}

.cookie-accept {
  background: var(--vlx-blue);
  color: #fff;
}

.cookie-accept:hover {
  background: var(--vlx-blue-dark);
}

.cookie-reject {
  border-color: #aeb8bd;
  background: #fff;
  color: var(--vlx-ink);
}

.cookie-reject:hover {
  border-color: var(--vlx-teal);
}

.legal-page {
  min-height: 70vh;
  padding: 70px 0 90px;
}

.legal-page h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.legal-page h2 {
  margin-top: 48px;
  font-size: 1.55rem;
}

.legal-page ul {
  padding-left: 22px;
}

.legal-meta {
  margin-top: 20px;
  color: var(--vlx-muted);
  font-size: 0.86rem;
}

.preview-page {
  min-height: 100vh;
  padding: 64px 0;
  background: var(--vlx-soft);
}

.preview-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.preview-list a {
  display: block;
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--vlx-line);
  background: #fff;
  color: var(--vlx-ink);
  font-weight: 700;
  text-decoration: none;
}

.preview-list small {
  display: block;
  margin-top: 5px;
  color: var(--vlx-muted);
  font-weight: 500;
}

@media (max-width: 940px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .intro-action {
    padding: 0;
  }

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

  .glance-item:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid var(--vlx-line);
    border-left: 0;
  }

  .glance-item:nth-child(4) {
    border-top: 1px solid var(--vlx-line);
  }

  .area-directory,
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .cookie-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

@media (max-width: 700px) {
  :root {
    --header-height: 60px;
  }

  body {
    font-size: 16px;
  }

  .header-inner,
  .content-wide {
    width: min(100% - 28px, var(--content-wide));
  }

  .brand-logo {
    width: 76px;
  }

  .home-link {
    display: none;
  }

  .menu-button {
    font-size: 0.84rem;
  }

  .hero {
    height: 63svh;
    min-height: 470px;
    max-height: 700px;
  }

  .hero-loading {
    bottom: 14px;
  }

  .intro-section {
    padding: 38px 0 22px;
  }

  h1 {
    font-size: clamp(2.15rem, 11vw, 3.25rem);
  }

  h2 {
    font-size: 1.75rem;
  }

  .lead {
    margin-top: 18px;
    font-size: 1.05rem;
  }

  .primary-button {
    width: 100%;
  }

  .affiliate-inline {
    margin-top: 24px;
  }

  .at-glance {
    padding-top: 20px;
  }

  .glance-list {
    grid-template-columns: 1fr;
  }

  .glance-item,
  .glance-item + .glance-item,
  .glance-item:nth-child(3),
  .glance-item:nth-child(4) {
    padding: 17px 0;
    border-top: 1px solid var(--vlx-line);
    border-left: 0;
  }

  .glance-item:first-child {
    border-top: 0;
  }

  .section {
    padding: 54px 0;
  }

  .area-directory,
  .footer-nav,
  .preview-list {
    grid-template-columns: 1fr;
  }

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

  .hotel-list,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .hotel-item:nth-child(odd),
  .hotel-item:nth-child(even),
  .related-link,
  .related-link:not(:nth-child(3n + 1)) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .footer-grid {
    gap: 42px;
  }

  .footer-nav {
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 9px;
  }

  .area-drawer {
    width: 100%;
    padding: 20px 22px 36px;
  }

  .cookie-banner {
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: calc(100% - 16px);
    padding: 15px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .cookie-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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