/* ===================================================
   Contact Page — contact.css
   Depends on styles.css being loaded first.
   Only contains styles not already in styles.css.
   =================================================== */

/* ---------------------------------------------------
   PAGE HERO
   Shared pattern with blog.html / about.html.
   If this is later moved to styles.css, remove here.
   --------------------------------------------------- */
.page-hero {
  padding-top: var(--nav-height);
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
}

.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 56px;
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--color-text-light);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.page-hero-inner h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--color-text);
  margin-bottom: 12px;
}

.page-hero-inner .lead {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 560px;
  line-height: 1.7;
}

/* ---------------------------------------------------
   CONTACT BODY SECTION
   --------------------------------------------------- */
.contact-body {
  padding: 80px 0;
  background: var(--color-bg);
}

/* Two-column layout: details left, form right */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ---------------------------------------------------
   CONTACT DETAILS (left column)
   --------------------------------------------------- */
.contact-details h2,
.contact-form-wrap h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 24px;
  color: var(--color-text);
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(81, 91, 32, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--color-primary);
}

.contact-info-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 3px;
}

.contact-info-value {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.55;
}

a.contact-info-value {
  transition: color var(--transition);
}

a.contact-info-value:hover {
  color: var(--color-primary);
}

/* Map embed */
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-map iframe {
  display: block;
  width: 100%;
}

/* ---------------------------------------------------
   CONTACT FORM (right column)
   .form-group, input, select, textarea are already
   defined in styles.css — only add what's missing.
   --------------------------------------------------- */
.contact-form-intro {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* Checkbox group */
.form-group--checkbox {
  margin-top: 4px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.checkbox-label a {
  color: var(--color-primary);
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: var(--color-primary-dark);
}

.required {
  color: #c0392b;
  font-size: 0.8rem;
}

/* ---------------------------------------------------
   WHATSAPP BUTTON
   Shared pattern with blog.css.
   Move to styles.css once all pages use it.
   --------------------------------------------------- */
.wa-wrapper {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.wa-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: transform var(--transition), box-shadow var(--transition);
}

.wa-button:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0,0,0,0.22);
}

.wa-button img {
  width: 28px;
  height: 28px;
}

.wa-message {
  background: var(--color-white);
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* ---------------------------------------------------
   RESPONSIVE
   --------------------------------------------------- */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-body {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .page-hero-inner {
    padding: 48px 24px 40px;
  }

  .contact-body {
    padding: 40px 0;
  }
}