/* ==========================================================================
   Leisure Point: design tokens, reset, primitives
   One file drives the whole theme. Change a colour or a font here, not in a page.
   Contrast ratios below are WCAG 2.x, measured against the listed background.
   ========================================================================== */

:root {
  /* Brand ---------------------------------------------------------------- */
  --blue:        #00B1FE;   /* logo blue: button fields, accents, icons     */
  --blue-hover:  #3FC4FF;   /* lighter on hover keeps navy text >= 7:1      */
  --blue-ink:    #006FAB;   /* logo blue deepened for TEXT links: 5.4:1 on white */
  --yellow:      #FECC32;   /* logo yellow: motto, highlights, home strip   */
  --yellow-soft: #FFF1C7;   /* bracket blanks, soft highlight fields        */
  --navy:        #0B1F3A;   /* text + dark sections (16.6:1 on white)       */
  --footer:      #0B2A55;   /* deeper blue footer (14.2:1 with white)       */
  --wa:          #25D366;   /* WhatsApp green: package Book buttons + floating chat button */
  --wa-hover:    #1FBF5B;

  /* Ground + ink ---------------------------------------------------------- */
  --ground:      #FAF8F4;   /* page ground: warm off-white                  */
  --paper:       #FFFFFF;   /* cards, panels, inputs                        */
  --sky:         #EAF7FF;   /* pale blue field                              */
  --sky-hi:      #F3FBFF;
  --sky-deep:    #CDEEFF;
  --line-soft:   #E7ECF2;   /* hairlines                                    */
  --line:        #D3DDE8;   /* input borders                                */
  --ink:         #0B1F3A;   /* headings (16.6:1 on white)                   */
  --ink-soft:    #2A3B55;   /* body copy (11.4:1 on white)                  */
  --ink-mute:    #4A5A70;   /* meta text (7.0:1 on white, 6.4:1 on --sky)   */

  /* Light ink that sits on photographs ------------------------------------ */
  --snow:        #FFFFFF;
  --snow-soft:   rgba(255, 255, 255, .86);
  --snow-line:   rgba(255, 255, 255, .34);

  /* Type: change a font here (and its name in Customize → Leisure Point → Fonts) */
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script:  "Kaushan Script", "Brush Script MT", cursive;
  --font-label:   var(--font-body);

  --weight-heading: 700;
  --weight-strong:  600;
  --tracking-heading: -.025em;

  --text-xs:   .75rem;
  --text-sm:   .875rem;
  --text-base: 1rem;
  --text-md:   clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --text-lg:   clamp(1.2rem, 1.1rem + .5vw, 1.45rem);
  --text-xl:   clamp(1.55rem, 1.3rem + 1.1vw, 2.15rem);
  --text-2xl:  clamp(1.9rem, 1.45rem + 1.9vw, 3rem);
  --text-hero: clamp(2.4rem, 1.5rem + 3.4vw, 4.6rem);

  /* Space + shape --------------------------------------------------------- */
  --container: 1320px;
  --gutter:    clamp(1rem, .5rem + 2.4vw, 3rem);
  --section:   clamp(4rem, 3rem + 4vw, 7.5rem);

  --r-sm:   10px;
  --r-md:   18px;
  --r-lg:   28px;
  --r-pill: 999px;

  --shadow-card: 0 1px 2px rgba(11, 31, 58, .06), 0 18px 48px -18px rgba(11, 31, 58, .28);
  --shadow-lift: 0 30px 70px -30px rgba(11, 31, 58, .45);

  --ease:     cubic-bezier(.2, .7, .2, 1);
  --dur-fast: 160ms;
  --dur:      320ms;

  --z-header: 50;
  --z-menu:   60;
  --z-float:  70;
  --z-menu-open: 900;      /* open mobile menu: above everything but the loader */
  --menu-bar: 88px;        /* header bar height on mobile (logo 64px + .7rem padding x2) */
  --z-loader: 1000;
}

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: var(--weight-heading);
  line-height: 1.14;
  letter-spacing: var(--tracking-heading);
}
h3, h4 { font-weight: var(--weight-strong); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 3px; border-radius: 6px; }
.on-photo :focus-visible, .footer :focus-visible { outline-color: var(--yellow); }

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

/* Layout primitives ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }
.sr-only, .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 1100;
  background: var(--navy); color: var(--snow);
  padding: .7rem 1.1rem; border-radius: var(--r-pill);
  transition: top var(--dur-fast) var(--ease);
}
.skip:focus { top: 1rem; }

/* Labels ------------------------------------------------------------------ */
.label {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-ink);
}
.script {
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: 0;
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.5rem;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--text-base); line-height: 1.1; text-align: center;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
/* Primary: logo blue field + navy text (6.9:1) */
.btn--primary { background: var(--blue); color: var(--navy); }
.btn--primary:hover { background: var(--blue-hover); }
/* Dark: navy field + white text (16.6:1) */
.btn--dark  { background: var(--navy); color: var(--snow); }
.btn--dark:hover { background: #163563; }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: #FFD95C; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--outline-snow { border-color: var(--snow-line); color: var(--snow); }
.btn--outline-snow:hover { background: var(--snow); color: var(--navy); border-color: var(--snow); }
/* WhatsApp green + navy text (8.3:1). Package "Book on WhatsApp" buttons (the floating chat button also uses --wa). */
.btn--wa { background: var(--wa); color: var(--navy); }
.btn--wa:hover { background: var(--wa-hover); }
.btn--block { width: 100%; }

/* Pill + circle call to action */
.cta-orbit {
  display: inline-flex; align-items: center; gap: 0;
  border-radius: var(--r-pill);
  font-weight: 600;
}
.cta-orbit__text {
  display: inline-flex; align-items: center;
  min-height: 60px; padding: 0 3.6rem 0 1.8rem;
  border-radius: var(--r-pill);
  background: var(--blue); color: var(--navy);
  transition: background var(--dur-fast) var(--ease);
}
.cta-orbit__dot {
  display: grid; place-items: center;
  width: 60px; height: 60px; margin-left: -2.4rem;
  border-radius: 50%;
  background: var(--navy); color: var(--snow);
  box-shadow: 0 0 0 5px var(--sky);
  transition: transform var(--dur) var(--ease);
}
.cta-orbit__dot svg { width: 22px; height: 22px; }
.cta-orbit:hover .cta-orbit__text { background: var(--blue-hover); }
.cta-orbit:hover .cta-orbit__dot { transform: rotate(45deg); }

/* Form fields ------------------------------------------------------------- */
.field { display: grid; gap: .5rem; }
.field__label { font-size: var(--text-sm); color: var(--ink); font-weight: 600; }
.field__label .req { color: #B3261E; }
.input {
  display: flex; align-items: center; gap: .65rem;
  width: 100%; min-height: 50px; padding: 0 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  color: var(--ink); font-size: var(--text-sm);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.input svg { width: 18px; height: 18px; flex: none; color: var(--ink-mute); }
.input input, .input select {
  flex: 1; min-width: 0; height: 48px;
  border: 0; background: transparent; outline: none;
  appearance: none; -webkit-appearance: none;
}
.input:focus-within, .input:focus { border-color: var(--blue-ink); box-shadow: 0 0 0 3px var(--sky-deep); outline: none; }
textarea.input { min-height: 150px; padding: 1rem 1.2rem; border-radius: var(--r-md); resize: vertical; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 2.75rem; }
.field > * { min-width: 0; }
.input select { width: 100%; text-overflow: ellipsis; }

/* Long unbroken strings (emails, links) wrap instead of widening the page on phones */
h1, h2, h3, h4, p, li, dd, dt, address, figcaption, blockquote { overflow-wrap: anywhere; }
