/* Brand: bahamaplum.homes — hibiscus + lagoon plumbing */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap");

html {
  --dna-bg: #e6f7f4 !important;
  --dna-surface: #fffbfa !important;
  --dna-surface-2: #ffe8ec !important;
  --dna-ink: #0a2f35 !important;
  --dna-ink-soft: #3a646c !important;
  --dna-line: rgba(10, 47, 53, 0.14) !important;
  --dna-accent: #e11d48 !important;
  --dna-accent-2: #0d9488 !important;
  --dna-accent-ink: #ffffff !important;
  --bah01-mint: #e6f7f4;
  --bah01-foam: #fffbfa;
  --bah01-blush: #ffe8ec;
  --bah01-lagoon: #0d9488;
  --bah01-hibiscus: #e11d48;
  --bah01-ink: #0a2f35;
  --bah01-radius: 18px;
  --bah01-max: 1120px;
  --bah01-header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  color: var(--dna-ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(13, 148, 136, 0.16), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(225, 29, 72, 0.12), transparent 50%),
    var(--dna-bg);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }
.bah01-wrap {
  width: min(100% - 2.5rem, var(--bah01-max));
  margin-inline: auto;
}
.bah01-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--dna-accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.bah01-skip:focus { left: 12px; top: 12px; }

.bah01-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.bah01-btn:hover { transform: translateY(-1px); }
.bah01-btn--solid {
  background: linear-gradient(135deg, var(--bah01-hibiscus), #be123c);
  color: #fff;
  box-shadow: 0 10px 28px rgba(225, 29, 72, 0.28);
}
.bah01-btn--line {
  background: transparent;
  border-color: var(--bah01-lagoon);
  color: var(--bah01-ink);
}
.bah01-btn--line:hover { background: rgba(13, 148, 136, 0.1); }
.bah01-btn--ghost {
  background: rgba(255, 251, 250, 0.88);
  color: var(--bah01-ink);
  border-color: rgba(255, 251, 250, 0.5);
}
.bah01-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bah01-lagoon);
  margin-bottom: 0.75rem;
}

/* Header */
.bah01-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(230, 247, 244, 0.92);
  border-bottom: 1px solid var(--dna-line);
}
.bah01-nav .bah01-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--bah01-header);
}
.bah01-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
}
.bah01-brand img { width: 40px; height: 40px; }
.bah01-brand b { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; }
.bah01-brand small { color: var(--dna-ink-soft); font-size: 0.78rem; }
.bah01-links {
  display: flex;
  gap: 1.1rem;
  font-weight: 500;
  font-size: 0.95rem;
}
.bah01-links a[aria-current="page"] { color: var(--bah01-hibiscus); }
.bah01-links a:hover { color: var(--bah01-hibiscus); }
.bah01-phone {
  font-weight: 600;
  color: var(--bah01-lagoon);
  white-space: nowrap;
}
.bah01-burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--dna-line);
  border-radius: 12px;
  background: var(--bah01-foam);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.bah01-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--bah01-ink);
}

/* Hero statsled + full bleed photo */
.bah01-hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.bah01-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.bah01-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}
.bah01-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 47, 53, 0.88) 0%, rgba(10, 47, 53, 0.55) 48%, rgba(225, 29, 72, 0.28) 100%),
    linear-gradient(to top, rgba(10, 47, 53, 0.75), transparent 45%);
}
.bah01-hero .bah01-wrap {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3rem;
  display: grid;
  gap: 2rem;
}
.bah01-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 520px;
}
.bah01-hero-metrics .metric {
  background: rgba(255, 251, 250, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  backdrop-filter: blur(8px);
}
.bah01-hero-metrics b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
}
.bah01-hero-metrics span {
  font-size: 0.8rem;
  opacity: 0.85;
}
.bah01-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  max-width: 14ch;
  color: #fff;
}
.bah01-hero .sub {
  max-width: 38ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
}
.bah01-hero .cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.bah01-hero .bah01-kicker { color: #9ff3e8; }

/* Sections */
.bah01-section { padding: 4.5rem 0; }
.bah01-section--alt {
  background: var(--bah01-foam);
  border-block: 1px solid var(--dna-line);
}
.bah01-section--blush { background: linear-gradient(180deg, var(--bah01-blush), var(--bah01-foam)); }
.bah01-head { max-width: 40rem; margin-bottom: 2rem; }
.bah01-head p { color: var(--dna-ink-soft); }

/* Solutions */
.bah01-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.bah01-sol {
  background: var(--bah01-foam);
  border: 1px solid var(--dna-line);
  border-radius: var(--bah01-radius);
  padding: 1.35rem 1.25rem;
  border-top: 4px solid var(--bah01-lagoon);
}
.bah01-sol:nth-child(2) { border-top-color: var(--bah01-hibiscus); }
.bah01-sol h3 { font-size: 1.15rem; }
.bah01-sol p { color: var(--dna-ink-soft); margin: 0; font-size: 0.95rem; }

/* Keep numbered service rows as a vertical list even when DNA class is dna-svc-grid */
.bah01-svc .list[data-services-catalog] {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
}
.bah01-svc .service-item {
  display: grid !important;
}
.bah01-svc .svc-tabs { display: none !important; }

.bah01-svc .row {
  display: grid;
  grid-template-columns: auto 1fr minmax(180px, 240px);
  gap: 1.25rem;
  align-items: center;
  background: var(--bah01-foam);
  border: 1px solid var(--dna-line);
  border-radius: var(--bah01-radius);
  padding: 1.1rem 1.2rem;
  overflow: hidden;
}
.bah01-svc .num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bah01-hibiscus);
  min-width: 2.2rem;
}
.bah01-svc h3 { margin-bottom: 0.25rem; }
.bah01-svc .row p { margin: 0; color: var(--dna-ink-soft); font-size: 0.95rem; }
.bah01-svc-thumb {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bah01-mint);
}
.bah01-svc-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Comparison */
.bah01-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.bah01-compare article {
  border-radius: var(--bah01-radius);
  padding: 1.5rem;
  border: 1px solid var(--dna-line);
}
.bah01-compare article:first-child {
  background: var(--bah01-foam);
}
.bah01-compare article:last-child {
  background: linear-gradient(160deg, #0d9488, #0a2f35);
  color: #fff;
  border-color: transparent;
}
.bah01-compare ul {
  margin: 0;
  padding-left: 1.1rem;
  color: inherit;
}
.bah01-compare li { margin-bottom: 0.45rem; }
.bah01-compare article:last-child li { color: rgba(255, 255, 255, 0.92); }

/* About quoteled */
.bah01-about .grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.bah01-about blockquote {
  margin: 0 0 1.25rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.bah01-about blockquote span { color: var(--bah01-hibiscus); }
.bah01-who {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.bah01-who .av {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--bah01-lagoon), var(--bah01-hibiscus));
}
.bah01-who small { display: block; color: var(--dna-ink-soft); }
.bah01-about-frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--dna-line);
  box-shadow: 0 24px 50px rgba(10, 47, 53, 0.12);
}
.bah01-about-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

/* Trust metricbar */
.bah01-trust .bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.bah01-trust .m {
  background: var(--bah01-foam);
  border: 1px solid var(--dna-line);
  border-radius: 16px;
  padding: 1.15rem;
}
.bah01-trust .m b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  color: var(--bah01-hibiscus);
  margin-bottom: 0.3rem;
}
.bah01-trust .m span { color: var(--dna-ink-soft); font-size: 0.9rem; }

/* CTA split */
.bah01-cta {
  padding: 3.5rem 0 4.5rem;
}
.bah01-cta .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: linear-gradient(120deg, #0a2f35, #0d9488 70%, #e11d48);
  color: #fff;
  border-radius: 24px;
  padding: 2rem 2.1rem;
}
.bah01-cta h2 { color: #fff; margin-bottom: 0.35rem; }
.bah01-cta p { margin: 0; color: rgba(255, 255, 255, 0.88); max-width: 38ch; }
.bah01-cta .acts { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* Footer bigcta */
.bah01-foot {
  background: #062227;
  color: rgba(255, 255, 255, 0.86);
  padding: 3rem 0 2rem;
}
.bah01-foot-cta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 2rem;
}
.bah01-foot-cta h2 { color: #fff; margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.bah01-foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.bah01-foot a:hover { color: #9ff3e8; }
.bah01-foot h3 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.bah01-foot p, .bah01-foot li { font-size: 0.92rem; }
.bah01-foot ul { list-style: none; padding: 0; margin: 0; }
.bah01-foot li { margin-bottom: 0.4rem; }
.bah01-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

/* Inner pages */
.bah01-pagehero {
  padding: 3.5rem 0 2rem;
}
.bah01-pagehero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 16ch; }
.bah01-pagehero p { max-width: 46ch; color: var(--dna-ink-soft); }

/* Services detail timeline */
.bah01-timeline .line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
}
.bah01-timeline .node {
  background: var(--bah01-foam);
  border: 1px solid var(--dna-line);
  border-radius: 16px;
  padding: 1.2rem;
}
.bah01-timeline .dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bah01-hibiscus);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

/* Contact split-left */
.bah01-contact-root {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 4rem;
}
.bah01-contact-info {
  background: var(--bah01-foam);
  border: 1px solid var(--dna-line);
  border-radius: 20px;
  padding: 1.5rem;
}
.bah01-contact-info dl { margin: 0; }
.bah01-contact-info dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bah01-lagoon);
  font-weight: 700;
  margin-top: 1rem;
}
.bah01-contact-info dt:first-child { margin-top: 0; }
.bah01-contact-info dd { margin: 0.25rem 0 0; }
.bah01-contact-booking {
  background: linear-gradient(180deg, var(--bah01-blush), var(--bah01-foam));
  border: 1px solid var(--dna-line);
  border-radius: 20px;
  padding: 1.4rem;
}

/* Booking form */
.bah01-book h2 { font-size: 1.45rem; }
.bah01-book > p { color: var(--dna-ink-soft); font-size: 0.95rem; }
.bah01-picks { display: grid; gap: 0.55rem; margin: 1rem 0 1.2rem; }
.bah01-pick {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--dna-line);
  background: var(--bah01-foam);
  cursor: pointer;
}
.bah01-pick:has(input:checked) {
  border-color: var(--bah01-hibiscus);
  box-shadow: inset 0 0 0 1px var(--bah01-hibiscus);
  background: #fff5f7;
}
.bah01-pick input { margin-top: 0.25rem; accent-color: var(--bah01-hibiscus); }
.bah01-pick b { display: block; font-size: 0.95rem; }
.bah01-pick small { color: var(--dna-ink-soft); }
.bah01-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.bah01-field { display: grid; gap: 0.3rem; }
.bah01-field--full { grid-column: 1 / -1; }
.bah01-field label { font-size: 0.85rem; font-weight: 600; }
.bah01-field input,
.bah01-field textarea,
.bah01-field select {
  width: 100%;
  border: 1px solid var(--dna-line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: #fff;
  color: var(--bah01-ink);
}
.bah01-field input:focus,
.bah01-field textarea:focus {
  outline: 2px solid rgba(225, 29, 72, 0.35);
  border-color: var(--bah01-hibiscus);
}
.bah01-book-error {
  display: none;
  color: var(--bah01-hibiscus);
  font-size: 0.9rem;
  margin: 0.6rem 0;
}
.bah01-book-error.is-visible { display: block; }
.bah01-book-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.bah01-book-foot small { color: var(--dna-ink-soft); max-width: 28ch; }
.bah01-success {
  text-align: center;
  padding: 2rem 1rem;
}
.bah01-success .dna-ic { width: 42px; height: 42px; margin: 0 auto 1rem; color: var(--bah01-lagoon); }

/* Privacy */
.bah01-prose {
  max-width: 44rem;
  padding-bottom: 4rem;
}
.bah01-prose h2 { margin-top: 1.8rem; font-size: 1.25rem; }

/* Motion */
.bah01-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.bah01-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.bah01-hero .copy {
  animation: bah01Rise 0.7s ease both;
}
.bah01-hero-metrics .metric {
  animation: bah01Rise 0.65s ease both;
}
.bah01-hero-metrics .metric:nth-child(2) { animation-delay: 0.08s; }
.bah01-hero-metrics .metric:nth-child(3) { animation-delay: 0.16s; }
@keyframes bah01Rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.bah01-cta .row:hover {
  filter: brightness(1.04);
}
@media (prefers-reduced-motion: reduce) {
  .bah01-reveal, .bah01-hero .copy, .bah01-hero-metrics .metric {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

/* Mobile */
@media (max-width: 900px) {
  .bah01-links, .bah01-phone, .bah01-nav-cta { display: none; }
  .bah01-burger { display: flex; }
  .bah01-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 320px);
    background: var(--bah01-foam);
    padding: 5rem 1.5rem 1.5rem;
    box-shadow: -16px 0 40px rgba(10, 47, 53, 0.18);
    z-index: 50;
  }
  .bah01-hero-metrics { grid-template-columns: 1fr; max-width: 280px; }
  .bah01-solutions-grid,
  .bah01-trust .bar,
  .bah01-timeline .line,
  .bah01-compare,
  .bah01-about .grid,
  .bah01-contact-root,
  .bah01-foot-grid,
  .bah01-fields { grid-template-columns: 1fr; }
  .bah01-svc .row { grid-template-columns: auto 1fr; }
  .bah01-svc-thumb { grid-column: 1 / -1; max-height: 180px; }
}
