/* Contact (design/contact): formularul în stânga (65), datele directe în dreapta (35). */
:root { --error: #8E3B2E; }
.contact [hidden] { display: none !important; }
.contact { display: grid; grid-template-columns: 65fr 35fr; gap: 0 clamp(28px, 3.5vw, 56px); padding: 0 var(--gutter); align-items: start; }
.contact .intro { padding: clamp(40px, 7vh, 80px) 0 28px; }
.contact h1 { font-weight: 500; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.03em; margin-top: 14px; }
.contact .intro p { margin-top: 14px; max-width: 48ch; }

.contact form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 720px; }
.contact .full { grid-column: 1 / -1; }
.contact .f { display: grid; gap: 6px; }
.contact .f > span:first-child { font-size: 14px; }
.contact .f em { font-style: normal; color: var(--ink-60); }
.contact input[type="text"], .contact input[type="email"], .contact input[type="tel"], .contact input[type="date"], .contact select, .contact textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .35); font: inherit; color: inherit; transition: border-color .2s, background .2s;
}
.contact textarea { min-height: 160px; resize: vertical; }
.contact textarea[rows] { min-height: 96px; }
.contact select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 20px center, right 15px center; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.contact input:focus, .contact select:focus, .contact textarea:focus { outline: none; border-color: var(--ink); background: rgba(255, 255, 255, .6); }
.contact .f.invalid input, .contact .f.invalid select, .contact .f.invalid textarea { border-color: var(--error); }
.contact .err { display: none; font-size: 13px; color: var(--error); }
.contact .f.invalid .err { display: block; }
.contact .form-err { padding: 12px 16px; border: 1px solid var(--error); border-radius: 10px; color: var(--error); font-size: 14px; }
.contact .count { justify-self: end; font-size: 12px; }
.contact .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact .consent { font-size: 13px; }
.contact .consent a { border-bottom: 1px solid currentColor; }
.contact .send { justify-self: start; padding: 16px 30px; border-radius: 999px; border: 0; background: var(--ink); color: var(--greige); font: inherit; font-weight: 500; cursor: pointer; transition: background .3s; }
.contact .send:hover { background: var(--camel); }
.contact .send:disabled { opacity: .6; cursor: progress; }

.contact .sent { max-width: 560px; }
.contact .sent:focus { outline: none; }
.contact .sent h2 { font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.025em; line-height: 1.1; }
.contact .sent p { margin-top: 14px; }
.contact .sent b { color: var(--ink); font-weight: 500; }
.contact .again { display: inline-block; margin-top: 24px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.contact aside { position: sticky; top: calc(var(--hh) + 24px); padding-top: clamp(40px, 7vh, 80px); display: grid; gap: 28px; }
.contact aside section { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.contact aside section:first-child { border-top-color: var(--ink); }
.contact aside .big { font-size: 20px; font-weight: 500; letter-spacing: -.01em; justify-self: start; border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact aside a.big:hover { border-color: currentColor; }
.contact aside .small { font-size: 14px; }
.contact aside .link { justify-self: start; font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 2px; margin-top: 4px; }
.contact aside .link:hover { color: var(--camel); }

@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .contact form { grid-template-columns: 1fr; }
  .contact .send { justify-self: stretch; }
  .contact aside { position: static; padding-top: 48px; }
}
