@font-face {
    font-family: "Alegreya";
    src: url("../assets/fonts/Alegreya-VariableFont_wght.ttf")
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #46B23E;
    --primary-light: #6BC85A;
    --primary-dark: #3A9B32;
    --secondary: #1A1A1A;
    --secondary-light: #424242;
    --secondary-dark: #000000;
    --accent: #FF6B35;
    --success: #4CAF50;
    --dark: #1A1A1A;
    --light: #FAFAFA;

    --gradient-primary: linear-gradient(135deg, #46B23E 0%, #6BC85A 100%);
    --gradient-secondary: linear-gradient(135deg, #1A1A1A 0%, #424242 100%);
    --gradient-accent: linear-gradient(90deg, #46B23E 0%, #6BC85A 100%);

    --font-size-small: 14px;
    --font-size-base: 16px;
    --font-size-large: 18px;
    --font-size-heading: 28px;

    --shadow-sm: 0 2px 8px rgba(70, 178, 62, 0.08);
    --shadow-md: 0 4px 16px rgba(70, 178, 62, 0.10);
    --shadow-lg: 0 8px 32px rgba(26, 26, 26, 0.13);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --spacing-small: 8px;
    --spacing-base: 16px;
    --spacing-large: 24px;
    --spacing-xlarge: 48px;
}

body {
    font-family: 'Alegreya', serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-base);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Alegreya', serif;
    margin-bottom: var(--spacing-base);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-base);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

@media (max-width: 1024px) {
    :root {
        --font-size-heading: 24px;
    }

    .container {
        padding: 0 var(--spacing-large);
    }
}

@media (max-width: 768px) {}

@media (max-width: 480px) {
    :root {
        --font-size-heading: 20px;
        --font-size-base: 14px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(70, 178, 62, 0.1);
    transition: all 0.3s ease;
}

.header.scroll-down {
    transform: translateY(-100%);
}

.header.scroll-up {
    transform: translateY(0);
    box-shadow: 0 2px 20px rgba(70, 178, 62, 0.15);
}

.header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
}

.header__logo {
    display: block;
    max-width: 80px;
    transition: transform 0.3s ease;
}

.header__logo:hover {
    transform: scale(1.05);
}

.header__logo img {
    width: 100%;
    height: auto;
}

.header__nav {
    margin-left: auto;
    margin-right: 2.5rem;
}

.header__menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header__menu-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.header__menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.header__menu-link:hover::after,
.header__menu-link.active::after {
    width: 100%;
}

.header__menu-link:hover,
.header__menu-link.active {
    color: var(--primary);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn--primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(70, 178, 62, 0.2);
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(70, 178, 62, 0.3);
}

.header__mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.header__mobile-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

@media (max-width: 1024px) {
    .header__menu {
        gap: 2rem;
    }

    .header__menu-link {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: white;
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }

    .header__nav.active {
        right: 0;
        margin-right: 0;
    }

    .header__menu {
        flex-direction: column;
        gap: 2rem;
    }

    .header__menu-link {
        font-size: 1.2rem;
        display: block;
        padding: 0.75rem 0;
    }

    .header__mobile-toggle {
        display: flex;
    }

    .header__mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .header__mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .header__mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .header__logo {
        max-width: 130px;
    }

    .header__wrapper {
        padding: 1rem 0;
    }

    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}

.footer {
    background: var(--secondary);
    color: white;
    padding: 5rem 0 2rem;
    margin-top: 5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(70, 178, 62, 0.1) 0%, rgba(26, 26, 26, 0.95) 100%);
    pointer-events: none;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
}

.footer__logo {
    display: block;
    max-width: 160px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.footer__logo:hover {
    transform: scale(1.05);
}

.footer__logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer__description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.footer__social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(70, 178, 62, 0.3);
}

.footer__title {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.75rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__menu li {
    margin-bottom: 1rem;
}

.footer__menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer__menu a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer__menu a:hover {
    color: var(--primary);
    padding-left: 20px;
}

.footer__menu a:hover::before {
    opacity: 1;
    left: 0;
}

.footer__contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer__contact-list i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.footer__contact-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer__contact-list a:hover {
    color: var(--primary);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.6);
}

.footer__links {
    display: flex;
    gap: 2rem;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer__links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer__links a:hover {
    color: var(--primary);
}

.footer__links a:hover::after {
    width: 100%;
}

@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 0 1.5rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer__links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer__logo {
        max-width: 140px;
    }

    .footer__social-link {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .footer__title {
        font-size: 1.2rem;
    }
}

.hero {
    position: relative;
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero__content {
    max-width: 650px;
}

.hero__title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero__subtitle {
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.hero__text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.hero__actions {
    display: flex;
    gap: 1.25rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn--primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    border: 2px solid white;
}

.btn--primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-color: white;
}

.btn--outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn--outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero__image {
    position: relative;
}

.hero__image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero__image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hero__image:hover img {
    transform: translateY(-5px);
}

.hero__shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: var(--primary);
    opacity: 0.1;
    transform: translateY(50%);
}

@media (max-width: 1024px) {
    .hero {
        padding: 8rem 0 4rem;
    }

    .hero__title {
        font-size: 3.2rem;
    }

    .hero__subtitle {
        font-size: 1.5rem;
    }

    .hero .container {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 7rem 0 3rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero__image::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 0 2rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.3rem;
    }

    .hero__text {
        font-size: 1rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

.page-hero {
    position: relative;
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.page-hero__content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-hero__title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-hero__subtitle {
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.page-hero__description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero__image {
    margin: 3rem auto 2rem;
    max-width: 600px;
    position: relative;
}

.page-hero__image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.page-hero__image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-hero__image:hover img {
    transform: translateY(-5px);
}

.page-hero__actions {
    margin-top: 2rem;
}

.page-hero__shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: var(--primary);
    opacity: 0.1;
    transform: translateY(50%);
}

@media (max-width: 1024px) {
    .page-hero {
        padding: 8rem 0 4rem;
    }

    .page-hero__title {
        font-size: 3.2rem;
    }

    .page-hero__subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 7rem 0 3rem;
    }

    .page-hero__title {
        font-size: 2.8rem;
    }

    .page-hero__subtitle {
        font-size: 1.3rem;
    }

    .page-hero__description {
        font-size: 1.1rem;
    }

    .page-hero__image {
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 6rem 0 2rem;
    }

    .page-hero__title {
        font-size: 2.2rem;
    }

    .page-hero__subtitle {
        font-size: 1.2rem;
    }

    .page-hero__description {
        font-size: 1rem;
    }

    .page-hero__image {
        max-width: 400px;
    }
}




.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.bg-light {
    background-color: var(--light);
}

.bg-white {
    background-color: white;
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.rounded {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

/* Responsive utilities */
@media (max-width: 768px) {
    .mobile-hidden {
        display: none;
    }
}

@media (min-width: 769px) {
    .desktop-hidden {
        display: none;
    }
}