/* ============================================================
   CONTATTI PAGE  — css/contatti.css
   ============================================================ */

/* ============================================================
   1. PAGE HEADER — minimal, sfondo animato grigio
   ============================================================ */
.cnt-page-header {
  position: relative;
  overflow: hidden;
  padding: 110px 0 60px;
  background: #f8f8f8;
}

/* città grigina sottile — override opacity dal main.css */
.cnt-city-gray {
  filter: grayscale(1);
  opacity: 0.08 !important;
}

.cnt-hero-inner { position: relative; z-index: 2; }
.cnt-page-title .highlight-teal { color: var(--teal-green, #007884); }

.cnt-page-title {
  font-size: clamp(3.6rem, 5.5vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  color: #121212;
  margin-bottom: 18px;
}

.cnt-page-sub {
  font-size: 1.55rem;
  font-weight: 400;
  color: #888;
  max-width: 480px;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   2. SPLIT LAYOUT — form | info-teal
   ============================================================ */
.cnt-main { background: #fff; }

.cnt-split {
  display: flex;
  min-height: 600px;
  align-items: stretch;
}

/* ---- FORM SIDE ---- */
.cnt-form-side {
  flex: 0 0 58%;
  padding: 64px 52px 64px 64px;
  background: #fff;
  display: flex;
  align-items: flex-start;
}

.cnt-form-inner { width: 100%; }

.cnt-form-title {
  font-size: 2.4rem; font-weight: 800; color: #121212; margin-bottom: 6px;
}
.cnt-form-sub {
  font-size: 1.4rem; font-weight: 300; color: #aaa; margin-bottom: 36px;
}

/* fields grid */
.cnt-fields-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px;
}
@media (max-width: 575px) { .cnt-fields-row { grid-template-columns: 1fr; } }

.cnt-field-wrap { margin-bottom: 24px; }

.cnt-label {
  display: block;
  font-size: 1.05rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: #bbb; margin-bottom: 9px;
}

.cnt-input {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #e0e0e0;
  border-radius: 0;
  padding: 9px 0;
  font-size: 1.5rem; font-family: inherit;
  background: transparent;
  color: #121212;
  outline: none;
  transition: border-color 0.22s ease;
  -webkit-appearance: none; appearance: none;
}
.cnt-input::placeholder { color: #ccc; font-weight: 300; }
.cnt-input:focus { border-bottom-color: var(--teal-green, #007884); }
.was-validated .cnt-input:invalid { border-bottom-color: #dc3545; }

.cnt-select {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #e0e0e0;
  border-radius: 0;
  padding: 9px 0;
  font-size: 1.5rem; font-family: inherit;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ccc' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 2px center;
  color: #121212; cursor: pointer; outline: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.22s ease;
}
.cnt-select:focus { border-bottom-color: var(--teal-green, #007884); }
.cnt-select option[value=""] { color: #ccc; }

.cnt-textarea { resize: none; min-height: 80px; }

/* privacy */
.cnt-privacy-wrap {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 28px; margin-top: 8px;
}
.cnt-checkbox { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; accent-color: var(--teal-green, #007884); cursor: pointer; }
.cnt-privacy-label { font-size: 1.2rem; font-weight: 300; color: #aaa; line-height: 1.6; cursor: pointer; }
.cnt-privacy-label a { color: var(--teal-green, #007884); text-decoration: underline; }

/* submit */
.cnt-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px;
  background: var(--theme-color, #eb8220); color: #fff;
  font-size: 1.5rem; font-weight: 700; font-family: inherit;
  border: none; border-radius: 10px; cursor: pointer;
  box-shadow: 0 4px 20px rgba(235,130,32,0.22);
  transition: background 0.22s, transform 0.16s;
}
.cnt-submit:hover { background: #d46f12; transform: translateY(-2px); }

.cnt-form-success {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px;
  background: rgba(0,120,132,0.07);
  border: 1px solid rgba(0,120,132,0.18);
  border-radius: 10px;
  font-size: 1.4rem; font-weight: 600; color: var(--teal-green, #007884);
  margin-top: 12px;
}

/* ---- INFO SIDE — teal ---- */
.cnt-info-side {
  flex: 1;
  background: var(--teal-green, #007884);
  padding: 64px 52px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cnt-info-heading {
  font-size: 1.05rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 36px;
}

.cnt-info-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 24px;
}
.cnt-info-list li { display: flex; align-items: flex-start; gap: 14px; }

.cnt-info-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(255,255,255,0.10);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85); flex-shrink: 0;
}
.cnt-info-icon svg { width: 15px; height: 15px; }

.cnt-info-label {
  display: block; font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: rgba(255,255,255,0.45); margin-bottom: 3px;
}
.cnt-info-val {
  display: block; font-size: 1.4rem; font-weight: 400;
  color: #fff; line-height: 1.5; text-decoration: none;
}
a.cnt-info-val:hover { color: rgba(255,255,255,0.75); }

.cnt-info-divider { height: 1px; background: rgba(255,255,255,0.10); margin: 32px 0; }

/* WhatsApp button */
.cnt-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 20px; width: 100%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  font-size: 1.4rem; font-weight: 600; color: #fff;
  text-decoration: none; margin-bottom: 20px;
  transition: background 0.22s;
}
.cnt-wa-btn:hover { background: rgba(255,255,255,0.2); color: #fff; text-decoration: none; }

/* social */
.cnt-social-row { display: flex; gap: 8px; flex-wrap: wrap; }
.cnt-soc-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  font-size: 1.2rem; font-weight: 600;
  color: rgba(255,255,255,0.8); text-decoration: none;
  transition: background 0.22s;
}
.cnt-soc-btn:hover { background: rgba(255,255,255,0.18); color: #fff; text-decoration: none; }
.cnt-soc-btn img { filter: brightness(0) invert(1); opacity: 0.8; }

/* ============================================================
   3. MAP
   ============================================================ */
.cnt-map-section { background: #fff; }

.cnt-map-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; border-bottom: 1px solid #f0f0f0;
  gap: 12px; flex-wrap: wrap;
}
.cnt-map-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.4rem; font-weight: 600; color: #333;
}
.cnt-map-label svg { color: var(--teal-green, #007884); }
.cnt-map-directions {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; background: var(--teal-green, #007884);
  color: #fff; font-size: 1.3rem; font-weight: 600;
  border-radius: 8px; text-decoration: none; transition: background 0.22s;
}
.cnt-map-directions:hover { background: #005f69; color: #fff; text-decoration: none; }
.cnt-map-frame { line-height: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  .cnt-form-side { padding: 56px 36px 56px 44px; }
  .cnt-info-side { padding: 56px 36px; }
}

@media (max-width: 991px) {
  .cnt-split { flex-direction: column; }
  .cnt-form-side { flex: none; padding: 48px 36px; }
  .cnt-info-side { padding: 44px 36px; }
  .cnt-page-header { padding: 90px 0 48px; }
}

@media (max-width: 575px) {
  .cnt-page-title { font-size: 3.2rem; }
  .cnt-form-side { padding: 40px 20px; }
  .cnt-info-side { padding: 40px 20px; }
  .cnt-map-header { padding: 12px 20px; }
  .cnt-map-frame iframe { height: 260px; }
}
