/* assets/css/contact.css */

/* ══════════════════════════════
   LOGO ANIMATION
══════════════════════════════ */
@keyframes grr {
  0%,100% { transform: translate(0,0) rotate(0deg) scaleY(1); }
  4%  { transform: translate(-1.5px,1px) rotate(-3deg) scaleY(1.08); }
  8%  { transform: translate(1.5px,-1px) rotate(3deg) scaleY(0.94); }
  12% { transform: translate(-1px,1.5px) rotate(-2deg) scaleY(1.05); }
  16% { transform: translate(1px,-0.5px) rotate(2deg) scaleY(0.97); }
  20% { transform: translate(-0.5px,0.5px) rotate(-1deg) scaleY(1.02); }
  22%,98% { transform: translate(0,0) rotate(0deg) scaleY(1); }
}
.r-grr { display: inline-block; animation: grr 2.8s ease-in-out infinite; }
.r-grr.r1 { animation-delay: 0s; }
.r-grr.r2 { animation-delay: 0.09s; }
.r-grr.r3 { animation-delay: 0.18s; }

/* ══════════════════════════════
   NAV
══════════════════════════════ */
.ct-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 2rem;
  background: rgba(8,6,13,0.85);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.ct-brand {
  display: flex; align-items: center; gap: .55rem;
  text-decoration: none; color: var(--text);
}
.ct-brand-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(212,82,122,0.45), 0 0 6px rgba(212,82,122,0.2);
  flex-shrink: 0;
}
.ct-brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem; font-weight: 800; letter-spacing: -.5px; color: var(--text);
}
.ct-brand-name span { color: var(--accent); }
.ct-back-btn {
  font-size: .83rem; font-weight: 600; color: var(--muted2);
  text-decoration: none; padding: .45rem .9rem;
  border: 1px solid var(--border2); border-radius: 99px;
  transition: color var(--t), border-color var(--t);
}
.ct-back-btn:hover { color: var(--text); border-color: var(--border3); }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.ct-hero {
  position: relative; overflow: hidden;
  text-align: center; padding: 4.5rem 2rem 3rem;
}
.ct-hero-glow {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 320px;
  background: radial-gradient(ellipse at center, rgba(212,82,122,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.ct-hero-ico { font-size: 2.75rem; margin-bottom: 1.1rem; filter: drop-shadow(0 0 22px rgba(212,82,122,0.45)); }
.ct-hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.9rem); font-weight: 800;
  letter-spacing: -.03em; margin-bottom: .75rem;
}
.ct-acc { color: var(--accent); }
.ct-hero-sub {
  max-width: 440px; margin: 0 auto;
  color: var(--muted2); font-size: 1rem; line-height: 1.65;
}

/* ══════════════════════════════
   MAIN LAYOUT
══════════════════════════════ */
.ct-main {
  max-width: 1000px; margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}
.ct-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

/* ══════════════════════════════
   ASIDE (info)
══════════════════════════════ */
.ct-aside { display: flex; flex-direction: column; gap: .875rem; }
.ct-aside-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 1.125rem 1.25rem;
}
.ct-aside-icon { font-size: 1.4rem; margin-bottom: .5rem; }
.ct-aside-title { font-size: .855rem; font-weight: 700; color: var(--text); margin-bottom: .3rem; }
.ct-aside-desc  { font-size: .79rem; color: var(--muted2); line-height: 1.55; }
.ct-aside-contact {
  background: rgba(212,82,122,0.06);
  border: 1px solid rgba(212,82,122,0.2);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-top: .25rem;
}
.ct-aside-contact-label { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; margin-bottom: .35rem; }
.ct-aside-contact-val   { font-size: .9rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.ct-aside-contact-val:hover { text-decoration: underline; }

/* ══════════════════════════════
   FORM CARD
══════════════════════════════ */
.ct-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 2rem 2.125rem;
}
.ct-form { display: flex; flex-direction: column; gap: 1.25rem; }

.ct-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.ct-field { display: flex; flex-direction: column; gap: .45rem; }
.ct-field label {
  font-size: .8rem; font-weight: 700; color: var(--muted2);
  display: flex; align-items: center; gap: .4rem;
}
.ct-required { color: var(--accent); }
.ct-optional { font-size: .7rem; font-weight: 500; color: var(--muted); }
.ct-char-count { margin-left: auto; font-size: .72rem; font-weight: 500; color: var(--muted); }

.ct-field input,
.ct-field select,
.ct-field textarea {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .9rem;
  color: var(--text);
  font-family: inherit;
  transition: border-color var(--t), box-shadow var(--t);
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.ct-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236a5880' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.ct-field select option { background: var(--bg3); color: var(--text); }
.ct-field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

.ct-field input::placeholder,
.ct-field textarea::placeholder { color: var(--muted); }

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,82,122,0.12);
}

/* Error */
.ct-err {
  font-size: .83rem; color: #ff6b8a; font-weight: 600;
  padding: .75rem 1rem;
  background: rgba(212,82,122,0.08);
  border: 1px solid rgba(212,82,122,0.25);
  border-radius: var(--radius);
}
.ct-err.hidden { display: none; }

/* Submit */
.ct-submit {
  display: block; width: 100%;
  padding: .95rem; border: none; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; font-size: 1rem; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: filter var(--t), opacity var(--t);
  box-shadow: 0 4px 18px rgba(212,82,122,0.3);
}
.ct-submit:not(:disabled):hover { filter: brightness(1.08); }
.ct-submit:disabled { cursor: not-allowed; opacity: .6; }

/* Legal */
.ct-legal {
  font-size: .72rem; color: var(--muted); text-align: center; line-height: 1.5;
}
.ct-legal a { color: var(--muted2); text-decoration: none; }
.ct-legal a:hover { color: var(--accent); }

/* ══════════════════════════════
   SUCCESS STATE
══════════════════════════════ */
.ct-success {
  text-align: center; padding: 3rem 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.ct-success-ico { font-size: 3.5rem; filter: drop-shadow(0 0 24px rgba(212,82,122,0.5)); }
.ct-success-title { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.ct-success-sub   { font-size: .92rem; color: var(--muted2); max-width: 320px; line-height: 1.6; }
.ct-success-btn {
  margin-top: .5rem; display: inline-block;
  padding: .75rem 1.75rem; background: var(--accent);
  color: #fff; font-size: .9rem; font-weight: 700;
  border-radius: 99px; text-decoration: none;
  transition: filter var(--t);
}
.ct-success-btn:hover { filter: brightness(1.1); }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.ct-footer { border-top: 1px solid var(--border); padding: 2.5rem 2rem; }
.ct-footer-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center;
}
.ct-footer-brand { font-size: 1.1rem; color: var(--muted2); }
.ctfb {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem; font-weight: 800; color: var(--text); letter-spacing: -.4px;
}
.ctfb span { color: var(--accent); }
.ct-footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.ct-footer-links a { font-size: .82rem; color: var(--muted2); text-decoration: none; transition: color var(--t); }
.ct-footer-links a:hover { color: var(--text); }
.ct-footer-copy { font-size: .75rem; color: var(--muted); }

/* ══════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════ */
@media (max-width: 780px) {
  .ct-layout {
    grid-template-columns: 1fr;
  }
  .ct-aside { flex-direction: row; flex-wrap: wrap; }
  .ct-aside-card { flex: 1 1 200px; }
  .ct-aside-contact { width: 100%; }
}

/* ══════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════ */
@media (max-width: 560px) {
  .ct-nav { padding: .65rem 1rem; }
  .ct-brand-name { font-size: 1.1rem; }
  .ct-hero { padding: 3rem 1.25rem 2rem; }
  .ct-hero h1 { font-size: 1.85rem; }
  .ct-main { padding: 1.25rem 1rem 3.5rem; }
  .ct-aside { flex-direction: column; }
  .ct-aside-card { flex: unset; }
  .ct-form-wrap { padding: 1.375rem 1.25rem; }
  .ct-field-row { grid-template-columns: 1fr; gap: 1.25rem; }
  .ct-footer { padding: 2rem 1rem; }
  .ct-footer-links { gap: 1rem; }
}
