/* Contact page (template contact.php): proof column, form with choice cards, booking button.
   Design: Claude Design "Galliot Contact page". Plain CSS, no build step. Docs: docs/forms.md */

.gct {
  --gct-text: #282828;
  --gct-text2: #5a5a5a;
  --gct-blue: #179cff;
  --gct-blue-dark: #1774ff;
  --gct-bg: #f5f9fc;
  --gct-line: #ebeff2;
  --gct-field: #7f8c99;
  --gct-err: #c62828;
  --gct-accent: #ffd700;
  position: relative;
  overflow: hidden;
  min-height: 0;
  background: var(--gct-bg);
  padding-top: 0; /* the theme adds 64px above sections; the form column starts closer to the menu */
  padding-bottom: 0;
}

.gct.c-section--contact::after {
  content: none;
}

.gct *,
.gct *::before,
.gct *::after {
  box-sizing: border-box;
}

.gct-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.gct-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.gct-blob--1 { width: 520px; height: 520px; left: 0; top: -160px; background: #179cff; opacity: 0.14; }
.gct-blob--2 { width: 420px; height: 420px; right: 6%; top: 30%; background: #ffd700; opacity: 0.15; }
.gct-blob--3 { width: 460px; height: 460px; left: 30%; bottom: -220px; background: #1774ff; opacity: 0.1; }

.gct-wrap {
  position: relative;
}

.gct-cols {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: stretch;
  padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 7vw, 96px);
}

.gct-cols--single {
  grid-template-columns: minmax(0, 46em);
}

.gct-hl {
  background: linear-gradient(transparent 62%, rgba(255, 215, 0, 0.5) 62%, rgba(255, 215, 0, 0.5) 92%, transparent 92%);
}

/* --- left column: proof ------------------------------------------------------------------------ */
.gct-proof {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gct-card {
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: 0 18px 40px -18px rgba(23, 116, 255, 0.28);
}

.gct-logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: 160px;
  margin-bottom: 18px;
  object-fit: contain;
  object-position: left center;
}

.gct-quote blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--gct-text);
}

.gct-quote figcaption {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.gct-photo {
  flex: none;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.gct-who {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--gct-text);
}

.gct-role {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gct-text2);
}

.gct-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gct-stat {
  display: block;
  padding: 20px;
  border: 1px solid var(--gct-line);
  border-radius: 4px;
  background: #fff;
  color: var(--gct-text);
  text-decoration: none;
}

a.gct-stat {
  transition: border-color 0.25s, transform 0.25s;
}

a.gct-stat:hover {
  border-color: var(--gct-blue-dark);
  transform: translateY(-1px);
  color: var(--gct-text);
}

.gct-num {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.gct-stars {
  display: flex;
  gap: 3px;
  margin-top: 8px;
}

.gct-cap {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  color: var(--gct-text2);
}

.gct-direct {
  margin-top: auto;
  padding: 20px;
  border: 1px solid var(--gct-line);
  border-radius: 4px;
  background: #fff;
}

.gct-dh {
  margin: 0 0 8px;
  font-family: "Lato", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gct-text2);
}

.gct-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 44px;
  padding: 14px 0;
  border-top: 1px solid var(--gct-line);
  color: var(--gct-text);
  text-decoration: none;
}

.gct-row:last-child {
  padding-bottom: 0;
}

.gct-ic {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gct-bg);
}

.gct-k {
  display: block;
  font-size: 13px;
  color: var(--gct-text2);
}

.gct-v {
  display: block;
  font-size: 17px;
  line-height: 1.45;
  color: var(--gct-blue-dark);
}

a.gct-row:hover .gct-v {
  text-decoration: underline;
}

/* --- right column: heading, form, booking ------------------------------------------------------ */
.gct-title {
  margin: 0 0 16px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(31px, 4.2vw, 39px);
  line-height: 1.25;
}

.gct-lead {
  max-width: 52ch;
  margin: 0;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--gct-text2);
}

.gct-strip {
  display: none;
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--gct-text);
}

.gct .galliot-form--page {
  margin-top: 36px;
}

.galliot-form--page .wpforms-field-container {
  display: grid;
  gap: 24px;
}

.galliot-form--page .galliot-form__choice {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.galliot-form--page legend {
  margin: 0 0 12px;
  padding: 0;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.3;
  color: var(--gct-text);
}

.galliot-form--page .galliot-form__req {
  margin-left: 6px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--gct-text2);
}

.galliot-form--page .galliot-form__opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.galliot-form--page .galliot-form__opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--gct-field);
  border-radius: 4px;
  background: #fff;
  font-size: 16px;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, background 0.2s;
}

.galliot-form--page .galliot-form__opt:hover {
  border-color: var(--gct-blue-dark);
  transform: translateY(-1px);
}

.galliot-form--page .galliot-form__opt input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.galliot-form--page .galliot-form__mark {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--gct-field);
  border-radius: 50%;
  background: #fff;
}

.galliot-form--page .galliot-form__mark svg {
  opacity: 0;
}

.galliot-form--page .galliot-form__opt:has(input:checked) {
  border-color: var(--gct-blue-dark);
  box-shadow: inset 0 0 0 1px var(--gct-blue-dark);
  background: var(--gct-bg);
  font-weight: 700;
}

.galliot-form--page .galliot-form__opt:has(input:checked) .galliot-form__mark {
  border-color: var(--gct-blue-dark);
  background: var(--gct-blue-dark);
}

.galliot-form--page .galliot-form__opt:has(input:checked) .galliot-form__mark svg {
  opacity: 1;
}

.galliot-form--page .galliot-form__opt:has(input:focus-visible) {
  outline: 2px solid var(--gct-blue-dark);
  outline-offset: 2px;
}

/* Browsers without :has(): the native radio stays usable on top of the card. */
@supports not selector(:has(*)) {
  .galliot-form--page .galliot-form__opt input {
    opacity: 1;
    width: 18px;
    height: 18px;
    position: static;
  }

  .galliot-form--page .galliot-form__mark {
    display: none;
  }
}

.galliot-form--page .galliot-form__msg {
  min-height: 21px;
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gct-err);
}

.galliot-form--page .wpforms-field {
  margin: 0;
  display: grid;
  gap: 6px;
}

.galliot-form--page .wpforms-field-container .wpforms-field-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--gct-text);
}

.galliot-form--page .wpforms-field input,
.galliot-form--page .wpforms-field textarea {
  width: 100%;
  height: auto;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--gct-field);
  border-bottom: 1px solid var(--gct-field);
  border-radius: 4px;
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  color: var(--gct-text);
}

.galliot-form--page .wpforms-field textarea {
  min-height: 150px;
  resize: vertical;
}

.galliot-form--page .wpforms-field input:focus,
.galliot-form--page .wpforms-field textarea:focus {
  border-color: var(--gct-blue-dark);
  border-bottom: 1px solid var(--gct-blue-dark);
  box-shadow: 0 0 0 3px rgba(23, 156, 255, 0.3);
  outline: 0;
}

.galliot-form--page .wpforms-field input.wpforms-error,
.galliot-form--page .wpforms-field textarea.wpforms-error {
  border-color: var(--gct-err);
  border-bottom: 1px solid var(--gct-err);
  box-shadow: inset 0 0 0 1px var(--gct-err);
}

.galliot-form--page .wpforms-field label.wpforms-error {
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--gct-err);
}

.galliot-form--page .wpforms-submit-container {
  margin-top: 24px;
}

.galliot-form--page .wpforms-submit {
  width: auto;
  min-height: 50px;
  padding: 12px 32px;
}

.galliot-form--page .galliot-form__error {
  padding: 12px 14px;
  border: 1px solid var(--gct-err);
  border-radius: 4px;
  background: #fff;
  font-size: 15px;
  color: var(--gct-err);
}

.galliot-form--page .galliot-form__notice {
  max-width: 60ch;
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--gct-text2);
  opacity: 1;
}

/* Confirmation (replaces the form after sending) */
.galliot-form--page .wpforms-confirmation-container {
  margin: 0;
  padding: 32px;
  border: 1px solid var(--gct-line);
  border-radius: 4px;
  background: var(--gct-bg);
  box-shadow: inset 0 3px 0 var(--gct-accent);
}

.galliot-form--page .wpforms-confirmation-container p {
  max-width: 26ch;
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 25px;
  line-height: 1.3;
  color: var(--gct-text);
}

.galliot-form__book {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 24px;
}

.galliot-form--page .galliot-form__book p {
  max-width: none;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 17px;
}

/* Booking button: outlined green, used in the "or" row and in the confirmation */
.gct-bookbtn,
.galliot-form__bookbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 32px;
  border: 1px solid #0a7d43;
  border-radius: 30px;
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0a7d43;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.gct-bookbtn:hover,
.galliot-form__bookbtn:hover {
  background: #0a7d43;
  color: #fff;
  transform: translateY(-1px);
}

.gct-or {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gct-text2);
}

.gct-or::before,
.gct-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d5dde4;
}

.gct-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--gct-line);
  border-radius: 4px;
  background: #fff;
}

.gct-alt p {
  flex: 1 1 220px;
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  color: var(--gct-text);
}

@media (max-width: 979px) {
  .gct-cols {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .gct-right {
    order: -1;
  }
}

@media (max-width: 739px) {
  .gct-strip {
    display: block;
  }

  .gct-stats {
    display: none;
  }

  .galliot-form--page .galliot-form__opts {
    grid-template-columns: 1fr;
  }

  .galliot-form--page .wpforms-submit,
  .gct-bookbtn,
  .galliot-form__bookbtn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gct *,
  .galliot-form--page * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
