﻿/* =============================================
   SWIFTROUTE  -  CONTACT PAGE STYLES
   ============================================= */

.nav-active {
  color: var(--red) !important;
}
.nav-active::after {
  width: calc(100% - 24px) !important;
}

/* ---- PAGE HERO ---- */
.page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
}
.contact-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(7, 17, 31, 0.88) 50%,
      rgba(7, 17, 31, 0.45) 100%
    ),
    radial-gradient(
      ellipse at 70% 50%,
      rgba(26, 58, 110, 0.7) 0%,
      transparent 55%
    ),
    linear-gradient(135deg, #07111f 0%, #1a3a6e 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}
.page-hero-content h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 16px;
  animation: fadeUp 0.6s ease both;
}
.page-hero-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 22px;
  animation: fadeUp 0.6s 0.1s ease both;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  animation: fadeUp 0.6s 0.2s ease both;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--red);
}

/* ---- CONTACT INTRO STRIP ---- */
.contact-intro-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 400px;
}
.cis-img {
  background-size: cover;
  background-position: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}
.cis-img-left {
  background-color: #1a3050;
  background-image:
    radial-gradient(
      circle at 40% 60%,
      rgba(26, 58, 110, 0.85) 0%,
      transparent 60%
    ),
    linear-gradient(160deg, #0b1829 0%, #1e3a6e 100%);
}
.cis-img-left::after {
  content: "";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  opacity: 0.13;
}
.cis-img-right {
  background-color: #0a1f3e;
  background-image:
    radial-gradient(
      circle at 60% 40%,
      rgba(224, 32, 32, 0.15) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, #0a1f3e 0%, #1a3a6e 100%);
}
.cis-img-right::after {
  content: "";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  opacity: 0.13;
}

.cis-center {
  background: var(--white);
  padding: 52px 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-left: 1px solid var(--lightgray);
  border-right: 1px solid var(--lightgray);
}
.cis-arrow {
  color: var(--red);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  animation: bounceArrow 1.8s ease-in-out infinite;
}
@keyframes bounceArrow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}
.cis-center p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.72;
  margin-bottom: 16px;
  max-width: 340px;
}
.cis-quote-block {
  background: var(--offwhite);
  border-top: 3px solid var(--red);
  padding: 28px 28px 0;
  margin-top: 24px;
  width: 100%;
}
.cis-quote-block h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.cis-quote-block p {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 20px;
  max-width: 100%;
}
.cis-quote-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 16px 20px;
  transition: background 0.2s;
  margin-bottom: 0;
}
.cis-quote-btn:hover {
  background: var(--red2);
}
.cis-quote-circle {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s;
}
.cis-quote-btn:hover .cis-quote-circle {
  background: rgba(255, 255, 255, 0.35);
}

/* ---- CONTACT FORM + SIDEBAR ---- */
.contact-main {
  padding: 80px 0 90px;
  background: var(--offwhite);
}
.contact-head {
  margin-bottom: 40px;
}
.contact-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 10px;
}
.contact-head p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 520px;
}

.contact-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

/* FORM */
.contact-form-wrap {
  background: var(--white);
  padding: 40px 36px;
  border: 1px solid var(--lightgray);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cf-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.req {
  color: var(--red);
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  padding: 13px 16px;
  border: 1px solid var(--lightgray);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  resize: vertical;
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-color: var(--navy3);
  box-shadow: 0 0 0 3px rgba(26, 58, 110, 0.08);
}
.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: #aab4c4;
}
.cf-field select {
  cursor: pointer;
  appearance: none;
  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='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.cf-submit {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
  width: fit-content;
}
.cf-submit:hover {
  background: var(--red2);
  transform: translateY(-1px);
}
.cf-submit-icon {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.cf-success {
  display: none;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
  padding: 13px 18px;
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 4px;
}
.cf-success.show {
  display: block;
}

/* SIDEBAR */
.cs-card {
  background: var(--navy);
  color: var(--white);
  padding: 36px 32px;
}
.cs-info-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
}
.cs-info-block:first-child {
  padding-top: 0;
}
.cs-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.cs-red {
  background: var(--red);
}
.cs-info-block strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  margin-bottom: 5px;
  color: var(--white);
}
.cs-info-block p {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
  margin: 0;
}
.cs-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.cs-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.cs-soc {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  transition:
    background 0.2s,
    color 0.2s;
}
.cs-soc:hover {
  background: var(--red);
  color: var(--white);
}

/* ---- MAP SECTION ---- */
.map-section {
  background: var(--lightgray);
  line-height: 0;
}
.map-embed {
  width: 100%;
  display: block;
  filter: grayscale(20%) contrast(0.95);
  transition: filter 0.3s;
}
.map-embed:hover {
  filter: grayscale(0%) contrast(1);
}
.map-embed iframe {
  display: block;
}

/* ---- FOOTER REUSE ---- */
.footer-top-band {
  background: var(--navy2);
  padding: 50px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-top-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ftb-left .logo {
  color: var(--white);
  margin-bottom: 14px;
}
.ftb-left p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.ftb-right h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact-list li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .contact-intro-strip {
    grid-template-columns: 1fr;
  }
  .cis-img {
    display: none;
  }
  .cis-center {
    border: none;
    padding: 52px 0 0;
  }
  .cis-quote-block {
    padding: 28px;
  }
  .contact-body {
    grid-template-columns: 1fr;
  }
  .footer-top-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
@media (max-width: 768px) {
  .cf-row {
    grid-template-columns: 1fr;
  }
  .contact-form-wrap {
    padding: 28px 20px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}
