/* File: wp-content/themes/log-core/assets/css/log-contact.css */
/* Replaces: old .cu-hero version — complete redesign */
/* Depends on: design-tokens.css (--plum-*, --sage-*, --paper, --ink-*, etc.) */
/* Fonts: Cormorant Garamond + Manrope */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ── Page background ── */
body.page-id-1361,
body.page-id-1361 .site,
body.page-id-1361 .site-content {
    background: var(--paper) !important;
}

/* ── Keyframes ── */
@keyframes log-co-heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes log-co-pulseDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }
@keyframes log-co-floatIll { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes log-co-popIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
@keyframes log-co-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ═══════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════ */
.log-co-hero-section {
    position: relative;
    background: linear-gradient(135deg, #fdfaf7 0%, #f4ede8 50%, #efe6f0 100%);
    overflow: hidden;
    min-height: 520px;
    display: flex;
    flex-direction: column;
}

.log-co-hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.log-co-hero-blob-a {
    width: 520px; height: 520px;
    background: rgba(29, 219, 149, .12);
    filter: blur(100px);
    top: -120px; left: -80px;
}

.log-co-hero-blob-b {
    width: 380px; height: 380px;
    background: rgba(122, 31, 110, .07);
    filter: blur(90px);
    bottom: -60px; right: 0;
}

/* Top bar */
.log-co-hero-topbar {
    position: relative; z-index: 5;
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 10px;
    padding: 28px 88px 0;
    animation: log-co-heroIn .6s var(--ease) forwards;
}

.log-co-h-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 12.5px; font-weight: 600; color: var(--gray-600);
}

.log-co-h-breadcrumb a { color: var(--gray-600); transition: color .2s; }
.log-co-h-breadcrumb a:hover { color: var(--plum-700); }
.log-co-h-breadcrumb .log-co-h-sep { font-size: 10px; }
.log-co-h-breadcrumb .log-co-h-cur { color: var(--plum-700); font-weight: 700; }

.log-co-hero-live {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(29, 219, 149, .12);
    border: 1px solid rgba(29, 219, 149, .35);
    border-radius: var(--r-pill);
    padding: 7px 15px;
    color: var(--sage-700); font-size: 12px; font-weight: 700;
}

.log-co-live-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--sage-500);
    animation: log-co-pulseDot 1.4s ease-in-out infinite;
}

/* Hero split body */
.log-co-hero-body {
    position: relative; z-index: 4;
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: flex-start; flex: 1;
    padding: 22px 88px 64px;
}

.log-co-hero-text { padding-top: 24px; }

.log-co-hero-kicker {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 11px; font-weight: 800; letter-spacing: .15em;
    text-transform: uppercase; color: var(--sage-600); margin-bottom: 18px;
    animation: log-co-heroIn .6s var(--ease) .1s forwards;
}

.log-co-hero-kicker::before {
    content: ''; width: 18px; height: 2px; background: var(--sage-600);
}

.log-co-hero-text h1 {
    font-family: var(--display); font-weight: 700;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.08; letter-spacing: -.02em; color: var(--ink-900);
    animation: log-co-heroIn .7s var(--ease) .18s forwards;
}

.log-co-hero-text h1 em { font-style: italic; color: var(--plum-700); }

.log-co-hero-text p {
    font-size: 15px; line-height: 1.74; color: var(--gray-600);
    max-width: 440px; margin-top: 16px;
    animation: log-co-heroIn .7s var(--ease) .28s forwards;
}

.log-co-hero-chips {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px;
    animation: log-co-heroIn .7s var(--ease) .36s forwards;
}

.log-co-h-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--r-pill);
    padding: 7px 14px;
    font-size: 12px; font-weight: 700; color: var(--ink-700);
    box-shadow: var(--shadow-sm);
}

.log-co-h-chip .icon { width: 12px; height: 12px; color: var(--sage-600); }

.log-co-hero-btns {
    display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px;
    animation: log-co-heroIn .7s var(--ease) .44s forwards;
}

.log-co-hbtn-primary {
    display: inline-flex; align-items: center; gap: 9px;
    background: linear-gradient(135deg, var(--plum-700), var(--plum-800));
    color: #fff; font-weight: 700; font-size: 13.5px;
    padding: 14px 26px; border-radius: var(--r-pill);
    transition: all .25s var(--ease); text-decoration: none;
}

.log-co-hbtn-primary:hover {
    background: linear-gradient(135deg, var(--plum-600), var(--plum-700));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(122, 31, 110, .35);
}

.log-co-hbtn-primary .icon { width: 15px; height: 15px; }

.log-co-hbtn-ghost {
    display: inline-flex; align-items: center; gap: 9px;
    border: 1.5px solid var(--ink-900);
    color: var(--ink-900); font-weight: 700; font-size: 13.5px;
    padding: 14px 26px; border-radius: var(--r-pill);
    transition: all .25s var(--ease); text-decoration: none;
}

.log-co-hbtn-ghost:hover { background: var(--ink-900); color: #fff; }
.log-co-hbtn-ghost .icon { width: 15px; height: 15px; }

/* ── Reveal animations ── */
.log-co-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.log-co-reveal.log-co-in { opacity: 1; transform: translateY(0); }
