/* AK JhamilMc Suite V4.6 — public online booking page */
.akjm-online-booking-page,
.akjm-online-booking-template {
  background: #07070c;
}

.ak-online-booking {
  --akob-bg: #07070c;
  --akob-panel: rgba(17, 15, 28, .88);
  --akob-panel-strong: #11101a;
  --akob-border: rgba(255, 255, 255, .12);
  --akob-border-bright: rgba(184, 121, 255, .42);
  --akob-text: #f8f5ff;
  --akob-muted: #c9c4d5;
  --akob-dim: #918b9f;
  --akob-purple: var(--ak-primary, #9144df);
  --akob-lilac: var(--ak-secondary, #7e82ef);
  --akob-accent: var(--ak-accent, #b879ff);
  --akob-green: #52d995;
  --akob-amber: #ffcf72;
  --akob-danger: #ff8f9c;
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: 100vh;
  background:
    radial-gradient(circle at 86% 8%, rgba(145, 68, 223, .24), transparent 31rem),
    radial-gradient(circle at 5% 42%, rgba(126, 130, 239, .12), transparent 27rem),
    var(--akob-bg);
  color: var(--akob-text);
  font-family: inherit;
}

.ak-online-booking * { box-sizing: border-box; }
.ak-online-booking button,
.ak-online-booking input,
.ak-online-booking select,
.ak-online-booking textarea { font: inherit; }
.ak-online-booking button { cursor: pointer; }

.ak-online-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.ak-online-hero {
  position: relative;
  min-height: 390px;
  display: grid;
  align-items: center;
  padding: 76px 0 58px;
  border-bottom: 1px solid var(--akob-border);
  background: linear-gradient(115deg, rgba(7,7,12,.98) 5%, rgba(16,13,27,.92) 58%, rgba(72,35,104,.54));
}

.ak-online-hero-grid {
  position: absolute;
  inset: 0;
  opacity: .38;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.ak-online-orb { position: absolute; border-radius: 999px; filter: blur(12px); pointer-events: none; }
.ak-online-orb--one { width: 240px; height: 240px; right: 10%; top: 12%; background: rgba(145,68,223,.24); }
.ak-online-orb--two { width: 110px; height: 110px; right: 28%; bottom: 10%; background: rgba(126,130,239,.2); }

.ak-online-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: end;
}

.ak-online-kicker,
.ak-online-section-head > div > span {
  display: block;
  margin: 0 0 12px;
  color: #c899ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.ak-online-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--akob-text);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 650;
  line-height: .98;
  letter-spacing: -.045em;
}

.ak-online-hero p:not(.ak-online-kicker) {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--akob-muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.ak-online-hero-badge {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 250px;
  padding: 18px 20px;
  border: 1px solid var(--akob-border-bright);
  border-radius: 22px;
  background: rgba(10,8,17,.58);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
}
.ak-online-hero-badge > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: white;
  background: linear-gradient(135deg, var(--akob-purple), var(--akob-lilac));
}
.ak-online-hero-badge svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ak-online-hero-badge b,
.ak-online-hero-badge small { display: block; }
.ak-online-hero-badge b { color: white; font-size: 15px; }
.ak-online-hero-badge small { margin-top: 3px; color: var(--akob-muted); font-size: 12px; }

.ak-online-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 28px;
  padding-block: 52px 84px;
  align-items: start;
}

.ak-online-calendar-card,
.ak-online-form-card,
.ak-online-query-card {
  border: 1px solid var(--akob-border);
  border-radius: 30px;
  background: linear-gradient(150deg, rgba(20,18,32,.94), rgba(11,10,18,.97));
  box-shadow: 0 32px 90px rgba(0,0,0,.32);
}
.ak-online-calendar-card { padding: 30px; }
.ak-online-form-card { position: sticky; top: 96px; overflow: hidden; min-height: 620px; padding: 30px; }
.ak-online-query-card { grid-column: 1 / -1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; padding: 32px; }

.ak-online-section-head h2,
.ak-online-query-copy h2,
.ak-online-success h2 {
  margin: 0;
  color: var(--akob-text);
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.ak-online-section-head p,
.ak-online-query-copy > p:last-child,
.ak-online-success > p:not(.ak-online-kicker) {
  margin: 12px 0 0;
  color: var(--akob-muted);
  line-height: 1.6;
}

.ak-online-calendar-toolbar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 12px;
  align-items: center;
  margin: 28px 0 18px;
}
.ak-online-calendar-toolbar strong {
  color: white;
  text-align: center;
  text-transform: capitalize;
  font-size: 22px;
  letter-spacing: -.015em;
}
.ak-online-calendar-toolbar button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--akob-border);
  border-radius: 14px;
  color: white;
  background: rgba(255,255,255,.045);
  font-size: 28px;
  line-height: 1;
  transition: .2s ease;
}
.ak-online-calendar-toolbar button:hover:not(:disabled) { border-color: var(--akob-accent); transform: translateY(-1px); background: rgba(184,121,255,.12); }
.ak-online-calendar-toolbar button:disabled { cursor: not-allowed; opacity: .3; }
.ak-online-calendar-status { min-height: 20px; margin-bottom: 10px; color: var(--akob-muted); font-size: 13px; text-align: center; }

.ak-online-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
}
.ak-online-weekday {
  padding: 7px 2px 10px;
  color: var(--akob-dim);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.ak-online-day {
  position: relative;
  display: flex;
  min-width: 0;
  aspect-ratio: 1 / 1.02;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--akob-border);
  border-radius: 16px;
  color: var(--akob-text);
  text-align: left;
  background: rgba(255,255,255,.035);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.ak-online-day b { font-size: 16px; }
.ak-online-day small { overflow: hidden; color: var(--akob-muted); font-size: 9px; font-weight: 700; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.ak-online-day.is-empty { pointer-events: none; border-color: transparent; background: transparent; }
.ak-online-day.is-available { border-color: rgba(82,217,149,.34); background: linear-gradient(145deg, rgba(82,217,149,.11), rgba(255,255,255,.025)); }
.ak-online-day.is-limited { border-color: rgba(255,207,114,.42); background: linear-gradient(145deg, rgba(255,207,114,.13), rgba(255,255,255,.025)); }
.ak-online-day.is-unavailable { cursor: not-allowed; opacity: .38; background: rgba(255,255,255,.018); }
.ak-online-day.is-available:hover,
.ak-online-day.is-limited:hover { transform: translateY(-3px); border-color: var(--akob-accent); box-shadow: 0 14px 28px rgba(0,0,0,.28); }
.ak-online-day.is-selected { border-color: #d1a4ff; background: linear-gradient(145deg, rgba(145,68,223,.42), rgba(126,130,239,.2)); box-shadow: 0 0 0 2px rgba(184,121,255,.14), 0 18px 40px rgba(76,34,118,.34); }

.ak-online-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 20px;
  color: var(--akob-muted);
  font-size: 12px;
}
.ak-online-legend span { display: flex; gap: 7px; align-items: center; }
.ak-online-legend i { width: 9px; height: 9px; border-radius: 999px; background: currentColor; }
.ak-online-legend .is-available { color: var(--akob-green); }
.ak-online-legend .is-limited { color: var(--akob-amber); }
.ak-online-legend .is-unavailable { color: #716c7a; }

.ak-online-form-card form,
.ak-online-query-card form { margin-top: 25px; }
.ak-online-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.ak-online-form-card label,
.ak-online-query-card label { display: grid; gap: 7px; margin-bottom: 15px; }
.ak-online-form-card label > span,
.ak-online-query-card label > span { color: #d9d4e2; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ak-online-form-card input,
.ak-online-form-card select,
.ak-online-form-card textarea,
.ak-online-query-card input {
  width: 100%;
  min-height: 49px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  outline: 0;
  color: white;
  background: rgba(5,5,10,.66);
  padding: 12px 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.ak-online-form-card textarea { resize: vertical; min-height: 116px; }
.ak-online-form-card input:focus,
.ak-online-form-card select:focus,
.ak-online-form-card textarea:focus,
.ak-online-query-card input:focus { border-color: var(--akob-accent); box-shadow: 0 0 0 3px rgba(184,121,255,.13); background: rgba(9,8,16,.9); }
.ak-online-form-card select option { color: #15121e; }
.ak-online-selected-date input[type="text"] { color: #e9d9ff; font-weight: 700; border-color: rgba(184,121,255,.42); background: rgba(145,68,223,.09); }
.ak-online-form-card form > small { display: block; margin-top: 14px; color: var(--akob-dim); line-height: 1.5; }

.ak-online-submit,
.ak-online-whatsapp-link,
.ak-online-query-card form > button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 16px;
  color: white;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(110deg, var(--akob-purple), var(--akob-lilac));
  box-shadow: 0 16px 35px rgba(111,67,190,.28);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.ak-online-submit:hover,
.ak-online-whatsapp-link:hover,
.ak-online-query-card form > button:hover { color: white; transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 20px 42px rgba(111,67,190,.36); }
.ak-online-submit:disabled { cursor: wait; opacity: .66; }
.ak-online-submit svg,
.ak-online-whatsapp-link svg { width: 22px; height: 22px; fill: currentColor; }
.ak-online-form-status,
.ak-online-query-card form > p { min-height: 22px; margin: 12px 0 0; color: #d9c7f0; font-size: 13px; line-height: 1.5; }
.ak-honeypot { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

.ak-online-success { display: grid; min-height: 560px; place-items: center; align-content: center; text-align: center; }
.ak-online-success[hidden] { display: none; }
.ak-online-success-icon { display: grid; width: 74px; height: 74px; place-items: center; margin-bottom: 24px; border-radius: 999px; color: white; background: linear-gradient(135deg, var(--akob-green), #2cae75); box-shadow: 0 20px 50px rgba(55,200,130,.22); }
.ak-online-success-icon svg { width: 35px; height: 35px; fill: none; stroke: currentColor; stroke-width: 2; }
.ak-online-reference { width: min(100%, 360px); margin: 24px auto 18px; padding: 16px; border: 1px solid var(--akob-border-bright); border-radius: 18px; background: rgba(145,68,223,.08); }
.ak-online-reference span,
.ak-online-reference strong { display: block; }
.ak-online-reference span { color: var(--akob-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.ak-online-reference strong { margin: 7px 0 10px; color: white; font-size: 25px; letter-spacing: .05em; }
.ak-online-reference button,
.ak-online-new-booking { border: 0; color: #d9b5ff; background: transparent; font-weight: 700; }
.ak-online-new-booking { margin-top: 15px; }

.ak-online-query-copy { align-self: center; }
.ak-online-query-card form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.ak-online-query-card form label { margin: 0; }
.ak-online-query-card form > button { grid-column: 1 / -1; }
.ak-online-query-card form > p { grid-column: 1 / -1; }
.ak-online-query-result { grid-column: 1 / -1; padding: 22px; border: 1px solid var(--akob-border-bright); border-radius: 20px; background: rgba(145,68,223,.08); }
.ak-online-query-result[hidden] { display: none; }
.ak-online-query-result header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ak-online-query-result h3 { margin: 0; color: white; font-size: 22px; }
.ak-online-query-result .ak-online-status-pill { padding: 8px 12px; border-radius: 999px; color: #f5eaff; background: rgba(184,121,255,.18); font-size: 12px; font-weight: 800; }
.ak-online-query-details { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.ak-online-query-details div { padding: 14px; border-radius: 15px; background: rgba(255,255,255,.04); }
.ak-online-query-details span,
.ak-online-query-details b { display: block; }
.ak-online-query-details span { color: var(--akob-dim); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.ak-online-query-details b { margin-top: 5px; color: var(--akob-text); font-size: 14px; }

@media (max-width: 960px) {
  .ak-online-hero-inner { grid-template-columns: 1fr; }
  .ak-online-hero-badge { width: fit-content; }
  .ak-online-main { grid-template-columns: 1fr; }
  .ak-online-form-card { position: static; min-height: 0; }
  .ak-online-query-card { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .akjm-online-booking-page .et-l--header,
  .akjm-online-booking-page #main-header,
  .akjm-online-booking-page .ak-v4-header { transition: transform .28s ease !important; }
  .ak-online-shell { width: min(100% - 22px, 1180px); }
  .ak-online-hero { min-height: 330px; padding: 56px 0 42px; }
  .ak-online-hero h1 { font-size: clamp(38px, 11.5vw, 57px); }
  .ak-online-hero p:not(.ak-online-kicker) { font-size: 16px; }
  .ak-online-hero-badge { min-width: 0; width: 100%; }
  .ak-online-main { gap: 18px; padding-block: 24px 55px; }
  .ak-online-calendar-card,
  .ak-online-form-card,
  .ak-online-query-card { border-radius: 23px; padding: 20px 16px; }
  .ak-online-calendar-toolbar { grid-template-columns: 40px 1fr 40px; }
  .ak-online-calendar-toolbar strong { font-size: 19px; }
  .ak-online-calendar-grid { gap: 5px; }
  .ak-online-day { min-height: 54px; aspect-ratio: auto; padding: 7px 5px; border-radius: 11px; text-align: center; }
  .ak-online-day b { font-size: 14px; }
  .ak-online-day small { font-size: 0; }
  .ak-online-day small::after { content: ''; display: block; width: 5px; height: 5px; margin: auto; border-radius: 999px; background: currentColor; }
  .ak-online-day.is-available small { color: var(--akob-green); }
  .ak-online-day.is-limited small { color: var(--akob-amber); }
  .ak-online-day.is-unavailable small::after { display: none; }
  .ak-online-legend { gap: 12px; }
  .ak-online-form-grid,
  .ak-online-query-card form,
  .ak-online-query-details { grid-template-columns: 1fr; }
  .ak-online-query-card form > button,
  .ak-online-query-card form > p { grid-column: auto; }
  .ak-online-query-result header { align-items: flex-start; flex-direction: column; }
}

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

/* --------------------------------------------------------------------------
   V4.6.1 — layout and contrast hotfix
   Keeps the original visual language while preventing the booking form from
   floating over the private tracking panel.
   -------------------------------------------------------------------------- */
.akjm-online-booking-page .ak-online-main {
  grid-template-areas:
    "calendar form"
    "query query";
  grid-auto-rows: auto;
  row-gap: 32px;
}
.akjm-online-booking-page .ak-online-calendar-card {
  grid-area: calendar;
  min-width: 0;
}
.akjm-online-booking-page .ak-online-form-card {
  grid-area: form;
  position: relative;
  top: auto;
  z-index: 1;
  align-self: start;
  min-width: 0;
  min-height: 0;
}
.akjm-online-booking-page .ak-online-query-card {
  grid-area: query;
  grid-column: auto;
  position: relative;
  z-index: 2;
  min-width: 0;
  margin-top: 0;
  isolation: isolate;
}

/* Keep all controls dark and legible even when Divi or a browser stylesheet
   tries to force white form fields. */
.akjm-online-booking-page .ak-online-form-card input:not([type="hidden"]),
.akjm-online-booking-page .ak-online-form-card select,
.akjm-online-booking-page .ak-online-form-card textarea,
.akjm-online-booking-page .ak-online-query-card input:not([type="hidden"]) {
  border-color: rgba(255,255,255,.16) !important;
  color: #f8f5ff !important;
  background-color: rgba(8,7,14,.92) !important;
  -webkit-text-fill-color: #f8f5ff;
  caret-color: #d7aeff;
}
.akjm-online-booking-page .ak-online-form-card input::placeholder,
.akjm-online-booking-page .ak-online-form-card textarea::placeholder,
.akjm-online-booking-page .ak-online-query-card input::placeholder {
  color: #aaa3b5 !important;
  opacity: 1;
  -webkit-text-fill-color: #aaa3b5;
}
.akjm-online-booking-page .ak-online-form-card select {
  color-scheme: dark;
  appearance: auto;
  -webkit-appearance: menulist;
  font-weight: 650;
}
.akjm-online-booking-page .ak-online-form-card select option,
.akjm-online-booking-page .ak-online-form-card select optgroup {
  color: #ffffff !important;
  background-color: #171220 !important;
  font-weight: 600;
}
.akjm-online-booking-page .ak-online-form-card select option:checked {
  color: #ffffff !important;
  background: #6f35ad linear-gradient(0deg,#6f35ad,#6f35ad) !important;
}
.akjm-online-booking-page .ak-online-form-card input:-webkit-autofill,
.akjm-online-booking-page .ak-online-form-card input:-webkit-autofill:hover,
.akjm-online-booking-page .ak-online-form-card input:-webkit-autofill:focus,
.akjm-online-booking-page .ak-online-query-card input:-webkit-autofill,
.akjm-online-booking-page .ak-online-query-card input:-webkit-autofill:hover,
.akjm-online-booking-page .ak-online-query-card input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f8f5ff !important;
  -webkit-box-shadow: 0 0 0 1000px #0b0912 inset !important;
  box-shadow: 0 0 0 1000px #0b0912 inset !important;
  transition: background-color 9999s ease-out 0s;
}
.akjm-online-booking-page #solicitud-reserva,
.akjm-online-booking-page #consulta-reserva {
  scroll-margin-top: 100px;
}

@media (max-width: 960px) {
  .akjm-online-booking-page .ak-online-main {
    grid-template-areas:
      "calendar"
      "form"
      "query";
    grid-template-columns: minmax(0,1fr);
    row-gap: 20px;
  }
}

@media (max-width: 680px) {
  .akjm-online-booking-page .ak-online-main {
    row-gap: 18px;
  }
  .akjm-online-booking-page .ak-online-form-card,
  .akjm-online-booking-page .ak-online-query-card,
  .akjm-online-booking-page .ak-online-calendar-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .akjm-online-booking-page #solicitud-reserva,
  .akjm-online-booking-page #consulta-reserva {
    scroll-margin-top: 24px;
  }
}

/* V4.8.0 · acceso al portal privado desde reservas */
.ak-online-portal-link,.ak-online-query-portal{align-items:center;background:rgba(145,68,232,.12);border:1px solid rgba(145,68,232,.32);border-radius:14px;color:#e7d8ff;display:flex;font-weight:800;gap:10px;justify-content:center;margin-top:12px;min-height:52px;padding:0 18px;text-decoration:none}.ak-online-portal-link svg{height:20px;width:20px}.ak-online-query-portal{margin:18px 0 0}.ak-online-portal-link:hover,.ak-online-query-portal:hover{background:rgba(145,68,232,.2);color:#fff}

/* V4.8.0 · acceso al portal privado desde reservas */
.ak-online-portal-link,.ak-online-query-portal{align-items:center;background:rgba(145,68,232,.12);border:1px solid rgba(145,68,232,.32);border-radius:14px;color:#e7d8ff;display:flex;font-weight:800;gap:10px;justify-content:center;margin-top:12px;min-height:52px;padding:0 18px;text-decoration:none}.ak-online-portal-link svg{height:20px;width:20px}.ak-online-query-portal{margin:18px 0 0}.ak-online-portal-link:hover,.ak-online-query-portal:hover{background:rgba(145,68,232,.2);color:#fff}
