/* ============================================================
   Ancordi — Home
   ============================================================ */

.home-hero {
    position: relative;
    min-height: calc(100vh - var(--a-header-h));
    display: flex; align-items: center;
    padding: 90px 24px;
    background: var(--a-navy) url('../img/hosting2-home-slider-bg.jpg') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}
.home-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(0, 3, 42, .88) 0%, rgba(24, 13, 91, .72) 45%, rgba(0, 3, 42, .48) 100%);
}

.home-hero__inner { position: relative; z-index: 1; max-width: var(--a-max); margin: 0 auto; width: 100%; }

.home-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--a-font-head);
    font-size: 12px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
    color: var(--a-accent);
    margin-bottom: 28px;
}
.home-hero__eyebrow::before { content: ''; width: 42px; height: 1px; background: var(--a-accent); }

.home-hero h1 {
    font-family: var(--a-font-head);
    font-size: clamp(2.4rem, 5.4vw, 4.4rem);
    font-weight: 700; line-height: 1.12; color: #fff;
    letter-spacing: -.01em;
    margin-bottom: 26px;
}
.home-hero h1 span { display: block; }
.home-hero h1 .is-accent {
    color: var(--a-accent);
    font-weight: 300;
    letter-spacing: .14em;
    font-size: clamp(1.1rem, 2.2vw, 1.9rem);
    margin-top: 14px;
}

.home-hero__lead {
    max-width: 640px;
    font-size: 16px; line-height: 2; color: rgba(255, 255, 255, .78);
    margin-bottom: 42px;
}

.btn-accent {
    display: inline-block;
    padding: 16px 40px;
    background: var(--a-accent); color: #fff;
    font-family: var(--a-font-head);
    font-size: 13.5px; font-weight: 600; letter-spacing: .06em;
    text-decoration: none; border: 2px solid var(--a-accent); border-radius: 5px;
    transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-accent:hover {
    background: var(--a-accent-dark); border-color: var(--a-accent-dark);
    transform: translateY(-2px); box-shadow: 0 10px 28px rgba(1, 221, 210, .32);
}

.btn-ghost-light {
    display: inline-block;
    padding: 16px 38px;
    color: #fff; border: 2px solid rgba(255, 255, 255, .35); border-radius: 5px;
    font-family: var(--a-font-head);
    font-size: 13.5px; font-weight: 600; letter-spacing: .06em;
    text-decoration: none;
    transition: border-color .25s ease, background .25s ease;
}
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.home-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   SERVICES
   ============================================================ */

.home-services { padding: 104px 24px 84px; background: #fff; }
.home-services__inner { max-width: var(--a-max); margin: 0 auto; }

.section-heading { text-align: center; margin-bottom: 62px; }
.section-heading h2 {
    font-family: var(--a-font-head);
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
    font-weight: 600; color: var(--a-heading); line-height: 1.25;
}
.section-heading p { margin: 16px auto 0; max-width: 620px; font-size: 15px; line-height: 1.95; }

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

.service-card {
    display: block;
    padding: 40px 34px;
    background: #fff;
    border: 1px solid var(--a-line);
    border-radius: 6px;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(0, 3, 42, .1);
    border-color: transparent;
}
.service-card__icon { width: 64px; height: 64px; object-fit: contain; margin-bottom: 24px; }
.service-card h3 {
    font-family: var(--a-font-head);
    font-size: 19px; font-weight: 600; color: var(--a-heading);
    margin-bottom: 12px;
}
.service-card p { font-size: 14px; line-height: 1.9; color: var(--a-text); }
.service-card__more {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 20px;
    font-family: var(--a-font-head);
    font-size: 13px; font-weight: 600; color: var(--a-accent);
}
.service-card__more::after { content: '→'; transition: transform .25s ease; }
.service-card:hover .service-card__more::after { transform: translateX(5px); }

/* ============================================================
   FEATURE SECTIONS
   ============================================================ */

.feature {
    padding: 100px 24px;
    position: relative;
}
.feature__inner {
    max-width: var(--a-max); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.feature__media { display: flex; align-items: center; justify-content: center; }
.feature__media img { width: 100%; max-width: 520px; }

.feature h3 {
    font-family: var(--a-font-head);
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 600; line-height: 1.4; color: var(--a-heading);
    margin-bottom: 22px;
}
.feature p { font-size: 15px; line-height: 2.05; margin-bottom: 16px; }
.feature p:last-of-type { margin-bottom: 0; }
.feature .btn-accent { margin-top: 32px; }

/* dark variant */
.feature--dark {
    background: var(--a-dark);
    color: rgba(255, 255, 255, .72);
}
.feature--dark h3 { color: #fff; }
.feature--dark p { color: rgba(255, 255, 255, .72); }

.feature--dark .feature__decor {
    position: absolute; left: 0; right: 0; height: 60px;
    background-repeat: repeat-x; background-position: center;
    pointer-events: none;
}
.feature__decor--top { top: -1px; background-image: url('../img/hosting2-home-top-decor.png'); }
.feature__decor--bottom { bottom: -1px; background-image: url('../img/hosting2-home-bottom-decor.png'); }

/* reversed column order */
.feature--reverse .feature__media { order: -1; }

/* ============================================================
   CTA STRIP
   ============================================================ */

.home-cta {
    padding: 84px 24px;
    background: var(--a-navy);
    text-align: center;
}
.home-cta__inner { max-width: 760px; margin: 0 auto; }
.home-cta h2 {
    font-family: var(--a-font-head);
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    font-weight: 600; color: #fff; margin-bottom: 18px; line-height: 1.3;
}
.home-cta p { color: rgba(255, 255, 255, .6); font-size: 15px; line-height: 1.95; margin-bottom: 36px; }
.home-cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
    .service-cards { grid-template-columns: 1fr; gap: 24px; }
    .feature__inner { grid-template-columns: 1fr; gap: 44px; }
    .feature--reverse .feature__media { order: 0; }
    .feature { padding: 74px 22px; }
    .home-services { padding: 74px 22px 60px; }
}

@media (max-width: 640px) {
    .home-hero { padding: 64px 22px; min-height: 0; }
    .home-hero__actions .btn-accent,
    .home-hero__actions .btn-ghost-light { width: 100%; text-align: center; }
}
