/* =========================================================
   Ascot Graphics — Home page CSS (prefix: ah-)
   ========================================================= */

/* ---------- Hero (full-bleed background image with overlay) ---------- */
.ah-hero {
    position: relative;
    min-height: clamp(560px, 78vh, 780px);
    padding: clamp(9rem, 15vw, 12rem) 0 clamp(4rem, 8vw, 6rem);
    overflow: hidden;
    display: flex;
    align-items: center;
    isolation: isolate;
}
.ah-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.ah-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ah-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(61, 43, 36, 0.55) 0%, rgba(42, 29, 24, 0.75) 100%),
        radial-gradient(ellipse at 30% 45%, rgba(42, 29, 24, 0.15) 0%, transparent 60%);
}
.ah-hero__inner {
    width: 100%;
    position: relative;
    z-index: 1;
}
.ah-hero__content {
    max-width: 720px;
    color: var(--white);
}
.ah-hero__content .section__eyebrow {
    color: var(--white);
    opacity: 0.85;
}
.ah-hero__title {
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 24px rgba(42, 29, 24, 0.3);
}
.ah-hero__title::after {
    content: "";
    display: block;
    width: 68px;
    height: 4px;
    background: var(--brand);
    margin-top: 1.5rem;
    border-radius: 2px;
}
.ah-hero__lead {
    font-size: 1.15rem;
    color: var(--white);
    max-width: 56ch;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 0 1px 12px rgba(42, 29, 24, 0.3);
}
.ah-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ---------- Offer card ---------- */
.ah-offer {
    padding-block: clamp(2rem, 4vw, 3.5rem);
}
.ah-offer__card {
    background: var(--charcoal);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(2.25rem, 4.5vw, 3.5rem);
    position: relative;
    overflow: hidden;
}
.ah-offer__card::before {
    content: "";
    position: absolute;
    top: -40px; right: -40px;
    width: 200px; height: 200px;
    background: var(--brand);
    border-radius: 50%;
    opacity: 0.15;
}
.ah-offer__body {
    position: relative;
    z-index: 1;
    max-width: 62ch;
}
.ah-offer__eyebrow {
    color: var(--brand);
    margin-bottom: 0.85rem;
}
.ah-offer__title {
    color: var(--white);
    margin-bottom: 0.85rem;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    letter-spacing: -0.01em;
}
.ah-offer__body p {
    color: var(--on-charcoal);
    margin-bottom: 1.5rem;
}

/* ---------- Services grid ---------- */
.ah-services__head {
    text-align: center;
    max-width: 60ch;
    margin: 0 auto 3.5rem;
}
.ah-services__head .section__lead { margin-inline: auto; }
.ah-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.ah-service {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 0.5px solid var(--grey-line);
    transition: all 0.25s var(--ease);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.ah-service:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand);
    color: inherit;
}
.ah-service:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
}
.ah-service__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--tint);
}
.ah-service__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}
.ah-service:hover .ah-service__media img {
    transform: scale(1.04);
}
.ah-service__body {
    padding: 1.5rem 1.75rem 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ah-service__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1rem;
    margin-top: -2.75rem;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
}
.ah-service h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s var(--ease);
}
.ah-service:hover h3 {
    color: var(--brand);
}
.ah-service p {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0;
}
.ah-services__cta {
    text-align: center;
    margin-top: 3rem;
}

/* ---------- About split ---------- */
.ah-about__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: center;
}
.ah-about__media {
    max-width: 460px;
    margin: 0 auto;
    position: relative;
    padding: 0 1.25rem 1.25rem 0;
}
.ah-about__media::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    background: var(--brand);
    border-radius: var(--radius-lg);
    z-index: 0;
}
.ah-about__media::after {
    content: "";
    position: absolute;
    top: 1.25rem;
    left: -1.25rem;
    width: 55%;
    height: 55%;
    background: var(--tint);
    border-radius: var(--radius-lg);
    z-index: 0;
}
.ah-about__media img {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    aspect-ratio: 5 / 4;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    width: 100%;
    filter: saturate(1.15) contrast(1.05);
}
.ah-about__content h2 { margin-bottom: 1rem; }
.ah-about__content p {
    color: var(--muted);
    margin-bottom: 1rem;
    line-height: 1.65;
}

/* ---------- Christmas gift feature ---------- */
.ah-gift {
    padding-block: clamp(4rem, 7vw, 5.5rem);
    background:
        linear-gradient(180deg, var(--charcoal) 0%, #4A3529 100%);
}
.ah-gift__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.ah-gift__content h2 {
    margin-bottom: 1rem;
    color: var(--white);
}
.ah-gift__content p {
    color: var(--on-charcoal);
    margin-bottom: 1.25rem;
    line-height: 1.65;
    max-width: 46ch;
}
.ah-gift__prices {
    list-style: none;
    margin: 1.75rem 0 1rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 3rem;
    justify-content: start;
}
.ah-gift__prices li {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    line-height: 1.1;
}
.ah-gift__prices li strong {
    display: block;
    color: var(--white);
    font-size: 2.25rem;
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}
.ah-gift__prices li span {
    color: var(--on-charcoal);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    opacity: 0.85;
}
.ah-gift__pp-note {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--on-charcoal);
    font-size: 0.9rem;
    margin-bottom: 1.75rem !important;
    opacity: 0.75;
}
.ah-gift__pp-note i {
    color: var(--brand);
    font-size: 0.85rem;
}
.ah-gift__media {
    max-width: 100%;
    margin: 0;
}
.ah-gift__media img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
    display: block;
}

/* ---------- Testimonial ---------- */
.ah-testimonial {
    padding-block: clamp(4rem, 8vw, 6rem);
    text-align: center;
}
.ah-testimonial__eyebrow {
    margin-bottom: 2rem;
}
.ah-testimonial__quote {
    font-family: var(--font-head);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    line-height: 1.45;
    font-weight: 400;
    margin: 0 auto 2rem;
    max-width: 55ch;
    color: var(--charcoal);
    font-style: italic;
    letter-spacing: -0.005em;
}
.ah-testimonial__attr {
    color: var(--brand);
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ---------- Contact CTA ---------- */
.ah-contact-cta {
    padding-bottom: clamp(4rem, 8vw, 6rem);
}
.ah-contact-cta__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--tint);
    padding: clamp(2rem, 4vw, 3.5rem);
    border-radius: var(--radius-lg);
}
.ah-contact-cta__details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.ah-contact-cta__item {
    background: var(--white);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--charcoal);
    border: 0.5px solid var(--grey-line);
    transition: all 0.2s var(--ease);
}
.ah-contact-cta__item:hover {
    border-color: var(--brand);
    color: var(--charcoal);
    transform: translateX(4px);
}
.ah-contact-cta__item i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.ah-contact-cta__label {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.ah-contact-cta__value {
    font-family: var(--font-head);
    font-size: 1.05rem;
    color: var(--charcoal);
    font-weight: 500;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .ah-hero {
        min-height: clamp(500px, 70vh, 640px);
        padding-top: clamp(7rem, 14vw, 9rem);
    }
    .ah-hero__lead { font-size: 1.05rem; }
    .ah-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ah-about__inner,
    .ah-gift__inner,
    .ah-contact-cta__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .ah-about__media,
    .ah-gift__media {
        order: -1;
        max-width: 380px;
        margin: 0 auto;
    }
    .ah-about__media img { aspect-ratio: 5 / 4; }
    .ah-gift__media img { aspect-ratio: 4 / 5; max-width: 380px; }
    .ah-gift__prices { gap: 1.75rem; }
}

@media (max-width: 640px) {
    .ah-services__grid {
        grid-template-columns: 1fr;
    }
    .ah-hero__actions .btn { flex: 1; }
    .ah-gift__prices { gap: 1rem; }
}
