/* ============================================================
   CONTACT · V2 · 2026 · matches About/Courses design language
   Plum #0272B4 · gold #DFC981 · Cairo. Loads last → wins.
   ============================================================ */
.cx {
  --p:#0272B4; --pd:#0B2D42; --pl:#0CA2E2;
  --gold:#DFC981; --goldD:#E3B31C; --goldHi:#E6D7A8;
  --plum-ink:#0B2D42; --plum-deep:#071F2C;
  font-family: 'Cairo', system-ui, sans-serif; overflow: clip;
}
.cx em { font-style: normal; color: var(--gold); }

/* Reveal */
.cx [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.cx [data-rise].is-vis { opacity: 1; transform: none; }
.cx [data-rise][data-d="1"] { transition-delay: .08s; }
.cx [data-rise][data-d="2"] { transition-delay: .16s; }
.cx [data-rise][data-d="3"] { transition-delay: .24s; }

/* ═══ HERO ═══ */
.cx-hero {
  position: relative; isolation: isolate; overflow: clip;
  padding: clamp(84px, 11vw, 138px) 0 clamp(64px, 8vw, 104px);
  color: rgba(255,255,255,.74);
  background:
    radial-gradient(1000px 500px at 84% -12%, rgba(223,201,129,.18), transparent 60%),
    radial-gradient(800px 440px at 4% 8%, rgba(63,182,236,.16), transparent 62%),
    linear-gradient(158deg, #0B2D42 0%, var(--plum-ink) 46%, var(--plum-deep) 100%);
}
.cx-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.4px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 26%, #000 82%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 26%, #000 82%, transparent);
}
.cx-orb { position: absolute; border-radius: 50%; filter: blur(8px); z-index: 0; pointer-events: none; mix-blend-mode: screen; will-change: transform; }
.cx-orb.o1 { width: 500px; height: 500px; top: -170px; inset-inline-end: -90px; background: radial-gradient(circle, rgba(223,201,129,.42), transparent 68%); animation: cxDrift 26s ease-in-out infinite; }
.cx-orb.o2 { width: 420px; height: 420px; bottom: -190px; inset-inline-start: -70px; background: radial-gradient(circle, rgba(63,182,236,.36), transparent 66%); animation: cxDrift 32s ease-in-out infinite reverse; }
@keyframes cxDrift { 0%,100%{ transform: translate3d(0,0,0) scale(1);} 50%{ transform: translate3d(-32px,42px,0) scale(1.12);} }

.cx-hero .container { position: relative; z-index: 2; }
.cx-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.cx-hero-kicker {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px;
  padding: 8px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .03em;
  color: var(--goldHi); background: rgba(223,201,129,.12); border: 1px solid rgba(223,201,129,.28);
}
.cx-hero-kicker svg { width: 15px; height: 15px; }
.cx-hero-title { color: #fff; font-weight: 800; letter-spacing: -.015em; margin: 0 0 18px; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.34; }
.cx-hero-title .l2 { color: var(--gold); }
.cx-hero-lead { font-size: clamp(15px, 1.7vw, 17.5px); line-height: 1.95; max-width: 52ch; color: rgba(255,255,255,.74); margin: 0; }

/* Quick action cards (hero right) */
.cx-quick { display: flex; flex-direction: column; gap: 12px; }
.cx-quick-card {
  display: flex; align-items: center; gap: 15px; padding: 16px 18px; border-radius: 16px; text-decoration: none;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .5s cubic-bezier(.16,1,.3,1), border-color .3s, background .3s;
}
.cx-quick-card:hover { transform: translateY(-4px); border-color: rgba(223,201,129,.45); background: rgba(223,201,129,.08); }
.cx-quick-ic { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--goldHi); background: rgba(223,201,129,.14); border: 1px solid rgba(223,201,129,.22); }
.cx-quick-ic svg { width: 20px; height: 20px; }
.cx-quick-card.wa .cx-quick-ic { color: #6ee7a8; background: rgba(52,199,120,.14); border-color: rgba(52,199,120,.28); }
.cx-quick-body { display: flex; flex-direction: column; gap: 2px; }
.cx-quick-body span { font-size: 12px; color: rgba(255,255,255,.6); }
.cx-quick-body strong { font-size: 15px; font-weight: 800; color: #fff; letter-spacing: .01em; }
.cx-quick-body strong[dir="ltr"] { direction: ltr; }

/* ═══ BODY GRID ═══ */
.cx-sec { padding: clamp(56px, 7vw, 96px) 0; }
.cx-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: start; }

/* Shared card head */
.cx-cardhead { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.cx-cardhead-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--p), var(--pl)); box-shadow: 0 8px 20px rgba(11,45,66,.26); }
.cx-cardhead-ic svg { width: 21px; height: 21px; }
.cx-cardhead h2 { margin: 0; font-size: 19px; font-weight: 800; color: var(--ink); }
.cx-cardhead p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }

/* Form card */
.cx-form-card {
  position: relative; overflow: hidden; padding: clamp(26px, 3vw, 38px); border-radius: 24px;
  background: var(--bg-card); border: 1px solid var(--line); box-shadow: 0 18px 46px rgba(11,45,66,.09);
}
.cx-form-card::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px; background: linear-gradient(90deg, var(--p), var(--gold), var(--pl)); }
.cx .form-field { margin-bottom: 16px; }
.cx .form-label { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 7px; display: block; }
.cx .form-input {
  border-radius: 13px !important; border: 1px solid var(--line) !important; background: var(--bg-soft) !important;
  transition: border-color .25s, box-shadow .25s, background .25s !important;
}
.cx .form-input:focus { border-color: var(--p) !important; background: var(--bg-card) !important; box-shadow: 0 0 0 4px rgba(11,45,66,.1) !important; outline: none !important; }
.cx .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cx-submit {
  position: relative; overflow: hidden; margin-top: 8px !important; border-radius: 999px !important;
  box-shadow: 0 10px 26px rgba(11,45,66,.28) !important;
}
.cx-submit::after {
  content: ""; position: absolute; top: 0; inset-inline-start: -130%; width: 55%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transition: inset-inline-start .7s ease;
}
.cx-submit:hover::after { inset-inline-start: 150%; }

/* Info column */
.cx-info { display: flex; flex-direction: column; gap: 20px; }
.cx-panel { padding: 26px; border-radius: 22px; background: var(--bg-card); border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(11,45,66,.06); }
.cx-channels { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cx-channel { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; text-decoration: none; transition: background .3s, transform .4s cubic-bezier(.16,1,.3,1); }
.cx-channel:hover { background: var(--bg-soft); transform: translateX(-4px); }
html[lang="en"] .cx-channel:hover { transform: translateX(4px); }
.cx-channel-ic { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--p); background: rgba(11,45,66,.08); border: 1px solid rgba(11,45,66,.1); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.cx-channel:hover .cx-channel-ic { transform: translateY(-2px) rotate(-5deg); }
.cx-channel.wa .cx-channel-ic { color: #1f9d55; background: rgba(52,199,120,.12); border-color: rgba(52,199,120,.2); }
[data-theme="dark"] .cx-channel-ic { color: var(--gold); background: rgba(223,201,129,.1); border-color: rgba(223,201,129,.16); }
.cx-channel-ic svg { width: 20px; height: 20px; }
.cx-channel-body span { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 2px; }
.cx-channel-body strong { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.cx-channel-body strong[dir="ltr"] { direction: ltr; unicode-bidi: embed; }

/* Hours panel */
.cx-hours { background: linear-gradient(150deg, var(--p), var(--pd)); color: #fff; border: 0; }
.cx-hours .cx-cardhead h2, .cx-hours .cx-cardhead p { color: #fff; }
.cx-hours .cx-cardhead-ic { background: rgba(255,255,255,.14); }
.cx-hours-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.cx-hours-row:last-child { border-bottom: 0; }
.cx-hours-row span { color: rgba(255,255,255,.78); }
.cx-hours-row b { font-weight: 700; color: var(--goldHi); }
.cx-hours-row.off b { color: rgba(255,255,255,.5); font-weight: 600; }

/* Socials */
.cx-socials { display: flex; gap: 10px; margin-top: 4px; }
.cx-soc { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--p); background: var(--bg-soft); border: 1px solid var(--line); transition: transform .45s cubic-bezier(.16,1,.3,1), color .3s, background .3s, border-color .3s; }
.cx-soc:hover { transform: translateY(-4px); color: #4E3F0E; background: linear-gradient(135deg, var(--goldHi), var(--gold)); border-color: transparent; box-shadow: 0 12px 24px rgba(223,201,129,.34); }
[data-theme="dark"] .cx-soc { color: var(--gold); }
.cx-soc svg { width: 20px; height: 20px; }

/* ═══ MAP ═══ */
.cx-map { position: relative; margin-top: 30px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 46px rgba(11,45,66,.09); }
.cx-map iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.3) contrast(1.05); transition: filter .5s ease; }
.cx-map:hover iframe { filter: grayscale(0) contrast(1); }
.cx-map-badge {
  position: absolute; inset-inline-start: 22px; bottom: 22px; z-index: 2; max-width: 300px;
  display: flex; align-items: center; gap: 13px; padding: 15px 18px; border-radius: 16px;
  background: rgba(7,31,44,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(223,201,129,.28); box-shadow: 0 14px 34px rgba(0,0,0,.34);
  text-decoration: none; transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .3s;
}
.cx-map-badge:hover { transform: translateY(-3px); border-color: rgba(223,201,129,.55); }
.cx-map-badge-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #4E3F0E; background: linear-gradient(135deg, var(--goldHi), var(--gold)); }
.cx-map-badge-ic svg { width: 20px; height: 20px; }
.cx-map-badge span { display: block; font-size: 11.5px; color: rgba(255,255,255,.62); margin-bottom: 3px; }
.cx-map-badge strong { font-size: 13.5px; font-weight: 700; color: #fff; line-height: 1.45; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .cx-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .cx-grid { grid-template-columns: 1fr; }
  .cx .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .cx-map iframe { height: 300px; }
  .cx-map-badge { inset-inline: 16px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-orb, .cx-submit::after { animation: none !important; transition: none !important; }
  .cx [data-rise] { opacity: 1 !important; transform: none !important; }
}
