/* Contact page-only styles */
.cc-contact {
  background: #fbfbfc;
}

.cc-contact-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(77, 77, 255, 0.32) 0%, transparent 50%),
    linear-gradient(135deg, #0000ff 0%, #1a1aff 45%, #0a0a6b 100%);
  color: #fff;
  padding: 54px 0 46px;
}

.cc-contact-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}

.cc-contact-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.cc-contact-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.cc-contact-hero__title {
  margin: 18px 0 10px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.cc-contact-hero__accent {
  display: inline-block;
  background: linear-gradient(120deg, #ffffff, #dcdcff, #ffffff);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cc-contact-hero__sub {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 600;
}

.cc-contact__content {
  padding: 56px 0 80px;
}

.cc-contact__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 1024px) {
  .cc-contact__wrap {
    grid-template-columns: 460px 1fr;
    gap: 22px;
    align-items: start;
  }
}

.cc-contact-intro {
  padding: 6px 4px 8px;
}

.cc-contact-intro__kicker {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0000ff;
  margin-bottom: 10px;
}

.cc-contact-intro__title {
  margin: 0;
  color: #0a2540;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 40px;
  line-height: 1.05;
}

@media (min-width: 768px) {
  .cc-contact-intro__title {
    font-size: 52px;
  }
}

.cc-contact-intro__accent {
  margin-left: 10px;
  display: inline-block;
  color: #0000ff;
}

.cc-contact-intro__sub {
  margin: 14px 0 0;
  color: #64748b;
  font-weight: 600;
  line-height: 1.7;
  max-width: 42ch;
}

.typewriter {
  display: inline-block;
  overflow: hidden;
  border-right: 2px solid rgba(0, 0, 255, 0.9);
  white-space: nowrap;
  animation: typing 2.2s steps(18, end) both, blink-caret 0.75s step-end infinite;
}

.cc-contact-card {
  background: #fff;
  border: 1px solid rgba(20, 0, 205, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 44px -28px rgba(20, 0, 205, 0.28);
  padding: 18px;
}

.cc-contact-card__kicker {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0000ff;
  margin-bottom: 12px;
}

.cc-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cc-contact-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #eef0f4;
  background: linear-gradient(180deg, #fbfbff 0%, #fff 100%);
}

.cc-contact-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(0, 0, 255, 0.08);
  color: #0000ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
}

.cc-contact-item__label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
}

.cc-contact-item__value {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #0a2540;
  line-height: 1.35;
}

.cc-contact-link {
  color: #0a2540;
  text-decoration: none;
}

.cc-contact-link:hover {
  color: #0000ff;
  text-decoration: underline;
}

.cc-contact-map__frame {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e5e7eb;
  border: 1px solid #eef0f4;
}

.cc-contact-map__frame iframe {
  width: 100%;
  height: 100%;
}

.cc-contact-map__empty {
  border-radius: 14px;
  padding: 14px;
  background: #f6f7f7;
  border: 1px dashed #dcdcde;
  color: #64748b;
  font-weight: 600;
}

.cc-contact-form {
  padding: 22px;
}

.cc-contact-form__head {
  margin-bottom: 14px;
}

.cc-contact-form__title {
  font-size: 22px;
  font-weight: 900;
  color: #0a2540;
  margin: 0;
}

.cc-contact-form__note {
  margin: 6px 0 0;
  color: #64748b;
  font-weight: 600;
  font-size: 13px;
}

.hover-lift {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hover-lift:hover,
.hover-lift:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 255, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .hover-lift {
    transition: none;
  }
  .hover-lift:hover,
  .hover-lift:focus-within {
    transform: none;
  }
}

.gradient-border {
  position: relative;
  background: linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(45deg, #0000ff, #00d4ff) border-box;
  border: 2px solid transparent;
}

.dark .gradient-border {
  background: linear-gradient(#15152e, #15152e) padding-box,
    linear-gradient(45deg, #0000ff, #00d4ff) border-box;
}

.typewriter {
  overflow: hidden;
  border-right: 2px solid #0000ff;
  white-space: nowrap;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-in-out both;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out both;
}

.animate-slide-down {
  animation: slideDown 0.6s ease-out both;
}

.animate-pulse-slow {
  animation: pulse 3s infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-gradient-shift {
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #0000ff;
  }
}
