/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE — Custom Styles (ct- prefix)
   Capsule Digital | Premium Agency Design
   ═══════════════════════════════════════════════════════════ */

.inner-logo {
  width: 300px;
  margin-bottom: 30px;
}

/* ─── HERO ─── */
.ct-hero {
  position: relative;
  display: flex;
  align-items: center;
  background: #050510;
  overflow: hidden;
  padding: 140px 0 100px;
  min-height: 100vh;
}

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

.ct-hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.ct-vertical-title {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-family: var(--fonts--heading);
  font-size: clamp(64px, 8vw, 100px);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.07);
  pointer-events: none;
  z-index: 2;
  user-select: none;
  line-height: 1;
}

.ct-hero-container {
  position: relative;
  z-index: 3;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left content */
.ct-hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: ctFadeUp 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ct-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Barlow", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid rgba(255, 166, 107, 0.25);
  border-radius: 100px;
  padding: 10px 22px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  background: rgba(255, 166, 107, 0.04);
}

.ct-hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: ctPulse 2s ease-in-out infinite;
}

.ct-hero-headline {
  font-family: "Barlow", sans-serif;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.ct-hero-headline-accent {
  background: linear-gradient(135deg, #ffa66b, #ff7a30, #ff5e14);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ct-hero-desc {
  font-family: "Barlow", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 40px;
  max-width: 480px;
}

/* Contact info cards */
.ct-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ct-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
}

.ct-info-item:hover {
  border-color: rgba(255, 166, 107, 0.2);
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.035);
}

.ct-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 166, 107, 0.08);
  border: 1px solid rgba(255, 166, 107, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ct-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.ct-info-label {
  font-family: "Barlow", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 4px;
}

.ct-info-value {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
}

.ct-info-value a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ct-info-value a:hover {
  color: var(--primary);
}

/* Right: Map visual */
.ct-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: ctFadeUp 1s 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ct-map-svg {
  width: 100%;
  max-width: 560px;
  height: auto;
}

/* Map animations */
@keyframes ctPinBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes ctPinGlow {
  0%,
  100% {
    r: 12;
    opacity: 0.15;
  }
  50% {
    r: 22;
    opacity: 0.05;
  }
}

@keyframes ctRadarPulse {
  0% {
    r: 8;
    opacity: 0.4;
  }
  100% {
    r: 50;
    opacity: 0;
  }
}

/* ─── MAP SECTION ─── */
.ct-map-section {
  position: relative;
  background: #050510;
  overflow: hidden;
}

.ct-map-header {
  text-align: center;
  padding: 80px 24px 40px;
}

.ct-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Barlow", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid rgba(255, 166, 107, 0.2);
  border-radius: 100px;
  padding: 8px 22px;
  margin-bottom: 24px;
  background: rgba(255, 166, 107, 0.03);
}

.ct-map-heading {
  font-family: "Barlow", sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 0;
}

.ct-map-heading .accent {
  background: linear-gradient(135deg, #ffa66b, #ff7a30);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ct-map-wrapper {
  position: relative;
  width: 100%;
  height: 550px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ct-map-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(0.8) invert(1) brightness(0.5) contrast(1.15) hue-rotate(180deg);
  transition: filter 0.6s ease;
}

.ct-map-wrapper:hover iframe {
  filter: grayscale(0.6) invert(1) brightness(0.4) contrast(1.2) hue-rotate(180deg);
}

/* ─── SCROLL REVEAL ─── */
.ct-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ─── KEYFRAMES ─── */
@keyframes ctFadeUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .ct-hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .ct-hero-visual {
    max-width: 450px;
    margin: 0 auto;
  }
  .ct-map-wrapper {
    height: 450px;
  }
}

@media (max-width: 767px) {
  .ct-hero {
    padding: 110px 0 70px;
    min-height: auto;
  }
  .ct-vertical-title {
    display: none;
  }
  .ct-hero-visual {
    display: none;
  }
  .ct-hero-content .inner-logo {
    display: none;
  }
  .ct-map-wrapper {
    height: 350px;
  }
  .ct-map-header {
    padding: 60px 20px 30px;
  }
  .ct-info-item:hover {
    transform: none;
  }
}

@media (max-width: 479px) {
  .ct-hero-headline {
    font-size: 32px;
  }
  .ct-map-wrapper {
    height: 280px;
  }
}
