/* --- Page-only styles for Contact (no .showcase used) --- */

/* Compact hero, independent from .showcase */
.contact-hero {
  width: 100%;
  min-height: 45vh;                 /* smaller than your site hero */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 5%;
  background-image:
    linear-gradient(rgba(4, 9, 30, 0.6), rgba(4, 9, 30, 0.6)),
    url('images/contact-hero.jpg'); /* change as needed */
  background-position: center;
  background-size: cover;
  color: #fff;
}
.contact-hero__inner {
  max-width: 840px;
  margin: 0 auto;
}
.contact-hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(2rem, 5.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}
.contact-hero p {
  font-size: clamp(1rem, 2.7vw, 1.25rem);
  margin-bottom: 1.25rem;
  color: #fff;
}
.contact-hero__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.08s ease;
}
.contact-hero__btn:hover { background: var(--brand); border-color: var(--brand); }
.contact-hero__btn:active { transform: translateY(1px); }

@media (max-width: 600px) {
  .contact-hero { min-height: 38vh; padding: 28px 16px; }
}

/* Contact section — matches your full-width rhythm */
.contact {
  width: 100%;
  margin: 0;
  padding: 40px 5%;                 /* compact */
  background-color: var(--muted);   /* same gray as services */
}
.contact__inner {
  max-width: 1000px;                /* slightly narrower to feel lighter */
  margin: 0 auto;
}

.contact__header {
  text-align: center;
  margin-bottom: 1.4rem;
}
.contact__header h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.contact__header p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-subtle);
}

/* Two-column layout, stacks on mobile */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* Cards */
.contact-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px;                    /* compact padding */
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.contact-card__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Info list */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list i {
  width: 22px;
  text-align: center;
  color: var(--brand);
  margin-top: 2px;
}

/* Map */
.map-block { margin-top: 10px; }
.map-embed {
  width: 100%;
  aspect-ratio: 4 / 3;              /* shorter than 16/9 */
  border: 0;
  border-radius: 8px;
}

/* Form */
.contact-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 700px) {
  .contact-form .row-2 { grid-template-columns: 1fr; }
}
.form-field { margin-bottom: 10px; }
.form-field label {
  display: inline-block;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.95rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: #fff;
  color: var(--text);
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: color-mix(in srgb, var(--brand), #ffffff 30%);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15);
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.form-note {
  font-size: 0.95rem;
  color: var(--text-subtle);
}

.contact-alt {
  margin-top: 12px;
  color: var(--text-subtle);
  font-size: 0.95rem;
}

/* Reuse your primary button look if present */
.btn-primary {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
  transition: transform 0.08s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover { background: var(--brand-600); border-color: var(--brand-600); }
.btn-primary:active { background: var(--brand-700); transform: translateY(1px); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .contact-hero__btn,
  .btn-primary { transition: none !important; }
}
