:root {
  --sand: #fff8ef;
  --ink: #14213d;
  --ink-soft: #4a5272;
  --sun: #ff8c42;
  --sun-2: #ff3c6e;
  --sea: #0a9396;
  --sea-deep: #005f73;
  --accent: #ffb703;
  --radius: 20px;
  --shadow: 0 20px 60px -20px rgba(20,33,61,.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--sand);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.1; }
em { font-style: italic; color: var(--sun-2); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-bottom: 1rem;
}
.eyebrow.dark { color: var(--sun-2); }
.eyebrow.light { color: rgba(255,255,255,.9); }

/* NAV */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 3rem;
  transition: all .4s ease;
}
#nav.scrolled {
  background: rgba(255,248,239,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 30px rgba(0,0,0,.06);
  padding: .7rem 3rem;
}
.logo {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none; color: #fff;
  font-size: 1.1rem; font-weight: 500;
  transition: color .3s;
}
#nav.scrolled .logo { color: var(--ink); }
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg,var(--sun),var(--sun-2));
  border-radius: 10px;
  display: grid; place-items: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900; color: #fff;
  box-shadow: 0 8px 20px rgba(255,60,110,.4);
}
.nav-links {
  display: flex; gap: 1.6rem; list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  position: relative;
  transition: color .3s;
}
#nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--sun-2);
  transition: width .3s;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: none !important;
  padding: .6rem 1.3rem;
  background: #fff;
  color: var(--ink);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding-top: 100px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55)),
    linear-gradient(135deg,#ff6b35 0%, #ff3c6e 35%, #7209b7 75%, #0a9396 100%);
  background-size: 200% 200%;
  animation: gradientShift 14s ease infinite;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.15) 0, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(255,183,3,.25) 0, transparent 35%);
  animation: float 20s ease-in-out infinite alternate;
}
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes float {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(-30px,20px) scale(1.1); }
}

.hero-waves {
  position: absolute; bottom: -1px; left: 0; right: 0;
  line-height: 0;
}
.hero-waves svg { width: 100%; height: 110px; display: block; }

.hero-content {
  max-width: 900px;
  padding: 0 2rem;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero h1 .word:nth-child(2) { animation-delay: .25s; }
.hero h1 .accent {
  background: linear-gradient(120deg,#ffd166,#ffb703,#ff8c42);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: .4rem;
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: rise .9s .55s forwards;
  color: rgba(255,255,255,.92);
}

.hero-cta {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise .9s .75s forwards;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all .3s cubic-bezier(.2,.8,.2,1);
  display: inline-block;
}
.btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 40px rgba(0,0,0,.3); }

.btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }

.btn-white {
  background: #fff;
  color: var(--ink);
  padding: 1.1rem 2.4rem;
  box-shadow: 0 15px 40px rgba(0,0,0,.25);
}
.btn-white:hover { transform: translateY(-3px); }

/* WEATHER WIDGET */
.weather {
  margin: 3.5rem auto 0;
  max-width: 440px;
  padding: 1.2rem 1.6rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
  opacity: 0;
  animation: rise .9s .95s forwards;
}
.weather-loading {
  padding: .8rem;
  font-size: .9rem;
  opacity: .85;
  letter-spacing: .05em;
}
.weather-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  text-align: left;
}
.weather-icon {
  font-size: 3.2rem;
  line-height: 1;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.3));
  animation: bob 5s ease-in-out infinite;
}
.weather-main .weather-city {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  opacity: .8;
  margin-bottom: .2rem;
}
.weather-main .weather-desc {
  font-size: 1rem;
  font-weight: 500;
}
.weather-temp {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.weather-extra {
  display: flex;
  justify-content: space-between;
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: .82rem;
  opacity: .9;
}
.weather-extra span strong { font-weight: 600; color: var(--accent); margin-right: .3rem; }
.weather-live {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .68rem; text-transform: uppercase; letter-spacing: .25em;
  opacity: .8;
}
.weather-live::before {
  content: '';
  width: 7px; height: 7px;
  background: #38ef7d;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(56,239,125,.7);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(56,239,125,.7); }
  50% { box-shadow: 0 0 0 8px rgba(56,239,125,0); }
}

.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  z-index: 1;
  opacity: .75;
}
.scroll-hint span {
  display: block;
  width: 1px; height: 30px;
  background: #fff;
  margin: 0 auto .6rem;
  animation: scrollLine 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%,100% { transform: scaleY(.3); opacity: .3; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* SECTION */
.section {
  padding: 8rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}
.section-head h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1.2rem;
}
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}
.card-wrap,
.card-wrap:link,
.card-wrap:visited,
.card-wrap:hover,
.card-wrap:active,
.card-wrap:focus {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
  border-radius: var(--radius);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
  outline: none;
}
.card-wrap:focus-visible { outline: 3px solid var(--sun-2); outline-offset: 4px; }
.card-wrap:hover .card {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px -20px rgba(20,33,61,.35);
}
.card-wrap:hover .emoji {
  transform: scale(1.15) rotate(-5deg);
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
  cursor: pointer;
  height: 100%;
}
.card-img {
  height: 180px;
  border-radius: 14px;
  margin-bottom: 1.4rem;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.card-img::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.3), transparent 60%);
}
.emoji {
  font-size: 4rem;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.25));
  transition: transform .5s;
}
.card h3 {
  font-size: 1.4rem;
  margin-bottom: .6rem;
  color: var(--ink);
}
.card p {
  color: var(--ink-soft);
  font-size: .95rem;
  margin: 0;
}

/* PARALLAX */
.parallax {
  position: relative;
  min-height: 70vh;
  display: grid; place-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(10,147,150,.55), rgba(0,95,115,.7)),
    linear-gradient(135deg, #2bc0e4, #0066a2, #005f73);
  background-attachment: fixed, fixed;
  background-size: cover, 200% 200%;
  animation: gradientShift 18s ease infinite;
  overflow: hidden;
}
.parallax::before,
.parallax::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .35;
}
.parallax::before {
  width: 400px; height: 400px;
  background: var(--accent);
  top: -100px; left: -100px;
  animation: float 12s ease-in-out infinite alternate;
}
.parallax::after {
  width: 500px; height: 500px;
  background: var(--sun-2);
  bottom: -150px; right: -150px;
  animation: float 15s ease-in-out infinite alternate-reverse;
}
.parallax-content { padding: 2rem; z-index: 1; position: relative; }
.parallax h2 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  margin-bottom: 2rem;
  line-height: 1.05;
}

/* SABOR */
.sabor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.sabor-text h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 1.4rem; }
.sabor-text p { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 1.8rem; }

.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.tag-list li {
  padding: .5rem 1.1rem;
  background: #fff;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(20,33,61,.08);
  transition: transform .2s;
}
.tag-list li:hover { transform: translateY(-3px); background: var(--sun-2); color: #fff; }

.sabor-visual {
  position: relative;
  height: 420px;
}
.dish {
  position: absolute;
  width: 140px; height: 140px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 4rem;
  background: #fff;
  box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.dish.d1 { top: 20px; left: 30px; background: linear-gradient(135deg,#ffe0b2,#ffab40); }
.dish.d2 { top: 60px; right: 40px; background: linear-gradient(135deg,#b3e5fc,#0288d1); animation-delay: -1.5s; }
.dish.d3 { bottom: 60px; left: 80px; background: linear-gradient(135deg,#f8bbd0,#ec407a); animation-delay: -3s; }
.dish.d4 { bottom: 20px; right: 60px; background: linear-gradient(135deg,#c8e6c9,#43a047); animation-delay: -4.5s; }

@keyframes bob {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

/* CTA */
.cta {
  padding: 7rem 2rem;
  background: linear-gradient(135deg, #14213d 0%, #3a1c71 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '🌴';
  position: absolute;
  font-size: 20rem;
  opacity: .05;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.cta-inner { max-width: 620px; margin: 0 auto; position: relative; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1.2rem; }
.cta h2 span {
  background: linear-gradient(120deg, var(--sun), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.cta p { font-size: 1.1rem; opacity: .85; margin-bottom: 2.2rem; }

.cta-form {
  display: flex;
  background: #fff;
  border-radius: 50px;
  padding: .4rem;
  max-width: 460px;
  margin: 0 auto 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.cta-form input {
  flex: 1;
  padding: .8rem 1.2rem;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  color: var(--ink);
  font-family: inherit;
}
.cta-form button {
  padding: .8rem 1.6rem;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--sun), var(--sun-2));
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: .95rem;
  transition: transform .2s;
}
.cta-form button:hover { transform: scale(1.05); }
.cta small { opacity: .6; font-size: .8rem; }

/* FOOTER */
footer {
  padding: 2rem;
  background: #0b1629;
  color: rgba(255,255,255,.6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .9rem;
}
.foot-links { display: flex; gap: 1.5rem; }
.foot-links a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .3s; }
.foot-links a:hover { color: var(--accent); }

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--delay, 0ms);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   LIST PAGES (Playas, Tours…)
   ============================ */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  padding: 120px 2rem 3rem;
  overflow: hidden;
  isolation: isolate;
}
.page-hero.theme-playas    { background: linear-gradient(135deg,#ff9a56,#ff3c6e,#7209b7); }
.page-hero.theme-tours     { background: linear-gradient(135deg,#2bc0e4,#0066a2,#005f73); }
.page-hero.theme-activs    { background: linear-gradient(135deg,#11998e,#38ef7d,#0a9396); }
.page-hero.theme-conoce    { background: linear-gradient(135deg,#f953c6,#b91d73,#3a1c71); }
.page-hero.theme-sabor     { background: linear-gradient(135deg,#ffb703,#fb5607,#c1121f); }
.page-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.18) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,183,3,.25) 0, transparent 45%);
}
.page-hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  margin: .4rem 0 .8rem;
}
.page-hero p { max-width: 560px; opacity: .9; font-size: 1.05rem; }
.page-hero .eyebrow { color: rgba(255,255,255,.9); }

.back-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-bottom: .8rem;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .05em;
  transition: transform .2s, color .2s;
}
.back-link:hover { color: #fff; transform: translateX(-4px); }

.list-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}
.list {
  list-style: none;
  display: grid;
  gap: 1.1rem;
}
.list-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 1.3rem;
  padding: 1.3rem 1.6rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 28px -12px rgba(20,33,61,.18);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
  border: 1px solid rgba(20,33,61,.05);
  opacity: 0;
  transform: translateY(20px);
  animation: listIn .6s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes listIn { to { opacity: 1; transform: translateY(0); } }

.list-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(20,33,61,.28);
  border-color: rgba(255,60,110,.2);
}
.list-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--sand), #ffe4c4);
  flex-shrink: 0;
}
.theme-playas .list-icon  { background: linear-gradient(135deg,#ffe0b2,#ffab91); }
.theme-tours  .list-icon  { background: linear-gradient(135deg,#b3e5fc,#81d4fa); }
.theme-activs .list-icon  { background: linear-gradient(135deg,#c8e6c9,#a5d6a7); }
.theme-conoce .list-icon  { background: linear-gradient(135deg,#f8bbd0,#ce93d8); }
.theme-sabor  .list-icon  { background: linear-gradient(135deg,#ffe0a3,#ffab40); }

/* Section title within list page */
.list-section {
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.list-section:first-child { margin-top: 0; }
.list-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--ink);
  white-space: nowrap;
}
.list-section .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--sun-2), transparent);
}
.list-section .count {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--ink-soft);
  font-weight: 600;
}

.list-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: .2rem;
  color: var(--ink);
}
.list-body p {
  color: var(--ink-soft);
  font-size: .93rem;
  line-height: 1.5;
}
.list-tag {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  padding: .35rem .75rem;
  background: var(--sand);
  border-radius: 50px;
  color: var(--sun-2);
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .list-item {
    grid-template-columns: 54px 1fr;
    padding: 1.1rem 1.2rem;
    gap: 1rem;
  }
  .list-icon { width: 48px; height: 48px; font-size: 1.6rem; border-radius: 12px; }
  .list-tag {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: .2rem;
  }
  .list-body h3 { font-size: 1.1rem; }
  .list-body p { font-size: .88rem; }
}

/* ============================
   BEACH DETAIL PAGE
   ============================ */
.beach-hero {
  position: relative;
  min-height: 70vh;
  padding: 140px 2rem 3rem;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.beach-hero .bg-img {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
  animation: slowZoom 20s ease-in-out infinite alternate;
}
@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.beach-hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.78) 100%);
}
.beach-hero-inner {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}
.beach-hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  margin: .6rem 0 .8rem;
  line-height: 1.05;
}
.beach-hero p.intro {
  max-width: 620px;
  font-size: 1.05rem;
  opacity: .95;
  line-height: 1.6;
}
.beach-meta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1.1rem;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 500;
}

.beach-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  display: grid;
  gap: 1.6rem;
}
.beach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}
.beach-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.8rem 2rem;
  box-shadow: 0 8px 28px -12px rgba(20,33,61,.15);
  border: 1px solid rgba(20,33,61,.05);
  transition: transform .3s, box-shadow .3s;
}
.beach-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -14px rgba(20,33,61,.22);
}
.beach-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: .8rem;
  display: flex; align-items: center; gap: .55rem;
}
.beach-card h2 .ic {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sun), var(--sun-2));
  border-radius: 10px;
  font-size: 1.1rem;
  box-shadow: 0 6px 14px rgba(255,60,110,.35);
}
.beach-card p {
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: .98rem;
}

.beach-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px -12px rgba(20,33,61,.2);
}
.beach-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.beach-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}
.btn-map {
  padding: .9rem 1.6rem;
  background: linear-gradient(135deg, var(--sun), var(--sun-2));
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  box-shadow: 0 10px 25px -8px rgba(255,60,110,.5);
  transition: transform .2s, box-shadow .2s;
}
.btn-map:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(255,60,110,.6); }
.btn-back {
  padding: .9rem 1.6rem;
  background: #fff;
  color: var(--ink);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid rgba(20,33,61,.1);
  transition: transform .2s, border-color .2s;
}
.btn-back:hover { transform: translateY(-2px); border-color: var(--sun-2); }

@media (max-width: 640px) {
  .beach-hero { min-height: 58vh; padding: 120px 1.2rem 2rem; }
  .beach-wrap { padding: 3rem 1.2rem 4rem; }
  .beach-card { padding: 1.4rem 1.5rem; }
  .beach-map iframe { height: 320px; }
}

/* ============================
   BLOG PAGE
   ============================ */
.blog-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.blog-post {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px -12px rgba(20,33,61,.18);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
  cursor: pointer;
  display: flex; flex-direction: column;
}
.blog-post:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(20,33,61,.28);
}
.blog-post .thumb {
  height: 200px;
  background-size: cover;
  background-position: center;
  display: grid; place-items: center;
  position: relative;
}
.blog-post .thumb .emoji {
  font-size: 4rem;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.3));
}
.blog-post .category {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: .4rem .9rem;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--sun-2);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.blog-post .body { padding: 1.6rem 1.8rem; flex: 1; display: flex; flex-direction: column; }
.blog-post h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  line-height: 1.25;
  margin-bottom: .6rem;
  color: var(--ink);
}
.blog-post p {
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.2rem;
}
.blog-post .meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(20,33,61,.08);
  font-size: .82rem;
  color: var(--ink-soft);
}
.blog-post .meta .read-more { color: var(--sun-2); font-weight: 600; }

/* ============================
   BLOG POST DETAIL (with sidebar)
   ============================ */
.blog-post-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}
.blog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ad-banner {
  background: linear-gradient(135deg, var(--sand), #ffe4c4);
  border: 2px dashed var(--sun);
  border-radius: 18px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--ink-soft);
  transition: transform .3s;
}
.ad-banner:hover { transform: translateY(-4px); }
.ad-banner .ad-label {
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--sun-2);
  font-weight: 700;
  margin-bottom: .8rem;
}
.ad-banner .ad-icon {
  font-size: 3rem;
  margin-bottom: .6rem;
  filter: drop-shadow(0 4px 8px rgba(255,60,110,.25));
}
.ad-banner h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: .5rem;
  line-height: 1.25;
}
.ad-banner p {
  font-size: .88rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.ad-banner .btn-small {
  padding: .55rem 1.1rem;
  background: linear-gradient(135deg, var(--sun), var(--sun-2));
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  box-shadow: 0 6px 16px -6px rgba(255,60,110,.5);
}
.ad-compact {
  background: #fff;
  border: 1px solid rgba(20,33,61,.08);
  border-radius: 14px;
  padding: 1.3rem;
  text-align: left;
  box-shadow: 0 4px 14px -8px rgba(20,33,61,.15);
}
.ad-compact .ad-label { text-align: left; }
.ad-compact h4 { font-size: 1rem; margin-bottom: .3rem; }
.ad-compact p { font-size: .82rem; margin-bottom: .7rem; }

.blog-article {
  max-width: 780px;
  min-width: 0;
}
.blog-meta-bar {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: .88rem;
  color: var(--ink-soft);
}
.blog-meta-bar .badge {
  padding: .35rem .9rem;
  background: var(--sand);
  border-radius: 50px;
  color: var(--sun-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
}
.blog-article h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1rem;
}
.blog-subtitle {
  font-size: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 2rem;
  font-style: italic;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(20,33,61,.08);
}
.blog-article h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  margin: 2.4rem 0 1rem;
  color: var(--ink);
  line-height: 1.25;
}
.blog-article h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin: 1.8rem 0 .7rem;
  color: var(--ink);
}
.blog-article p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.blog-article ul, .blog-article ol {
  padding-left: 1.5rem;
  margin-bottom: 1.3rem;
}
.blog-article li {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: .45rem;
}
.blog-article strong { color: var(--ink); font-weight: 600; }
.blog-article blockquote {
  border-left: 4px solid var(--sun-2);
  padding: 1rem 1.5rem;
  background: linear-gradient(90deg, rgba(255,183,3,.08), transparent);
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0;
  color: var(--ink);
  font-style: italic;
}
.blog-article a {
  color: var(--sun-2);
  text-decoration: underline;
  text-decoration-color: rgba(255,60,110,.3);
  text-underline-offset: 3px;
}
.blog-article a:hover { text-decoration-color: var(--sun-2); }

.blog-cta-end {
  margin-top: 3rem;
  padding: 2.2rem 2rem;
  background: linear-gradient(135deg, var(--sand), #ffe4c4);
  border-radius: 18px;
  text-align: center;
  border: 2px dashed var(--sun);
}
.blog-cta-end h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: .6rem;
  color: var(--ink);
}
.blog-cta-end p { color: var(--ink-soft); margin-bottom: 1.2rem; }

@media (max-width: 900px) {
  .blog-post-page {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .blog-sidebar {
    position: static;
    order: 2;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .blog-sidebar > * { flex: 1; min-width: 250px; }
  .blog-article { order: 1; max-width: 100%; }
}
@media (max-width: 520px) {
  .blog-sidebar { flex-direction: column; }
  .blog-sidebar > * { min-width: 0; }
}

/* ============================
   NEGOCIOS PAGE (filterable)
   ============================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin: 0 auto 3rem;
  max-width: 1000px;
  padding: 0 1rem;
}
.filter-pill {
  padding: .55rem 1.3rem;
  border-radius: 50px;
  background: #fff;
  border: 1.5px solid rgba(20,33,61,.1);
  color: var(--ink-soft);
  font-family: inherit;
  font-weight: 500;
  font-size: .9rem;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.filter-pill:hover {
  border-color: var(--sun-2);
  color: var(--sun-2);
  transform: translateY(-2px);
}
.filter-pill.active {
  background: linear-gradient(135deg, var(--sun), var(--sun-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px -8px rgba(255,60,110,.5);
}

.biz-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 6rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.6rem;
}
.biz-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: 0 8px 24px -12px rgba(20,33,61,.15);
  border: 1px solid rgba(20,33,61,.05);
  transition: transform .3s, box-shadow .3s, opacity .4s;
  display: flex; flex-direction: column;
}
.biz-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px -15px rgba(20,33,61,.25);
}
.biz-card.hidden { display: none; }
.biz-head {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1rem;
}
.biz-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.7rem;
  background: linear-gradient(135deg, var(--sand), #ffdead);
  flex-shrink: 0;
}
.biz-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--ink);
}
.biz-cat {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--sun-2);
  font-weight: 600;
  margin-top: .2rem;
}
.biz-card p {
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}
.biz-foot {
  display: flex;
  gap: .5rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(20,33,61,.06);
  flex-wrap: wrap;
}
.biz-foot a {
  font-size: .8rem;
  color: var(--ink-soft);
  text-decoration: none;
  padding: .3rem .8rem;
  border-radius: 50px;
  background: var(--sand);
  transition: background .2s, color .2s;
}
.biz-foot a:hover { background: var(--sun-2); color: #fff; }

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-soft);
}

/* ============================
   FAQ / DIRECTORY PAGE
   ============================ */
.faq-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}
.faq-intro {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.directory-section {
  margin-bottom: 3rem;
}
.directory-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--sun-2);
  display: inline-block;
}
.directory-list {
  list-style: none;
  display: grid;
  gap: .8rem;
}
.directory-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px -8px rgba(20,33,61,.12);
  border-left: 4px solid var(--sun-2);
  transition: transform .2s, border-color .2s;
}
.directory-item:hover {
  transform: translateX(4px);
  border-left-color: var(--sun);
}
.directory-item .d-ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 1.3rem;
  background: var(--sand);
}
.directory-item h4 {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: .15rem;
}
.directory-item p {
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.directory-item .d-phone {
  font-size: .85rem;
  color: var(--sun-2);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.directory-cta {
  margin-top: 3rem;
  padding: 2.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--sand), #ffe4c4);
  border-radius: 20px;
  border: 2px dashed var(--sun);
}
.directory-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: .6rem;
  color: var(--ink);
}
.directory-cta p { color: var(--ink-soft); margin-bottom: 1.2rem; }

@media (max-width: 640px) {
  .directory-item {
    grid-template-columns: 40px 1fr;
    gap: .8rem;
    padding: .9rem 1.1rem;
  }
  .directory-item .d-phone {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: .3rem;
  }
}

/* RESPONSIVE */
@media (max-width: 860px) {
  #nav { padding: 1rem 1.2rem; }
  .nav-links { display: none; }
  .nav-cta { display: none !important; }
  .hamburger { display: flex !important; }
  #nav.scrolled { padding: .7rem 1.2rem; }
  .sabor-grid { grid-template-columns: 1fr; }
  .sabor-visual { height: 340px; }
  .hero-stats { gap: 1.5rem; margin-top: 2.5rem; }
  .hero-stats strong { font-size: 1.6rem; }
  .section { padding: 5rem 1.2rem; }
  .cta-form { flex-direction: column; border-radius: 20px; background: transparent; box-shadow: none; }
  .cta-form input { background: #fff; border-radius: 14px; margin-bottom: .6rem; }
  .cta-form button { border-radius: 14px; padding: 1rem; }
}

/* ============================================
   GLOBAL MOTION SYSTEM
   - Entrance animations on page load
   - Scroll-triggered reveals (modern browsers)
   - Parallax on hero sections
   - Graceful degradation
   ============================================ */

@keyframes vvFadeUp {
  from { opacity: 0; transform: translate3d(0, 34px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes vvFadeDown {
  from { opacity: 0; transform: translate3d(0, -20px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes vvFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes vvScaleIn {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes vvSlideRight {
  from { opacity: 0; transform: translate3d(-30px, 0, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* ---------- PAGE LOAD ENTRANCE (all browsers) ---------- */

/* Page hero content slides in on load */
.page-hero > div {
  animation: vvFadeUp .9s cubic-bezier(.2,.8,.2,1) .15s both;
}

/* Beach-hero (detail pages) inner content */
.beach-hero-inner {
  animation: vvFadeUp 1s cubic-bezier(.2,.8,.2,1) .25s both;
}

/* Blog article entrance */
.blog-post-page .blog-article {
  animation: vvFadeUp .9s cubic-bezier(.2,.8,.2,1) .3s both;
}

/* Blog sidebar items staggered */
.blog-post-page .blog-sidebar > * {
  animation: vvSlideRight .8s cubic-bezier(.2,.8,.2,1) both;
}
.blog-post-page .blog-sidebar > *:nth-child(1) { animation-delay: .35s; }
.blog-post-page .blog-sidebar > *:nth-child(2) { animation-delay: .5s; }
.blog-post-page .blog-sidebar > *:nth-child(3) { animation-delay: .65s; }

/* Filter pills staggered */
.filter-bar {
  animation: vvFadeDown .7s cubic-bezier(.2,.8,.2,1) .2s both;
}
.filter-pill {
  animation: vvFadeUp .55s cubic-bezier(.2,.8,.2,1) both;
}
.filter-pill:nth-child(1)  { animation-delay: .30s; }
.filter-pill:nth-child(2)  { animation-delay: .35s; }
.filter-pill:nth-child(3)  { animation-delay: .40s; }
.filter-pill:nth-child(4)  { animation-delay: .45s; }
.filter-pill:nth-child(5)  { animation-delay: .50s; }
.filter-pill:nth-child(6)  { animation-delay: .55s; }
.filter-pill:nth-child(7)  { animation-delay: .60s; }
.filter-pill:nth-child(8)  { animation-delay: .65s; }
.filter-pill:nth-child(9)  { animation-delay: .70s; }
.filter-pill:nth-child(10) { animation-delay: .75s; }
.filter-pill:nth-child(11) { animation-delay: .80s; }
.filter-pill:nth-child(12) { animation-delay: .85s; }

/* Page-hero back-link subtle slide in */
.back-link {
  animation: vvSlideRight .7s cubic-bezier(.2,.8,.2,1) .3s both;
}

/* Nav logo + items subtle drop */
#nav .logo { animation: vvFadeDown .7s cubic-bezier(.2,.8,.2,1) .1s both; }
#nav .nav-links li { animation: vvFadeDown .65s cubic-bezier(.2,.8,.2,1) both; }
#nav .nav-links li:nth-child(1) { animation-delay: .15s; }
#nav .nav-links li:nth-child(2) { animation-delay: .20s; }
#nav .nav-links li:nth-child(3) { animation-delay: .25s; }
#nav .nav-links li:nth-child(4) { animation-delay: .30s; }
#nav .nav-links li:nth-child(5) { animation-delay: .35s; }
#nav .nav-links li:nth-child(6) { animation-delay: .40s; }
#nav .nav-links li:nth-child(7) { animation-delay: .45s; }
#nav .nav-cta { animation: vvFadeDown .7s cubic-bezier(.2,.8,.2,1) .5s both; }

/* ---------- SCROLL-TRIGGERED REVEALS (modern browsers) ---------- */

@supports (animation-timeline: view()) {

  /* Cards in grid (blog posts, business cards, home cards not using .reveal) */
  .blog-grid .blog-post,
  .biz-grid .biz-card,
  .sabor-grid > *,
  .directory-section,
  .beach-card,
  .cta-inner,
  .parallax-content {
    animation: vvRevealUp linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 25%;
  }

  @keyframes vvRevealUp {
    from { opacity: 0; transform: translate3d(0, 50px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
  }

  /* Blog article H2s slide in as you scroll */
  .blog-article h2 {
    animation: vvRevealH2 linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 15%;
  }
  @keyframes vvRevealH2 {
    from { opacity: .2; transform: translate3d(-20px, 0, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
  }

  /* Section headings reveal */
  .section-head,
  .list-section {
    animation: vvRevealUp linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 20%;
  }

  /* Footer reveal */
  footer {
    animation: vvRevealFooter linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
  @keyframes vvRevealFooter {
    from { opacity: 0; transform: translate3d(0, 40px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
  }
}

/* ---------- PARALLAX ON HERO BACKGROUNDS (modern browsers) ---------- */

@supports (animation-timeline: scroll()) {

  /* Page-hero backgrounds drift down as user scrolls */
  .page-hero {
    overflow: hidden;
    position: relative;
  }
  .page-hero::before {
    animation: vvParallaxSlow linear;
    animation-timeline: scroll(nearest);
    animation-range: 0 100vh;
  }

  /* Beach-hero bg-img gentle parallax (combines with existing slowZoom) */
  .beach-hero .bg-img {
    animation: slowZoom 20s ease-in-out infinite alternate, vvParallaxMedium linear;
    animation-timeline: auto, scroll(nearest);
    animation-range: auto, 0 100vh;
  }

  /* Hero main page parallax-like effect */
  .hero-bg {
    animation: gradientShift 14s ease infinite, vvParallaxHero linear;
    animation-timeline: auto, scroll(nearest);
    animation-range: auto, 0 100vh;
  }

  @keyframes vvParallaxSlow {
    to { transform: translateY(25%) scale(1.08); }
  }
  @keyframes vvParallaxMedium {
    to { transform: translateY(18%); }
  }
  @keyframes vvParallaxHero {
    to { transform: translateY(30%); }
  }

  /* Sticky sidebar gentle float on scroll */
  .blog-sidebar .ad-banner {
    animation: vvFloat 6s ease-in-out infinite alternate;
  }
  .blog-sidebar .ad-compact {
    animation: vvFloat 7s ease-in-out infinite alternate -2s;
  }
  @keyframes vvFloat {
    from { transform: translateY(0); }
    to   { transform: translateY(-8px); }
  }
}

/* ---------- ENHANCED HOVER LIFTS ---------- */

.card,
.blog-post,
.biz-card,
.beach-card,
.list-item,
.directory-item {
  will-change: transform;
}

/* Subtle shimmer on page-hero titles */
.page-hero h1,
.beach-hero h1 {
  position: relative;
}

/* Link underline draw animation */
.blog-article a {
  position: relative;
  transition: color .3s;
}

/* Smooth scroll snapping for better scroll feel */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

/* ---------- EXTRA POLISH ---------- */

/* Weather widget subtle breathing pulse on page-hero emoji */
.beach-hero.fallback .bg-img::before {
  animation: vvBreathe 8s ease-in-out infinite alternate;
}
@keyframes vvBreathe {
  from { transform: translate(-50%, -50%) scale(1); opacity: .22; }
  to   { transform: translate(-50%, -50%) scale(1.06); opacity: .28; }
}

/* CTA buttons pulse attention */
.btn-map {
  position: relative;
  overflow: hidden;
}
.btn-map::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.btn-map:hover::after {
  transform: translateX(100%);
}

/* Subtle lift on directory items as you hover over the section */
.directory-section:hover .directory-item {
  opacity: .85;
}
.directory-section .directory-item:hover {
  opacity: 1;
}

/* ============================================
   MOBILE NAVIGATION — Hamburger + Slide Menu
   ============================================ */

/* Hamburger button (hidden on desktop) */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  z-index: 250;
  position: relative;
  margin-left: auto;
  -webkit-tap-highlight-color: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  margin: 3px 0;
  border-radius: 3px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1),
              opacity .25s ease,
              background-color .3s ease;
  transform-origin: center;
}
#nav.scrolled .hamburger span { background: var(--ink); }
.hamburger:hover span { background-color: var(--sun-2); }

/* Animated X */
.hamburger.active span { background: var(--ink) !important; }
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hide nav's other items when menu is open so only hamburger/X is visible */
body.menu-open #nav {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 240 !important;
}
body.menu-open #nav .logo,
body.menu-open #nav .nav-links,
body.menu-open #nav .nav-cta {
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity .2s ease;
}

/* Overlay container */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
body.menu-open {
  overflow: hidden;
  touch-action: none;
}
body.menu-open .mobile-menu {
  visibility: visible;
  pointer-events: auto;
}

/* Backdrop with blur */
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 33, 61, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .4s ease;
}
body.menu-open .mobile-menu-backdrop { opacity: 1; }

/* Slide-in panel */
.mobile-menu-panel {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: 88%;
  max-width: 380px;
  background: linear-gradient(180deg, #ffffff 0%, var(--sand) 100%);
  box-shadow: -24px 0 60px -20px rgba(0,0,0,.35);
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
body.menu-open .mobile-menu-panel {
  transform: translateX(0);
}

/* Header with gradient */
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.4rem;
  background: linear-gradient(135deg, #ff9a56 0%, #ff3c6e 60%, #7209b7 100%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.mobile-menu-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
}
.mobile-menu-logo {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.25);
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  display: grid; place-items: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: #fff;
  font-size: 1.2rem;
}
.mobile-menu-close {
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .25s, transform .35s cubic-bezier(.2,.8,.2,1);
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-close:hover {
  background: rgba(255,255,255,.35);
  transform: rotate(90deg);
}
.mobile-menu-close:active { transform: rotate(90deg) scale(.9); }

/* Menu links */
.mobile-menu-nav { padding: 1rem .9rem .5rem; flex: 0 0 auto; }
.mobile-menu-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu-links li {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .5s cubic-bezier(.2,.8,.2,1),
              transform .5s cubic-bezier(.2,.8,.2,1);
  transition-delay: calc(var(--i, 0) * 55ms + 180ms);
}
body.menu-open .mobile-menu-links li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 500;
  position: relative;
  transition: background .25s ease,
              color .25s ease,
              transform .25s cubic-bezier(.2,.8,.2,1),
              padding .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-link:hover,
.mobile-menu-link:focus-visible {
  background: linear-gradient(135deg, rgba(255,140,66,.12), rgba(255,60,110,.1));
  color: var(--sun-2);
  transform: translateX(4px);
  outline: none;
}
.mobile-menu-link:active {
  transform: translateX(4px) scale(.98);
}
.mobile-menu-link.active {
  background: linear-gradient(135deg, var(--sun), var(--sun-2));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 24px -8px rgba(255,60,110,.45);
}
.mobile-menu-link.active .mml-arrow { color: #fff; opacity: 1; }
.mml-ic {
  font-size: 1.5rem;
  width: 36px;
  text-align: center;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.08));
}
.mml-txt { flex: 1; }
.mml-arrow {
  opacity: 0;
  font-size: 1rem;
  color: var(--sun-2);
  transform: translateX(-6px);
  transition: opacity .25s, transform .25s;
}
.mobile-menu-link:hover .mml-arrow,
.mobile-menu-link:focus-visible .mml-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Extras section */
.mobile-menu-extras {
  margin-top: auto;
  padding: 1.2rem 1rem;
  border-top: 1px solid rgba(20,33,61,.08);
  display: flex;
  flex-direction: column;
  gap: .2rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease .6s, transform .5s cubic-bezier(.2,.8,.2,1) .6s;
}
body.menu-open .mobile-menu-extras {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu-extra {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .7rem 1rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .93rem;
  font-weight: 500;
  border-radius: 10px;
  transition: color .2s, background .2s;
}
.mobile-menu-extra:hover {
  color: var(--sun-2);
  background: rgba(255,60,110,.05);
}
.mobile-menu-extra .mml-ic { font-size: 1.2rem; width: 28px; }

/* Footer info */
.mobile-menu-foot {
  padding: 1.2rem 1.4rem 1.6rem;
  background: linear-gradient(180deg, transparent, rgba(255,140,66,.08));
  text-align: center;
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.6;
  border-top: 1px solid rgba(20,33,61,.05);
}
.mobile-menu-foot p { margin: 0; }
.mobile-menu-foot strong { color: var(--ink); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mobile-menu-panel,
  .mobile-menu-backdrop,
  .mobile-menu-links li,
  .mobile-menu-extras {
    transition-duration: .01ms !important;
  }
}
