/* ============================================================
   CONTATTI
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form {
  padding: 44px;
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 18px;
  scroll-margin-top: 100px;
}
.cf-head { margin-bottom: 8px; }
.cf-head h2 { margin-top: 6px; }
.cf-head p { margin: 8px 0 0; }

.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field > label {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--rose-ink);
}
.cf-field input,
.cf-field textarea,
.cf-select select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(74,31,46,.12);
  background: rgba(255,255,255,.65);
  color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
  outline: none;
}
.cf-field input:focus,
.cf-field textarea:focus,
.cf-select select:focus {
  border-color: var(--rose-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(236,110,150,.15);
}
.cf-field textarea { resize: vertical; min-height: 110px; font-family: inherit; }
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: rgba(74,31,46,.4); }

.cf-select { position: relative; }
.cf-select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}
.cf-chev {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--rose-600);
  font-size: 14px;
}

.cf-field.err input,
.cf-field.err textarea,
.cf-field.err select {
  border-color: #D9477A;
  background: rgba(255,235,242,.7);
}
.cf-field small {
  color: #D9477A;
  font-size: .8rem;
  letter-spacing: .02em;
}

.cf-submit {
  margin-top: 6px;
  padding: 18px 24px;
  font-size: 1rem;
}
.cf-submit:disabled {
  opacity: .55;
  cursor: progress;
}
.cf-foot { font-size: .78rem; text-align: center; }

/* Privacy checkbox */
.cf-privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(74,31,46,.1);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.cf-privacy:hover { background: rgba(255,255,255,.6); }
.cf-privacy input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cf-check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1.5px solid rgba(74,31,46,.3);
  background: #fff;
  transition: all .2s var(--ease);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
  position: relative;
}
.cf-privacy input:checked ~ .cf-check {
  background: linear-gradient(135deg, var(--rose-400), var(--rose-500));
  border-color: var(--rose-500);
}
.cf-privacy input:checked ~ .cf-check::after {
  content: "";
  width: 6px; height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.cf-privacy-text {
  font-size: .88rem;
  line-height: 1.4;
  color: var(--ink);
}
.cf-privacy-text a {
  color: var(--rose-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cf-privacy.err {
  background: rgba(255,235,242,.7);
  border-color: #D9477A;
}
.cf-privacy-err {
  color: #D9477A;
  font-size: .8rem;
  margin-top: -8px;
  padding-left: 6px;
}

/* Info card */
.contact-info {
  display: flex; flex-direction: column; gap: 16px;
  position: sticky; top: 100px;
}
@media (max-width: 980px) { .contact-info { position: static; } }

.ci-block {
  padding: 28px;
  border-radius: var(--radius);
}
.ci-block h3 {
  font-size: 1.7rem;
  margin: 8px 0 18px;
  font-weight: 400;
}
.ci-block h3 em { font-style: normal; color: var(--rose-600); }

.ci-list { list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 16px; }
.ci-list li {
  display: flex; gap: 14px; align-items: center;
}
.ci-list li b {
  display: block;
  font-family: var(--font-body);
  font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted); font-weight: 600;
  margin-bottom: 2px;
}
.ci-list li a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--rose-ink);
}
.ci-list li a:hover { color: var(--rose-600); }
.ci-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--rose-300), var(--rose-400));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px -6px rgba(217,71,122,.5);
}

.ci-hours { list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px; }
.ci-hours li {
  display: flex; justify-content: space-between;
  font-size: .95rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(74,31,46,.08);
}
.ci-hours li:last-child { border-bottom: 0; }
.ci-hours li span { color: var(--muted); }
.ci-hours li b { color: var(--rose-ink); font-weight: 500; }

@media (max-width: 760px) {
  .contact-form { padding: 28px 24px; }
}
