/* =====================================================================
   Contact page - clean contact desk UI
   Full-width image banner, clear contact cards, polished enquiry form
   and image-led visit/timing sections.
   ===================================================================== */

.contact-page {
  background: var(--white);
  color: var(--text);
  overflow: hidden;
}

.contact-page * {
  box-sizing: border-box;
}

.contact-page img {
  display: block;
  max-width: 100%;
}

.contact-page h1,
.contact-page h2,
.contact-page h3,
.contact-page p {
  margin-top: 0;
}

.contact-page h1,
.contact-page h2,
.contact-page h3 {
  color: var(--navy-dark, #041f3d);
}

.contact-page p {
  color: var(--muted);
  line-height: 1.72;
}

.contact-page .section {
  padding-bottom: clamp(76px, 7vw, 116px);
  padding-top: clamp(76px, 7vw, 116px);
}

.contact-page h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin-bottom: 18px;
}

.contact-page .lead {
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.76;
  margin-bottom: 0;
}

.contact-kicker {
  align-items: center;
  color: var(--gold-dark, #b98800);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 950;
  gap: 10px;
  letter-spacing: 1.55px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.contact-kicker:before {
  background: var(--gold, #ffc600);
  border-radius: 999px;
  content: "";
  height: 3px;
  width: 28px;
}

.contact-kicker-light {
  color: var(--gold, #ffc600);
}

/* ================= HERO ================= */
.contact-hero {
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(4, 22, 42, 0.92) 0%,
      rgba(5, 40, 72, 0.82) 44%,
      rgba(17, 102, 75, 0.58) 100%
    ),
    url("../images/folder-3/2.jpeg") center / cover no-repeat;
  color: var(--white);
  display: flex;
  min-height: clamp(540px, 74vh, 720px);
  overflow: hidden;
  position: relative;
}

.contact-hero:before {
  background: linear-gradient(
    90deg,
    var(--gold, #ffc600),
    var(--green-bright, #20c997),
    var(--blue, #4d8dff)
  );
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 3;
}

.contact-hero-shell {
  align-items: center;
  display: flex;
  min-height: inherit;
  position: relative;
  z-index: 2;
}

.contact-hero-copy {
  max-width: 820px;
  padding: clamp(96px, 10vw, 148px) 0 clamp(78px, 8vw, 118px);
}

.contact-hero .contact-kicker {
  color: var(--gold, #ffc600);
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.contact-hero h1 {
  color: var(--white);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.75rem, 5.4vw, 5.1rem);
  letter-spacing: -0.055em;
  line-height: 1.04;
  margin: 0 0 24px;
  max-width: 860px;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.36);
}

.contact-hero .hero-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.03rem, 1.45vw, 1.2rem);
  font-weight: 650;
  line-height: 1.72;
  margin: 0 0 32px;
  max-width: 720px;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.contact-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-hero-tags li {
  align-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 900;
  min-height: 50px;
  padding: 12px 20px;
}

/* ================= SNAPSHOT ================= */
.contact-snapshot {
  background:
    radial-gradient(
      circle at 10% 14%,
      rgba(255, 198, 0, 0.14),
      transparent 30%
    ),
    linear-gradient(180deg, var(--white) 0%, #f8fbff 100%);
  padding-bottom: clamp(30px, 4vw, 54px) !important;
}

.contact-snapshot-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.snapshot-card {
  background: var(--white);
  border: 1px solid rgba(6, 43, 85, 0.08);
  border-radius: 28px;
  box-shadow: 0 20px 52px rgba(6, 43, 85, 0.08);
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 28px;
  text-decoration: none;
  transition:
    box-shadow 0.24s ease,
    transform 0.24s ease;
}

.snapshot-card:hover {
  box-shadow: 0 28px 68px rgba(6, 43, 85, 0.14);
  transform: translateY(-5px);
}

.snapshot-card span {
  color: var(--gold-dark, #b98800);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 950;
}

.snapshot-card:nth-child(2) span {
  color: var(--green-dark, #0a7f60);
}

.snapshot-card:nth-child(3) span {
  color: var(--blue, #4d8dff);
}

.snapshot-card strong {
  color: var(--navy-dark, #041f3d);
  font-size: 1.18rem;
}

.snapshot-card p {
  color: var(--muted);
  font-weight: 700;
  margin: 0;
  overflow-wrap: anywhere;
}

/* ================= CONTACT DESK ================= */
.contact-desk {
  background: linear-gradient(180deg, #f8fbff 0%, var(--white) 100%);
  padding-top: clamp(54px, 6vw, 86px) !important;
}

.contact-desk-layout {
  align-items: start;
  display: grid;
  gap: clamp(34px, 5vw, 76px);
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
}

.contact-info-panel {
  max-width: 620px;
  position: sticky;
  top: 110px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.contact-row {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(6, 43, 85, 0.08);
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(6, 43, 85, 0.07);
  display: grid;
  gap: 5px;
  padding: 22px 24px;
  position: relative;
}

.contact-row:before {
  background: var(--gold, #ffc600);
  border-radius: 999px;
  bottom: 22px;
  content: "";
  left: 0;
  position: absolute;
  top: 22px;
  width: 5px;
}

.contact-row:nth-child(2):before {
  background: var(--green-bright, #20c997);
}

.contact-row:nth-child(3):before {
  background: var(--blue, #4d8dff);
}

.contact-row:nth-child(4):before {
  background: var(--coral, #ff6f61);
}

.contact-row small {
  color: var(--gold-dark, #b98800);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-row strong {
  color: var(--navy-dark, #041f3d);
  font-size: 1.06rem;
}

.contact-row span,
.contact-row a {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.contact-row a:hover {
  color: var(--green-dark, #0a7f60);
}

.contact-form-stage {
  display: grid;
  gap: 18px;
}

.form-photo {
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(6, 43, 85, 0.16);
  height: 360px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.form-photo img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.62s ease;
  width: 100%;
}

.form-photo:hover img {
  transform: scale(1.05);
}

.form-photo:after {
  background: linear-gradient(
    180deg,
    rgba(4, 31, 61, 0.02),
    rgba(4, 31, 61, 0.82)
  );
  content: "";
  inset: 0;
  position: absolute;
}

.form-photo figcaption {
  bottom: 28px;
  display: grid;
  gap: 9px;
  left: 28px;
  position: absolute;
  right: 28px;
  z-index: 2;
}

.form-photo span {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--gold, #ffc600);
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 950;
  justify-self: flex-start;
  letter-spacing: 0.5px;
  padding: 8px 13px;
  text-transform: uppercase;
}

.form-photo strong {
  color: var(--white);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.08;
}

.enquiry-form {
  background: var(--white);
  border: 1px solid rgba(6, 43, 85, 0.08);
  border-radius: 34px;
  box-shadow: 0 24px 62px rgba(6, 43, 85, 0.1);
  display: grid;
  gap: 16px;
  padding: clamp(26px, 4vw, 38px);
}

.form-title span {
  color: var(--gold-dark, #b98800);
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-title h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.enquiry-form-embed {
  gap: 18px;
}

.contact-embed-shell {
  background: #f8fbff;
  border: 1px solid rgba(6, 43, 85, 0.08);
  border-radius: 24px;
  overflow: hidden;
}

.contact-embed-frame {
  border: 0;
  display: block;
  min-height: 820px;
  width: 100%;
}

.form-field {
  display: grid;
  gap: 8px;
}

.split-field {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.split-field > div {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: var(--navy-dark, #041f3d);
  font-size: 0.86rem;
  font-weight: 900;
}

.form-field input,
.form-field textarea {
  background: #f8fbff;
  border: 1px solid rgba(6, 43, 85, 0.12);
  border-radius: 16px;
  color: var(--text);
  font: inherit;
  min-height: 52px;
  outline: none;
  padding: 13px 15px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  width: 100%;
}

.form-field textarea {
  min-height: 116px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  background: var(--white);
  border-color: rgba(255, 198, 0, 0.65);
  box-shadow: 0 0 0 4px rgba(255, 198, 0, 0.14);
}

.contact-submit {
  align-items: center;
  background: linear-gradient(
    180deg,
    var(--gold, #ffc600),
    var(--gold-dark, #b98800)
  );
  border: 0;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(242, 184, 0, 0.28);
  color: var(--navy-dark, #041f3d);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.04rem;
  font-weight: 950;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.contact-submit:hover {
  box-shadow: 0 18px 36px rgba(242, 184, 0, 0.38);
  transform: translateY(-2px);
}

.form-message {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0;
}

/* ================= VISIT ================= */
.contact-visit {
  background:
    radial-gradient(
      circle at 12% 16%,
      rgba(255, 198, 0, 0.14),
      transparent 30%
    ),
    radial-gradient(
      circle at 86% 72%,
      rgba(32, 201, 151, 0.13),
      transparent 28%
    ),
    linear-gradient(
      145deg,
      var(--navy-dark, #041f3d) 0%,
      #062b55 54%,
      #073066 100%
    );
  color: var(--white);
}

.visit-grid {
  align-items: center;
  display: grid;
  gap: clamp(34px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.visit-copy h2,
.visit-copy p {
  color: var(--white);
}

.visit-copy .lead {
  color: rgba(255, 255, 255, 0.76);
}

.visit-gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.visit-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
  min-height: 280px;
  overflow: hidden;
  position: relative;
}

.visit-card-large {
  grid-row: span 2;
  min-height: 580px;
}

.visit-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.62s ease;
  width: 100%;
}

.visit-card:hover img {
  transform: scale(1.05);
}

.visit-card:after {
  background: linear-gradient(
    180deg,
    rgba(4, 31, 61, 0.02),
    rgba(4, 31, 61, 0.84)
  );
  content: "";
  inset: 0;
  position: absolute;
}

.visit-card div {
  bottom: 0;
  display: grid;
  gap: 8px;
  left: 0;
  padding: 26px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.visit-card span {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--gold, #ffc600);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 950;
  justify-self: flex-start;
  letter-spacing: 0.5px;
  padding: 8px 13px;
  text-transform: uppercase;
}

.visit-card h3 {
  color: var(--white);
  font-size: clamp(1.24rem, 2vw, 2rem);
  line-height: 1.1;
  margin-bottom: 0;
}

/* ================= TIMINGS ================= */
.contact-timings {
  background:
    radial-gradient(
      circle at 10% 16%,
      rgba(255, 198, 0, 0.14),
      transparent 30%
    ),
    linear-gradient(180deg, #f8fbff 0%, var(--white) 100%);
}

.timing-shell {
  position: relative;
}

.timing-heading {
  display: grid;
  justify-items: center;
  margin: 0 auto clamp(34px, 4vw, 54px);
  max-width: 820px;
  text-align: center;
}

.timing-heading .lead {
  max-width: 660px;
}

.timing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timing-card {
  background: var(--white);
  border: 1px solid rgba(6, 43, 85, 0.08);
  border-radius: 28px;
  box-shadow: 0 20px 52px rgba(6, 43, 85, 0.08);
  min-height: 220px;
  padding: 28px;
  position: relative;
  transition:
    box-shadow 0.24s ease,
    transform 0.24s ease;
}

.timing-card:hover {
  box-shadow: 0 28px 68px rgba(6, 43, 85, 0.14);
  transform: translateY(-5px);
}

.timing-card:before {
  background: var(--gold, #ffc600);
  border-radius: 999px;
  content: "";
  height: 5px;
  left: 28px;
  position: absolute;
  right: 28px;
  top: 0;
}

.timing-card:nth-child(2):before {
  background: var(--green-bright, #20c997);
}

.timing-card:nth-child(3):before {
  background: var(--blue, #4d8dff);
}

.timing-card:nth-child(4):before {
  background: var(--coral, #ff6f61);
}

.timing-card span {
  color: var(--gold-dark, #b98800);
  display: block;
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.timing-card:nth-child(2) span {
  color: var(--green-dark, #0a7f60);
}

.timing-card:nth-child(3) span {
  color: var(--blue, #4d8dff);
}

.timing-card:nth-child(4) span {
  color: var(--coral, #ff6f61);
}

.timing-card strong {
  color: var(--navy-dark, #041f3d);
  display: block;
  font-size: 1.18rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.timing-card p {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 650;
  margin-bottom: 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1180px) {
  .contact-desk-layout,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-panel {
    max-width: 820px;
    position: static;
  }

  .timing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .contact-hero-shell {
    justify-content: center;
    text-align: center;
  }

  .contact-hero-copy {
    margin: 0 auto;
    max-width: 820px;
  }

  .contact-hero .contact-kicker,
  .contact-hero-tags {
    justify-content: center;
  }

  .contact-hero .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-snapshot-grid,
  .visit-gallery {
    grid-template-columns: 1fr;
  }

  .visit-card-large {
    grid-row: auto;
    min-height: 360px;
  }

  .visit-card {
    min-height: 320px;
  }

  .timing-heading {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .contact-page .section {
    padding-bottom: 72px;
    padding-top: 72px;
  }

  .contact-hero {
    min-height: 540px;
  }

  .contact-hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.7rem);
  }

  .contact-hero-tags li {
    width: 100%;
    justify-content: center;
  }

  .split-field,
  .timing-grid {
    grid-template-columns: 1fr;
  }

  .form-photo,
  .visit-card,
  .visit-card-large {
    border-radius: 24px;
    height: 310px;
    min-height: 0;
  }

  .enquiry-form,
  .contact-row,
  .snapshot-card,
  .timing-card {
    border-radius: 22px;
  }

  .contact-embed-frame {
    min-height: 920px;
  }
}

@media (max-width: 460px) {
  .snapshot-card,
  .contact-row,
  .enquiry-form,
  .timing-card,
  .visit-card div {
    padding: 22px;
  }

  .form-photo,
  .visit-card,
  .visit-card-large {
    height: 280px;
  }

  .contact-embed-frame {
    min-height: 980px;
  }
}
