* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f3efe9;
    color: #322d28;
    font-size: 1.14rem;
    line-height: 1.82;
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main-content {
    flex-grow: 1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(248, 246, 242, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(60, 60, 60, 0.06);
    z-index: 100;
}

.logo {
    min-width: 260px;
    padding-left: 14px;
}

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-brand-icon {
    width: 78px;
    height: auto;
    object-fit: contain;
    display: block;
}

.nav-brand-text {
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.1px;
    white-space: nowrap;
}

.brand-blue {
    color: #36b8f0;
}

.brand-green {
    color: #6bb343;
    margin-left: 4px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav ul li a {
    color: #2f2a25;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.15px;
    position: relative;
    padding-bottom: 5px;
    font-size: 1.08rem;
}

.main-nav ul li a:hover {
    color: #2f6b45;
}

.main-nav ul li a.active {
    color: #2f6b45;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #6bb343;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #3a342e;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    width: 25px;
    height: 2px;
    background-color: #3a342e;
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.about-section {
    padding: 162px 20px 90px;
    background: linear-gradient(180deg, #f6f1eb 0%, #f3efe9 52%, #efe9e2 100%);
}

.advice-wrap {
    max-width: 1220px;
    margin: 0 auto;
}

.hero-block {
    max-width: 920px;
    margin-bottom: 48px;
}

.hero-intro-shell {
    padding: 6px 0 0;
}

.section-title {
    font-size: clamp(3.35rem, 5.3vw, 4.25rem);
    line-height: 1.03;
    font-weight: 800;
    color: #2f6b45;
    margin-bottom: 22px;
}

.hero-text {
    font-size: 1.06rem;
    line-height: 1.78;
    font-weight: 500;
    color: #2d6242;
    max-width: 760px;
    margin-bottom: 18px;
}

.hero-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    border-top: 1px solid rgba(120, 100, 80, 0.14);
    padding-top: 14px;
}

.hero-pillar {
    padding: 12px 12px 10px;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(47, 107, 69, 0.14);
    border-top: 3px solid rgba(47, 107, 69, 0.28);
    border-radius: 10px;
}

.hero-pillar h4 {
    font-size: 0.9rem;
    line-height: 1.3;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #2f6b45;
    margin: 0 0 6px;
}

.hero-pillar p {
    font-size: 0.96rem;
    line-height: 1.6;
    color: #2d6242;
    margin: 0;
}

.card-section {
    padding-top: 8px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.advice-card {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(120, 100, 80, 0.12);
    box-shadow: 0 16px 36px rgba(87, 62, 34, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.advice-card:hover {
    transform: translateY(-4px);
    border-color: rgba(47, 107, 69, 0.24);
    box-shadow: 0 20px 42px rgba(87, 62, 34, 0.09);
}

.card-image {
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.advice-card:hover .card-image img {
    transform: scale(1.03);
}

.card-body {
    padding: 24px 24px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-tag {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 16px;
    padding: 6px 12px;
    border: 1px solid rgba(47, 107, 69, 0.65);
    color: #2f6b45;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.advice-card h3 {
    font-size: 1.58rem;
    line-height: 1.18;
    font-weight: 800;
    color: #3f3933;
    margin-bottom: 14px;
}

.advice-card p {
    font-size: 1.0625rem;
    line-height: 1.85;
    font-weight: 500;
    color: #45423c;
    margin-bottom: 24px;
}

.card-link {
    margin-top: auto;
    color: #2f6b45;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-thickness: 1.6px;
    text-underline-offset: 5px;
}

.card-link:hover {
    color: #25563a;
}

.section-divider {
    max-width: 980px;
    margin: 56px auto 0;
    border-top: 1px solid rgba(120, 100, 80, 0.12);
}


.hidden-phone {
    margin-top: 36px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px 26px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}
.hidden-phone p {
    width: 100%;
    color: #5f564e;
    font-size: 0.82em;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 500;
}

.hidden-phone a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hidden-phone img {
    max-width: 78px;
    max-height: 46px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
    margin: 0;
}

.hidden-phone img:hover {
    transform: translateY(-1px);
}

.main-footer {
    text-align: center;
    padding: 34px 20px;
    background-color: #e2dbd2;
    color: #6a625b;
}

.main-footer p {
    font-size: 15px;
    margin: 0;
}

@media (max-width: 1100px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-pillars {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .section-title {
        font-size: 3.1rem;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 18px 20px;
    }

    .main-nav ul {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav ul li a {
        font-size: 0.9rem;
    }

    .nav-brand-icon {
        width: 54px;
        height: auto;
    }

    .logo {
        min-width: 210px;
    }

    .nav-brand-text {
        font-size: 0.68rem;
    }

    .about-section {
        padding: 138px 16px 70px;
    }

    .section-title {
        font-size: 2.45rem;
    }

    .hero-text {
        font-size: 1.02rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .card-image img {
        height: 220px;
    }

    .card-body {
        padding: 22px 20px 20px;
    }

    .advice-card h3 {
        font-size: 1.28rem;
    }

    .advice-card p {
        font-size: 1.02rem;
    }

    .hidden-phone {
        gap: 14px 18px;
    }

    .hidden-phone img {
        max-width: 68px;
        max-height: 40px;
    }
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 9999;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    background: #ffffff;
    color: #1f1f1f;
    border: 2px solid #d87416;
    font-weight: 700;
}
