/*
Theme Name: Корпорация кофе
Author: Корпорация кофе
Description: Адаптивный лендинг аренды кофейного оборудования. PHP-блоки и стили разделены по папкам.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: korporacia-coffee
*/
:root {
    --cream: #f5f1e8;
    --coffee: #30231c;
    --terra: #AA4533;
    --green: #919681;
    --line: rgba(48,35,28,.18);
    --white: #fffdf7;
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 105px;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--coffee);
    font-family: Arial,Helvetica,sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,input,select,textarea {
    font: inherit;
}

button,a,input,select,textarea {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: wait;
    opacity: .65;
}

img {
    display: block;
    max-width: 100%;
}

h1,h2,h3,p {
    margin: 0;
}

h1,h2,h3 {
    line-height: 1.03;
    letter-spacing: -.055em;
    font-weight: 500;
}

h2 {
    font-size: clamp(38px,5.1vw,72px);
}

h3 {
    font-size: 30px;
}

p+p {
    margin-top: 16px;
}

.wrap {
    width: min(1280px,calc(100% - 96px));
    margin: auto;
}

.section {
    padding: 100px 0;
}

.eyebrow {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .16em;
    font-weight: 700;
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 30px;
}

.eyebrow:before {
    content: '';
    width: 7px;
    height: 7px;
    background: currentColor;
    border-radius: 50%;
}

.muted {
    opacity: .68;
}

.btn {
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 17px 23px;
    min-height: 54px;
    background: var(--terra);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 14px;
    line-height: 1.3;
    transition: background .2s,transform .2s;
}

.btn:hover {
    background: #AA4533;
    transform: translateY(-2px);
}

.btn:after {
    content: '↗';
    font-size: 23px;
    line-height: 1;
}

.btn-outline {
    background: transparent;
    color: var(--coffee);
    border-color: var(--line);
}

.btn-outline:hover {
    background: var(--coffee);
    color: var(--cream);
}

.btn-dark {
    background: var(--coffee);
}

.btn-dark:hover {
    background: #49392e;
}

:focus-visible {
    outline: 3px solid #AA4533;
    outline-offset: 5px;
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 15px;
    z-index: 9999;
    background: white;
    padding: 12px;
}

.skip-link:focus {
    top: 10px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 35px;
    align-items: end;
    margin-bottom: 45px;
}

.section-head p {
    max-width: 340px;
    font-size: 15px;
}

.pill {
    display: inline-block;
    padding: 7px 13px;
    border: 1px solid currentColor;
    border-radius: 40px;
    font-size: 12px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

[hidden] {
    display: none!important;
}

@media (max-width: 760px) {
    .wrap {
        width: calc(100% - 36px);
    }
    .section {
        padding: 64px 0;
    }
    .section-head {
        display: block;
    }
    .section-head p {
        margin-top: 22px;
    }
    .eyebrow {
        margin-bottom: 22px;
    }
    .btn {
        padding: 15px 18px;
    }
    h2 {
        font-size: 40px;
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
    *,*:before,*:after {
        animation: none!important;
        transition: none!important;
    }
}
