/* ===== CONTACT PAGE ===== */

/* Hero */
.ct-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  overflow: hidden;
  background: #111114;
}

.ct-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* Floating particles */
.ct-particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.5);
  box-shadow: 0 0 12px rgba(230, 57, 70, 0.3);
  animation: ctFloat var(--dur) var(--del) ease-in-out infinite alternate;
}

@keyframes ctFloat {
  0% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  50% { opacity: 1; }
  100% { transform: translate(30px, -40px) scale(1.4); opacity: 0.3; }
}

/* Grid lines */
.ct-line { position: absolute; }
.ct-lh {
  left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}
.ct-lh::after {
  content: '';
  position: absolute; top: -1px; left: -180px;
  width: 180px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(230,57,70,0.5), transparent);
  animation: ctSweepH 7s ease-in-out infinite;
}
.ct-lh:nth-child(9)::after { animation-delay: 0s; }
.ct-lh:nth-child(10)::after { animation-delay: 2s; }
.ct-lh:nth-child(11)::after { animation-delay: 4s; }
.ct-lh:nth-child(12)::after { animation-delay: 1s; }

.ct-lv {
  top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.05), transparent);
}
.ct-lv::after {
  content: '';
  position: absolute; left: -1px; top: -100px;
  width: 3px; height: 100px; border-radius: 2px;
  background: linear-gradient(180deg, transparent, rgba(230,57,70,0.4), transparent);
  animation: ctSweepV 8s ease-in-out infinite;
}
.ct-lv:nth-child(13)::after { animation-delay: 0.5s; }
.ct-lv:nth-child(14)::after { animation-delay: 3s; }
.ct-lv:nth-child(15)::after { animation-delay: 1.5s; }

@keyframes ctSweepH { 0% { left: -180px; } 100% { left: calc(100% + 180px); } }
@keyframes ctSweepV { 0% { top: -100px; } 100% { top: calc(100% + 100px); } }

/* Background orbs */
.ct-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.12; }
.ct-orb-1 { width: 500px; height: 500px; background: #e63946; top: -10%; right: -10%; animation: ctOrbMove 15s ease-in-out infinite alternate; }
.ct-orb-2 { width: 400px; height: 400px; background: #42a5f5; bottom: -10%; left: -5%; animation: ctOrbMove 12s ease-in-out 3s infinite alternate; }
@keyframes ctOrbMove { 0% { transform: translate(0,0); } 100% { transform: translate(30px,-20px); } }

.ct-hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  z-index: 1;
}

/* Hero content */
.ct-hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 700px; margin: 0 auto;
}

.ct-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px; border-radius: 100px;
  background: rgba(230,57,70,0.08); border: 1px solid rgba(230,57,70,0.15);
  font-size: 0.78rem; font-weight: 500; color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  animation: ctFadeUp 0.8s ease both;
}

.ct-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 12px rgba(230,57,70,0.5);
  animation: ctPulse 2s ease-in-out infinite;
}

@keyframes ctPulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(0.8); } }

.ct-hero h1 {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300; line-height: 1.1; letter-spacing: -0.04em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  animation: ctFadeUp 0.8s 0.1s ease both;
}

.ct-highlight {
  font-weight: 700;
  font-style: italic;
  color: #e63946;
}

.ct-hero-sub {
  font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7;
  max-width: 550px; margin: 0 auto;
  animation: ctFadeUp 0.8s 0.2s ease both;
}

@keyframes ctFadeUp { 0% { opacity:0; transform:translateY(30px); } 100% { opacity:1; transform:translateY(0); } }

/* ===== MAIN LAYOUT ===== */
.ct-main { padding: 80px 0 120px; }

.ct-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: start;
}

/* Left: Info */
.ct-info { position: sticky; top: 100px; }

.ct-info-header { margin-bottom: 36px; }

.ct-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent-red); margin-bottom: 12px;
}

.ct-info-header h2 {
  font-family: var(--font-primary); font-size: 2.4rem; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 12px;
}

.ct-info-header p {
  font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7;
}

/* Info cards */
.ct-info-card {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 24px; border-radius: 16px;
  background: var(--bg-card); border: 1px solid var(--border-color);
  margin-bottom: 14px; position: relative; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  opacity: 0; transform: translateX(-30px);
}

.ct-info-card.revealed { opacity: 1; transform: translateX(0); }
.ct-ic-1.revealed { transition-delay: 0s; }
.ct-ic-2.revealed { transition-delay: 0.1s; }
.ct-ic-3.revealed { transition-delay: 0.2s; }

.ct-info-card:hover {
  border-color: var(--border-hover);
  transform: translateX(8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.ct-ic-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(230,57,70,0.08); border: 1px solid rgba(230,57,70,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.3s ease;
}

.ct-ic-icon svg { width: 22px; height: 22px; color: var(--accent-red); }

.ct-ic-icon-blue { background: rgba(66,165,245,0.08); border-color: rgba(66,165,245,0.12); }
.ct-ic-icon-blue svg { color: #42a5f5; }

.ct-ic-icon-green { background: rgba(76,175,80,0.08); border-color: rgba(76,175,80,0.12); }
.ct-ic-icon-green svg { color: #66bb6a; }

.ct-info-card:hover .ct-ic-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 20px rgba(230,57,70,0.12);
}

.ct-ic-body { flex: 1; }
.ct-ic-label { display: block; font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.ct-ic-value { display: block; font-family: var(--font-primary); font-size: 1.05rem; font-weight: 700; color: var(--text-primary); }

.ct-ic-arrow {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translate(-8px, 8px);
  transition: all 0.3s ease;
}

.ct-ic-arrow svg { width: 16px; height: 16px; color: var(--text-muted); }
.ct-info-card:hover .ct-ic-arrow { opacity: 1; transform: translate(0,0); }

.ct-ic-glow {
  position: absolute; top: -50%; right: -30%;
  width: 200px; height: 200px; border-radius: 50%;
  background: #e63946; filter: blur(80px);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}

.ct-glow-blue { background: #42a5f5; }
.ct-glow-green { background: #66bb6a; }
.ct-info-card:hover .ct-ic-glow { opacity: 0.06; }

/* Location pin */
.ct-ic-pin { position: relative; }
.ct-pin-dot {
  width: 10px; height: 10px; border-radius: 50%; background: #66bb6a;
  box-shadow: 0 0 0 0 rgba(76,175,80,0.4);
  animation: ctPinPulse 2s ease-in-out infinite;
}

@keyframes ctPinPulse {
  0% { box-shadow: 0 0 0 0 rgba(76,175,80,0.4); }
  70% { box-shadow: 0 0 0 12px rgba(76,175,80,0); }
  100% { box-shadow: 0 0 0 0 rgba(76,175,80,0); }
}

/* Socials */
.ct-socials {
  display: flex; align-items: center; gap: 16px;
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.ct-social-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

.ct-social-icons { display: flex; gap: 10px; }

.ct-social-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}

.ct-social-icon svg { width: 18px; height: 18px; color: var(--text-muted); transition: all 0.3s ease; }

.ct-social-icon:hover {
  transform: translateY(-4px);
}

/* Instagram — gradient */
.ct-social-icon[aria-label="Instagram"] svg { color: #C13584; }
.ct-social-icon[aria-label="Instagram"] {
  border-color: rgba(193,53,132,0.2);
}
.ct-social-icon[aria-label="Instagram"]:hover {
  background: linear-gradient(135deg, rgba(64,93,230,0.15), rgba(193,53,132,0.15), rgba(253,29,29,0.15), rgba(252,176,69,0.15));
  border-color: rgba(193,53,132,0.4);
}
.ct-social-icon[aria-label="Instagram"]:hover svg { color: #E1306C; }

/* LinkedIn — blue */
.ct-social-icon[aria-label="LinkedIn"] svg { color: #0A66C2; }
.ct-social-icon[aria-label="LinkedIn"] {
  border-color: rgba(10,102,194,0.2);
}
.ct-social-icon[aria-label="LinkedIn"]:hover {
  background: rgba(10,102,194,0.12);
  border-color: rgba(10,102,194,0.4);
}
.ct-social-icon[aria-label="LinkedIn"]:hover svg { color: #0A66C2; }

/* X / Twitter — white */
.ct-social-icon[aria-label="Twitter"] svg { color: #fff; }
.ct-social-icon[aria-label="Twitter"] {
  border-color: rgba(255,255,255,0.12);
}
.ct-social-icon[aria-label="Twitter"]:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
}
.ct-social-icon[aria-label="Twitter"]:hover svg { color: #fff; }

/* Facebook — blue */
.ct-social-icon[aria-label="Facebook"] svg { color: #1877F2; }
.ct-social-icon[aria-label="Facebook"] {
  border-color: rgba(24,119,242,0.2);
}
.ct-social-icon[aria-label="Facebook"]:hover {
  background: rgba(24,119,242,0.12);
  border-color: rgba(24,119,242,0.4);
}
.ct-social-icon[aria-label="Facebook"]:hover svg { color: #1877F2; }

/* Availability */
.ct-availability {
  display: flex; align-items: center; gap: 10px;
  margin-top: 20px; font-size: 0.75rem; color: var(--text-muted);
}

.ct-avail-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #66bb6a;
  box-shadow: 0 0 0 0 rgba(76,175,80,0.4);
  animation: ctPinPulse 2s ease-in-out infinite;
}

.ct-availability strong { color: var(--text-primary); }

/* ===== CONTACT FORM ===== */
.ct-form-wrapper { position: relative; }

.ct-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 48px 44px;
  position: relative; overflow: hidden;
  opacity: 0; transform: translateY(30px);
  transition: all 0.8s ease;
}

.ct-form-card.revealed { opacity: 1; transform: translateY(0); }

.ct-form-glow {
  position: absolute; top: -100px; right: -100px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(230,57,70,0.08), transparent 70%);
  pointer-events: none;
}

.ct-form-card h3 {
  font-family: var(--font-primary); font-size: 1.6rem; font-weight: 700;
  margin-bottom: 8px; letter-spacing: -0.02em;
}

.ct-form-card > p {
  font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 36px; line-height: 1.6;
}

.ct-form { display: flex; flex-direction: column; gap: 24px; }

.ct-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.ct-field { position: relative; }

.ct-field label {
  display: block; font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin-bottom: 10px;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%; padding: 14px 18px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; color: var(--text-primary);
  font-family: var(--font-secondary); font-size: 0.9rem;
  transition: all 0.3s ease; outline: none; resize: none;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.ct-field select { appearance: none; cursor: pointer; }
.ct-field select option { background: #1a1a1a; color: #fff; }

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: rgba(230,57,70,0.3);
  background: rgba(230,57,70,0.03);
  box-shadow: 0 0 0 4px rgba(230,57,70,0.06);
}

.ct-field-line {
  position: absolute; bottom: 0; left: 18px; right: 18px;
  height: 2px; border-radius: 1px;
  background: var(--accent-red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

.ct-field input:focus ~ .ct-field-line,
.ct-field select:focus ~ .ct-field-line,
.ct-field textarea:focus ~ .ct-field-line {
  transform: scaleX(1);
}

/* Budget tags */
.ct-budget-tags { display: flex; flex-wrap: wrap; gap: 10px; }

.ct-budget-tag {
  cursor: pointer; position: relative;
}

.ct-budget-tag input { position: absolute; opacity: 0; pointer-events: none; }

.ct-budget-tag span {
  display: block; padding: 10px 20px;
  border-radius: 100px; font-size: 0.78rem; font-weight: 600;
  font-family: var(--font-primary);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.ct-budget-tag:hover span {
  border-color: rgba(255,255,255,0.15); color: var(--text-secondary);
}

.ct-budget-tag input:checked + span {
  background: rgba(230,57,70,0.1); border-color: rgba(230,57,70,0.3);
  color: var(--accent-red);
  box-shadow: 0 4px 16px rgba(230,57,70,0.1);
}

/* Submit button */
.ct-submit-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 12px; padding: 16px 40px;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
  border: none; border-radius: 14px;
  color: #fff; font-family: var(--font-primary); font-size: 1rem; font-weight: 700;
  cursor: pointer; position: relative; overflow: hidden;
  transition: all 0.4s ease;
}

.ct-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(230,57,70,0.3);
}

.ct-submit-icon svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
.ct-submit-btn:hover .ct-submit-icon svg { transform: translate(4px, -4px); }

.ct-submit-ripple {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  animation: ctRipple 3s ease-in-out infinite;
}

@keyframes ctRipple { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.ct-submit-btn.ct-sent {
  background: linear-gradient(135deg, #66bb6a, #43a047);
}

/* ===== MAP SECTION ===== */
.ct-location { padding: 0 0 120px; }

.ct-map-card {
  display: grid; grid-template-columns: 1fr 360px;
  border-radius: 24px; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border-color);
  opacity: 0; transform: translateY(30px);
  transition: all 0.8s ease;
}

.ct-map-card.revealed { opacity: 1; transform: translateY(0); }

.ct-map-visual {
  position: relative; min-height: 350px;
  background:
    radial-gradient(circle at 48% 48%, rgba(230,57,70,0.06), transparent 50%),
    linear-gradient(135deg, rgba(255,255,255,0.02), transparent);
  overflow: hidden;
}

.ct-map-grid {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255,255,255,0.03) 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(255,255,255,0.03) 50px);
}

.ct-map-dot {
  position: absolute; left: var(--x); top: var(--y);
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  animation: ctMapDotPulse 3s ease-in-out infinite alternate;
}

@keyframes ctMapDotPulse { 0% { opacity:0.3; transform:scale(1); } 100% { opacity:0.8; transform:scale(1.3); } }

.ct-map-pin {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}

.ct-pin-pulse {
  position: absolute; width: 60px; height: 60px; border-radius: 50%;
  background: rgba(230,57,70,0.08); top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: ctPinRadiate 2s ease-out infinite;
}

@keyframes ctPinRadiate {
  0% { transform: translate(-50%,-50%) scale(0.5); opacity: 0.5; }
  100% { transform: translate(-50%,-50%) scale(2); opacity: 0; }
}

.ct-pin-marker svg { width: 28px; height: 28px; filter: drop-shadow(0 4px 8px rgba(230,57,70,0.3)); }

.ct-pin-label {
  font-family: var(--font-primary); font-size: 0.72rem; font-weight: 700;
  color: var(--text-primary); white-space: nowrap;
  background: rgba(0,0,0,0.5); padding: 4px 12px; border-radius: 6px;
  backdrop-filter: blur(8px);
}

.ct-map-lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1;
}

.ct-conn-line {
  stroke: rgba(230,57,70,0.15); stroke-width: 0.3;
  stroke-dasharray: 4 3;
  animation: ctDashFlow 3s linear infinite;
}

@keyframes ctDashFlow { 0% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -14; } }

.ct-map-info {
  padding: 44px 36px;
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid var(--border-color);
}

.ct-map-info h3 {
  font-family: var(--font-primary); font-size: 1.3rem; font-weight: 700;
  margin-bottom: 8px; letter-spacing: -0.01em;
}

.ct-map-address {
  font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 28px;
}

.ct-map-details { display: flex; flex-direction: column; gap: 14px; }

.ct-map-detail {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.82rem; color: var(--text-secondary);
}

.ct-map-detail svg { color: var(--text-muted); flex-shrink: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .ct-layout { grid-template-columns: 1fr; gap: 48px; }
  .ct-info { position: static; }
  .ct-map-card { grid-template-columns: 1fr; }
  .ct-map-visual { min-height: 280px; }
  .ct-map-info { border-left: none; border-top: 1px solid var(--border-color); }
}

@media (max-width: 768px) {
  .ct-form-card { padding: 32px 24px; }
  .ct-form-row { grid-template-columns: 1fr; }
  .ct-info-header h2 { font-size: 2rem; }
  .ct-budget-tags { gap: 8px; }
  .ct-budget-tag span { padding: 8px 14px; font-size: 0.72rem; }
}
