/* Общие стили всех страниц, кроме главной (у неё свой дизайн и свои стили). Подключается из pages/*.html. */
* { box-sizing: border-box; }
body { margin: 0; font-family: 'PT Sans', sans-serif; color: #1A1D23; background: #FFFFFF; }
.su { width: 100%; max-width: 1320px; margin: 0 auto; }
.su-wrap { max-width: 1320px; margin: 0 auto; padding: 0 48px; }
.su-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: #8B5E3C; font-weight: 700; }
.su-h1 { font-family: 'Oswald', sans-serif; font-size: 46px; font-weight: 700; line-height: 1.1; margin: 0 0 18px; color: #1A1D23; }
.su-h2 { font-family: 'Oswald', sans-serif; font-size: 29px; font-weight: 600; margin: 0 0 10px; color: #1A1D23; }
.su-h3 { font-family: 'Oswald', sans-serif; font-size: 17px; font-weight: 600; margin: 0 0 6px; color: #1A1D23; }
.su-body { font-size: 14px; line-height: 1.65; color: #6B7280; margin: 0; }
.su-btn-blue { background: #2563AC; color: #fff; font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 600; letter-spacing: 0.03em; padding: 13px 30px; border-radius: 4px; border: none; cursor: pointer; }
.su-btn-out { background: transparent; border: 1.5px solid #2563AC; color: #2563AC; font-family: 'Oswald', sans-serif; font-size: 15px; font-weight: 600; padding: 12px 24px; border-radius: 4px; cursor: pointer; }
.su-tag { display: inline-block; background: rgba(139,94,60,0.1); color: #8B5E3C; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; padding: 7px 14px; border-radius: 3px; }
.su-card { background: #FFFFFF; border: 1px solid #E5DDD2; border-radius: 6px; }
.su-input { width: 100%; padding: 12px 14px; background: #fff; border: 1px solid #E7DAC8; border-radius: 4px; color: #1A1D23; font-size: 15px; font-family: 'PT Sans', sans-serif; outline: none; }
.su-input::placeholder { color: #A0A6AE; }
.su-divider { height: 1px; background: #EADFCF; border: none; margin: 0; }
.su-crumbs { font-size: 13px; color: #A0926F; }
.su-crumbs a { color: #8B5E3C; text-decoration: none; }
.su-ico { width:25px; height:25px; display:block; margin-bottom:10px; }
.su-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.su-placeholder { background:#F8F1EA; border:1px solid #EADFCF; border-radius:8px; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:10px; }
.su-placeholder span { font-size:11px; color:#B5A693; letter-spacing:0.1em; text-transform:uppercase; }
.fefco-card { background:#fff; border:1px solid #E5DDD2; border-radius:6px; overflow:hidden; }
.fefco-diagram { height:96px; background:#F8F1EA; display:flex; align-items:center; justify-content:center; border-bottom:1px solid #EADFCF; }
.fefco-num { display:inline-block; font-family:'Oswald',sans-serif; font-size:13px; font-weight:700; color:#fff; background:#8B5E3C; padding:3px 9px; border-radius:3px; letter-spacing:0.03em; }
.contact-row { display:flex; align-items:flex-start; gap:14px; }
.contact-row + .contact-row { margin-top:22px; }
.contact-icon { width:40px; height:40px; border-radius:50%; background:rgba(139,94,60,0.1); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-label { font-size:12px; text-transform:uppercase; letter-spacing:0.06em; color:#A0926F; margin-bottom:4px; }
.contact-val { font-size:16px; color:#1A1D23; line-height:1.6; }
.route-btn { display:none; align-items:center; justify-content:center; gap:7px; margin-top:12px; padding:12px 14px; background:rgba(37,99,172,.08); border-radius:6px; color:#2563AC; font-size:14px; font-weight:700; text-decoration:none; box-sizing:border-box; width:100%; }
.contact-val a { color:#1A1D23; text-decoration:none; }
.contact-val a:hover { color:#2563AC; }
.cat-burger { display:none; flex-direction:column; justify-content:center; gap:5px; width:30px; height:30px; background:none; border:none; padding:0; cursor:pointer; }
.cat-burger span { display:block; width:100%; height:2px; background:#1A1D23; transition:transform .3s, opacity .2s; }
.cat-burger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.cat-burger.open span:nth-child(2) { opacity:0; }
.cat-burger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
.cat-mobile-menu { display:none; }

@media (max-width: 768px) {
  .route-btn { display:flex; }
  .su { width:100%; }
  .su-wrap { padding:0 20px; }
  .su-h1 { font-size:32px; }
  .su-h2 { font-size:24px; }

  /* NAV */
  .cat-nav-links, .cat-nav-phone { display:none !important; }
  .cat-burger { display:flex; }
  .cat-mobile-menu { position:absolute; top:100%; left:0; right:0; flex-direction:column; background:#fff; border-top:1px solid #EADFCF; border-bottom:1px solid #EADFCF; box-shadow:0 12px 30px rgba(0,0,0,.1); z-index:50; }
  .cat-mobile-menu.open { display:flex; }
  .cat-mobile-menu a { color:#454B54; font-size:15px; text-decoration:none; padding:14px 20px; border-bottom:1px solid #EADFCF; }
  .cat-mobile-menu a:last-child { border-bottom:none; }
  .cat-mobile-menu a.cat-mobile-phone { font-weight:700; color:#1A1D23; }

  /* SPLIT / GRID SECTIONS */
  .cat-split { grid-template-columns:1fr !important; }
  .cat-split-content { order:1; }
  .cat-split-media { order:2; }
  .cat-checklist-2 { grid-template-columns:1fr !important; }
  .cat-card-photo { height:170px !important; }
  .cat-callout { flex-direction:column !important; align-items:flex-start !important; padding:24px !important; }
  .cat-callout button { width:100%; }
  .cat-advantages-grid { grid-template-columns:1fr !important; }
  .cat-fefco-grid { grid-template-columns:repeat(2,1fr) !important; gap:10px !important; }
  .fefco-diagram { height:76px !important; }
  .fefco-card .su-h3 { font-size:14px; }
  .fefco-card > div:last-child { padding:12px !important; }
  .cat-cta-grid { grid-template-columns:minmax(0,1fr) !important; }
  .cat-cta-grid > * { min-width:0; }
  .cat-bottombar { flex-direction:column !important; align-items:flex-start !important; gap:8px; }
}

/* REQUEST MODAL */
.modal-overlay { display:none; position:fixed; inset:0; background:rgba(26,29,35,.6); z-index:300; align-items:center; justify-content:center; padding:20px; }
.modal-overlay.open { display:flex; }
.modal-box { background:#fff; border-radius:8px; max-width:440px; width:100%; padding:36px; position:relative; max-height:88vh; overflow-y:auto; }
.modal-close { position:absolute; top:16px; right:16px; width:32px; height:32px; border:none; background:transparent; font-size:22px; line-height:1; color:#6B7280; cursor:pointer; }
.modal-close:hover { color:#1A1D23; }
.modal-title { font-family:'Oswald',sans-serif; font-size:24px; font-weight:600; color:#1A1D23; margin-bottom:6px; }
.modal-context { font-size:13px; color:#8B5E3C; margin-bottom:18px; min-height:16px; }
.modal-box form { display:flex; flex-direction:column; gap:11px; }

/* FORM VALIDATION / STATES (shared: modal + inline forms) */
.field-error { display:none; font-size:12px; color:#C0392B; margin-top:4px; }
.field-error.show { display:block; }
.hp-field { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.smart-captcha { min-height:2px; }
.captcha-note { font-size:11px; line-height:1.4; color:#9CA3AF; text-align:center; margin:0; }
.captcha-note a { color:inherit; text-decoration:underline; }
.form-success { background:rgba(139,94,60,.08); border:1px solid #D5B59C; border-radius:6px; padding:18px; font-size:14px; color:#1A1D23; text-align:center; }

/* CONTACT CTA (form + contacts/map) */
.form-wrap { background:#fff; border-radius:8px; padding:32px; border:1px solid #EADFCF; }
.form-wrap h3 { font-family:'Oswald',sans-serif; font-size:22px; font-weight:600; margin:0 0 6px; }
.form-wrap p { font-size:14px; color:#6B7280; margin:0 0 22px; }
.form-fields { display:flex; flex-direction:column; gap:12px; }
.form-note { font-size:11px; color:#A0A6AE; text-align:center; margin:0; }
.contact-items { display:flex; flex-direction:column; gap:16px; margin-bottom:22px; }
.contact-item { display:flex; align-items:flex-start; gap:14px; }
.contact-item-icon { width:38px; height:38px; min-width:38px; border-radius:8px; background:rgba(139,94,60,.1); display:flex; align-items:center; justify-content:center; }
.contact-item-icon svg { width:18px; height:18px; stroke:#8B5E3C; stroke-width:1.8; fill:none; }
.contact-item-label { font-size:11px; color:#6B7280; letter-spacing:.08em; text-transform:uppercase; margin-bottom:3px; }
.contact-item-val { font-size:15px; color:#1A1D23; font-weight:700; }
.contact-item-val a { color:inherit; text-decoration:none; }
.map-preview { border-radius:8px; overflow:hidden; height:200px; border:1px solid #EADFCF; }

@media (max-width: 768px) {

  /* MOBILE — доработки адаптива */
  .su-wrap { padding-left:20px !important; padding-right:20px !important; }
  .cat-burger { width:44px; height:44px; padding:7px; margin-right:-7px; }
  .contact-item-val a, .contact-val a { display:inline-block; padding:6px 0; }
  .form-wrap { padding:24px 20px; }
  .cat-callout > div:first-child { flex-direction:column; gap:14px !important; }
  .cat-callout button { white-space:normal !important; }
  .fefco-card { display:flex; flex-direction:column; }
  .fefco-card > div:last-child { flex:1; display:flex; flex-direction:column; align-items:flex-start; }
  .fefco-card .su-body { margin-bottom:12px; }
  .fefco-order-btn { margin-top:auto !important; }
  .cat-price-box { flex-direction:column; align-items:stretch !important; gap:14px !important; }
  .cat-price-box button { width:100%; }
}
.pd-link { color:inherit; text-decoration:underline; text-underline-offset:2px; }
.pd-link:hover { color:#8B5E3C; }
.consent { display:flex; align-items:flex-start; gap:10px; font-size:12px; line-height:1.45; color:#6B7280; cursor:pointer; text-align:left; }
.consent input { width:18px; height:18px; min-width:18px; margin:0; accent-color:#8B5E3C; cursor:pointer; }

/* POLICY PAGES */
.policy { max-width:820px; }
.policy h2 { font-family:'Oswald',sans-serif; font-size:22px; font-weight:600; color:#1A1D23; margin:36px 0 12px; }
.policy p, .policy li { font-size:15px; line-height:1.7; color:#454B54; }
.policy p { margin:0 0 12px; }
.policy ul { margin:0 0 12px; padding-left:22px; }
.policy li { margin-bottom:6px; }
.policy li::marker { color:#A97C50; }
.policy a { color:#8B5E3C; }
.policy-req { background:#F9F3ED; border:1px solid #EADFCF; border-radius:6px; padding:20px 24px; margin:0 0 16px; font-size:15px; line-height:1.7; color:#1A1D23; }
.policy-req b { font-family:'Oswald',sans-serif; font-size:17px; font-weight:600; }
.policy-meta { font-size:14px; color:#A0926F; margin:0; }

@media (max-width: 768px) {
  .policy h2 { font-size:19px; margin-top:28px; }
  .policy-req { padding:16px 18px; }
}
.nf-links { display:flex; flex-wrap:wrap; gap:12px; }
.nf-links a { text-decoration:none; display:inline-block; }
