/* =========================================
   CONTACT PAGE — PREMIUM LIGHT UI
========================================= */

:root {
  --contact-shell: 1180px;

  --contact-text: #0f172a;
  --contact-muted: #64748b;

  --contact-primary: #4f46e5;
  --contact-accent: #0ea5e9;

  --contact-border: rgba(15, 23, 42, 0.06);

  --contact-radius-xl: 28px;
  --contact-radius-lg: 22px;
  --contact-radius-md: 16px;

  --contact-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  --contact-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.05);

  --contact-bg:
    radial-gradient(circle at top left, rgba(79,70,229,0.05), transparent 30%),
    radial-gradient(circle at top right, rgba(14,165,233,0.05), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

  --contact-top-offset: 120px;
}

/* =========================================
   BASE
========================================= */

.contact-page {
  background: var(--contact-bg);
  padding-top: var(--contact-top-offset);
  padding-bottom: 60px;
}

.home-shell {
  width: min(var(--contact-shell), calc(100% - 32px));
  margin-inline: auto;
}

/* =========================================
   HERO
========================================= */

.contact-hero {
  padding-bottom: 30px;
}

.contact-hero-inner {
  background: rgba(255,255,255,0.9);
  border-radius: var(--contact-radius-xl);
  border: 1px solid var(--contact-border);
  padding: 40px;
  box-shadow: var(--contact-shadow);
  text-align: center;
}

.contact-kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--contact-primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.contact-hero h1 {
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  margin-bottom: 10px;
}

.contact-hero p {
  color: var(--contact-muted);
  max-width: 60ch;
  margin: auto;
}

/* =========================================
   CONTACT CARDS
========================================= */

.contact-cards {
  padding: 10px 0 30px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.contact-card {
  background: white;
  border-radius: var(--contact-radius-lg);
  border: 1px solid var(--contact-border);
  padding: 22px;
  text-align: center;
  box-shadow: var(--contact-shadow-soft);
  transition: 0.3s;
}

.contact-card:hover {
  transform: translateY(-4px);
}

.contact-card i {
  font-size: 1.6rem;
  color: var(--contact-primary);
  margin-bottom: 10px;
}

.contact-card h4 {
  margin-bottom: 6px;
}

.contact-card p {
  color: var(--contact-muted);
  font-size: 0.9rem;
}

/* =========================================
   MAIN GRID (FORM + MAP)
========================================= */

.contact-main {
  padding-top: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}

/* =========================================
   FORM
========================================= */

.contact-form-box {
  background: white;
  border-radius: var(--contact-radius-xl);
  padding: 30px;
  border: 1px solid var(--contact-border);
  box-shadow: var(--contact-shadow);
}

.contact-form-box h3 {
  margin-bottom: 20px;
}

/* FORM GROUP */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 0.8rem;
  margin-bottom: 6px;
  color: var(--contact-muted);
}

/* INPUTS */
input,
select,
textarea {
  border-radius: 12px;
  border: 1px solid var(--contact-border);
  padding: 10px 12px;
  font-size: 0.9rem;
  outline: none;
  transition: 0.2s;
  background: #f8fafc;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--contact-primary);
  background: white;
}

/* BUTTON */
.btn-primary {
  margin-top: 10px;
  border-radius: 12px;
  padding: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--contact-primary), var(--contact-accent));
  color: white;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* =========================================
   MAP
========================================= */

.contact-map {
  border-radius: var(--contact-radius-xl);
  overflow: hidden;
  border: 1px solid var(--contact-border);
  box-shadow: var(--contact-shadow);
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--contact-muted);
  font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 600px) {

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero-inner,
  .contact-form-box {
    padding: 20px;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }

}