/* =========================================
   CLEANPRO — contact.css
   ========================================= */

/* Active nav link */
.active-link {
  color: var(--green-dark) !important;
  background: var(--green-light) !important;
  border-radius: 6px;
}

/* ── CONTACT SPLIT ─────────────────────── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 560px;
}

/* LEFT — dark bg with illustration */
.cs-left {
  background: var(--dark-2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Diagonal clip on the right edge */
.cs-diagonal {
  position: absolute;
  right: -1px;
  top: 0;
  bottom: 0;
  width: 80px;
  background: var(--dark);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 2;
}

/* Background texture dots */
.cs-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(62, 197, 94, 0.08) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
  pointer-events: none;
}

/* Decorative circle */
.cs-left::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.03);
  top: -80px;
  left: -80px;
}

.cs-scene {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}

/* ── Support team illustration ── */
.support-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

.st-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
}
.st-p1 {
  left: 10%;
  bottom: 50px;
}
.st-p2 {
  left: 38%;
  bottom: 50px;
  z-index: 2;
}
.st-p3 {
  left: 64%;
  bottom: 50px;
}

.stp-head {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 4px;
}
.sh-1 {
  background: #f5c4a0;
}
.sh-2 {
  background: #d4a574;
}
.sh-3 {
  background: #c8905a;
}

.stp-body {
  width: 70px;
  height: 80px;
  border-radius: 8px 8px 0 0;
  position: relative;
}
.sb-1 {
  background: #1a5c3a;
}
.sb-2 {
  background: #1a5c3a;
}
.sb-3 {
  background: #144d2f;
}

/* Headset */
.headset {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.5);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
}
.headset::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

/* Desks */
.desk-row {
  display: flex;
  gap: 16px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  justify-content: center;
}
.desk {
  height: 12px;
  border-radius: 4px 4px 0 0;
  background: rgba(255, 255, 255, 0.12);
}
.d1 {
  width: 90px;
}
.d2 {
  width: 100px;
}
.d3 {
  width: 85px;
}

/* Laptop screens */
.screens-row {
  display: flex;
  gap: 16px;
  position: absolute;
  bottom: 58px;
  left: 0;
  right: 0;
  justify-content: center;
  align-items: flex-end;
}
.screen {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 6px;
}
.sc1 {
  width: 80px;
  height: 54px;
}
.sc2 {
  width: 90px;
  height: 62px;
}
.sc3 {
  width: 78px;
  height: 52px;
}
.sc-bar {
  height: 6px;
  background: var(--green);
  border-radius: 2px;
  margin-bottom: 5px;
  opacity: 0.7;
}
.sc-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sc-line {
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}
.sc-short {
  width: 60%;
}

/* Established badge */
.established-badge {
  position: absolute;
  bottom: 60px;
  right: 80px;
  background: var(--dark);
  border: 2px solid var(--green);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  animation: floatY 3.5s ease-in-out infinite;
  box-shadow: 0 0 0 6px rgba(62, 197, 94, 0.15);
}
.eb-icon {
  font-size: 1.4rem;
  line-height: 1;
}
.eb-label {
  display: block;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}
.eb-year {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green);
  font-family: var(--font-head);
  line-height: 1;
}

/* Floating particles */
.cs-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.cp-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(62, 197, 94, 0.3);
  animation: floatBubble 4s ease-in-out infinite;
}
.cp-d1 {
  width: 14px;
  height: 14px;
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}
.cp-d2 {
  width: 8px;
  height: 8px;
  top: 30%;
  right: 20%;
  animation-delay: 1.2s;
}
.cp-d3 {
  width: 18px;
  height: 18px;
  top: 70%;
  left: 20%;
  animation-delay: 2.4s;
}
.cp-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.06);
  animation: floatY 5s ease-in-out infinite reverse;
}
.cp-r1 {
  width: 200px;
  height: 200px;
  bottom: -40px;
  right: 20px;
}

/* ── RIGHT — form ── */
.cs-right {
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 60px 60px 40px;
  position: relative;
  overflow: hidden;
}
.cs-right::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, 0.03);
  top: -80px;
  right: -80px;
}

.cs-form-wrap {
  width: 100%;
  max-width: 460px;
}

.cs-form-header {
  margin-bottom: 28px;
}
.cs-form-header h2 {
  color: white;
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.csf-underline {
  width: 60px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}

/* Form inputs — dark theme */
.cs-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.csf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.csf-group {
  display: flex;
  flex-direction: column;
}
.csf-group-full {
  grid-column: 1 / -1;
}

.csf-group input,
.csf-group select,
.csf-group textarea {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  outline: none;
  width: 100%;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.csf-group input::placeholder,
.csf-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.csf-group select {
  color: rgba(255, 255, 255, 0.5);
}
.csf-group select option {
  background: var(--dark);
  color: white;
}
.csf-group input:focus,
.csf-group select:focus,
.csf-group textarea:focus {
  border-color: var(--green);
  background: rgba(62, 197, 94, 0.07);
  box-shadow: 0 0 0 3px rgba(62, 197, 94, 0.12);
}
.csf-group textarea {
  resize: vertical;
  min-height: 120px;
}

.csf-submit {
  margin-top: 4px;
}
.csf-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--green);
  color: white;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s;
}
.csf-btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(62, 197, 94, 0.35);
}
.csf-btn-icon {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.csf-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.csf-success.visible {
  display: block;
}
.csfs-icon {
  width: 64px;
  height: 64px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}
.csf-success h3 {
  color: white;
  margin-bottom: 8px;
}
.csf-success p {
  color: rgba(255, 255, 255, 0.55);
}

/* ── GET IN TOUCH ─────────────────────── */
.get-in-touch {
  padding: 80px 0 64px;
  background: var(--white);
}
.git-header {
  margin-bottom: 3rem;
}
.git-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.git-sub {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.95em;
}
.git-sparks {
  font-size: 0.85rem;
  color: var(--green);
  margin-right: 4px;
}

.git-cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.git-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 36px 32px;
  transition: background 0.2s;
}
.git-card:hover {
  background: var(--cream);
}
.git-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
  flex-shrink: 0;
}
.gitc-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--green-light);
  border: 2px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: all 0.2s;
}
.git-card:hover .gitc-icon-wrap {
  background: var(--green);
  border-color: var(--green);
  transform: scale(1.05);
}
.gitc-text h4 {
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.gitc-text p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ── MAP ─────────────────────────────── */
.map-section {
  position: relative;
  height: 420px;
  overflow: hidden;
  border-top: 3px solid var(--green);
}
.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: saturate(0.85) contrast(1.05);
}
.map-open-link {
  position: absolute;
  top: 14px;
  left: 14px;
  background: white;
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.2s;
  z-index: 10;
}
.map-open-link:hover {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

/* Floating logo over map */
.map-logo-float {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: white;
  border-radius: 50px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  border: 2px solid var(--border);
}

/* ── RESPONSIVE ──────────────────────── */
@media (max-width: 1024px) {
  .contact-split {
    grid-template-columns: 1fr;
  }
  .cs-left {
    min-height: 360px;
  }
  .cs-right {
    padding: 48px 24px;
    justify-content: center;
  }
  .git-cards {
    grid-template-columns: 1fr;
  }
  .git-divider {
    width: 80%;
    height: 1px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .csf-row {
    grid-template-columns: 1fr;
  }
  .cs-right {
    padding: 36px 20px;
  }
  .cs-form-wrap {
    max-width: 100%;
  }
  .git-card {
    padding: 24px 20px;
  }
  .map-section {
    height: 300px;
  }
  .map-logo-float {
    display: none;
  }
}

/* Demo image upgrades */
.cs-left {
  background:
    linear-gradient(135deg, rgba(14, 27, 18, 0.72), rgba(26, 46, 30, 0.72)),
    url("https://images.unsplash.com/photo-1603712725038-e9334ae8f39f?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat;
}
.support-team,
.eb-icon,
.gitc-icon {
  display: none;
}
.git-card:nth-of-type(1) .gitc-icon-wrap,
.git-card:nth-of-type(3) .gitc-icon-wrap,
.git-card:nth-of-type(5) .gitc-icon-wrap {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.git-card:nth-of-type(1) .gitc-icon-wrap { background-image: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=240&q=80"); }
.git-card:nth-of-type(3) .gitc-icon-wrap { background-image: url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=240&q=80"); }
.git-card:nth-of-type(5) .gitc-icon-wrap { background-image: url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=240&q=80"); }

