/* ── TOKENS ──────────────────────────────────────────── */
:root {
  --teal: #1cb3bc;
  --teal-light: #e8f8f9;
  --teal-mid: #d4f0f2;
  --teal-pale: #f0fafb;
  --white: #ffffff;
  --charcoal: #313131;
  --charcoal-60: rgba(49, 49, 49, 0.6);
  --charcoal-30: rgba(49, 49, 49, 0.3);
  --odd-bg: #f5fbfc;
  --even-bg: #ffffff;
  --ff-display: "Montserrat", sans-serif;
  --ff-body: "Montserrat", sans-serif;
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --r: 12px;
}

/* ── RESET ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--ff-body);
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ── SCROLL REVEAL ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s var(--ease-smooth),
    transform 0.75s var(--ease-smooth);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── NAV ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  transition:
    background 0.4s,
    box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 24px rgba(28, 179, 188, 0.08);
}
.nav-logo {
  position: relative;
  display: block;
  width: 8rem;
  height: auto;
}
.nav-logo img {
  width: 8rem;
  transition: opacity 0.4s ease;
}
.logo-dark {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
nav.scrolled .logo-light {
  opacity: 0;
}
nav.scrolled .logo-dark {
  opacity: 1;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s;
}
nav.scrolled .nav-links a {
  color: var(--charcoal-60);
}
.nav-links a:hover {
  color: var(--teal) !important;
}
.nav-book-btn {
  padding: 0.5rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  color: var(--white) !important;
  transition:
    background 0.3s,
    border-color 0.3s,
    color 0.3s !important;
}
nav.scrolled .nav-book-btn {
  border-color: var(--teal);
  color: var(--teal) !important;
}
nav.scrolled .nav-book-btn:hover {
  border-color: var(--teal);
  color: var(--white) !important;
}
.nav-book-btn:hover {
  background: var(--teal) !important;
  border-color: var(--teal) !important;
  color: var(--white) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition:
    background 0.4s,
    transform 0.3s,
    opacity 0.3s;
}
nav.scrolled .nav-toggle span {
  background: var(--charcoal);
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: 0;
    top: 68px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-smooth);
    z-index: 99;
  }
  .nav-links.open {
    transform: none;
  }
  .nav-links a {
    color: var(--white) !important;
    font-size: 1rem;
  }
  .nav-book-btn {
    color: var(--teal) !important;
    border-color: var(--teal) !important;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ── HERO ────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 8s ease;
}
#hero.loaded .hero-bg {
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  /* The gradient goes BEFORE the url() to sit on top */
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../assets/img/hero-bg.jpg");
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-rings::before,
.hero-rings::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(28, 179, 188, 0.18);
  animation: ringPulse 6s ease-in-out infinite;
}
.hero-rings::before {
  width: 340px;
  height: 340px;
  animation-delay: 0s;
}
.hero-rings::after {
  width: 520px;
  height: 520px;
  animation-delay: 1.5s;
}
@keyframes ringPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.1;
    transform: scale(1.04);
  }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 5vw;
  max-width: 960px;
}
.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  opacity: 0;
  animation: fadeUp 0.9s 0.5s forwards;
}
.hero-title em {
  font-style: italic;
  font-weight: bold;
}
.hero-sub {
  margin-top: 1.4rem;
  font-size: clamp(1rem, 1.8vw, 1.05rem);
  font-weight: 400;
  line-height: 1.7;
  color: rgb(255, 255, 255);
  opacity: 0;
  animation: fadeUp 0.9s 0.7s forwards;
}
.hero-cta {
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.9s forwards;
}
.btn-primary {
  padding: 0.85rem 2.2rem;
  background: var(--teal);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.25s;
  box-shadow: 0 8px 28px rgba(28, 179, 188, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(28, 179, 188, 0.45);
  background: #17a2ab;
}
.btn-ghost {
  padding: 0.85rem 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.leaflet-div-icon {
  background: none;
  border: none;
}

/* ── SECTION SHARED ──────────────────────────────────── */
section {
  padding: 90px 5vw;
}
section:nth-of-type(odd):not(#hero) {
  background: var(--odd-bg);
}
section:nth-of-type(even):not(#hero) {
  background: var(--even-bg);
}
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--charcoal);
}
.section-title em {
  font-style: italic;
  color: var(--teal);
}
.divider {
  width: 48px;
  height: 1.5px;
  background: var(--teal);
  margin: 1.4rem 0 2rem;
}
.section-body {
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  line-height: 1.85;
  color: var(--charcoal-60);
  max-width: 560px;
}

/* ── SERVICES ────────────────────────────────────────── */
#services {
  background: var(--even-bg);
}
.services-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.services-header .divider {
  margin: 1.4rem auto 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  background: var(--white);
  border: 1px solid rgba(28, 179, 188, 0.12);
  border-radius: var(--r);
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition:
    transform 0.35s var(--ease-smooth),
    box-shadow 0.35s,
    border-color 0.35s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-smooth);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(28, 179, 188, 0.1);
  border-color: rgba(28, 179, 188, 0.3);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-light);
  border-radius: 50%;
}
.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.5;
}
.service-name {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
}
.service-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--charcoal-60);
}

/* ── ABOUT ───────────────────────────────────────────── */
#about {
  background: var(--odd-bg);
}
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-wrap {
  aspect-ratio: 3/4;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--teal-mid);
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 130px;
  height: 130px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  box-shadow: 0 12px 32px rgba(28, 179, 188, 0.35);
}
.about-badge strong {
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1;
}
.about-badge span {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.about-text .section-body {
  max-width: 100%;
  margin-bottom: 1.5rem;
}
.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.pill {
  padding: 0.35rem 1rem;
  background: var(--teal-light);
  border-radius: 100px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--teal);
  border: 1px solid rgba(28, 179, 188, 0.2);
}
@media (max-width: 768px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-badge {
    bottom: -1rem;
    right: -0.5rem;
    width: 100px;
    height: 100px;
  }
  .about-badge strong {
    font-size: 1.7rem;
  }
}

/* ── TESTIMONIALS ────────────────────────────────────── */
#testimonials {
  background: var(--even-bg);
}
.testimonials-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.testimonials-header .divider {
  margin: 1.4rem auto 0;
}
.testi-track-wrap {
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 4px;
}
.testi-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.55s var(--ease-smooth);
}
.testi-card {
  min-width: calc(33.333% - 1rem);
  background: var(--teal-pale);
  border: 1px solid rgba(28, 179, 188, 0.1);
  border-radius: var(--r);
  padding: 2rem 1.8rem;
  position: relative;
}
.testi-quote {
  font-size: 3.5rem;
  line-height: 0.5;
  color: var(--teal);
  margin-bottom: 1rem;
  opacity: 0.35;
}
.testi-text {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--teal);
}
.testi-name {
  font-size: 0.82rem;
  font-weight: 500;
}
.testi-stars {
  font-size: 0.7rem;
  color: var(--teal);
  letter-spacing: 0.05em;
}
.testi-controls {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-mid);
  border: none;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s;
}
.testi-dot.active {
  background: var(--teal);
  transform: scale(1.3);
}
@media (max-width: 900px) {
  .testi-card {
    min-width: calc(50% - 0.75rem);
  }
}
@media (max-width: 600px) {
  .testi-card {
    min-width: 100%;
  }
}

/* ── GALLERY ─────────────────────────────────────────── */
#gallery {
  background: var(--odd-bg);
}
.gallery-header {
  text-align: center;
  margin-bottom: 3rem;
}
.gallery-header .divider {
  margin: 1.4rem auto 0;
}
.gallery-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
.gallery-item {
  border-radius: var(--r);
  overflow: hidden;
  background: var(--teal-mid);
  position: relative;
  cursor: pointer;
}
.gallery-item:first-child {
  grid-column: 1 / 2;
  grid-row: span 2;
}
.gallery-item:nth-child(4) {
  grid-column: 3 / 4;
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 179, 188, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s;
}
.gallery-overlay svg {
  stroke: var(--white);
  opacity: 0;
  transition: opacity 0.35s;
  width: 32px;
  height: 32px;
}
.gallery-item:hover .gallery-overlay {
  background: rgba(28, 179, 188, 0.25);
}
.gallery-item:hover .gallery-overlay svg {
  opacity: 1;
}
@media (max-width: 680px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .gallery-item:first-child,
  .gallery-item:nth-child(4) {
    grid-column: 1;
    grid-row: auto;
  }
}

/* ── LIGHTBOX ────────────────────────────────────────── */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  gap: 1rem;
  padding: 1rem;
}
#lightbox.open {
  display: flex;
}
#lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  flex: 1;
  max-width: min(90vw, 900px);
}
#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  display: block;
  object-fit: contain;
  transition: opacity 0.25s ease;
}
#lightbox-img.fading {
  opacity: 0;
}
#lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  color: white;
  font-size: 1.6rem;
  line-height: 1;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
#lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
#lightbox-prev,
#lightbox-next {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition:
    background 0.2s,
    transform 0.2s;
}
#lightbox-prev:hover,
#lightbox-next:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: scale(1.08);
}
#lightbox-prev svg,
#lightbox-next svg {
  width: 22px;
  height: 22px;
}
#lightbox-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.lb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition:
    background 0.25s,
    transform 0.25s;
  padding: 0;
}
.lb-dot.active {
  background: var(--teal);
  transform: scale(1.35);
}
@media (max-width: 600px) {
  #lightbox-prev,
  #lightbox-next {
    width: 38px;
    height: 38px;
  }
}

/* ── MAP ─────────────────────────────────────────────── */
#map-section {
  background: var(--even-bg);
}
.map-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.map-info .section-body {
  max-width: 100%;
}
.map-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 1.6rem;
}
.map-detail-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-detail-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 2;
}
.map-detail-text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
}
.map-detail-text span {
  font-size: 0.82rem;
  color: var(--charcoal-60);
  line-height: 1.6;
}
#leaflet-map {
  height: 450px;
  width: 100%;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(28, 179, 188, 0.1);
}
@media (max-width: 768px) {
  .map-inner {
    grid-template-columns: 1fr;
  }
  #leaflet-map {
    height: 280px;
  }
}

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 5vw 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand img {
  width: 8rem;
}
.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.7;
  max-width: 240px;
  margin-top: 0.5rem;
}
.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.footer-social a:hover {
  background: var(--teal);
  border-color: var(--teal);
}
.footer-social svg {
  width: 15px;
  height: 15px;
  fill: rgba(255, 255, 255, 0.7);
}
.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 0.6rem;
  font-size: 0.83rem;
  line-height: 1.5;
}
.footer-col ul li a:hover {
  color: var(--teal);
}
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 3rem;
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}
.footer-bottom a:hover {
  color: var(--teal);
}
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}
@media (max-width: 500px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ── FLOATING BOOK BTN ───────────────────────────────── */
/* ── FLOATING BOOK BTN (mobile) ─────────────────────── */
.fab {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  background: linear-gradient(135deg, var(--teal) 0%, #17a2ab 100%);
  color: var(--white);
  border-radius: 60px;
  padding: 0.9rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(28, 179, 188, 0.45);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.fab:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(28, 179, 188, 0.55);
  background: linear-gradient(135deg, #17a2ab 0%, var(--teal) 100%);
}

.fab:active {
  transform: translateY(1px) scale(0.98);
}

.fab svg {
  width: 20px;
  height: 20px;
  fill: white;
  transition: transform 0.2s ease;
}

.fab:hover svg {
  transform: scale(1.1);
}

/* Mobile specific improvements */
@media (max-width: 768px) {
  .fab {
    bottom: 1.2rem;
    right: 1.2rem;
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    gap: 0.5rem;
  }

  .fab svg {
    width: 18px;
    height: 18px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .fab {
    bottom: 1rem;
    right: 1rem;
    padding: 0.7rem 1.3rem;
    font-size: 0.8rem;
    border-radius: 50px;
  }

  .fab svg {
    width: 16px;
    height: 16px;
  }
}

/* Add pulsing animation for attention (optional) */
@keyframes subtlePulse {
  0%,
  100% {
    box-shadow: 0 8px 24px rgba(28, 179, 188, 0.45);
  }
  50% {
    box-shadow: 0 8px 28px rgba(28, 179, 188, 0.7);
  }
}

.fab {
  animation: subtlePulse 2s ease-in-out infinite;
}

.fab:hover {
  animation: none;
}
