/* ============================================
   COMPROMISO — PREMIUM SUSTAINABILITY PAGE
   ============================================ */

/* ── HERO — full-screen dark with floating orbs ─ */
.comp-hero {
    min-height: 100vh;
    background: #050e1c;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 clamp(64px, 8vw, 140px) clamp(60px, 8vh, 100px);
    position: relative;
    overflow: hidden;
}

/* Giant headline BG text */
.comp-hero::before {
    content: 'HAWAYA';
    position: absolute;
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    font-size: clamp(80px, 16vw, 200px);
    color: rgba(67, 160, 71, 0.04);
    bottom: -20px;
    right: 0;
    line-height: 1;
    letter-spacing: -0.05em;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
}

/* Floating orbs */
.comp-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    animation: orbDrift var(--dur, 12s) ease-in-out var(--delay, 0s) infinite alternate;
}

.comp-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(43,160,71,0.18) 0%, transparent 70%);
    top: -100px; right: 10%;
    --dur: 14s; --delay: 0s;
}

.comp-orb-2 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(209,77,70,0.1) 0%, transparent 70%);
    bottom: 10%; left: 5%;
    --dur: 10s; --delay: -5s;
}

.comp-orb-3 {
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(129,199,132,0.12) 0%, transparent 70%);
    top: 30%; left: 35%;
    --dur: 18s; --delay: -3s;
}

@keyframes orbDrift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(30px, 20px) scale(1.1); }
}

.comp-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 960px;
}

.comp-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #66BB6A;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUpComp 0.8s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
}

.comp-hero-eyebrow::before {
    content: '';
    width: 32px; height: 1.5px;
    background: #66BB6A;
}

.comp-hero h1 {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    font-size: clamp(3.5rem, 8vw, 8rem);
    color: white;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeUpComp 0.9s cubic-bezier(0.16,1,0.3,1) 0.35s forwards;
}

.comp-hero h1 em {
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: 2px #66BB6A;
}

.comp-hero p {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: rgba(255,255,255,0.45);
    max-width: 540px;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0;
    animation: fadeUpComp 0.9s cubic-bezier(0.16,1,0.3,1) 0.5s forwards;
}

/* Scroll hint — hidden */
.comp-scroll-hint {
    display: none;
}

/* ── PILLARS — asymmetric bento grid ─────────── */
.comp-pillars {
    background: var(--blush);
    padding: clamp(80px, 10vh, 120px) clamp(24px, 5vw, 80px);
    position: relative;
    overflow: hidden;
}

/* Floating ingredient blobs */
.comp-pillars::before {
    content: '🌿';
    position: absolute;
    font-size: 240px;
    top: -60px; right: -40px;
    filter: blur(50px);
    opacity: 0.1;
    pointer-events: none;
    user-select: none;
}

.comp-pillars::after {
    content: '🍃';
    position: absolute;
    font-size: 200px;
    bottom: -40px; left: -30px;
    filter: blur(45px);
    opacity: 0.08;
    pointer-events: none;
    user-select: none;
}

.pillars-section-label {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #43A047;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pillars-section-label::before {
    content: ''; width: 32px; height: 1.5px; background: #43A047;
}

.comp-pillars h2 {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 5rem);
    color: var(--navy);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 64px;
    max-width: 700px;
}

.comp-pillars h2 em {
    font-style: normal;
    color: #43A047;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.pillar-card {
    background: white;
    border-radius: 28px;
    padding: clamp(28px, 3vw, 48px);
    border: 1px solid rgba(13, 48, 90, 0.05);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

/* Bento spanning */
.pillar-card:nth-child(1) { grid-column: span 7; }
.pillar-card:nth-child(2) { grid-column: span 5; }
.pillar-card:nth-child(3) { grid-column: span 4; }
.pillar-card:nth-child(4) { grid-column: span 4; }
.pillar-card:nth-child(5) { grid-column: span 4; }
.pillar-card:nth-child(6) { grid-column: span 12; }

/* Accent top border */
.pillar-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #66BB6A, #43A047);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

.pillar-card:hover::before { transform: scaleX(1); }

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(67,160,71,0.18);
}

/* Large featured card (first) */
.pillar-card:nth-child(1) {
    background: linear-gradient(135deg, #0a3d2e 0%, #1b6b41 100%);
    color: white;
}

.pillar-card:nth-child(1) h3,
.pillar-card:nth-child(1) p { color: white; }

.pillar-card:nth-child(1) h3 { color: white; opacity: 0.95; }
.pillar-card:nth-child(1) p { opacity: 0.6; }

/* Last card — horizontal layout */
.pillar-card:nth-child(6) {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 36px 48px;
}

.pillar-card:nth-child(6) .pillar-content { flex: 1; }

.pillar-icon {
    width: 64px; height: 64px;
    border-radius: 20px;
    background: #E8F5E9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

.pillar-card:nth-child(1) .pillar-icon {
    background: rgba(255,255,255,0.1);
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.15) rotate(-6deg);
}

.pillar-card h3 {
    font-family: 'Clash Display', sans-serif;
    font-weight: 600;
    font-size: clamp(16px, 1.5vw, 22px);
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.2;
}

.pillar-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    font-weight: 300;
}

/* ── STATS — dark cinematic band ─────────────── */
.comp-stats {
    padding: clamp(80px, 10vh, 120px) clamp(24px, 5vw, 80px);
    background: #050e1c;
    position: relative;
    overflow: hidden;
}

.comp-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 20% 50%, rgba(43,160,71,0.1) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 80% 50%, rgba(209,77,70,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.comp-stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    border-right: 1px solid rgba(255,255,255,0.06);
    position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-num {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #81C784, #43A047);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

/* ── PROMISE — editorial text section ────────── */
.comp-promise {
    padding: clamp(80px, 10vh, 140px) clamp(24px, 5vw, 80px);
    background: var(--cream);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 6vw, 100px);
    align-items: center;
    max-width: 100%;
}

.comp-promise-label {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #43A047;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comp-promise-label::before {
    content: ''; width: 32px; height: 1.5px; background: #43A047;
}

.comp-promise h2 {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    color: var(--navy);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0;
}

.comp-promise h2 em {
    font-style: normal;
    color: #43A047;
}

.comp-promise-text p {
    font-size: clamp(15px, 1.2vw, 17px);
    color: var(--text-muted);
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 20px;
}

.comp-promise-text p strong { color: var(--navy); font-weight: 600; }
.comp-promise-text .accent { color: #43A047; font-weight: 600; }

/* ── SHARED ANIMATION ─────────────────────────── */
@keyframes fadeUpComp {
    to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pillar-card:nth-child(n) { grid-column: span 1; }
    .pillar-card:nth-child(1) { grid-column: span 2; }
    .pillar-card:nth-child(6) { grid-column: span 2; flex-direction: column; align-items: flex-start; }
    .comp-promise {
        grid-template-columns: 1fr;
    }
    .comp-stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.06); }
    .stat-item { border-top: 1px solid rgba(255,255,255,0.06); }
}

@media (max-width: 768px) {
    .comp-hero { padding: 0 24px 60px; min-height: 85vh; }
    .comp-hero h1 { font-size: clamp(3rem, 12vw, 5rem); }
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .pillar-card:nth-child(n) { grid-column: span 1; }
    .comp-stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .comp-pillars { padding: 60px 20px; }
    .comp-promise { padding: 60px 20px; gap: 40px; }
}
