/* =====================================================
   CONTATTI PAGE – stili aggiuntivi
   Dipende da style.css (variabili, reset, utility)
   ===================================================== */

/* ─── BTN-NAV ACTIVE ─────────────────────────────────── */
.btn-nav-active {
  background: var(--honey-dark) !important;
  color: var(--white) !important;
}

/* ─── HERO BG (contact-specific) ─────────────────────── */
.hero-banner-bg {
  background-image:
    linear-gradient(to bottom, rgba(65,84,44,0.93), rgba(65,84,44,0.79)),
    url('images/contatti-hero.jpg');
  background-position: center top;
}

/* ─── PAGE HERO ──────────────────────────────────────── */
.page-hero {
  position: relative;
  padding-top: calc(68px + 56px);
  padding-bottom: 0;
  overflow: hidden;
  background: var(--white);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--white);
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-bottom: 48px;
}
.page-hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--secondary);
}
.page-hero-content .hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}
.hero-wave { position: relative; bottom: -1px; }
.hero-wave svg { display: block; width: 100%; }

/* ─── CONTACT SECTION ────────────────────────────────── */
.contact-section {
  background: var(--white);
  padding-block: 72px;
}

/* ─── LAYOUT ─────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: start;
}

/* ─── PANNELLO INFORMAZIONI ──────────────────────────── */
.contact-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-panel h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--secondary);
  margin: 0;
}
.contact-panel-intro {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: -16px;
}

/* ─── LISTA CONTATTI ─────────────────────────────────── */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-list-item:last-child { border-bottom: none; }
.cl-icon {
  flex-shrink: 0;
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  color: var(--amber);
}
.cl-icon svg {
  width: 20px;
  height: 20px;
}
.cl-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cl-body strong {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
}
.cl-body span {
  font-size: .92rem;
  color: var(--text);
  line-height: 1.5;
}
.cl-body a { color: var(--amber); }
.cl-body a:hover { text-decoration: underline; }

/* ─── MAPPA FULL-WIDTH ───────────────────────────────── */
.map-section {
  position: relative;
}
.map-box {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.map-full {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
}
.map-cta {
  display: block;
  padding: 11px 16px;
  background: var(--cream);
  font-size: .85rem;
  font-weight: 600;
  color: var(--amber);
  text-align: center;
  border-top: 1px solid var(--border);
  transition: background var(--transition);
}
.map-cta:hover { background: #fdf6e8; text-decoration: underline; }

/* ─── FORM ───────────────────────────────────────────── */
.contact-form-wrap {
  position: sticky;
  top: 88px;
}
.contact-form-wrap .contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px;
}
.contact-form h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 6px;
  color: var(--secondary);
}
.form-intro {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.55;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: .9rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b6b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group select:focus {
  border-color: var(--honey);
}
.form-optional {
  font-size: .8rem;
  font-weight: 400;
  color: var(--text-muted);
}
.form-privacy { margin-top: 4px; margin-bottom: 22px; }
.form-privacy .checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.4;
  margin: 0;
}
.form-privacy .checkbox-label span { flex: 1; }
.form-privacy .checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--honey);
  cursor: pointer;
}
.checkbox-label a { color: var(--amber); }
.checkbox-label a:hover { text-decoration: underline; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-form-wrap {
    position: static;
  }
  .contact-form-wrap .contact-form { padding: 32px; }
}

@media (max-width: 720px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap .contact-form { padding: 24px; }
  .contact-panel { padding: 24px; gap: 20px; }
}
