/* ============================================================
   Dive Pura Vida - VARIANT B (cinematic "bolt-feel")
   Full-bleed ocean hero, bold sans display type, richer color,
   more motion. Same palette tokens, same legal guards.
   Self-contained: does NOT import styles.css.
   ============================================================ */

:root {
  --ocean-navy: #0a2e3d;
  --teal: #1d7b8a;
  --dive-blue: #2a9db8;
  --sand: #ebd9b4;
  --coral: #e76f51;
  --soft-white: #f7f9f9;
  --charcoal: #1f2933;

  --navy-90: rgba(8, 32, 43, 0.72);
  --line: rgba(31, 41, 51, 0.12);
  --maxw: 1160px;
  --radius: 18px;

  /* Variant B leads with a bold geometric SANS for display, to feel modern
     and app-like (echoing the bolt build), system-hosted, no Google Fonts. */
  --font-display:
    system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body:
    system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--soft-white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ocean-navy);
  margin: 0 0 0.4em;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
}
h2 {
  font-size: clamp(2rem, 4.4vw, 3rem);
}
h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
}
p {
  margin: 0 0 1rem;
}
:focus-visible {
  outline: 3px solid var(--dive-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: clamp(56px, 9vw, 120px) 0;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--dive-blue);
  margin: 0 0 0.8rem;
}
.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: #3a4a54;
  max-width: 60ch;
}
.measure {
  max-width: 60ch;
}
.skip-link {
  position: absolute;
  left: -999px;
  background: #062028;
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus {
  left: 0;
}

/* gradient accent text - the vivid touch, kept on-palette (coral -> sand) */
.accent {
  background: linear-gradient(100deg, var(--coral), #f0a35e 45%, var(--sand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-90);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid rgba(247, 249, 249, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}
.brand:hover {
  text-decoration: none;
}
.brand .mark {
  width: 30px;
  height: 30px;
}
.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(247, 249, 249, 0.82);
  font-size: 0.96rem;
  font-weight: 600;
}
.nav-links a:hover {
  color: #fff;
  text-decoration: none;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-toggle {
  display: inline-flex;
  border: 1px solid rgba(247, 249, 249, 0.3);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.82rem;
}
.lang-toggle a {
  padding: 6px 13px;
  color: rgba(247, 249, 249, 0.8);
  font-weight: 700;
}
.lang-toggle a[aria-current="true"] {
  background: var(--coral);
  color: #fff;
}
.lang-toggle a:hover {
  text-decoration: none;
  color: #fff;
}
.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  width: 44px;
  height: 44px;
  padding: 9px;
  cursor: pointer;
}
.menu-btn svg {
  width: 100%;
  height: 100%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 16px 32px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    background 0.14s ease;
  line-height: 1;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 30px rgba(231, 111, 81, 0.36);
}
.btn-primary:hover {
  background: #df6347;
  box-shadow: 0 16px 38px rgba(231, 111, 81, 0.45);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}
.btn-secondary {
  background: transparent;
  color: var(--ocean-navy);
  border-color: var(--teal);
}
.btn-secondary:hover {
  background: rgba(29, 123, 138, 0.1);
}
.btn-block {
  width: 100%;
}

/* ---------- HERO (full-bleed image) ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 16s ease-out forwards;
}
@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8, 32, 43, 0.78) 0%,
    rgba(8, 32, 43, 0.45) 45%,
    rgba(8, 32, 43, 0.92) 100%
  );
}
.hero .wrap {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 80px;
  padding-bottom: 80px;
}
.hero h1 {
  color: #fff;
  max-width: 15ch;
}
.hero .lead {
  color: rgba(247, 249, 249, 0.92);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  margin: 1.2rem 0 2rem;
  max-width: 54ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-meta {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: rgba(247, 249, 249, 0.74);
  border-left: 3px solid var(--coral);
  padding-left: 14px;
  max-width: 52ch;
}
.scrolldown {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

/* ---------- Sections ---------- */
.section--dark {
  background: linear-gradient(160deg, var(--ocean-navy), #0d3a4d);
  color: var(--soft-white);
  position: relative;
}
.section--dark h2,
.section--dark h3 {
  color: #fff;
}
.section--dark .lead {
  color: rgba(247, 249, 249, 0.85);
}
.section--dark .eyebrow {
  color: var(--sand);
}
.section--tint {
  background: linear-gradient(180deg, #fff, #f0ece1);
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 16px 40px rgba(10, 46, 61, 0.08);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(10, 46, 61, 0.16);
}
.card h3 {
  margin-bottom: 0.4em;
}
.card p:last-child {
  margin: 0;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--teal);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.tag.coral {
  background: var(--coral);
}

.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

/* glassy card for dark sections */
.glass {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(6px);
}
.glass h3 {
  color: #fff;
}
.glass ul {
  color: rgba(247, 249, 249, 0.9);
}

/* ---------- Pricing ---------- */
.price-lead {
  background: linear-gradient(150deg, var(--ocean-navy), #14506180);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 20px 50px rgba(10, 46, 61, 0.25);
}
.price-lead h3 {
  color: #fff;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
}
.price-table caption {
  text-align: left;
  color: #51606a;
  font-size: 0.92rem;
  margin-bottom: 12px;
}
.price-table th,
.price-table td {
  text-align: left;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
}
.price-table th {
  font-weight: 600;
  color: var(--ocean-navy);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.price-table td.price {
  text-align: right;
  font-weight: 800;
  color: var(--coral);
  white-space: nowrap;
}
.price-note {
  font-size: 0.9rem;
  color: #51606a;
  margin-top: 14px;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 44px 22px 4px;
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ocean-navy);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--coral);
}
.faq-item[open] summary::after {
  content: "\2212";
}
.faq-item .faq-body {
  padding: 0 4px 24px;
  color: #36454f;
  max-width: 70ch;
}

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: 0 20px 50px rgba(10, 46, 61, 0.12);
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--ocean-navy);
}
.field .opt {
  font-weight: 400;
  color: #6b7780;
  font-size: 0.86rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--charcoal);
  padding: 13px 15px;
  border: 1px solid #c9d2d6;
  border-radius: 12px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 123, 138, 0.14);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin-top: 14px;
  font-weight: 700;
  min-height: 1.2em;
}
.form-status.ok {
  color: var(--teal);
}
.form-status.err {
  color: var(--coral);
}
.consent {
  font-size: 0.88rem;
  color: #51606a;
  display: flex;
  gap: 10px;
}
.booking-box {
  border: 1px dashed rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 24px;
}
.booking-box .soon {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ocean-navy);
  background: var(--sand);
  padding: 5px 12px;
  border-radius: 999px;
}
.contact-meta {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}
.contact-meta li {
  padding: 6px 0;
  color: rgba(247, 249, 249, 0.9);
}
.contact-meta strong {
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #061f28;
  color: rgba(247, 249, 249, 0.8);
  padding: 60px 0 30px;
}
.site-footer a {
  color: rgba(247, 249, 249, 0.8);
}
.site-footer a:hover {
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 8px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(247, 249, 249, 0.12);
  font-size: 0.85rem;
  color: rgba(247, 249, 249, 0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}
.operated {
  color: rgba(247, 249, 249, 0.72);
}

/* ---------- Motion ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
  }
  .hero-bg img {
    animation: none;
    transform: none;
  }
  .scrolldown {
    animation: none;
  }
}

section[id] {
  scroll-margin-top: 76px;
}

/* ---------- Utility + legal pages ---------- */
.center {
  text-align: center;
}
.legal {
  max-width: 760px;
}
.legal h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
}
.legal h2 {
  margin-top: 1.8em;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
}
.legal h3 {
  margin-top: 1.4em;
}
.legal ul {
  padding-left: 1.2em;
}
.legal li {
  margin-bottom: 6px;
}
.legal .updated {
  color: #6b7780;
  font-size: 0.92rem;
}
.legal a {
  color: var(--teal);
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .feature-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .menu-btn {
    display: inline-flex;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #062028;
    padding: 8px 24px 18px;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 13px 0;
  }
  .grid-3,
  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 88vh;
  }
  .hero-cta .btn {
    width: 100%;
  }
}
