/* ===================================================================
   Cur Azul — Theme inspired by the "Elevate" template
   Bright sunny yellow + white + black, Switzer sans with an
   italic editorial serif accent. Bold, editorial, modern.
   =================================================================== */

@import url("https://fonts.cdnfonts.com/css/switzer");
@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --ocean: #5fc1d6;
  --ocean-deep: #2b8ca5;
  --bg: #ffffff;
  --ink: #0a0a0a;
  --ink-soft: #555555;
  --line: rgba(10, 10, 10, 0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Switzer", "Helvetica Neue", Arial, sans-serif;
  background: var(--ocean);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- Typography ---------- */
h1,
.display {
  font-size: clamp(3.2rem, 9vw, 8.2rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.2;
}

p {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink);
}

p.lg {
  font-size: 1.25rem;
  line-height: 1.4;
}

.muted {
  color: var(--ink-soft);
}

/* italic editorial serif accent — the signature of the template */
.it,
span.it {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  padding-right: 0.04em;
}

a {
  text-decoration: none;
  color: var(--ink);
  font-size: 1rem;
}

.eyebrow {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   NAV
   =================================================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  padding: 1.1em 1.3em;
  z-index: 10000;
  mix-blend-mode: difference;
  transition: background 0.35s ease, box-shadow 0.35s ease,
    padding 0.35s ease, backdrop-filter 0.35s ease;
}

/* light sticky header that appears once you scroll past the top */
nav.scrolled {
  mix-blend-mode: normal;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(10, 10, 10, 0.06), 0 10px 30px rgba(10, 10, 10, 0.07);
  padding-top: 0.7em;
  padding-bottom: 0.7em;
}

nav a {
  color: #fff;
}

nav.scrolled a,
nav.scrolled .logo a {
  color: var(--ink);
}

nav.scrolled .logo a .it {
  color: var(--ocean-deep);
}

nav .logo {
  flex: 4;
}

nav .logo a {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 0;
}

nav .logo a .it {
  font-size: inherit;
  padding-right: 0;
}

nav .nav-items {
  flex: 2;
  display: flex;
}

nav .links {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 0.15em;
}

nav .links a:hover,
nav .contact a:hover {
  opacity: 0.6;
}

nav .contact {
  flex: 1;
  text-align: right;
}

/* Desktop nav: bigger logo + horizontal menu across the bar (same bar height) */
@media (min-width: 761px) {
  nav { align-items: center; justify-content: space-between; }
  nav .logo { flex: 0 0 auto; }
  nav .logo a { font-size: 2.7rem; padding: 0; }
  nav .nav-items {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: 2.4rem;
  }
  nav .links { flex-direction: row; gap: 2.4rem; }
  nav .links a,
  nav .contact a { font-size: 1.2rem; }
  /* animated underline on the text menu items */
  nav .links a { position: relative; }
  nav .links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.05em;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }
  nav .links a:hover { opacity: 1; }
  nav .links a:hover::after { transform: scaleX(1); }
  nav .contact { flex: 0 0 auto; }
  /* Contact as a pill button */
  nav .contact a {
    border: 1.5px solid currentColor;
    border-radius: 100px;
    padding: 0.45em 1.5em;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
  }
  nav.scrolled .contact a {
    background: var(--ocean);
    border-color: var(--ocean);
    color: var(--ink);
  }
  nav.scrolled .contact a:hover { opacity: 0.88; }
}


/* ===================================================================
   GENERIC
   =================================================================== */
section {
  width: 100%;
  background: var(--bg);
}

.pad {
  padding: 1.3em;
}

.section-hero {
  width: 100%;
  background: var(--bg);
  padding: 9em 0.6em 3em;
}

.section-hero h1 {
  margin-bottom: 0.15em;
}

.section-hero h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  max-width: 22ch;
}

.crumbs {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.4em;
}

.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--ink); }

/* ===================================================================
   HOME HERO
   =================================================================== */
.hero {
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  background: var(--bg);
  position: relative;
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
}

.hero .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 40%, rgba(6, 14, 20, 0.15) 0%, rgba(6, 14, 20, 0.5) 70%, rgba(6, 14, 20, 0.7) 100%),
    linear-gradient(180deg, rgba(6, 14, 20, 0.55) 0%, rgba(6, 14, 20, 0.32) 38%, rgba(6, 14, 20, 0.72) 100%);
}

.hero .hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 8em 1em 1.5em;
  color: #fff;
}

.hero .hero-copy { position: relative; z-index: 3; }
.hero .hero-copy h1 { color: #fff; }

.hero .hero-copy h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  margin: 0.6em auto 0;
  max-width: 30ch;
  color: #fff;
}

.hero .hero-tagline {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.hero .hero-tagline p {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: clamp(4rem, 16vw, 15rem);
  line-height: 0.9;
  color: #fff;
}

.hero .hero-cta {
  position: relative;
  z-index: 4;
  display: flex;
  gap: 0.8em;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.2em;
}

/* ===================================================================
   BUTTONS / LINKS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border: 1px solid currentColor;
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-yellow {
  background: var(--ocean);
  color: var(--ink);
  border-color: var(--ocean);
  box-shadow: 0 6px 22px rgba(95, 193, 214, 0.45), 0 0 14px rgba(95, 193, 214, 0.4);
}

.btn-yellow:hover {
  background: var(--ocean);
  box-shadow: 0 10px 32px rgba(95, 193, 214, 0.7), 0 0 26px rgba(95, 193, 214, 0.6);
}

.btn-outline {
  background: transparent;
  color: inherit;
}

/* hero buttons — extra pop against the photo */
.hero .btn-yellow {
  animation: btnGlow 2.6s ease-in-out infinite;
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 6px 22px rgba(95, 193, 214, 0.45), 0 0 14px rgba(95, 193, 214, 0.4); }
  50% { box-shadow: 0 8px 30px rgba(95, 193, 214, 0.75), 0 0 28px rgba(95, 193, 214, 0.7); }
}

.hero .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero .btn-outline:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  box-shadow: 0 8px 26px rgba(255, 255, 255, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .hero .btn-yellow { animation: none; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.15em;
  transition: gap 0.25s ease;
}

.link-arrow:hover { gap: 0.75em; }

/* ===================================================================
   SHOWCASE (editorial gallery) — home "quick look"
   =================================================================== */
.showcase {
  position: relative;
  padding: 6em 1.3em;
  background-image:
    linear-gradient(rgba(7, 34, 51, 0.58), rgba(7, 34, 51, 0.72)),
    url("images/ocean-bg.jpg");
  background-size: cover;
  background-position: center;
}

.showcase .showcase-head {
  text-align: center;
  margin-bottom: 2em;
}

.showcase .showcase-head h2 { margin-bottom: 0.1em; color: #fff; }
.showcase .showcase-head .eyebrow { color: rgba(255, 255, 255, 0.82); }

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 12vw;
  gap: 1em;
}

.showcase-item {
  position: relative;
  overflow: hidden;
  background: #ddd;
}

.showcase-item img { transition: transform 1s cubic-bezier(0.16,1,0.3,1); }
.showcase-item:hover img { transform: scale(1.05); }

.showcase-item .cap {
  position: absolute;
  left: 1em;
  bottom: 1em;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}

.showcase-item .cap .it { font-size: 1.6rem; display: block; }
.showcase-item .cap p { color: #fff; font-size: 0.85rem; }

.s-a { grid-column: 1 / 6;  grid-row: 1 / 4; }
.s-b { grid-column: 6 / 13; grid-row: 1 / 3; }
.s-c { grid-column: 6 / 9;  grid-row: 3 / 6; }
.s-d { grid-column: 9 / 13; grid-row: 3 / 5; }
.s-e { grid-column: 1 / 6;  grid-row: 4 / 7; }
.s-f { grid-column: 9 / 13; grid-row: 5 / 7; }

/* ===================================================================
   SERVICES LIST
   =================================================================== */
.services {
  background: var(--bg);
  padding: 4em 0 2em;
}

.service {
  display: flex;
  gap: 1.5em;
  padding: 2.2em 1.3em;
  border-top: 1px solid var(--line);
}

.service-index { flex: 1.2; }
.service-index p { font-size: 1rem; color: var(--ink-soft); }

.service-title { flex: 4; }
.service-title p { font-size: clamp(1.4rem, 2.4vw, 2rem); }

.service-copy { flex: 3; }
.service-copy p { color: var(--ink-soft); }
.service-copy p + p { margin-top: 1em; }

.service-list { flex: 2.6; }
.service-list > p { margin-bottom: 0.4em; }
.service-list .hr { width: 100%; height: 1px; background: var(--ink); margin: 0.5em 0 0.8em; }
.service-list .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  margin-bottom: 0.5em;
}

/* ===================================================================
   ROWS (cases) — hover-fill list
   =================================================================== */
.rows {
  background: var(--bg);
  padding: 5em 1.3em;
}

.rows > h2 { margin-bottom: 0.35em; }

.row-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.85em 1em;
  cursor: default;
  overflow: hidden;
}

.row-item::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  background: var(--ink);
  transition: height 0.3s ease;
  z-index: 0;
}

.row-item:hover::before { height: 100%; }

.row-item > * { position: relative; z-index: 1; }
.row-item p { transition: color 0.3s ease; }
.row-item:hover p { color: var(--bg); }

.row-name { flex: 4; font-size: 1.15rem; }
.row-tags { flex: 4; color: var(--ink-soft); }
.row-meta { flex: 2; text-align: right; color: var(--ink-soft); }

/* ===================================================================
   REVIEWS
   =================================================================== */
.reviews {
  background: var(--bg);
  padding: 7em 1.3em 9em;
}

.reviews > h2 { margin-bottom: 1em; }

.reviews-container {
  display: flex;
  gap: 2.5em;
}

.review {
  flex: 1;
  padding-right: 2.5em;
  border-right: 1px solid var(--line);
}

.review:last-child { border-right: none; }

.review .stars { color: var(--ink); letter-spacing: 0.1em; margin-bottom: 0.8em; }

.review > p { margin-bottom: 1.2em; }

.review .review-author { font-size: 1.15rem; margin-bottom: 0.1em; }
.review .review-meta { color: var(--ink-soft); font-size: 0.9rem; }

/* reviews grid variant (reviews page) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.reviews-grid .review {
  background: var(--bg);
  border: none;
  padding: 2.2em;
}

/* rating bar */
.ratingbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5em;
  padding: 2.5em 1.3em;
  background: var(--ocean);
}

.ratingbar .big { font-size: clamp(3rem, 8vw, 6rem); line-height: 0.9; }
.ratingbar .rating-lead { display: flex; align-items: center; gap: 1.2em; }
.ratingbar .stars { font-size: 1.2rem; letter-spacing: 0.15em; }
.ratingbar .rating-scores { flex: 1; min-width: 260px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1em 2em; }
.ratingbar .score b { font-size: 1.8rem; font-weight: 500; }
.ratingbar .score span { display: block; color: var(--ink-soft); font-size: 0.9rem; }

/* ===================================================================
   LOCATIONS
   =================================================================== */
.locations {
  background: var(--bg);
  padding: 4em 1.3em;
}

.location {
  display: flex;
  gap: 1.5em;
  align-items: center;
}

.location-name { flex: 3; }
.location-name h3 { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; }
.location-img { flex: 2; height: 220px; overflow: hidden; }
.location-info { flex: 4; display: flex; flex-direction: column; gap: 1.5em; }
.location-info h3 { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; }
.location-copy p { margin-bottom: 0.4em; color: var(--ink-soft); }
.location-copy a { color: var(--ink-soft); }
.location-copy a:hover { color: var(--ink); }
.location-icon { flex: 1; text-align: right; font-size: 1.5rem; }

.hr { width: 100%; height: 1px; background: var(--line); margin: 2em 0; }

/* ===================================================================
   VISIONS (narrow editorial block)
   =================================================================== */
.visions {
  background: var(--bg);
  padding: 4em 1.3em 8em;
}

.visions-container { width: min(720px, 100%); }

.visions-cols {
  display: flex;
  gap: 2.5em;
  margin-top: 1.5em;
}

.visions-col { flex: 1; }

.vision-name { margin-bottom: 0.5em; }
.vision-name .it { font-size: 1.2rem; }
.visions-col p:not(.vision-name) { color: var(--ink-soft); margin-bottom: 1.5em; }

/* ===================================================================
   NEWS / TILE GRID (things to do, gallery)
   =================================================================== */
.tiles {
  background: var(--bg);
  padding: 3em 1.3em 5em;
}

.tiles-head { margin-bottom: 1.5em; }

.tiles-row {
  display: flex;
  gap: 2.5em;
}

.tile { flex: 1; }
.tile .tile-img { height: 30vw; max-height: 460px; overflow: hidden; }
.tile .tile-img img { transition: transform 1s cubic-bezier(0.16,1,0.3,1); }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile .tile-meta { margin: 1em 0 0.4em; display: flex; align-items: center; gap: 0.4em; color: var(--ink-soft); font-size: 0.9rem; }
.tile .tile-meta i { color: var(--ink); }
.tile .tile-desc p { font-size: 1.05rem; }

/* ===================================================================
   SPECS / AMENITIES GRID
   =================================================================== */
.specs {
  background: var(--bg);
  padding: 4em 1.3em;
}

.specs-head { margin-bottom: 2em; }

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.spec {
  background: var(--bg);
  padding: 1.6em 1.3em;
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

.spec i { font-size: 1.6rem; margin-bottom: 0.4em; }
.spec b { font-weight: 600; font-size: 1.05rem; }
.spec span { color: var(--ink-soft); font-size: 0.9rem; }

/* checklist */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 0.7em; margin-top: 0.5em; }
.checklist li { display: flex; gap: 0.6em; align-items: flex-start; color: var(--ink-soft); }
.checklist li i { color: var(--ink); margin-top: 0.15em; }

/* tags */
.tags { display: flex; flex-wrap: wrap; gap: 0.5em; }
.tag { border: 1px solid var(--ink); border-radius: 100px; padding: 0.5em 1.1em; font-size: 0.9rem; }
.tag.yellow { background: var(--ocean); }

/* ===================================================================
   SPLIT (media + copy)
   =================================================================== */
.split {
  background: var(--bg);
  padding: 4em 1.3em;
  display: flex;
  gap: 3em;
  align-items: center;
}

.split.media-first { flex-direction: row-reverse; }
.split .col { flex: 1; }
.split .col.copy { display: flex; flex-direction: column; gap: 1.2em; }
.split .media { height: 34vw; max-height: 560px; overflow: hidden; }
.split .media img { transition: transform 1s cubic-bezier(0.16,1,0.3,1); }
.split .media:hover img { transform: scale(1.04); }

/* ===================================================================
   COMPARE TABLE
   =================================================================== */
.compare-section { background: var(--bg); padding: 4em 1.3em; }
.compare-head { margin-bottom: 2em; }
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: 1em 1.1em; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.compare thead th { font-weight: 500; color: var(--ink-soft); }
.compare thead th.hl, .compare td.hl { background: var(--ocean); }
.compare tbody th { font-weight: 600; }
.compare td { color: var(--ink-soft); }
.compare .cmp-yes { color: var(--ink); font-weight: 600; }
.compare i.cmp-yes { font-style: normal; }
.compare .cmp-no { color: #aaa; }

/* ===================================================================
   PRICING
   =================================================================== */
.pricing { background: var(--bg); padding: 4em 1.3em; }
.pricing-head { margin-bottom: 2em; text-align: center; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; }
.tier { border: 1px solid var(--ink); padding: 2em; display: flex; flex-direction: column; gap: 0.5em; }
.tier.featured { background: var(--ocean); }
.tier h3 { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 1.8rem; }
.tier .season { color: var(--ink-soft); font-size: 0.9rem; }
.tier .price { font-size: 2rem; margin: 0.6em 0; }
.tier .price small { font-size: 0.95rem; color: var(--ink-soft); }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 0.5em; margin-bottom: 1.4em; }
.tier ul li { display: flex; gap: 0.5em; align-items: flex-start; color: var(--ink-soft); font-size: 0.95rem; }
.tier ul li i { color: var(--ink); margin-top: 0.1em; }
.tier .btn { margin-top: auto; align-self: flex-start; }

/* ===================================================================
   FAQ
   =================================================================== */
.faq-section { background: var(--bg); padding: 4em 1.3em; }
.faq-head { margin-bottom: 1.5em; text-align: center; }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.3em 0; display: flex; justify-content: space-between; align-items: center; gap: 1em; font-size: 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { transition: transform 0.3s ease; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq .a { padding: 0 0 1.4em; color: var(--ink-soft); max-width: 70ch; line-height: 1.55; }

/* ===================================================================
   CONTACT FORM
   =================================================================== */
.contact-section { background: var(--bg); padding: 3em 1.3em; display: flex; gap: 3em; align-items: flex-start; }
.contact-intro { flex: 1; }
.contact-intro h2 { margin-bottom: 0.6em; }
.contact-intro p { color: var(--ink-soft); }
.contact-form { flex: 1; display: flex; justify-content: flex-end; }
.contact-form form { width: 100%; max-width: 460px; }
.contact-form label { font-size: 1.1rem; display: block; margin-bottom: 0.4em; }
.contact-form .field-row { display: flex; gap: 1.5em; }
.contact-form .field { flex: 1; margin-bottom: 1.8em; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--ink);
  outline: none;
  background: none;
  padding: 0.5em 0;
  font-family: inherit;
  font-size: 1.05rem;
  color: var(--ink);
}
.contact-form ::placeholder { color: var(--ink-soft); }
.contact-form textarea { min-height: 90px; resize: vertical; }
.contact-form .form-note { color: var(--ink-soft); font-size: 0.85rem; margin-top: 1.4em; line-height: 1.5; }

/* subhero big statement */
.subhero { background: var(--bg); padding: 4em 1.3em; }
.subhero h2 { max-width: 40ch; }

/* ===================================================================
   WHATSAPP FLOATING BUTTON
   =================================================================== */
.wa-btn {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 9999;
  width: 3.6rem;
  height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wa-btn i { font-size: 2rem; line-height: 1; color: #fff; }

.wa-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: waPulse 2.4s ease-out infinite;
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .wa-btn::after { animation: none; }
}

@media (max-width: 480px) {
  .wa-btn { width: 3.3rem; height: 3.3rem; right: 1rem; bottom: 1rem; }
  .wa-btn i { font-size: 1.8rem; }
}

/* ===================================================================
   FOOTER
   =================================================================== */
footer {
  width: 100%;
  padding: 7em 1.3em 3em;
  background: linear-gradient(0deg, var(--ocean) 0%, var(--bg) 100%);
}

.footer-row:nth-child(1) {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2em;
}

.footer-links { display: flex; flex-direction: column; }
.footer-links a { padding-bottom: 0.35em; }
.footer-links a:hover { opacity: 0.55; }

.footer-subscribe {
  display: flex;
  width: 32%;
  border-bottom: 1px solid var(--ink);
  padding: 0.5em 0.2em;
}

.footer-subscribe input { background: none; outline: none; border: none; flex: 4; font-size: 1rem; font-family: inherit; color: var(--ink); }
.footer-subscribe input::placeholder { color: var(--ink-soft); }
.footer-subscribe button { background: none; border: none; outline: none; flex: 1; cursor: pointer; font-size: 1rem; font-family: inherit; }

.footer-outro { width: 100%; }
.footer-outro-content { width: min(620px, 90%); margin: 4em auto 0; text-align: center; }
.footer-outro-content .display { margin-bottom: 0.1em; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; }
.footer-outro-content .display .it { padding-right: 0; }
.footer-outro-content span { font-size: 0.95rem; }
.footer-outro-content p { color: var(--ink-soft); font-size: 0.9rem; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1000px) {
  .service { flex-direction: column; gap: 0.8em; }
  .reviews-container, .location { flex-direction: column; align-items: flex-start; }
  .review { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 2em; }
  .review:last-child { border-bottom: none; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles-row { flex-direction: column; gap: 2em; }
  .tile .tile-img { height: 62vw; max-height: 480px; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.media-first { flex-direction: column; gap: 1.5em; }
  .split .media { width: 100%; height: 62vw; max-height: 460px; }
  .visions-cols { flex-direction: column; gap: 1.5em; }
  .tiers { grid-template-columns: 1fr; }
  .contact-section { flex-direction: column; gap: 2em; }
  .contact-form { justify-content: flex-start; }
  .contact-form form { max-width: none; }
  .location-img { width: 100%; height: 56vw; max-height: 320px; }
  /* showcase → tidy 2-up tiles with a consistent shape */
  .showcase-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .s-a, .s-b, .s-c, .s-d, .s-e, .s-f { grid-column: auto; grid-row: auto; }
  .showcase-item { aspect-ratio: 1 / 1; }
  .showcase-item .cap .it { font-size: 1.2rem; }
}

@media (max-width: 760px) {
  /* slim, compact nav instead of a tall stacked bar over the hero */
  nav { padding: 0.9em 1em; flex-wrap: wrap; align-items: center; gap: 0.4em 1em; }
  nav .logo { flex: 1 1 100%; }
  nav .nav-items { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.35em 1.1em; }
  nav .links { flex: 0 1 auto; flex-direction: row; flex-wrap: wrap; gap: 0.35em 1.1em; }
  nav .contact { flex: 0 0 auto; text-align: left; }
  nav a { font-size: 0.95rem; }

  /* tighten the big vertical rhythm on phones */
  .section-hero { padding: 7.5em 1em 2.5em; }
  .showcase { padding: 3.5em 1em; }
  .services { padding: 2.5em 0 1em; }
  .service { padding: 1.8em 1em; }
  .rows { padding: 3.5em 1em; }
  .reviews { padding: 4em 1em 4.5em; }
  .locations, .split, .compare-section, .specs, .pricing, .faq-section, .contact-section, .subhero { padding-top: 3em; padding-bottom: 3em; }
  .visions { padding: 3em 1em 4.5em; }
  .tiles { padding: 2.5em 1em 4em; }
  footer { padding: 4em 1em 2.5em; }

  /* centre the copy + CTA in the hero height; pin the big word to the bottom */
  .hero .hero-inner { position: relative; justify-content: center; padding: 6em 1.2em 5.5em; }
  .hero .hero-tagline { position: absolute; left: 1em; right: 1em; bottom: 0.8em; }
  .hero .hero-copy h2 { font-size: 1.05rem; }

  .footer-row:nth-child(1) { flex-direction: column; }
  .footer-subscribe { width: 100%; margin-top: 2em; }
  .reviews-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr 1fr; }
  .row-item { flex-wrap: wrap; gap: 0.15em 0; padding: 0.8em 0.6em; }
  .row-name { flex: 1 1 100%; }
  .row-tags, .row-meta { flex-basis: 100%; text-align: left; }
  .ratingbar { gap: 1.5em; padding: 2em 1em; }
  .ratingbar .rating-scores { gap: 1em; }
  /* comparison table: tighten and allow smooth horizontal scroll */
  .compare { min-width: 540px; }
  .compare th, .compare td { padding: 0.8em 0.85em; font-size: 0.86rem; }
  .compare-wrap { -webkit-overflow-scrolling: touch; }
}

@media (max-width: 480px) {
  h1, .display { font-size: 2.6rem; }
  h2 { font-size: 1.6rem; }
  .section-hero { padding: 7em 0.9em 2.5em; }
  .hero .hero-inner { padding: 5.5em 1em 5em; }
  .hero .hero-copy h2 { font-size: 1rem; }
  /* stack hero buttons full-width for comfortable tap targets */
  .hero .hero-cta { flex-direction: column; align-items: stretch; width: 100%; gap: 0.6em; }
  .hero .hero-cta .btn { width: 100%; justify-content: center; }
  .showcase-item .cap .it { font-size: 1.05rem; }
  .showcase-item .cap p { font-size: 0.75rem; }
  .specs-grid { grid-template-columns: 1fr 1fr; }
  .footer-outro-content { width: 92%; }
}

/* ===================================================================
   ACCESSIBILITY — larger tap targets (min 44px / more spacing)
   =================================================================== */
nav a { display: inline-block; padding: 0.3em 0; }
.footer-links a { padding: 0.4em 0; }
.crumbs a { display: inline-block; padding: 0.15em 0.2em; margin: 0 -0.2em; }
.location-copy a { display: inline-block; padding: 0.12em 0; }
.location-icon a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

/* ===================================================================
   COOKIE CONSENT BANNER (opt-in)
   =================================================================== */
.cookie-banner {
  position: fixed;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 10001;
  max-width: 360px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.cookie-banner.show { opacity: 1; transform: none; }
.cookie-banner p { color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; line-height: 1.45; margin-bottom: 0.9rem; }
.cookie-banner p a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.6rem; justify-content: flex-end; }
.cookie-banner button {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.55em 1.2em;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.cookie-decline { background: transparent; color: #fff; }
.cookie-accept { background: var(--ocean); color: var(--ink); border-color: var(--ocean); }
@media (max-width: 560px) {
  .cookie-banner { left: 0.8rem; right: 0.8rem; bottom: 5rem; max-width: none; }
}

/* ===================================================================
   HOME HERO — auto-play reveal animation (GSAP)
   =================================================================== */
.hero { background-color: #0a1216; }

.hero-reveal {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero .intro-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
  transform-origin: center center;
  will-change: transform;
}

.hero .intro-img.hero-img {
  z-index: 1;
  border-radius: 0;
}

/* overlay above the images, below the copy (defaults visible for no-JS fallback) */
.hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 80% at 50% 40%, rgba(6, 14, 20, 0.15) 0%, rgba(6, 14, 20, 0.5) 70%, rgba(6, 14, 20, 0.7) 100%),
    linear-gradient(180deg, rgba(6, 14, 20, 0.55) 0%, rgba(6, 14, 20, 0.32) 38%, rgba(6, 14, 20, 0.72) 100%);
}

.hero .line { position: relative; will-change: transform; }

/* preloader cover (hides setup flash; clips away as the animation starts) */
.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  background-color: #0a1216;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 50;
}

.preloader-overlay .preloader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.4rem;
  background-color: var(--ocean);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}
