/* ==========================================================
   Simple Solutions Practice
   Version 2.1
   ========================================================== */

/* ==========================================================
   RESET
   ========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    font-size: 18px;
    line-height: 1.7;

    color: #24323d;

    background: #f6f8fb;

    -webkit-font-smoothing: antialiased;

    text-rendering: optimizeLegibility;

}

img {

    display: block;

    max-width: 100%;
    height: auto;

}

a {

    color: inherit;

    text-decoration: none;

}

ul {

    margin: 0;
    padding: 0;

    list-style: none;

}

h1,
h2,
h3,
h4,
p {

    margin: 0;

}

/* ==========================================================
   VARIABLES
   ========================================================== */

:root {

    --accent: #0f5fa8;
    --accent-dark: #084b84;

    --text: #24323d;
    --text-light: #687683;

    --background: #f6f8fb;
    --surface: #ffffff;
    --surface-light: #eef4fa;

    --border: #d8e2eb;

    --radius: 18px;

    --shadow:
        0 12px 32px rgba(17,34,51,.07);

    --transition: .25s ease;

    --container: 1180px;

}

/* ==========================================================
   BASE
   ========================================================== */

.container {

    width: min(1180px, calc(100% - 48px));

    margin: 0 auto;

}

section {

    position: relative;

    scroll-margin-top: 96px;

}

.section {

    padding: 96px 0;

}

.section-light {

    background: var(--surface);

}

.section-dark {

    background: #1b2530;

    color: white;

}

/* ==========================================================
   TYPOGRAPHY
   ========================================================== */

.section-title {

    max-width: 760px;

    margin-bottom: 56px;

}

.section-title.left {

    margin-bottom: 34px;

}

.section-title span {

    display: inline-block;

    margin-bottom: 16px;

    color: var(--accent);

    font-size: .82rem;

    font-weight: 700;

    letter-spacing: .15em;

    text-transform: uppercase;

}

.section-title h2 {

    font-size: clamp(2rem,3vw,3rem);

    line-height: 1.2;

}

p {

    margin-bottom: 1.4rem;

    color: var(--text-light);

}

/* ==========================================================
   BUTTONS
   ========================================================== */

.button {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    padding: 16px 30px;

    border-radius: 999px;

    background: var(--accent);

    color: white;

    font-weight: 600;

    transition: var(--transition);

    box-shadow: var(--shadow);

}

.button:hover {

    background: var(--accent-dark);

    transform: translateY(-2px);

}

.button-light {

    background: white;

    color: var(--accent);

    border: 1px solid var(--border);

}

.button-light:hover {

    background: var(--surface-light);

}

/* ==========================================================
   HEADER
   ========================================================== */

header {

    position: sticky;

    top: 0;

    z-index: 1000;

    backdrop-filter: blur(18px);

    background: rgba(246,248,251,.90);

    border-bottom: 1px solid rgba(216,226,235,.8);

}

.header-container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    min-height: 84px;

}

.logo {

    display: flex;

    align-items: center;

    gap: 16px;

}

.logo img {

    width: 56px;

    transition: transform .35s ease;

}

.logo:hover img {

    transform: rotate(-4deg);

}

.logo-text {

    display: flex;

    flex-direction: column;

}

.logo-text strong {

    font-size: 1rem;

}

.logo-text span {

    font-size: .82rem;

    color: var(--text-light);

}

/* ==========================================================
   NAVIGATION
   ========================================================== */

.main-nav ul {

    display: flex;

    gap: 34px;

}

.main-nav a {

    color: var(--text-light);

    font-size: .95rem;

    transition: .25s;

}

.main-nav a:hover {

    color: var(--accent);

}

.menu-toggle {

    display: none;

}

/* ==========================================================
   HERO
   ========================================================== */

.hero {

    padding: 110px 0 90px;

    background:
        radial-gradient(circle at right top,
            rgba(15,95,168,.08),
            transparent 38%),
        var(--background);

}

.hero-container {

    display: grid;

    grid-template-columns: 1.15fr .85fr;

    gap: 80px;

    align-items: center;

}

.eyebrow {

    display: inline-flex;

    align-items: center;

    padding: 8px 18px;

    margin-bottom: 24px;

    border-radius: 999px;

    background: rgba(15,95,168,.08);

    color: var(--accent);

    font-size: .82rem;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

}

.hero h1 {

    font-size: clamp(3rem,5vw,4.8rem);

    line-height: 1.05;

    letter-spacing: -.03em;

    margin-bottom: 34px;

    color: var(--text);

}

.hero-lead {

    max-width: 620px;

    font-size: 1.35rem;

    color: var(--text);

    margin-bottom: 24px;

}

.hero-description {

    max-width: 620px;

    margin-bottom: 40px;

}

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 18px;

}

.hero-photo {

    display: flex;

    justify-content: center;

    align-items: center;

}

.hero-photo img {

    width: min(500px,100%);

    margin: 0 auto;

    object-fit: contain;

}

/* ==========================================================
   SYMPTOMS
   ========================================================== */

.symptoms-grid {

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 30px;

}

.symptom-card {

    padding: 34px;

    border-radius: var(--radius);

    background: var(--surface);

    border: 1px solid var(--border);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}

.symptom-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow);

}

.symptom-card h3 {

    margin-bottom: 16px;

    font-size: 1.28rem;

    color: var(--text);

}

.symptom-card p {

    margin: 0;

}

/* ==========================================================
   RESULTS
   ========================================================== */

.results-grid {

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 30px;

}

.results-grid article {

    padding: 36px;

    background: var(--surface);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}

.results-grid article:hover {

    transform: translateY(-6px);

    box-shadow:
        0 16px 40px rgba(17,34,51,.10);

}

.results-grid h3 {

    margin-bottom: 14px;

    color: var(--accent);

}

.results-grid p {

    margin: 0;

}

/* ==========================================================
   QUOTE
   ========================================================== */

.quote {

    padding: 110px 0;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f6f8fb
        );

}

.quote blockquote {

    max-width: 860px;

    margin: 0 auto;

    font-size: clamp(2rem,3vw,2.7rem);

    line-height: 1.35;

    font-weight: 300;

    color: #31414d;

}

.quote blockquote::before {

    content: "“";

    display: block;

    margin-bottom: 24px;

    font-size: 5rem;

    line-height: 1;

    color: rgba(15,95,168,.18);

}

/* ==========================================================
   PRACTICE
   ========================================================== */

.posts-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));

    gap: 36px;

}

.post-card {

    display: flex;

    flex-direction: column;

    overflow: hidden;

    background: var(--surface);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition:
        transform .28s ease,
        box-shadow .28s ease;

}

.post-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 20px 48px rgba(17,34,51,.12);

}

.post-card img {

    width: 100%;

    aspect-ratio: 16 / 10;

    object-fit: cover;

    transition: transform .45s ease;

}

.post-card:hover img {

    transform: scale(1.05);

}

.post-content {

    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 30px;

}

.post-content h3 {

    margin-bottom: 16px;

    font-size: 1.45rem;

    line-height: 1.3;

    color: var(--text);

}

.post-content p {

    flex: 1;

    margin-bottom: 28px;

}

.post-content a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--accent);

    font-weight: 600;

    transition: gap .25s ease;

}

.post-content a:hover {

    gap: 14px;

}

.notes-footer {

    margin-top: 60px;

    text-align: center;

}

/* ==========================================================
   ABOUT
   ========================================================== */

.about-grid {

    display: grid;

    grid-template-columns: 1.35fr .9fr;

    gap: 80px;

    align-items: start;

}

.about-grid p:last-child {

    margin-bottom: 0;

}

.about-facts {

    display: grid;

    gap: 22px;

}

.fact {

    padding: 30px;

    background: var(--background);

    border-left: 5px solid var(--accent);

    border-radius: var(--radius);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}

.fact:hover {

    transform: translateY(-4px);

    box-shadow: var(--shadow);

}

.fact strong {

    display: block;

    margin-bottom: 10px;

    font-size: 2rem;

    color: var(--accent);

}

.fact span {

    color: var(--text-light);

    line-height: 1.5;

}

/* ==========================================================
   CTA
   ========================================================== */

.cta {

    text-align: center;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f6f8fb
        );

}

.cta h2 {

    max-width: 780px;

    margin: 0 auto 28px;

    font-size: clamp(2rem,3vw,3rem);

    line-height: 1.25;

}

.cta p {

    max-width: 720px;

    margin: 0 auto 42px;

}

.cta .button {

    min-width: 260px;

}

/* ==========================================================
   MICRO ANIMATIONS
   ========================================================== */

.button,
.post-card,
.symptom-card,
.results-grid article,
.fact {

    will-change: transform;

}

::selection {

    background: rgba(15,95,168,.18);

}

img {

    user-select: none;

    -webkit-user-drag: none;

}

/* ==========================================================
   CONTACTS
   ========================================================== */

.contacts-container {

    max-width: 1080px;

}

.contacts-grid {

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 30px;

}

.contact-card {

    display: block;

    padding: 36px;

    border-radius: var(--radius);

    background: rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.10);

    transition:
        transform .25s ease,
        background .25s ease;

}

.contact-card:hover {

    transform: translateY(-6px);

    background: rgba(255,255,255,.10);

}

.contact-card h3 {

    margin-bottom: 16px;

    color: #ffffff;

}

.contact-card p {

    margin: 0;

    color: rgba(255,255,255,.72);

}

/* ==========================================================
   FOOTER
   ========================================================== */

footer {

    padding: 42px 0;

    background: #17212b;

    color: rgba(255,255,255,.75);

}

.footer-container {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 60px;

}

.footer-brand {

    max-width: 520px;

}

.footer-brand strong {

    display: block;

    margin-bottom: 14px;

    font-size: 1.1rem;

    color: #ffffff;

}

.footer-brand p {

    margin: 0;

    color: rgba(255,255,255,.70);

}

.footer-links {

    display: flex;

    flex-direction: column;

    gap: 12px;

}

.footer-links a {

    transition: color .25s ease;

}

.footer-links a:hover {

    color: #ffffff;

}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width:1100px){

    .hero-container,
    .about-grid{

        grid-template-columns:1fr;

        gap:56px;

    }

    .hero-photo{

        order:-1;

    }

}

@media (max-width:860px){

    /* ---------- Header ---------- */

    header{

        position:sticky;

        top:0;

    }

    .header-container{

        min-height:74px;

        padding:14px 0;

    }

    .logo img{

        width:48px;

    }

    .logo-text span{

        display:none;

    }

    /* ---------- Burger ---------- */

    .menu-toggle{

        display:block;

        position:relative;

        width:42px;

        height:42px;

        border:none;

        background:none;

        cursor:pointer;

        z-index:1200;

    }

    .menu-toggle span{

        display:block;

        width:28px;

        height:3px;

        margin:5px auto;

        border-radius:3px;

        background:var(--text);

        transition:.3s ease;

    }

    .menu-toggle.active span:nth-child(1){

        transform:translateY(8px) rotate(45deg);

    }

    .menu-toggle.active span:nth-child(2){

        opacity:0;

    }

    .menu-toggle.active span:nth-child(3){

        transform:translateY(-8px) rotate(-45deg);

    }

    /* ---------- Navigation ---------- */

    .main-nav{

        position:fixed;

        top:74px;

        left:0;

        right:0;

        background:#ffffff;

        border-top:1px solid var(--border);

        box-shadow:0 20px 40px rgba(0,0,0,.08);

        display:none;

        padding:30px;

        z-index:1100;

    }

    .main-nav.active{

        display:block;

    }

    .main-nav ul{

        display:flex;

        flex-direction:column;

        gap:22px;

    }

    .main-nav a{

        display:block;

        font-size:1.1rem;

        color:var(--text);

        font-weight:600;

    }

    body.menu-open{

        overflow:hidden;

    }

    /* ---------- Sections ---------- */

    section{

        scroll-margin-top:90px;

    }

    .section{

        padding:72px 0;

    }

    .hero{

        padding:72px 0;

    }

    .hero-container{

        gap:42px;

    }

    .hero h1{

        font-size:2.6rem;

    }

    .hero-lead{

        font-size:1.15rem;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:stretch;

    }

    .button{

        width:100%;

    }

    .symptoms-grid,
    .results-grid,
    .contacts-grid,
    .posts-grid{

        grid-template-columns:1fr;

    }

    .footer-container{

        flex-direction:column;

        gap:32px;

    }

}

@media (max-width:640px){

    body{

        font-size:16px;

    }

    .container{

        width:min(calc(100% - 32px),1180px);

    }

    .section-title{

        margin-bottom:42px;

    }

    .section-title h2{

        font-size:2rem;

    }

    .quote{

        padding:80px 0;

    }

    .quote blockquote{

        font-size:1.8rem;

    }

    .post-content{

        padding:24px;

    }

    .contact-card{

        padding:28px;

    }

}

/* ==========================================================
   END
   ========================================================== */
   