/* =====================================================
   ABOUT-NEW PAGE — ISOLATED CSS
   Scoped under .an-page to avoid affecting other pages
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700;900&display=swap');

/* ── CSS Variables ── */
.an-page {
    --an-navy: #0a0e1a;
    --an-navy-light: #162438;
    --an-navy-mid: #141c2e;
    --an-gold: #c8a97e;
    --an-gold-light: #e0c49a;
    --an-gold-dim: rgba(200, 169, 126, 0.15);
    --an-white: #ffffff;
    --an-white-60: rgba(255, 255, 255, 0.60);
    --an-white-40: rgba(255, 255, 255, 0.40);
    --an-white-20: rgba(255, 255, 255, 0.20);
    --an-white-05: rgba(255, 255, 255, 0.05);
    --an-font-sans: 'Inter', sans-serif;
    --an-font-serif: 'Playfair Display', serif;
    font-family: var(--an-font-sans);
}

/* ── Utility Resets inside page ── */
.an-page *,
.an-page *::before,
.an-page *::after {
    box-sizing: border-box;
}

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

.an-page h1,
.an-page h2,
.an-page h3,
.an-page h4,
.an-page h5,
.an-page h6 {
    text-transform: none !important;
    letter-spacing: normal !important;
    font-family: var(--an-font-sans) !important;
    margin: 0;
}

.an-page p {
    text-transform: none !important;
    letter-spacing: normal !important;
    font-family: var(--an-font-sans) !important;
    margin: 0;
}

/* ── Gold gradient text ── */
.an-gold-gradient {
    background: linear-gradient(135deg, var(--an-gold) 0%, var(--an-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Shimmer animation ── */
@keyframes an-shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.an-shimmer-gold {
    background: linear-gradient(90deg, var(--an-gold) 0%, var(--an-gold-light) 40%, #fff9ee 50%, var(--an-gold-light) 60%, var(--an-gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: an-shimmer 4s linear infinite;
}

/* ── Section divider ── */
.an-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(200, 169, 126, 0.2) 50%, transparent 100%);
    margin: 0 auto;
    max-width: 1100px;
}

/* ── Section label row ── */
.an-label-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.an-label-row.center {
    justify-content: center;
}

.an-label-line {
    width: 32px;
    height: 1px;
    background: var(--an-gold);
    flex-shrink: 0;
}

.an-label-text {
    color: var(--an-gold);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase !important;
    font-weight: 500;
    font-family: var(--an-font-sans) !important;
}

/* ────────────────────────────────────────────
   SECTION 1 — HERO
──────────────────────────────────────────── */
.an-hero {
    position: relative;
    min-height: 100vh;
    padding-bottom: 12vh;
    /* Offsets centering so text sits higher, matching the reference vertical alignment */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--an-navy);
}

.an-hero__bg {
    position: absolute;
    inset: 0;
    background: url('../images/about-new/hero-bg.png') center/cover no-repeat;
}

.an-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Hero overlay from reference page - brighter to show house */
    background: linear-gradient(180deg, rgba(10, 14, 26, 0.2) 0%, rgba(10, 14, 26, 0.8) 100%),
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(200, 169, 126, 0.1) 0%, transparent 70%);
}

/* Dot grid */
.an-hero__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(200, 169, 126, 0.12) 1px, transparent 0);
    background-size: 44px 44px;
    opacity: 0.5;
    pointer-events: none;
}

.an-hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    text-align: center;
}

.an-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid rgba(200, 169, 126, 0.30);
    background: rgba(200, 169, 126, 0.05);
    backdrop-filter: blur(8px);
    margin-bottom: 32px;
    color: var(--an-gold);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase !important;
    font-weight: 500;
}

.an-hero__badge svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.an-hero__title {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--an-white);
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: var(--an-font-sans);
}

.an-hero__sub {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--an-white-60);
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.an-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.an-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--an-gold) 0%, var(--an-gold-light) 100%);
    color: var(--an-navy);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase !important;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(200, 169, 126, 0.25);
}

.an-btn-primary:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(200, 169, 126, 0.40);
    color: var(--an-navy);
    text-decoration: none;
}

.an-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: 1px solid var(--an-white-20);
    color: var(--an-white);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase !important;
    border-radius: 999px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    background: transparent;
}

.an-btn-outline:hover {
    border-color: rgba(200, 169, 126, 0.5);
    color: var(--an-gold);
    text-decoration: none;
    transform: translateX(2px);
}

.an-btn-primary svg,
.an-btn-outline svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.an-hero__scroll {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.an-hero__scroll-text {
    color: rgba(255, 255, 255, 0.25);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase !important;
}

.an-hero__scroll-pill {
    width: 20px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 4px;
}

@keyframes an-scroll-bob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

.an-hero__scroll-dot {
    width: 4px;
    height: 8px;
    border-radius: 999px;
    background: rgba(200, 169, 126, 0.6);
    animation: an-scroll-bob 2s ease-in-out infinite;
}

/* ────────────────────────────────────────────
   SECTION 2 — WHO WE ARE
──────────────────────────────────────────── */
.an-about {
    background: var(--an-navy);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.an-about__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(200, 169, 126, 0.15) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.04;
    pointer-events: none;
}

.an-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

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

.an-about__img-wrap {
    position: relative;
}

.an-about__img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
}

.an-about__img-deco-br {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 96px;
    height: 96px;
    border: 2px solid rgba(200, 169, 126, 0.20);
    border-radius: 16px;
    pointer-events: none;
}

.an-about__img-deco-tl {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 64px;
    height: 64px;
    border: 2px solid rgba(200, 169, 126, 0.10);
    border-radius: 12px;
    pointer-events: none;
}

.an-about__content h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--an-white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.an-about__content p {
    color: var(--an-white-60);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.an-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    margin-top: 40px;
}

.an-stat__num {
    color: var(--an-gold);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1;
}

.an-stat__label {
    color: var(--an-white-40);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase !important;
    font-family: var(--an-font-sans) !important;
}

/* ────────────────────────────────────────────
   SECTION 3 — HOSPITALITY SYSTEMS (4-col cards)
──────────────────────────────────────────── */
.an-systems {
    background: var(--an-navy-light);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.an-systems::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/about-new/hospitality-bg.png') center/cover no-repeat;
    opacity: 0.08;
    pointer-events: none;
}

.an-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.an-section-header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--an-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.an-section-header p {
    color: var(--an-white-60);
    font-size: 1.05rem;
    line-height: 1.7;
}

.an-cards-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.an-card {
    background: rgba(10, 14, 26, 0.6);
    border: 1px solid var(--an-white-05);
    border-radius: 16px;
    padding: 28px;
    backdrop-filter: blur(8px);
    transition: border-color 0.35s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.an-card:hover {
    border-color: rgba(200, 169, 126, 0.20);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.an-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(200, 169, 126, 0.10), rgba(200, 169, 126, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.an-card:hover .an-card__icon {
    background: linear-gradient(135deg, rgba(200, 169, 126, 0.22), rgba(200, 169, 126, 0.10));
}

.an-card__icon svg {
    width: 20px;
    height: 20px;
    color: var(--an-gold);
    stroke: var(--an-gold);
}

.an-card__title {
    color: var(--an-white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.an-card:hover .an-card__title {
    color: var(--an-gold-light);
}

.an-card__desc {
    color: var(--an-white-40);
    font-size: 0.85rem;
    line-height: 1.65;
    flex: 1;
}

.an-footer-note {
    text-align: center;
    margin-top: 48px;
}

.an-note-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid rgba(200, 169, 126, 0.15);
    background: rgba(200, 169, 126, 0.05);
}

.an-note-pill svg {
    width: 16px;
    height: 16px;
    stroke: var(--an-gold);
    flex-shrink: 0;
}

.an-note-pill p {
    color: var(--an-white-40);
    font-size: 0.85rem;
    margin: 0;
}

/* ────────────────────────────────────────────
   SECTION 4 — TECHNOLOGY (5-col icon cards)
──────────────────────────────────────────── */
.an-tech {
    background: var(--an-navy);
    padding: 96px 0;
}

.an-cards-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.an-card-center {
    background: linear-gradient(180deg, rgba(26, 41, 66, 0.8) 0%, rgba(10, 14, 26, 0.8) 100%);
    border: 1px solid var(--an-white-05);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: border-color 0.35s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.an-card-center:hover {
    border-color: rgba(200, 169, 126, 0.20);
    transform: translateY(-4px);
}

.an-card-center .an-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin: 0 auto 20px;
}

.an-card-center .an-card__icon svg {
    width: 28px;
    height: 28px;
}

.an-card-center .an-card__title {
    font-size: 0.9rem;
    text-align: center;
}

.an-card-center .an-card__desc {
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
}

/* ────────────────────────────────────────────
   SECTION 5 — MORE THAN SHORT-TERM (list rows)
──────────────────────────────────────────── */
.an-more {
    background: var(--an-navy-light);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.an-more::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: url('../images/about-new/services-bg.png') center/cover no-repeat;
    opacity: 0.05;
    pointer-events: none;
}

.an-more__header {
    max-width: 700px;
    margin-bottom: 56px;
}

.an-more__header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--an-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.an-more__header p {
    color: var(--an-white-60);
    font-size: 1.05rem;
    line-height: 1.7;
}

.an-row-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.an-row-card {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 28px 32px;
    background: rgba(10, 14, 26, 0.6);
    border: 1px solid var(--an-white-05);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    transition: border-color 0.35s ease, transform 0.3s ease;
}

.an-row-card:hover {
    border-color: rgba(200, 169, 126, 0.15);
    transform: translateX(4px);
}

.an-row-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(200, 169, 126, 0.15), rgba(200, 169, 126, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.an-row-card:hover .an-row-card__icon {
    background: linear-gradient(135deg, rgba(200, 169, 126, 0.25), rgba(200, 169, 126, 0.10));
}

.an-row-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--an-gold);
}

.an-row-card__body {
    flex: 1;
}

.an-row-card__title {
    color: var(--an-white);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.an-row-card:hover .an-row-card__title {
    color: var(--an-gold-light);
}

.an-row-card__desc {
    color: var(--an-white-40);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
}

.an-row-card__arrow {
    display: flex;
    align-items: center;
    align-self: center;
    flex-shrink: 0;
}

.an-row-card__arrow svg {
    width: 20px;
    height: 20px;
    stroke: rgba(255, 255, 255, 0.10);
    transition: all 0.3s ease;
}

.an-row-card:hover .an-row-card__arrow svg {
    stroke: rgba(200, 169, 126, 0.50);
    transform: translateX(4px);
}

/* ────────────────────────────────────────────
   SECTION 6 — PROPERTY OPTIMIZATION (3-col)
──────────────────────────────────────────── */
.an-optimize {
    background: var(--an-navy);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.an-optimize::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 40px;
    width: 256px;
    height: 256px;
    border-radius: 50%;
    background: rgba(200, 169, 126, 0.02);
    filter: blur(64px);
    pointer-events: none;
}

.an-optimize::after {
    content: '';
    position: absolute;
    bottom: 80px;
    right: 40px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(200, 169, 126, 0.02);
    filter: blur(64px);
    pointer-events: none;
}

.an-cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.an-card-badge {
    background: linear-gradient(135deg, rgba(26, 41, 66, 0.6) 0%, rgba(10, 14, 26, 0.6) 100%);
    border: 1px solid var(--an-white-05);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.35s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.an-card-badge:hover {
    border-color: rgba(200, 169, 126, 0.20);
    transform: translateY(-4px);
}

.an-card-badge::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 169, 126, 0), transparent);
    transition: background 0.5s ease;
}

.an-card-badge:hover::after {
    background: linear-gradient(90deg, transparent, rgba(200, 169, 126, 0.30), transparent);
}

.an-card-badge__tag {
    position: absolute;
    top: 24px;
    right: 24px;
    color: rgba(200, 169, 126, 0.40);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase !important;
    font-weight: 500;
}

.an-card-badge .an-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.an-card-badge .an-card__icon svg {
    width: 24px;
    height: 24px;
}

.an-card-badge .an-card__title {
    font-size: 1.05rem;
}

.an-card-badge .an-card__desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ────────────────────────────────────────────
   SECTION 7 — CONTACT CTA
──────────────────────────────────────────── */
.an-contact {
    background: var(--an-navy-light);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.an-contact::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(200, 169, 126, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.an-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.an-contact__left h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--an-white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.an-contact__left p {
    color: var(--an-white-60);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.an-contact__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.an-contact__info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--an-white-60);
    font-size: 0.9rem;
}

.an-contact__info-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--an-gold);
    flex-shrink: 0;
}

.an-contact__right {
    background: rgba(10, 14, 26, 0.5);
    border: 1px solid var(--an-white-05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(12px);
}

.an-contact__right h3 {
    color: var(--an-white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.an-form-group {
    margin-bottom: 20px;
}

.an-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.an-form-label {
    display: block;
    color: var(--an-white-60);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase !important;
    margin-bottom: 8px;
    font-weight: 500;
}

.an-form-input,
.an-form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    color: var(--an-white);
    font-size: 0.9rem;
    font-family: var(--an-font-sans);
    transition: border-color 0.3s ease, background 0.3s ease;
    outline: none;
}

.an-form-input::placeholder,
.an-form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.an-form-input:focus,
.an-form-textarea:focus {
    border-color: rgba(200, 169, 126, 0.40);
    background: rgba(200, 169, 126, 0.04);
}

.an-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.an-form-submit {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--an-gold) 0%, var(--an-gold-light) 100%);
    color: var(--an-navy);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--an-font-sans);
}

.an-form-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(200, 169, 126, 0.35);
}

.an-form-submit svg {
    width: 16px;
    height: 16px;
}

/* ────────────────────────────────────────────
   CTA SECTION
──────────────────────────────────────────── */
.an-cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    text-align: center;
}

.an-cta__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/cta.png') center/cover no-repeat;
    z-index: -2;
}

.an-cta__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 14, 26, 0.9) 0%, rgba(10, 14, 26, 0.7) 50%, rgba(10, 14, 26, 0.9) 100%);
    z-index: -1;
}

/* ────────────────────────────────────────────
   ENTRANCE ANIMATIONS
──────────────────────────────────────────── */
@keyframes an-fade-up {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes an-fade-left {
    from {
        opacity: 0;
        transform: translateX(-32px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes an-fade-right {
    from {
        opacity: 0;
        transform: translateX(32px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.an-animate {
    opacity: 0;
}

.an-animate.an-visible {
    animation: an-fade-up 0.7s ease forwards;
}

.an-animate-left.an-visible {
    animation: an-fade-left 0.7s ease forwards;
}

.an-animate-right.an-visible {
    animation: an-fade-right 0.7s ease forwards;
}

/* Stagger children */
.an-stagger .an-card:nth-child(1),
.an-stagger .an-card-center:nth-child(1),
.an-stagger .an-card-badge:nth-child(1),
.an-stagger .an-row-card:nth-child(1) {
    animation-delay: 0.05s;
}

.an-stagger .an-card:nth-child(2),
.an-stagger .an-card-center:nth-child(2),
.an-stagger .an-card-badge:nth-child(2),
.an-stagger .an-row-card:nth-child(2) {
    animation-delay: 0.12s;
}

.an-stagger .an-card:nth-child(3),
.an-stagger .an-card-center:nth-child(3),
.an-stagger .an-card-badge:nth-child(3),
.an-stagger .an-row-card:nth-child(3) {
    animation-delay: 0.19s;
}

.an-stagger .an-card:nth-child(4),
.an-stagger .an-card-center:nth-child(4),
.an-stagger .an-row-card:nth-child(4) {
    animation-delay: 0.26s;
}

.an-stagger .an-card:nth-child(5),
.an-stagger .an-card-center:nth-child(5),
.an-stagger .an-row-card:nth-child(5) {
    animation-delay: 0.33s;
}

.an-stagger .an-card:nth-child(6),
.an-stagger .an-row-card:nth-child(6) {
    animation-delay: 0.40s;
}

.an-stagger .an-card:nth-child(7) {
    animation-delay: 0.47s;
}

.an-stagger .an-card:nth-child(8) {
    animation-delay: 0.54s;
}

/* ────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────── */
@media (max-width: 1100px) {
    .an-cards-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .an-cards-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .an-about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .an-about__img {
        height: 360px;
    }

    .an-cards-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .an-container {
        padding: 0 20px;
    }

    .an-about,
    .an-systems,
    .an-tech,
    .an-more,
    .an-optimize,
    .an-contact {
        padding: 64px 0;
    }

    .an-cards-4,
    .an-cards-3 {
        grid-template-columns: 1fr;
    }

    .an-cards-5 {
        grid-template-columns: 1fr 1fr;
    }

    .an-row-card {
        flex-direction: column;
        gap: 16px;
    }

    .an-row-card__arrow {
        display: none;
    }

    .an-contact__right {
        padding: 24px;
    }

    .an-form-row {
        grid-template-columns: 1fr;
    }

    .an-stats {
        grid-template-columns: 1fr 1fr;
    }

    .an-hero {
        min-height: 75vh;
    }

    .an-hero__badge {
        font-size: 10px;
        padding: 6px 16px;
    }

    .an-about__img-deco-br,
    .an-about__img-deco-tl {
        display: none;
    }
}

@media (max-width: 400px) {
    .an-cards-5 {
        grid-template-columns: 1fr;
    }
}