/* ==========================================================================
   Aardvark Hosting — Styles
   ========================================================================== */

/* -- Reset & Base --------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #7CB342;
    --green-dark: #558B2F;
    --green-light: #9CCC65;
    --green-50: #f1f8e9;
    --brown: #3E2723;
    --brown-light: #5D4037;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --blue: #1976D2;
    --purple: #7B1FA2;
    --orange: #EF6C00;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1160px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.16);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font);
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

/* -- Utilities ------------------------------------------------------------ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section__label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green);
    margin-bottom: 12px;
}

.section__title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--brown);
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.2;
}

.section__title--left {
    text-align: left;
}

.section__subtitle {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 56px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.text-gradient {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* -- Buttons -------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--lg {
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: var(--radius);
}

.btn--primary {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(124, 179, 66, 0.3);
}

.btn--primary:hover {
    background: var(--green-dark);
    box-shadow: 0 4px 16px rgba(124, 179, 66, 0.4);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--brown);
    border: 2px solid var(--gray-300);
}

.btn--outline:hover {
    border-color: var(--green);
    color: var(--green-dark);
    background: var(--green-50);
}

.btn--white {
    background: var(--white);
    color: var(--green-dark);
    box-shadow: var(--shadow);
}

.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--nav {
    padding: 10px 20px;
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius-sm);
}

.btn--nav:hover {
    background: var(--green-dark);
}

.btn--full {
    width: 100%;
}

/* -- Header --------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow var(--transition);
}

.header--scrolled {
    box-shadow: var(--shadow);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header__logo img {
    height: 48px;
    width: auto;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__link {
    font-weight: 500;
    color: var(--gray-700);
    transition: color var(--transition);
    font-size: 0.95rem;
}

.header__link:hover {
    color: var(--green-dark);
}

.header__menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.header__menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brown);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* -- Hero ----------------------------------------------------------------- */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(124, 179, 66, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(85, 139, 47, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image:
        radial-gradient(circle at 1px 1px, var(--brown) 1px, transparent 0);
    background-size: 32px 32px;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero__content {
    max-width: 560px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--green-50);
    color: var(--green-dark);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(124, 179, 66, 0.2);
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--brown);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero__trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
}

.hero__trust-item svg {
    color: var(--green);
    flex-shrink: 0;
}

/* Hero floating cards */
.hero__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
}

.hero__card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.hero__card:hover {
    transform: translateX(-4px);
    box-shadow: var(--shadow-lg);
}

.hero__card--1 { transform: translateX(0); }
.hero__card--2 { transform: translateX(24px); }
.hero__card--3 { transform: translateX(8px); }
.hero__card--1:hover { transform: translateX(-4px); }
.hero__card--2:hover { transform: translateX(20px); }
.hero__card--3:hover { transform: translateX(4px); }

.hero__card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero__card-icon svg {
    width: 22px;
    height: 22px;
}

.hero__card-icon--green {
    background: var(--green-50);
    color: var(--green-dark);
}

.hero__card-icon--blue {
    background: #E3F2FD;
    color: var(--blue);
}

.hero__card-icon--purple {
    background: #F3E5F5;
    color: var(--purple);
}

.hero__card-title {
    font-weight: 600;
    color: var(--brown);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.hero__card-status {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* -- Stats ---------------------------------------------------------------- */
.stats {
    background: var(--brown);
    padding: 48px 0;
}

.stats__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--green-light);
    margin-bottom: 4px;
}

.stat__label {
    font-size: 0.9rem;
    color: var(--gray-400);
    font-weight: 500;
}

/* -- Services ------------------------------------------------------------- */
.services {
    padding: 100px 0;
}

.services .section__label,
.services .section__title,
.services .section__subtitle {
    text-align: center;
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.service-block:last-child {
    margin-bottom: 0;
}

.service-block--reverse {
    direction: rtl;
}

.service-block--reverse > * {
    direction: ltr;
}

.service-block__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--green-50);
    color: var(--green-dark);
}

.service-block__icon--blue {
    background: #E3F2FD;
    color: var(--blue);
}

.service-block__icon--purple {
    background: #F3E5F5;
    color: var(--purple);
}

.service-block__icon--orange {
    background: #FFF3E0;
    color: var(--orange);
}

.service-block__icon svg {
    width: 28px;
    height: 28px;
}

.service-block__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brown);
    margin-bottom: 12px;
}

.service-block__text {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-block__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-block__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 500;
}

.service-block__features li::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--green-50);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23558B2F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.service-block__image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 48px;
    min-height: 320px;
    border: 1px solid var(--gray-200);
}

.service-block__image img {
    max-height: 240px;
    width: auto;
}

/* -- Why Us --------------------------------------------------------------- */
.why-us {
    padding: 100px 0;
    background: var(--gray-50);
}

.why-us .section__label,
.why-us .section__title {
    text-align: center;
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
}

.why-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.why-card__number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--green-light);
    opacity: 0.6;
    margin-bottom: 12px;
    line-height: 1;
}

.why-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brown);
    margin-bottom: 8px;
}

.why-card__text {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* -- About ---------------------------------------------------------------- */
.about {
    padding: 100px 0;
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__content .section__label {
    display: block;
}

.about__text {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-top: 16px;
}

.about__text:first-of-type {
    margin-top: 24px;
}

.about__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__image-wrapper {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--gray-200);
    width: 100%;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__image-wrapper img {
    max-height: 280px;
    width: auto;
}

/* -- CTA Banner ----------------------------------------------------------- */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, var(--green-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image:
        radial-gradient(circle at 1px 1px, var(--white) 1px, transparent 0);
    background-size: 24px 24px;
}

.cta-banner__inner {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-banner__title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-banner__text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

/* -- Contact -------------------------------------------------------------- */
.contact {
    padding: 100px 0;
    background: var(--gray-50);
}

.contact .section__label,
.contact .section__title {
    text-align: center;
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

.contact__form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form__group {
    margin-bottom: 16px;
}

.form__row .form__group {
    margin-bottom: 0;
}

.form__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form__input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--gray-800);
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--white);
}

.form__input::placeholder {
    color: var(--gray-400);
}

.form__input:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.12);
}

select.form__input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23757575' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    cursor: pointer;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__feedback {
    text-align: center;
    font-size: 0.95rem;
    min-height: 24px;
    margin-top: 12px;
}

.form__feedback--success {
    color: var(--green-dark);
    font-weight: 500;
}

.form__feedback--error {
    color: #c62828;
    font-weight: 500;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact__info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    transition: box-shadow var(--transition);
}

.contact__info-card:hover {
    box-shadow: var(--shadow);
}

.contact__info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--green-50);
    color: var(--green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact__info-icon svg {
    width: 20px;
    height: 20px;
}

.contact__info-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brown);
    margin-bottom: 2px;
}

.contact__info-card a,
.contact__info-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    transition: color var(--transition);
}

.contact__info-card a:hover {
    color: var(--green-dark);
}

/* -- Footer --------------------------------------------------------------- */
.footer {
    background: var(--brown);
    color: var(--gray-200);
    padding: 64px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer__logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
}

.footer__heading {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.footer__text {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.footer__col--brand .footer__text {
    margin-top: 0;
    max-width: 280px;
}

.footer__link {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 10px;
    transition: color var(--transition);
}

.footer__link:hover {
    color: var(--green-light);
}

.footer__bottom {
    margin-top: 48px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* -- WhatsApp Button ------------------------------------------------------ */
.whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 90;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
}

/* -- Responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero__title {
        font-size: 2.8rem;
    }

    .hero__visual {
        max-width: 480px;
    }

    .hero__card--2 { transform: translateX(12px); }
    .hero__card--3 { transform: translateX(4px); }
    .hero__card--2:hover { transform: translateX(8px); }
    .hero__card--3:hover { transform: translateX(0); }

    .service-block {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-block--reverse {
        direction: ltr;
    }

    .about__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section__title--left {
        text-align: center;
    }

    .about__content .section__label {
        text-align: center;
    }

    .about__text {
        text-align: center;
    }

    .contact__wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .stats__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .why-us__grid {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .header__nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }

    .header__nav--open {
        display: flex;
    }

    .header__menu-btn {
        display: flex;
    }

    .btn--nav {
        text-align: center;
    }

    .form__row {
        grid-template-columns: 1fr;
    }

    .section__title {
        font-size: 1.8rem;
    }

    .cta-banner__title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 110px 0 48px;
    }

    .hero__title {
        font-size: 1.8rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__trust {
        flex-direction: column;
        gap: 8px;
    }

    .services,
    .why-us,
    .about,
    .contact {
        padding: 64px 0;
    }

    .stats {
        padding: 32px 0;
    }

    .stat__number {
        font-size: 1.5rem;
    }

    .footer__inner {
        grid-template-columns: 1fr;
    }

    .contact__form {
        padding: 24px;
    }

    .service-block__image {
        padding: 32px;
        min-height: 200px;
    }
}
