/**
 * Herb Whisperer — Inner Page Styles
 *
 * Shared styles for page templates: page hero, steps, contact sidebar,
 * info boxes, and other components used across inner pages.
 *
 * Enqueued in functions.php via hw_enqueue_assets().
 *
 * @package HerbWhisperer
 */

/* ══════════════════════════════════════════════
   Page Hero (shorter version of homepage hero)
   ══════════════════════════════════════════════ */

.hw-page-hero {
    background: linear-gradient(
        170deg,
        rgba(0, 110, 44, 0.95) 0%,
        rgba(0, 145, 58, 0.9) 50%,
        rgba(132, 167, 41, 0.4) 100%
    );
    color: var(--hw-white);
    text-align: center;
    padding: var(--hw-space-2xl) var(--hw-space-lg);
    position: relative;
    overflow: hidden;
}

.hw-page-hero-short {
    padding: var(--hw-space-xl) var(--hw-space-lg);
}

.hw-page-hero-content {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hw-page-hero h1 {
    font-family: var(--hw-font-heading);
    color: var(--hw-white);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: var(--hw-space-sm);
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hw-page-hero p {
    font-size: 1.05rem;
    opacity: 0.88;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.hw-page-hero .hw-hero-eyebrow {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .hw-page-hero {
        padding: var(--hw-space-xl) var(--hw-space-md);
    }
    .hw-page-hero-short {
        padding: var(--hw-space-lg) var(--hw-space-md);
    }
    .hw-page-hero h1 {
        font-size: 1.75rem;
    }
}


/* ══════════════════════════════════════════════
   Steps (numbered process steps)
   ══════════════════════════════════════════════ */

.hw-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--hw-space-lg);
    text-align: center;
}

@media (max-width: 768px) {
    .hw-steps {
        grid-template-columns: 1fr;
        gap: var(--hw-space-md);
    }
}

.hw-step {
    padding: var(--hw-space-lg);
}

.hw-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--hw-green);
    color: var(--hw-white);
    font-family: var(--hw-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--hw-space-md);
}

.hw-step h3 {
    font-family: var(--hw-font-ui);
    font-size: 1rem;
    font-weight: 700;
    color: var(--hw-brown);
    margin-bottom: var(--hw-space-sm);
}

.hw-step p {
    font-size: 0.9rem;
    color: var(--hw-text-light);
    line-height: 1.6;
    margin: 0;
}


/* ══════════════════════════════════════════════
   Contact Sidebar
   ══════════════════════════════════════════════ */

.hw-contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--hw-space-lg);
}

.hw-contact-card {
    background: var(--hw-bg-cream);
    border-radius: var(--hw-radius-md);
    padding: var(--hw-space-lg) 1.5rem;
}

.hw-contact-card h3 {
    font-family: var(--hw-font-ui);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hw-brown);
    margin-bottom: var(--hw-space-md);
}

.hw-contact-card h4 {
    font-family: var(--hw-font-ui);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--hw-brown);
    margin-bottom: var(--hw-space-sm);
}

.hw-contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: var(--hw-space-md);
    color: var(--hw-text-light);
}

.hw-contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--hw-green);
}

.hw-contact-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.hw-contact-item a {
    color: var(--hw-green);
    font-weight: 500;
}

.hw-contact-divider {
    height: 1px;
    background: rgba(117, 81, 38, 0.12);
    margin: var(--hw-space-md) 0;
}

.hw-contact-social {
    display: flex;
    gap: 0.5rem;
    margin-bottom: var(--hw-space-sm);
}

.hw-contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--hw-white);
    color: var(--hw-green);
    transition: background 0.2s ease, color 0.2s ease;
}

.hw-contact-social a:hover {
    background: var(--hw-green);
    color: var(--hw-white);
}

.hw-contact-note {
    font-size: 0.85rem;
    color: var(--hw-text-light);
    line-height: 1.6;
    margin: 0;
}

.hw-contact-fallback {
    padding: var(--hw-space-lg);
    background: var(--hw-bg-cream);
    border-radius: var(--hw-radius-md);
    text-align: center;
}

.hw-email-link {
    font-size: 1.1rem;
    font-weight: 600;
}


/* ══════════════════════════════════════════════
   Info Box (disclaimers, notes)
   ══════════════════════════════════════════════ */

.hw-info-box {
    background: var(--hw-bg-warm);
    border-left: 4px solid var(--hw-gold, #F2C867);
    border-radius: 0 var(--hw-radius-sm) var(--hw-radius-sm) 0;
    padding: var(--hw-space-lg) 1.5rem;
}

.hw-info-box h3 {
    font-family: var(--hw-font-ui);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--hw-brown);
    margin-bottom: var(--hw-space-sm);
}

.hw-info-box p {
    font-size: 0.9rem;
    color: var(--hw-text-light);
    line-height: 1.6;
    margin: 0;
}
