:root {
  --primary: #2477bb;
  --primary-dark: #185b8e;
  --primary-deep: #10476f;
  --primary-soft: #eaf4fb;
  --primary-soft-2: #f3f8fc;
  --secondary: #292e31;
  --text: #1f2933;
  --muted: #627482;
  --background: #f7fafc;
  --surface: #ffffff;
  --surface-strong: #f0f6fa;
  --border: #dce7ef;
  --border-strong: #c6d8e6;
  --success: #138a50;
  --whatsapp: #25d366;
  --shadow-sm: 0 8px 24px rgba(22, 57, 81, 0.07);
  --shadow-md: 0 16px 50px rgba(22, 57, 81, 0.11);
  --shadow-lg: 0 28px 70px rgba(22, 57, 81, 0.15);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 82px;
  --transition: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open, body.lightbox-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dark); }
a:hover { color: var(--primary-deep); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: #cfe9fb; color: var(--secondary); }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--secondary);
  color: #fff;
  transform: translateY(-160%);
  transition: transform var(--transition);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.section { padding: 88px 0; }
.section-sm { padding: 62px 0; }
.section-blue { background: var(--primary-soft-2); }
.section-white { background: var(--surface); }
.section-dark { background: var(--secondary); color: #fff; }
.stack-12 > * + * { margin-top: 12px; }
.stack-18 > * + * { margin-top: 18px; }
.stack-24 > * + * { margin-top: 24px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: var(--primary);
}
.kicker { margin: 0; color: var(--primary-dark); font-weight: 800; }
.muted { color: var(--muted); }
.text-white-muted { color: #c9d4db; }

h1, h2, h3, h4 {
  margin-top: 0;
  color: var(--secondary);
  line-height: 1.14;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.55rem, 5.5vw, 5rem); margin-bottom: 22px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 18px; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); margin-bottom: 10px; }
h4 { font-size: 1.05rem; margin-bottom: 8px; }
p { margin-top: 0; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--muted); max-width: 700px; }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }

.topbar {
  background: var(--secondary);
  color: #fff;
  font-size: 0.88rem;
}
.topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-note { color: #d9e2e8; }
.topbar-links { display: flex; align-items: center; gap: 14px; white-space: nowrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 231, 239, 0.9);
  backdrop-filter: blur(14px);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(22, 57, 81, 0.08); background: rgba(255,255,255,.98); }
.nav-wrap { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--secondary); flex-shrink: 0; }
.brand img { width: 62px; height: 62px; object-fit: contain; border-radius: 10px; }
.brand-copy { display: grid; line-height: 1.08; }
.brand-name { font-weight: 900; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-tag { margin-top: 4px; color: var(--muted); font-size: 0.74rem; letter-spacing: 0.11em; text-transform: uppercase; }

.desktop-nav { display: flex; align-items: center; gap: 5px; }
.desktop-nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  color: #344552;
  font-size: 0.94rem;
  font-weight: 720;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.desktop-nav > a:hover, .desktop-nav > a[aria-current="page"] { background: var(--primary-soft); color: var(--primary-dark); }
.desktop-nav .nav-cta { margin-left: 6px; padding: 0 16px; background: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(36,119,187,.22); }
.desktop-nav .nav-cta:hover { background: var(--primary-dark); color: #fff; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--secondary);
  cursor: pointer;
}
.menu-toggle svg { width: 23px; height: 23px; }
.mobile-panel {
  display: none;
  position: fixed;
  inset: calc(36px + var(--header-height)) 0 auto 0;
  z-index: 850;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 18px 20px 24px;
}
.mobile-panel.open { display: block; }
.mobile-panel nav { display: grid; gap: 7px; }
.mobile-panel nav a { padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 760; }
.mobile-panel nav a:hover, .mobile-panel nav a[aria-current="page"] { background: var(--primary-soft); color: var(--primary-dark); }
.mobile-panel .btn { width: 100%; margin-top: 12px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(36,119,187,.23); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; box-shadow: 0 14px 30px rgba(36,119,187,.27); }
.btn-secondary { background: #fff; border-color: var(--border-strong); color: var(--secondary); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-soft-2); }
.btn-dark { background: var(--secondary); color: #fff; }
.btn-dark:hover { background: #151a1d; color: #fff; }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 92px;
  background:
    radial-gradient(circle at 82% 12%, rgba(36,119,187,.12), transparent 27%),
    linear-gradient(180deg, #fbfdff 0%, #f2f8fc 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(36,119,187,.08);
  border-radius: 50%;
  right: -140px;
  bottom: -180px;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 58px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 span { color: var(--primary); }
.hero-copy .lead { margin-bottom: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--border);
  color: #425765;
  font-size: .88rem;
  font-weight: 700;
}
.hero-badge svg { width: 16px; height: 16px; color: var(--primary); }

.hero-media { position: relative; min-height: 520px; }
.hero-main-img {
  position: absolute;
  right: 0;
  top: 20px;
  width: 82%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
}
.hero-small-img {
  position: absolute;
  left: 0;
  bottom: 22px;
  width: 44%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
  border: 7px solid #fff;
  box-shadow: var(--shadow-md);
}
.hero-note {
  position: absolute;
  right: 14px;
  bottom: 4px;
  z-index: 3;
  width: min(270px, 58%);
  padding: 17px 18px;
  border-radius: 18px;
  background: rgba(41,46,49,.94);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.hero-note strong { display: block; margin-bottom: 4px; font-size: .98rem; }
.hero-note span { display: block; color: #d5dfe5; font-size: .84rem; line-height: 1.45; }

.page-hero { padding: 70px 0 58px; background: linear-gradient(180deg, #fbfdff, #f1f7fb); border-bottom: 1px solid var(--border); }
.page-hero-grid { display: grid; grid-template-columns: 1fr .62fr; align-items: end; gap: 40px; }
.page-hero h1 { font-size: clamp(2.6rem, 4.7vw, 4.5rem); margin-bottom: 16px; }
.page-hero .lead { margin-bottom: 0; }
.page-hero-note { border-left: 3px solid var(--primary); padding-left: 18px; color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #c8dcea; }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: #eaf1f6; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.card:hover .card-media img { transform: scale(1.025); }
.card-body { padding: 22px; }
.card-body p:last-child { margin-bottom: 0; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--primary-dark); text-decoration: none; font-weight: 800; }
.card-link:hover { text-decoration: underline; }
.card-tag {
  display: inline-flex;
  margin-bottom: 11px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.location-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.location-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  color: var(--text);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.location-card:hover { transform: translateY(-2px); border-color: #b9d6e9; box-shadow: var(--shadow-sm); color: var(--text); }
.location-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--primary-soft); color: var(--primary); margin-bottom: 22px; }
.location-icon svg { width: 21px; height: 21px; }
.location-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.location-card p { color: var(--muted); font-size: .9rem; margin-bottom: 0; }
.location-card span:last-child { margin-top: auto; padding-top: 16px; color: var(--primary-dark); font-size: .88rem; font-weight: 800; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
}
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--primary-soft); color: var(--primary); margin-bottom: 18px; }
.feature-icon svg { width: 21px; height: 21px; }
.feature p { margin-bottom: 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: steps; }
.step {
  position: relative;
  padding: 28px 24px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  counter-increment: steps;
}
.step::before {
  content: counter(steps, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 15px;
  background: var(--secondary);
  color: #fff;
  font-weight: 900;
  letter-spacing: .04em;
}
.step p { color: var(--muted); margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-md); }
.split-media .mini-card {
  position: absolute;
  right: -18px;
  bottom: -18px;
  max-width: 260px;
  padding: 17px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.split-media .mini-card strong { display: block; margin-bottom: 4px; }
.split-media .mini-card span { color: var(--muted); font-size: .88rem; }
.check-list { display: grid; gap: 11px; margin: 22px 0 26px; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 23px; height: 23px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-dark); font-size: .78rem; font-weight: 900; margin-top: 1px; }

.gallery-preview { display: grid; grid-template-columns: 1.35fr .9fr .9fr; grid-template-rows: 220px 220px; gap: 12px; }
.gallery-preview button, .gallery-grid button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #dfe9f0;
  cursor: zoom-in;
}
.gallery-preview button:first-child { grid-row: 1 / 3; }
.gallery-preview img, .gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease, filter 400ms ease; }
.gallery-preview button:hover img, .gallery-grid button:hover img { transform: scale(1.035); filter: brightness(.93); }
.gallery-overlay {
  position: absolute;
  inset: auto 12px 12px auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--secondary);
  box-shadow: var(--shadow-sm);
}
.gallery-overlay svg { width: 18px; height: 18px; }

.gallery-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.filter-btn {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 9px 14px;
  background: #fff;
  color: #425563;
  font-weight: 760;
  font-size: .88rem;
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { aspect-ratio: 1 / .82; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; min-height: 430px; }
.gallery-item.hidden { display: none; }
.gallery-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(41,46,49,.82);
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  background: rgba(8, 14, 18, .94);
  color: #fff;
  padding: 30px;
}
.lightbox.open { display: grid; place-items: center; }
.lightbox-dialog { position: relative; width: min(1100px, 96vw); height: min(84vh, 820px); display: grid; place-items: center; }
.lightbox-image { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; box-shadow: 0 20px 70px rgba(0,0,0,.45); }
.lightbox-caption { position: absolute; left: 50%; bottom: -4px; transform: translate(-50%, 100%); width: min(720px, 85vw); text-align: center; color: #dbe4ea; font-size: .9rem; }
.lightbox-control {
  position: fixed;
  z-index: 5100;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(255,255,255,.11);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.lightbox-control:hover { background: rgba(255,255,255,.2); }
.lightbox-control svg { width: 23px; height: 23px; }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 44px;
  border-radius: 28px;
  background: var(--secondary);
  color: #fff;
}
.cta-band::after { content: ""; position: absolute; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; right: -80px; top: -120px; }
.cta-band-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { max-width: 720px; margin-bottom: 0; color: #cbd6dd; }
.cta-band .btn-secondary { background: #fff; border-color: #fff; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { display: flex; flex-direction: column; padding: 24px; border-radius: 20px; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); }
.article-card .card-tag { align-self: flex-start; }
.article-card p { color: var(--muted); }
.article-card .card-link { margin-top: auto; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 54px; align-items: start; }
.article-body { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 38px; box-shadow: var(--shadow-sm); }
.article-body h2 { margin-top: 34px; font-size: 1.75rem; }
.article-body h3 { margin-top: 28px; }
.article-body p, .article-body li { color: #3f515e; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-aside { position: sticky; top: 120px; display: grid; gap: 16px; }
.aside-card { padding: 20px; background: var(--primary-soft-2); border: 1px solid var(--border); border-radius: 18px; }
.aside-card p:last-child { margin-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 28px; align-items: start; }
.contact-action-column { display: grid; gap: 18px; align-content: start; min-width: 0; }
.contact-action-column .booking-callout { margin-bottom: 0; }
.contact-action-column .form-card { width: 100%; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: #fff; text-decoration: none; color: var(--text); }
.contact-card:hover { border-color: #bdd8e9; color: var(--text); }
.contact-card-icon { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.contact-card-icon svg { width: 20px; height: 20px; }
.contact-card strong { display: block; margin-bottom: 2px; }
.contact-card span { color: var(--muted); word-break: break-word; }
.form-card { padding: 28px; border-radius: 22px; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 760; color: #364752; font-size: .92rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  padding: 12px 13px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field textarea { min-height: 126px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(36,119,187,.12); }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: .85rem; }
.form-status { min-height: 22px; margin-top: 10px; color: #a23b2a; font-size: .88rem; }

.map-wrap { overflow: hidden; border-radius: 22px; border: 1px solid var(--border); background: #e9f1f6; min-height: 410px; box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 410px; border: 0; display: block; }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.info-card { padding: 25px; border: 1px solid var(--border); border-radius: 20px; background: #fff; }
.info-card p:last-child { margin-bottom: 0; color: var(--muted); }

.social-icons { display: flex; gap: 9px; align-items: center; }
.social-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--border); background: #fff; color: var(--secondary); }
.social-icon:hover { border-color: #b9d3e6; background: var(--primary-soft); color: var(--primary-dark); }
.social-icon svg { width: 19px; height: 19px; }

.site-footer { background: #20272c; color: #fff; padding: 64px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1fr; gap: 42px; }
.footer-brand .brand { color: #fff; margin-bottom: 15px; }
.footer-brand .brand-tag { color: #aebbc3; }
.footer-brand p { color: #c6d0d6; max-width: 360px; }
.footer-brand img { background: #fff; border-radius: 12px; }
.site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: 0; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links a { color: #c6d0d6; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-contact { color: #c6d0d6; font-size: .93rem; }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.site-footer .social-icon { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #fff; }
.site-footer .social-icon:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
.footer-counter { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 8px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.055); color: #d4dde2; font-size: .8rem; }
.counter-dot { width: 7px; height: 7px; border-radius: 50%; background: #54d58a; box-shadow: 0 0 0 4px rgba(84,213,138,.1); }
.footer-counter strong { color: #fff; font-variant-numeric: tabular-nums; }
.footer-counter .counter-sep { color: #6e7d86; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 46px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #aebbc3; font-size: .82rem; }
.footer-bottom a { color: #d8e2e8; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

.whatsapp-float, .to-top {
  position: fixed;
  z-index: 1200;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(18, 38, 49, .2);
  cursor: pointer;
}
.whatsapp-float { left: 20px; background: var(--whatsapp); color: #fff; text-decoration: none; }
.whatsapp-float:hover { color: #fff; transform: translateY(-2px); }
.to-top { right: 20px; background: var(--secondary); color: #fff; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--primary-dark); }
.whatsapp-float svg, .to-top svg { width: 24px; height: 24px; }
.float-label { position: absolute; left: 62px; white-space: nowrap; padding: 7px 10px; border-radius: 8px; background: var(--secondary); color: #fff; font-size: .76rem; font-weight: 750; opacity: 0; pointer-events: none; transform: translateX(-5px); transition: opacity var(--transition), transform var(--transition); }
.whatsapp-float:hover .float-label, .whatsapp-float:focus-visible .float-label { opacity: 1; transform: translateX(0); }

.notice { padding: 15px 17px; border-left: 3px solid var(--primary); border-radius: 0 12px 12px 0; background: var(--primary-soft-2); color: #48606f; }
.notice strong { color: var(--text); }

.empty-state { text-align: center; padding: 52px 28px; border: 1px dashed var(--border-strong); border-radius: 20px; background: #fff; }

:focus-visible { outline: 3px solid rgba(36,119,187,.38); outline-offset: 3px; }

@media (max-width: 1100px) {
  .desktop-nav > a { padding-inline: 9px; font-size: .9rem; }
  .location-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { gap: 34px; }
}

@media (max-width: 900px) {
  :root { --header-height: 72px; }
  .container, .narrow { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 70px 0; }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .brand img { width: 54px; height: 54px; }
  .hero { padding: 58px 0 72px; }
  .hero-grid, .page-hero-grid, .split, .contact-grid, .article-wrap { grid-template-columns: 1fr; }
  .hero-media { min-height: 470px; width: min(650px,100%); margin-inline: auto; }
  .page-hero { padding: 56px 0 46px; }
  .page-hero-note { max-width: 620px; }
  .card-grid, .feature-grid, .steps, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .article-aside { position: static; grid-template-columns: repeat(2, 1fr); }
  .split-media .mini-card { right: 12px; }
  .cta-band-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container, .narrow { width: min(calc(100% - 26px), var(--container)); }
  .topbar-inner { min-height: 32px; justify-content: center; }
  .topbar-note { display: none; }
  .topbar-links { width: 100%; justify-content: center; font-size: .79rem; gap: 11px; }
  .mobile-panel { inset-block-start: calc(32px + var(--header-height)); }
  .brand-copy { display: none; }
  .nav-wrap { min-height: var(--header-height); }
  .section { padding: 56px 0; }
  .section-sm { padding: 46px 0; }
  h1 { font-size: clamp(2.25rem, 12vw, 3.4rem); }
  h2 { font-size: clamp(1.8rem, 9vw, 2.5rem); }
  .hero { padding-top: 46px; }
  .hero-grid { gap: 38px; }
  .hero-media { min-height: 390px; }
  .hero-main-img { width: 88%; top: 10px; border-width: 6px; }
  .hero-small-img { width: 48%; bottom: 10px; border-width: 5px; }
  .hero-note { right: 6px; bottom: -2px; width: 62%; padding: 13px 14px; }
  .hero-badges { gap: 7px; }
  .hero-badge { font-size: .79rem; }
  .btn-row { align-items: stretch; }
  .btn-row .btn { flex: 1 1 100%; }
  .card-grid, .feature-grid, .steps, .article-grid, .location-grid, .info-grid, .footer-grid, .article-aside, .form-grid { grid-template-columns: 1fr; }
  .location-card { min-height: 190px; }
  .gallery-preview { grid-template-columns: 1.25fr 1fr; grid-template-rows: 170px 170px; }
  .gallery-preview button:nth-child(4), .gallery-preview button:nth-child(5) { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .gallery-item, .gallery-item.tall { min-height: 0; aspect-ratio: 1 / .9; grid-row: auto; }
  .lightbox { padding: 18px; }
  .lightbox-control { width: 44px; height: 44px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 10px; right: 10px; }
  .cta-band { padding: 30px 22px; border-radius: 22px; }
  .article-body { padding: 26px 20px; }
  .form-card { padding: 22px 18px; }
  .form-field.full { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
  .map-wrap, .map-wrap iframe { min-height: 340px; height: 340px; }
  .whatsapp-float, .to-top { width: 48px; height: 48px; bottom: 15px; }
  .whatsapp-float { left: 14px; }
  .to-top { right: 14px; }
  .float-label { display: none; }
}

@media (max-width: 380px) {
  .topbar-links span { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   RoomRentPK v2 interaction and booking refinements
   ========================================================= */

html { scroll-padding-top: calc(var(--header-height) + 20px); }
body.booking-open { overflow: hidden; }
svg { max-width: 100%; }

/* Keep all inline action icons intentionally sized. This fixes browser-default
   300x150 SVG sizing in card and location links. */
.card-link { gap: 8px; }
.card-link svg,
.location-card > span:last-child svg,
.nav-cta svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.card-link svg,
.location-card > span:last-child svg { transition: transform var(--transition); }
.card-link:hover svg,
.location-card:hover > span:last-child svg { transform: translateX(3px); }
.location-card > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
}

.desktop-nav .nav-cta { gap: 7px; }
.desktop-nav .nav-cta svg { width: 16px; height: 16px; }

.card { display: flex; flex-direction: column; min-width: 0; }
.card-body { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.card-body > p { flex: 1; }
.card-link { align-self: flex-start; }
.room-booking-btn { align-self: stretch; margin-top: 14px; }

.btn-booking {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(26, 36, 43, .14);
}
.btn-booking:hover {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
  color: #fff;
  box-shadow: 0 14px 28px rgba(16, 71, 111, .2);
}
.btn-compact { min-height: 43px; padding-inline: 15px; font-size: .9rem; }
.btn-booking svg { width: 18px; height: 18px; flex: 0 0 auto; }
.mobile-panel .mobile-booking-btn { width: 100%; margin-top: 12px; }
.mobile-panel .mobile-booking-btn + .btn { margin-top: 8px; }

/* Refined location cards */
.location-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.location-card { position: relative; overflow: hidden; }
.location-card::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -45px;
  bottom: -48px;
  border-radius: 50%;
  background: rgba(36, 119, 187, .055);
  transition: transform 280ms ease;
  pointer-events: none;
}
.location-card:hover::after { transform: scale(1.35); }

/* Better visual treatment for interactive cards and media */
.card,
.location-card,
.feature,
.article-card,
.contact-card { will-change: transform; }
.card-media img,
.gallery-preview img,
.gallery-grid img,
.split-media img { backface-visibility: hidden; transform-origin: center; }

/* Booking prompt on contact page */
.booking-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid #bfd9ea;
  border-radius: 20px;
  background: linear-gradient(135deg, #f7fbfe 0%, #edf7fd 100%);
}
.booking-callout > div:first-child { display: flex; align-items: flex-start; gap: 13px; min-width: 0; }
.booking-callout-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 22px rgba(36,119,187,.2);
}
.booking-callout-icon svg { width: 21px; height: 21px; }
.booking-callout strong { display: block; color: var(--secondary); font-size: 1rem; margin-bottom: 3px; }
.booking-callout p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Booking modal */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 7000;
  display: none;
  place-items: center;
  padding: 24px;
}
.booking-modal.open { display: grid; }
.booking-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 17, 23, .72);
  backdrop-filter: blur(7px);
  cursor: default;
}
.booking-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(90vh, 880px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 32px 100px rgba(8, 25, 36, .3);
}
.booking-dialog::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), #58a8dc);
}
.booking-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 30px 18px;
  border-bottom: 1px solid var(--border);
}
.booking-modal-head .eyebrow { margin-bottom: 8px; }
.booking-modal-head h2 { margin-bottom: 8px; font-size: clamp(1.65rem, 3vw, 2.15rem); }
.booking-modal-head p { margin: 0; color: var(--muted); font-size: .94rem; }
.booking-close {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--secondary);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.booking-close:hover { background: var(--primary-soft); border-color: #bdd8e9; transform: rotate(3deg); }
.booking-close svg { width: 20px; height: 20px; }
.booking-form { padding: 24px 30px 30px; }
.booking-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.booking-field { display: grid; gap: 7px; }
.booking-field.full { grid-column: 1 / -1; }
.booking-field label { color: #364752; font-size: .9rem; font-weight: 780; }
.booking-field .required { color: #a23b2a; }
.booking-field input,
.booking-field select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.booking-field input:focus,
.booking-field select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(36,119,187,.12); }
.booking-field input:user-invalid,
.booking-field select:user-invalid { border-color: #c86858; background: #fffafa; }
.booking-help { margin: 2px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.booking-privacy {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--primary-soft-2);
  color: #4d6473;
  font-size: .82rem;
}
.booking-privacy svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 2px; color: var(--primary-dark); }
.booking-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.booking-actions .btn { min-width: 180px; }
.booking-status { min-height: 22px; margin: 10px 0 0; color: var(--primary-dark); font-size: .86rem; font-weight: 650; }

/* CTA contrast when the booking button is placed on the dark callout band */
.cta-band .btn-booking { background: var(--primary); border-color: var(--primary); color: #fff; }
.cta-band .btn-booking:hover { background: #2f89ca; border-color: #2f89ca; }

/* A little more breathing room on the hero action row with the added booking action */
.hero .btn-row { max-width: 700px; }

@media (max-width: 1100px) {
  .location-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .booking-callout { align-items: stretch; flex-direction: column; }
  .booking-callout .btn { width: 100%; }
  .booking-modal { align-items: end; padding: 0; }
  .booking-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
    border-bottom: 0;
  }
  .booking-modal-head { padding: 24px 20px 16px; }
  .booking-form { padding: 20px; }
  .booking-form-grid { grid-template-columns: 1fr; }
  .booking-field.full { grid-column: auto; }
  .booking-actions { flex-direction: column; }
  .booking-actions .btn { width: 100%; }
}

@media (max-width: 640px) {
  .location-grid { grid-template-columns: 1fr; }
  .location-card { min-height: 172px; }
  .topbar-links a[href^="mailto:"] { display: none; }
  .topbar-links span { display: none; }
  .hero-note { width: min(68%, 245px); }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .location-card,
  .feature,
  .article-card,
  .contact-card,
  .card-media img,
  .gallery-preview img,
  .gallery-grid img,
  .split-media img { will-change: auto; }
}


/* Shareable booking page */
.booking-page-section {
  padding: clamp(54px, 7vw, 92px) 0;
  background:
    radial-gradient(circle at 85% 12%, rgba(36,119,187,.09), transparent 28%),
    linear-gradient(180deg, #f8fbfd 0%, #eef6fb 100%);
}
.booking-page-shell {
  width: min(920px, 100%);
  margin: 0 auto;
}
.booking-page-intro {
  max-width: 720px;
  margin: 0 auto 24px;
  text-align: center;
}
.booking-page-intro h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.45rem);
}
.booking-page-intro .lead {
  max-width: 660px;
  margin-inline: auto;
}
.booking-page-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(23, 67, 94, .12);
}
.booking-page-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), #58a8dc);
}
.booking-page-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 30px 32px 20px;
  border-bottom: 1px solid var(--border);
}
.booking-page-card-head h2 {
  margin: 0 0 7px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}
.booking-page-card-head p { margin: 0; color: var(--muted); }
.booking-page-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #c8e0ef;
  border-radius: 999px;
  background: var(--primary-soft-2);
  color: var(--primary-dark);
  font-size: .8rem;
  font-weight: 750;
  white-space: nowrap;
}
.booking-page-badge svg { width: 16px; height: 16px; }
.booking-page-card .booking-form { padding: 26px 32px 32px; }
.booking-page-help {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.booking-page-help-item {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.76);
}
.booking-page-help-item strong { display: block; margin-bottom: 5px; color: var(--secondary); }
.booking-page-help-item span { color: var(--muted); font-size: .84rem; line-height: 1.55; }

@media (max-width: 760px) {
  .booking-page-section { padding: 40px 0 58px; }
  .booking-page-intro { text-align: left; }
  .booking-page-card { border-radius: 22px; }
  .booking-page-card-head { padding: 26px 20px 17px; flex-direction: column; }
  .booking-page-card .booking-form { padding: 20px; }
  .booking-page-help { grid-template-columns: 1fr; }
}
