/* ═══════════════════════════════════════════
   Charlie's Fried Chicken – Contact page
   ═══════════════════════════════════════════ */

.cfc-contact-page {
    --cfc-red: #ff0006;
    --cfc-dark-red: #b0001a;
    --cfc-cream: #f5f0eb;
    --cfc-black: #111111;
    --cfc-white: #ffffff;
    --cfc-grey: #6b6b6b;
    --cfc-line: #ececec;
    --cfc-red-tint: #fff4f4;
    --cfc-red-soft: #ffe3e4;
    --cfc-font-heading: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    --cfc-font-body: Arial, 'Helvetica Neue', Helvetica, sans-serif;

    font-family: var(--cfc-font-body);
    color: var(--cfc-black);
    background: var(--cfc-white);
    padding: 0;
}

.cfc-contact-page *,
.cfc-contact-page *::before,
.cfc-contact-page *::after {
    box-sizing: border-box;
}

.cfc-contact__inner {
    max-width: 940px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem clamp(4rem, 8vw, 7rem);
}

/* ─── Hero banner (full-bleed, same treatment as the FAQ / menu pages) ─── */
.cfc-contact-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: var(--contact-hero-h-desktop, 56vh);
    background-size: cover;
    background-position: center;
    background-color: #1a0606;
    color: var(--contact-hero-color, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.cfc-contact-hero--noimg {
    background-image:
        radial-gradient(120% 120% at 50% 0%, #ff2a30 0%, var(--cfc-red) 45%, var(--cfc-dark-red) 100%);
}

.cfc-contact-hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--contact-hero-tint, #000);
    opacity: var(--contact-hero-tint-alpha, 0.45);
    z-index: 1;
    pointer-events: none;
}

.cfc-contact-hero--noimg .cfc-contact-hero__overlay {
    opacity: 0; /* the gradient already provides contrast */
}

.cfc-contact-hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    padding: clamp(3rem, 8vw, 6rem) 1.5rem;
}

.cfc-contact-hero__eyebrow,
.cfc-contact-hero__title,
.cfc-contact-hero__subtitle {
    color: var(--contact-hero-color, #fff) !important;
}

.cfc-contact-hero__eyebrow {
    display: inline-block;
    font-size: clamp(12px, 1.4vw, 15px);
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
    opacity: 0.92;
    line-height: 1.4;
    animation: cfcContactHeroIn 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s both;
}

.cfc-contact-hero__title {
    font-family: var(--cfc-font-heading);
    font-size: var(--contact-hero-title-size-desktop, clamp(2.75rem, 8vw, 6rem));
    font-weight: 900;
    line-height: 0.92;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0;
    overflow-wrap: anywhere;
    animation: cfcContactHeroIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.18s both;
}

.cfc-contact-hero__subtitle {
    margin: 1.15rem auto 0;
    max-width: 640px;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 500;
    line-height: 1.5;
    opacity: 0.95;
    animation: cfcContactHeroIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.34s both;
}

.cfc-contact-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.7rem;
    padding: 0.85rem 2rem;
    background: #fff;
    color: #111 !important;
    border-radius: 999px;
    font-family: var(--cfc-font-body);
    font-weight: 700;
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease, color 0.18s ease;
    animation: cfcContactHeroIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.5s both;
}

.cfc-contact-hero__cta:hover {
    transform: translateY(-2px);
    background: var(--cfc-red);
    color: #fff !important;
}

.cfc-contact-hero__cta:active {
    transform: translateY(0);
    filter: brightness(0.96);
}

@keyframes cfcContactHeroIn {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: var(--cfc-in-op, 1); transform: translateY(0); }
}

.cfc-contact-hero__eyebrow  { --cfc-in-op: 0.92; }
.cfc-contact-hero__subtitle { --cfc-in-op: 0.95; }

/* ─── Intro block ─── */
.cfc-contact__intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(2.5rem, 5vw, 3.75rem);
}

.cfc-contact__intro-title {
    font-family: var(--cfc-font-heading);
    font-weight: 900;
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0 0 0.9rem;
    color: var(--cfc-black);
}

.cfc-contact__intro-text {
    margin: 0;
    font-size: clamp(1rem, 1.9vw, 1.15rem);
    line-height: 1.6;
    color: #3a3a3a;
}

/* ─── Contact method grid ─── */
.cfc-contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.cfc-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.55rem;
    background: var(--cfc-white);
    border: 1.5px solid var(--cfc-line);
    border-radius: 20px;
    padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.25rem, 3vw, 1.85rem);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cfc-contact-card:hover {
    border-color: rgba(255, 0, 6, 0.35);
    box-shadow: 0 14px 34px -20px rgba(255, 0, 6, 0.5);
    transform: translateY(-3px);
}

.cfc-contact-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 0.35rem;
    border-radius: 50%;
    /* Always solid red with a white glyph — no hover state change. */
    background: var(--cfc-red);
    color: var(--cfc-white);
}

.cfc-contact-card__icon svg {
    width: 26px;
    height: 26px;
}

.cfc-contact-card__title {
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cfc-grey);
}

.cfc-contact-page a.cfc-contact-card__value,
.cfc-contact-page .cfc-contact-card__value {
    font-family: var(--cfc-font-heading);
    font-weight: 800;
    font-size: clamp(1.15rem, 2.6vw, 1.4rem);
    line-height: 1.25;
    color: var(--cfc-red);
    text-decoration: none;
    word-break: break-word;
    transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.cfc-contact-page a.cfc-contact-card__value {
    text-decoration: underline;
    text-decoration-color: rgba(255, 0, 6, 0.35);
    text-underline-offset: 3px;
    /* These Email/Instagram links are the only tap affordances on the page and
       shrink-wrapped to a ~23px-tall line box (the card itself isn't
       clickable). The underline tracks the text, not the box, so growing the
       box to 44px doesn't move anything visually. */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.cfc-contact-page a.cfc-contact-card__value:hover {
    color: var(--cfc-dark-red);
    text-decoration-color: var(--cfc-dark-red);
}

.cfc-contact-card__detail {
    margin: 0.15rem 0 0;
    font-size: clamp(0.9rem, 1.7vw, 1rem);
    line-height: 1.5;
    color: #3a3a3a;
}

/* ─── Entrance animation ─── */
.cfc-contact-anim {
    animation: cfcContactUp 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(0.12s + var(--cfc-i, 0) * 0.09s);
}

@keyframes cfcContactUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .cfc-contact-hero__eyebrow,
    .cfc-contact-hero__title,
    .cfc-contact-hero__subtitle,
    .cfc-contact-hero__cta,
    .cfc-contact-anim {
        animation: none !important;
    }
}

@media (max-width: 720px) {
    .cfc-contact-hero {
        min-height: var(--contact-hero-h-mobile, 44vh);
    }
    /* Mobile blank falls back to the responsive clamp (not the desktop size). */
    .cfc-contact-hero__title {
        font-size: var(--contact-hero-title-size-mobile, clamp(2.75rem, 8vw, 6rem));
    }
}
