/* ============================================
   ARICA — Contact Page
   ============================================ */

.contact-page {
  --ct-navy: #010728;
  --ct-blue: #1378f3;
  --ct-ink: #0f284f;
  --ct-muted: #5a6f8c;
  --ct-line: rgba(15, 40, 80, 0.1);
  --ct-ease: cubic-bezier(0.22, 1, 0.36, 1);
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Hero ---- */
.ct-hero {
  position: relative;
  overflow: hidden;
}

.ct-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #010728;
}

.ct-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top right;
}

.ct-hero__bg-glow {
  position: absolute;
  width: 55%;
  height: 85%;
  right: -8%;
  top: -5%;
  border-radius: 50%;
  background: radial-gradient(ellipse closest-side, rgba(180, 225, 255, 0.85) 0%, rgba(76, 147, 228, 0.55) 40%, transparent 72%);
  mix-blend-mode: screen;
  pointer-events: none;
  transform-origin: center;
  animation: ctGlowPulse 5s ease-in-out infinite;
}

@keyframes ctGlowPulse {
  0%, 100% { opacity: 0.75; transform: scale(0.92); }
  50%      { opacity: 1;    transform: scale(1.18); }
}

@media (prefers-reduced-motion: reduce) {
  .ct-hero__bg-glow {
    animation: none;
  }
}

.ct-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(1, 7, 40, 0.8) 0%,
    rgba(1, 7, 40, 0.52) 38%,
    rgba(1, 7, 40, 0.22) 68%,
    rgba(1, 7, 40, 0.1) 100%
  );
  pointer-events: none;
}

.ct-hero__bg-sheen {
  position: absolute;
  inset: -25%;
  background: linear-gradient(120deg,
    rgba(19, 120, 243, 0) 0%,
    rgba(19, 120, 243, 0.35) 35%,
    rgba(140, 205, 255, 0.28) 50%,
    rgba(19, 120, 243, 0) 65%);
  background-size: 250% 250%;
  animation: ctSheenShift 11s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}

.ct-hero__bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ct-hero__bubbles span {
  position: absolute;
  bottom: -10%;
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(150, 205, 255, 0.18) 60%, rgba(150, 205, 255, 0) 76%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 6px 1px rgba(110, 190, 255, 0.55), 0 0 16px 4px rgba(19, 120, 243, 0.35);
  filter: drop-shadow(0 0 4px rgba(140, 205, 255, 0.5));
  opacity: 0;
  animation: ctBubbleRise linear infinite;
}

.ct-hero__bubbles span:nth-child(1)  { left: 6%;  width: 9px;  height: 9px;  --drift: 22px;  animation-duration: 8.5s;  animation-delay: 0s; }
.ct-hero__bubbles span:nth-child(2)  { left: 16%; width: 14px; height: 14px; --drift: -18px; animation-duration: 11s;   animation-delay: 1.2s; }
.ct-hero__bubbles span:nth-child(3)  { left: 27%; width: 7px;  height: 7px;  --drift: 12px;  animation-duration: 7.5s;  animation-delay: 2.6s; }
.ct-hero__bubbles span:nth-child(4)  { left: 40%; width: 12px; height: 12px; --drift: -20px; animation-duration: 10s;   animation-delay: 0.6s; }
.ct-hero__bubbles span:nth-child(5)  { left: 52%; width: 8px;  height: 8px;  --drift: 16px;  animation-duration: 9s;    animation-delay: 3.4s; }
.ct-hero__bubbles span:nth-child(6)  { left: 63%; width: 15px; height: 15px; --drift: -14px; animation-duration: 12.5s; animation-delay: 1.8s; }
.ct-hero__bubbles span:nth-child(7)  { left: 74%; width: 6px;  height: 6px;  --drift: 10px;  animation-duration: 7s;    animation-delay: 4.2s; }
.ct-hero__bubbles span:nth-child(8)  { left: 84%; width: 11px; height: 11px; --drift: -22px; animation-duration: 10.5s; animation-delay: 2.2s; }
.ct-hero__bubbles span:nth-child(9)  { left: 92%; width: 9px;  height: 9px;  --drift: 18px;  animation-duration: 8s;    animation-delay: 0.9s; }
.ct-hero__bubbles span:nth-child(10) { left: 97%; width: 13px; height: 13px; --drift: -16px; animation-duration: 11.5s; animation-delay: 3.8s; }

@keyframes ctSheenShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes ctBubbleRise {
  0% { transform: translateY(0) translateX(0) scale(0.6); opacity: 0; }
  12% { opacity: 0.6; }
  55% { opacity: 0.35; }
  100% { transform: translateY(-320px) translateX(var(--drift, 16px)) scale(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ct-hero__bg-sheen,
  .ct-hero__bubbles span {
    animation: none;
  }

  .ct-hero__bubbles {
    display: none;
  }
}

.ct-hero__inner {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h, 80px) + 2.5rem) 0 2.75rem;
}

.ct-hero__text {
  color: #fff;
  max-width: 40rem;
}

.ct-hero__brand {
  display: block;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  color: #fff;
}

.ct-hero__heading {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}

.ct-hero__desc {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  max-width: 34rem;
}

/* ---- Breadcrumb ---- */
.ct-breadcrumb {
  background: #f7f9fc;
  border-bottom: 1px solid var(--ct-line);
  padding: 0.65rem 0;
}

.ct-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.ct-breadcrumb__list a {
  color: var(--ct-blue);
  text-decoration: none;
  font-weight: 500;
}

.ct-breadcrumb__list a:hover {
  text-decoration: underline;
}

.ct-breadcrumb__sep {
  color: var(--ct-muted);
}

.ct-breadcrumb__current {
  color: var(--ct-ink);
  font-weight: 600;
}

/* ---- Main ---- */
.ct-main {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #f4f7fb;
  overflow: hidden;
}

.ct-main__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ct-main__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.ct-main__orb--1 {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -40px;
  background: rgba(19, 120, 243, 0.12);
}

.ct-main__orb--2 {
  width: 280px;
  height: 280px;
  bottom: -60px;
  left: -60px;
  background: rgba(1, 7, 40, 0.06);
}

.ct-main__inner {
  position: relative;
  z-index: 1;
}

.ct-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

/* ---- Form panel ---- */
.ct-form-panel {
  background: #fff;
  border: 1px solid var(--ct-line);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 16px 48px rgba(10, 37, 96, 0.06);
}

.ct-form-panel .section-label {
  margin-bottom: 0.65rem;
}

.ct-form-panel__title {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ct-ink);
  margin: 0 0 0.5rem;
}

.ct-form-panel__note {
  font-size: 0.88rem;
  color: var(--ct-muted);
  margin: 0 0 1.5rem;
}

.ct-req {
  color: #d64545;
}

.ct-alert {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.ct-alert--success {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.ct-alert--error {
  background: rgba(220, 53, 69, 0.08);
  color: #b42318;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

.ct-form {
  display: grid;
  gap: 1.15rem;
}

.ct-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--ct-ink);
  margin-bottom: 0.4rem;
}

.ct-field input,
.ct-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ct-ink);
  background: #f8fafc;
  border: 1px solid rgba(15, 40, 80, 0.14);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s var(--ct-ease), box-shadow 0.25s var(--ct-ease), background 0.25s;
}

.ct-field textarea {
  resize: vertical;
  min-height: 140px;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: #93a4bc;
}

.ct-field input:focus,
.ct-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: rgba(19, 120, 243, 0.55);
  box-shadow: 0 0 0 4px rgba(19, 120, 243, 0.12);
}

.ct-field__error {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: #b42318;
}

.ct-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
  padding: 0.95rem 1.4rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #0a2560 0%, #1378f3 100%);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s var(--ct-ease), box-shadow 0.3s var(--ct-ease);
  box-shadow: 0 10px 28px rgba(19, 120, 243, 0.28);
}

.ct-submit svg {
  width: 18px;
  height: 18px;
}

.ct-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(19, 120, 243, 0.36);
}

/* ---- Office ---- */
.ct-office {
  background: linear-gradient(160deg, #010728 0%, #0a2560 55%, #0d3d8a 100%);
  color: #fff;
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 20px 50px rgba(1, 7, 40, 0.28);
}

.ct-office__heading {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
}

.ct-office__block + .ct-office__block {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ct-office__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 0.45rem;
}

.ct-office__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.ct-office__link {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.25s, color 0.25s;
}

.ct-office__link:hover {
  color: #a7d0ff;
  border-bottom-color: #a7d0ff;
}

.ct-office__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.ct-office__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ct-navy);
  background: #fff;
  transition: transform 0.25s var(--ct-ease), background 0.25s;
}

.ct-office__btn:hover {
  transform: translateY(-2px);
  background: #e8f2ff;
}

.ct-office__btn--ghost {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.ct-office__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .ct-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .ct-hero__inner {
    padding: calc(var(--header-h, 72px) + 1.75rem) 0 2rem;
  }

  .ct-office__actions {
    flex-direction: column;
  }

  .ct-office__btn {
    width: 100%;
  }

  .ct-submit {
    width: 100%;
  }
}
