/* ==== CONTACT PAGE ==== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}
/* --- HERO --- */
.contact-hero {
  position: relative;
  width: 100%;
  min-height: 50vh;
  background: url('../images/inv_result.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: clamp(50px, 8vw, 120px) 20px;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.contact-hero-content {
  position: relative;
  max-width: 750px;
  z-index: 1;
}

.contact-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.contact-hero-content h1 span {
  color: #e63946;
}

.contact-hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.6;
  color: #eee;
}

/* --- CONTACT SECTION --- */
.contact-section {
  background: #f9f9f9;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem);
  color: #222;
}

.contact-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* --- GRID --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.contact-form,
.contact-info {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* --- FORM --- */
.contact-form h2,
.contact-info h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
  position: relative;
}

.contact-form h2::after,
.contact-info h2::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 50px;
  height: 3px;
  background: #e63946;
  border-radius: 2px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  resize: vertical;
}

.contact-form button {
  background: #e63946;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background: #c62839;
  transform: translateY(-2px);
}

/* --- CONTACT INFO --- */
.contact-info p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info .map {
  margin-top: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: 40vh;
    padding: 60px 1rem;
  }

  .contact-hero-content h1 {
    font-size: 2rem;
  }

  .contact-hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 0.9rem;
  }

  .contact-form button {
    padding: 0.6rem 1rem;
  }
}
