#cta { padding: 7rem 0; position: relative; overflow: hidden; }

.ctabg { position: absolute; inset: 0; background: url('../img/photo-1464822759023-fed622ff2c3b') center / cover; }

.ctaov {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,11,.95), rgba(10,10,11,.85));
}
[data-theme="light"] .ctaov {
  background: linear-gradient(135deg, rgba(245,240,232,.94), rgba(245,240,232,.88));
}

.ctain { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

.clead { font-size: 1rem; font-weight: 200; line-height: 1.9; color: var(--txm); max-width: 580px; margin-bottom: 3.5rem; }

.cgrid { display: grid; grid-template-columns: 1fr 300px; gap: 4rem; align-items: start; }

.fpanel {
  background: rgba(10, 10, 11, .55);
  backdrop-filter: blur(24px);
  border: 1px solid var(--brd);
  padding: 3rem;
}
[data-theme="light"] .fpanel { background: rgba(245, 240, 232, .72); }

/* ── Form state switcher ─────── */
.fsw > div       { display: none; }
.fsw > div.on    { display: block; }

/* ── Success / error messages ── */
.fmsg   { text-align: center; padding: 3rem 1rem; }
.fmsgi  { font-size: 2.5rem; color: var(--gold); margin-bottom: 1.25rem; animation: icp 1.5s ease infinite; }
.fmsg h3 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; color: var(--tx); margin-bottom: 1rem; }
.fmsg p  { color: var(--txm); font-size: .95rem; font-weight: 200; line-height: 1.8; margin-bottom: 1.5rem; }
@keyframes icp { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }

/* ── Form fields ─────────────── */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.fg2 { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.25rem; }

label { font-size: .67rem; letter-spacing: .2em; text-transform: uppercase; color: var(--txd); font-weight: 300; }
.req  { color: var(--gold); }

input, textarea, select {
  font-family: 'Jost', sans-serif;
  font-size: .92rem;
  font-weight: 200;
  color: var(--tx);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--brd);
  padding: .85rem 1rem;
  outline: none;
  transition: border-color .3s, background .3s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select  { background: rgba(0, 0, 0, .04); }

input::placeholder, textarea::placeholder { color: var(--txd); }
input:focus, textarea:focus, select:focus { border-color: var(--gold); background: rgba(201, 169, 110, .05); }
input.er, textarea.er, select.er          { border-color: #d4645a; }
textarea { resize: vertical; min-height: 100px; }

.selw    { position: relative; }
.selarr  { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: .8rem; pointer-events: none; }
select option { background: var(--bg2); color: var(--tx); }

.ferr { font-size: .71rem; color: #d4645a; min-height: 1rem; font-weight: 300; }

/* ── Checkbox ────────────────── */
.cbw { display: flex; align-items: flex-start; gap: .75rem; cursor: pointer; margin-bottom: 1.5rem; }
.cbw input[type="checkbox"] { display: none; }
.cbb { width: 18px; height: 18px; flex-shrink: 0; border: 1px solid var(--brd); margin-top: 1px; position: relative; transition: all .3s; }
.cbw input:checked ~ .cbb { background: var(--gold); border-color: var(--gold); }
.cbw input:checked ~ .cbb::after {
  content: '✓';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: .7rem; color: var(--bg); font-weight: 700;
}
.cbl   { font-size: .78rem; font-weight: 200; color: var(--txm); line-height: 1.6; }
.cbl a { color: var(--gold); text-decoration: none; }

/* ── Submit button ───────────── */
.bsub {
  font-family: 'Jost', sans-serif;
  width: 100%;
  padding: 1rem;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--bg);
  cursor: pointer;
  transition: all .3s;
}
.bsub:hover    { background: var(--goldl); border-color: var(--goldl); }
.bsub:disabled { opacity: .6; cursor: not-allowed; }
.ldr           { display: none; animation: spinit .8s linear infinite; font-size: 1rem; }
.bsub.ld .ldr  { display: inline-block; }
.bsub.ld .btxt { opacity: .5; }
@keyframes spinit { to { transform: rotate(360deg); } }

/* ── Contact info panel ──────── */
.cinfo   { padding-top: .5rem; }
.cib     { margin-bottom: 2rem; }
.cilbl   { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--txd); display: block; margin-bottom: .4rem; }
.cival   { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 300; color: var(--tx); text-decoration: none; transition: color .3s; display: block; line-height: 1.4; }
a.cival:hover { color: var(--gold); }
.cidiv   { height: 1px; background: var(--brd); margin: 2rem 0; }
.proms   { display: flex; flex-direction: column; gap: 1.1rem; }
.prom    { display: flex; gap: .75rem; align-items: flex-start; font-size: .82rem; font-weight: 200; color: var(--txm); line-height: 1.6; }
.promico { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
