/*
Theme Name: Бурение24
Description: Сохранённая композиция сайта бурения для редактируемых страниц WordPress.
Version: 0.1.0
 Text Domain: burenie24
 */
.brand-ref .burenie24-mark {display:block;width:56px;height:56px;flex:none;border-radius:14px}
.moscow-menu-row{display:flex!important;gap:clamp(16px,3vw,36px)}
.moscow-menu-row a{white-space:nowrap}
.moscow-hero{padding:clamp(70px,9vw,120px) 0;background:linear-gradient(125deg,#eff6ef,#f9f8f3)}
.moscow-hero .container{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);align-items:center;gap:clamp(30px,5vw,80px)}
.moscow-hero h1{max-width:12ch;font-size:clamp(42px,5.5vw,76px);line-height:1.05;letter-spacing:-.04em;margin:.18em 0 .35em}
.moscow-hero p{max-width:62ch;font-size:clamp(17px,1.5vw,20px)}
.moscow-eyebrow{font-size:13px!important;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#28634d}
.moscow-hero-card{min-height:340px;border-radius:28px;padding:34px;background:#205c48;color:white;display:flex;align-items:center;justify-content:center}
.moscow-hero-card svg{width:min(100%,360px);height:auto}
.moscow-section{padding:clamp(56px,7vw,94px) 0}
.moscow-section h2{font-size:clamp(32px,3.8vw,50px);line-height:1.1;margin:0 0 24px}
.moscow-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.moscow-card{background:#f3f7f2;border:1px solid #dce8dd;border-radius:20px;padding:26px}
.moscow-card h3{margin:0 0 12px;font-size:23px}
.moscow-card p{margin:0;color:#425b50}
.moscow-note{max-width:850px;padding:28px;border-left:5px solid #dcba67;background:#fff8e8;border-radius:0 18px 18px 0}
.moscow-contact{background:#205c48;color:#fff}
.moscow-contact a{color:#fff}
@media(max-width:800px){.moscow-hero .container{grid-template-columns:1fr}.moscow-hero-card{min-height:240px}.moscow-cards{grid-template-columns:1fr}.moscow-menu-row{overflow:auto}.moscow-menu-row a{font-size:14px}}

/* Moscow uses its own unscoped layout fragments. */
.site-footer{background:#103f31;color:#e9f2eb;padding:48px 0 28px}
.site-footer .footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:32px}
.site-footer h2{font-size:18px;margin:0 0 16px;color:#fff}
.site-footer a{color:#e9f2eb}
.site-footer .brand-ref{display:flex;gap:12px;align-items:center;text-decoration:none}
.site-footer .brand-ref small{display:block}
.site-footer nav a{display:block;margin:10px 0;text-decoration:none}
.site-footer p{color:#c8d9d0;line-height:1.65}
.site-footer .footer-bottom{border-top:1px solid #496859;margin-top:32px;padding-top:20px;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;font-size:13px;color:#c8d9d0}
@media(max-width:800px){
  .site-footer{padding-bottom:100px}
  .site-footer .footer-grid{grid-template-columns:1fr;gap:24px}
  .site-footer .footer-bottom{flex-direction:column}
  .main-menu .moscow-menu-row{position:static;inset:auto;width:100%;height:auto;min-height:48px;max-height:none;flex-direction:row;align-items:center;justify-content:flex-start;gap:20px;padding:0;overflow-x:auto;overflow-y:hidden;box-shadow:none;transform:none;visibility:visible;background:transparent}
  .main-menu .moscow-menu-row a{flex:0 0 auto;width:auto;white-space:nowrap;padding:12px 0;border:0}
}
