/* ==========================================================================
   KLYVN — Contact page
   Loads AFTER style-butterfly.css and style-ancient.css. Header, footer,
   .btn-premium and colour tokens are inherited. Everything here is
   namespaced .ct- so nothing leaks to other pages.
   ========================================================================== */

:root {
  --ct-pad:   clamp(16px, 3vw, 48px);
  --ct-serif: 'Cormorant Garamond', var(--font-display), serif;
}

.contact-page { background: #071e11; overflow-x: clip; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   BANNER
   ========================================================================== */

.ct-banner {
  position: relative;
  /* slim image strip straight after the header, same height as the shop banner */
  padding: calc(var(--header-height) + 34px) var(--ct-pad) 16px;
  background:
    radial-gradient(60% 150% at 0% 0%,   rgba(64, 112, 16, .35),  transparent 70%),
    radial-gradient(50% 150% at 100% 0%, rgba(220, 170, 71, .18), transparent 70%),
    linear-gradient(180deg, rgba(7, 30, 17, .80) 0%, rgba(7, 30, 17, .90) 55%, #071e11 100%),
    url('../img/present-world/butterfly-pattern.png') center / cover no-repeat #071e11;
  border-bottom: 1px solid var(--aw-hairline);
}

.ct-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin: clamp(24px, 3vw, 34px) 0 0;
  font-family: var(--font-sans);
  font-size: 10.5px; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--aw-text-dim);
}
.ct-crumbs a { transition: color .35s var(--ease-premium); }
.ct-crumbs a:hover { color: var(--aw-gold-light); }
.ct-crumbs [aria-current] { color: var(--aw-gold-light); }

/* title block, plain green, sits under the image strip */
.ct-intro {
  padding: clamp(26px, 4vw, 44px) var(--ct-pad) clamp(22px, 3vw, 34px);
  background: #071e11;
}

.ct-banner-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px 64px;
}

.ct-eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--aw-gold);
}

.ct-title {
  margin: 0;
  font-family: var(--ct-serif);
  font-weight: 300;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: .95; letter-spacing: 1px;
  color: #F3E7CE;
  text-shadow: 0 2px 30px rgba(0,0,0,.55);
}
.ct-title em { font-style: italic; color: var(--aw-gold-light); }

.ct-lead {
  margin: 0;
  max-width: 400px;
  font-family: var(--font-sans);
  font-weight: 300; font-size: 14.5px; line-height: 1.95;
  color: #fff;
  text-shadow: 0 1px 14px rgba(0,0,0,.7);
}

/* ==========================================================================
   MAIN GRID
   ========================================================================== */

.ct-main {
  padding: clamp(32px, 5vw, 60px) var(--ct-pad) clamp(56px, 8vw, 60px);
  background: #071e11;
}

.ct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}

/* ---------- Details ---------- */

.ct-cards {
  /* layout comes from Bootstrap (.row + .col-md-6 + .col-lg-12) in contact.html */
  list-style: none; padding: 0;
}

.ct-card {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 22px 24px;
  background: #0c2a18;
  border: 1px solid var(--aw-hairline);
  border-radius: 14px;
  transition: border-color .5s var(--ease-premium), transform .5s var(--ease-premium);
}
.ct-card:hover { border-color: rgba(243,202,99,.45); transform: translateY(-3px); }

.ct-card-icon {
  flex: 0 0 46px; width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(243,202,99,.4);
  color: var(--aw-gold-light);
  font-size: 18px;
}

.ct-card > div { min-width: 0; }

.ct-card-title {
  margin: 2px 0 8px;
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
  color: var(--aw-gold-light);
}
.ct-card-text {
  margin: 0;
  font-family: var(--ct-serif);
  font-size: 22px; line-height: 1.35; color: #F3E7CE;
  overflow-wrap: anywhere;
}
.ct-card-text a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-premium), color .35s var(--ease-premium); }
.ct-card-text a:hover { color: var(--aw-gold-light); background-size: 100% 1px; }
.ct-card-note {
  margin: 8px 0 0;
  font-family: var(--font-sans);
  font-weight: 300; font-size: 12px; letter-spacing: .6px;
  color: var(--aw-text-dim);
}

.ct-note {
  margin-top: 26px;
  padding: 24px 4px 0;
  border-top: 1px solid var(--aw-hairline);
}
.ct-note-title {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--aw-text-dim);
}
.ct-note ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px;
  font-family: var(--font-sans); font-weight: 300; font-size: 13px; color: var(--aw-text);
}
.ct-note i { margin-right: 12px; color: var(--aw-gold); }

/* ---------- Form ---------- */

.ct-formwrap {
  padding: clamp(24px, 3.2vw, 44px);
  background: #0c2a18;
  border: 1px solid var(--aw-hairline);
  border-radius: 14px;
}

.ct-form-title {
  margin: 0 0 6px;
  font-family: var(--ct-serif); font-weight: 300;
  font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05;
  color: #F3E7CE;
}
.ct-form-sub {
  margin: 0 0 clamp(22px, 3vw, 32px);
  font-family: var(--font-sans); font-weight: 300; font-size: 12.5px;
  color: var(--aw-text-dim);
}

.ct-form { display: grid; gap: 22px; }

.ct-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ct-field { min-width: 0; }

.ct-field label {
  display: block; margin-bottom: 10px;
  font-family: var(--font-sans);
  font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--aw-text-dim);
}
.ct-field label span[aria-hidden] { color: var(--aw-gold-light); }
.ct-opt { letter-spacing: 1.2px; text-transform: none; opacity: .8; }

.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  padding: 15px 16px;
  background: rgba(7,30,17,.55);
  color: #F3E7CE;
  border: 1px solid rgba(243,202,99,.35);
  border-radius: 8px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 300; letter-spacing: .3px;
  transition: border-color .3s var(--ease-premium), background .3s var(--ease-premium);
}
.ct-field textarea { resize: vertical; min-height: 150px; line-height: 1.7; }
.ct-field input:hover,
.ct-field select:hover,
.ct-field textarea:hover { border-color: var(--aw-gold-light); }
.ct-field input:focus-visible,
.ct-field select:focus-visible,
.ct-field textarea:focus-visible {
  outline: 2px solid var(--aw-gold-light); outline-offset: 2px;
  background: rgba(7,30,17,.85);
}
.ct-field [aria-invalid="true"] { border-color: #E8A27C; }

.ct-select { position: relative; }
.ct-select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.ct-select select option { background: #0c2a18; color: #F3E7CE; }
.ct-select i {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 12px; color: var(--aw-gold-light); pointer-events: none;
}

.ct-field-foot {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  margin-top: 8px;
}
.ct-count {
  margin-left: auto; flex: 0 0 auto;
  font-family: var(--font-sans); font-size: 11px; letter-spacing: 1px;
  color: var(--aw-text-dim);
}

.ct-err {
  margin: 8px 0 0;
  font-family: var(--font-sans); font-size: 12.5px; line-height: 1.5;
  color: #E8A27C;
}
.ct-field-foot .ct-err { margin: 0; }
.ct-err[hidden] { display: none; }

/* honeypot, kept off screen rather than display:none so naive bots still fill it */
.ct-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ct-submit.btn-premium {
  justify-self: start;
  background: var(--aw-gold-light); border-color: var(--aw-gold-light);
  color: #04130d; border-radius: 8px; padding: 18px 34px;
}
.ct-submit.btn-premium:hover { background: #f0c060; border-color: #f0c060; color: #04130d; }
.ct-submit.btn-premium:disabled { opacity: .6; cursor: progress; transform: none; }

.ct-status {
  margin: 0;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px;
  border-radius: 10px;
  font-family: var(--font-sans); font-weight: 300; font-size: 13.5px; line-height: 1.7;
  color: #F3E7CE;
  border: 1px solid var(--aw-hairline);
}
.ct-status[hidden] { display: none; }
.ct-status i { margin-top: 3px; font-size: 16px; }
.ct-status.is-ok  { border-color: rgba(143,196,154,.5); }
.ct-status.is-ok i { color: #8FC49A; }
.ct-status.is-bad { border-color: rgba(232,162,124,.55); }
.ct-status.is-bad i { color: #E8A27C; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 991px) {
  .ct-grid { grid-template-columns: minmax(0, 1fr); }
  .ct-field input, .ct-field select, .ct-field textarea { font-size: 16px; }   /* stops iOS zoom on focus */
}

@media (max-width: 767px) {
  .ct-banner { padding-top: calc(var(--header-height-mobile) + 28px); }
  .ct-crumbs { font-size: 9.5px; letter-spacing: 2px; }
  .ct-lead { font-size: 13.5px; line-height: 1.85; }
  .ct-card { padding: 18px; gap: 14px; }
  .ct-card-text { font-size: 20px; }
}

@media (max-width: 575px) {
  .ct-row { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .ct-submit.btn-premium { justify-self: stretch; justify-content: center; }
  .ct-field input, .ct-field select { min-height: 48px; }
}

@media (hover: none) and (pointer: coarse) {
  .ct-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ct-card, .ct-field input, .ct-field select, .ct-field textarea { transition: none; }
}

/* ---------- Social icons (Follow card) ---------- */
.ct-social {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 2px 0 0; padding: 0;
}
.ct-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(243,202,99,.4);
  color: var(--aw-gold-light);
  font-size: 17px;
  transition: background .35s var(--ease-premium), color .35s var(--ease-premium), border-color .35s var(--ease-premium), transform .35s var(--ease-premium);
}
.ct-social a:hover,
.ct-social a:focus-visible {
  background: var(--aw-gold-light); border-color: var(--aw-gold-light);
  color: #04130d; transform: translateY(-2px);
}
.ct-social + .ct-card-note { margin-top: 12px; }

@media (hover: none) and (pointer: coarse) {
  .ct-social a { width: 44px; height: 44px; }
  .ct-social a:hover { transform: none; }
}
