/* ==========================================================
   global.css — Blisp Textile shared styles
   Extracted from repeated <style> blocks across all EJS pages.
   Included via views/partials/head.ejs
   ========================================================== */

/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== CUSTOM PROPERTIES ===== */
:root {
    --gold: #D4AF37;
    --gold-start: #D4AF37;
    --gold-light: #E8D070;
    --gold-dim: rgba(212, 175, 55, 0.15);
    --ivory: #FAF8F3;
    --dark: #0D0D0D;
    --dark-2: #141414;
    --dark-3: #1C1C1C;
    --navy: #002D56;
    --text-gray: #666666;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --container: 1240px;
    --border: rgba(0, 0, 0, 0.07);
}

/* ===== BASE ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--ivory);
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ===== LAYOUT ===== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== PILL LABEL ===== */
.pill-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-dim);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.pill-label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

/* ===== SECTION DEFAULTS ===== */
.section-eyebrow {
    text-align: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.section-sub {
    text-align: center;
    color: #777;
    font-size: 1rem;
    max-width: 620px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

/* ===== HERO SHARED ELEMENTS ===== */
.hero-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), transparent);
    opacity: 0.5;
    z-index: 3;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(250, 248, 243, 0.84) 0%,
        rgba(250, 248, 243, 0.62) 55%,
        rgba(250, 248, 243, 0.35) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 0 24px;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 600;
    color: var(--dark);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.hero-content h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero-content p {
    font-size: clamp(0.95rem, 1.3vw, 1.08rem);
    color: var(--text-gray);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #fff;
    padding: 14px 38px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s var(--ease);
    box-shadow: 0 6px 24px rgba(201, 168, 76, 0.3);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(201, 168, 76, 0.45);
}

.hero-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.hero-cta:hover svg {
    transform: translateX(3px);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 140px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 50%, rgba(212, 175, 55, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 50%, rgba(91, 141, 239, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

.cta-section h2 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 22px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.cta-section h2 em {
    font-style: italic;
    color: var(--gold-light);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.05rem;
    margin-bottom: 48px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark);
    padding: 18px 52px;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.35s var(--ease);
    box-shadow: 0 0 60px rgba(201, 168, 76, 0.2);
}

.btn-cta-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 80px rgba(201, 168, 76, 0.4);
}

.btn-cta-outline {
    color: rgba(255, 255, 255, 0.65);
    padding: 18px 48px;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: all 0.35s var(--ease);
}

.btn-cta-outline:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

.btn-cta-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--dark);
    color: #fff;
    padding: 15px 40px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s var(--ease);
}

.btn-cta-dark:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== UTILITY ===== */
.hidden {
    display: none !important;
}
