/* ==========================================================================
   Kaffeland — matches kaffeland.dk
   Dark theme, white serif typography, cream button
   ========================================================================== */

:root {
    --black: #0d0d0d;
    --black-2: #161616;
    --card: #1f1f1f;
    --card-2: #252525;
    --border: rgba(255, 255, 255, 0.08);
    --white: #ffffff;
    --text: #e8e8e8;
    --text-muted: #a8a8a8;
    --text-dim: #888;
    --cream: #f5e9c8;
    --cream-hover: #ede0b8;

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

    --container-max: 1280px;
    --container-px: clamp(1.25rem, 4vw, 2.5rem);
    --section-py: clamp(4rem, 8vw, 7rem);

    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 36px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 15px;
    background: var(--black);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* ============= Typography ============= */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--white);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

h4 {
    font-size: 1.125rem;
}

p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============= Layout ============= */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-inline: var(--container-px);
}

/* ============= Buttons ============= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-size: 0.78rem;
    font-weight: 500;
    border-radius: 999px;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    line-height: 1;
    border: none;
}

.btn-primary {
    background: var(--cream);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--cream-hover);
    transform: translateY(-1px);
}

.btn-dark {
    background: #2a2a2a;
    color: var(--white);
}

.btn-dark:hover {
    background: #3a3a3a;
}

.btn-block {
    width: 100%;
}

/* ============= Logo ============= */
.logo-img {
    height: 28px;
    width: auto;
}

.logo-inline {
    height: 32px;
    width: auto;
    margin-bottom: 1.5rem;
}

/* ============= Header ============= */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 1.25rem;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-desktop a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text);
    transition: color 0.2s;
}

.nav-desktop a:hover {
    color: var(--cream);
}

/* Mobile menu */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--black-2);
    border-top: 1px solid var(--border);
}

.nav-mobile.open {
    max-height: 400px;
}

.nav-mobile a {
    padding: 1rem var(--container-px);
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text);
}

.nav-mobile .nav-cta {
    background: var(--cream);
    color: var(--black);
    text-align: center;
    margin: 1rem var(--container-px);
    border-radius: 999px;
    border-bottom: none;
    padding: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ============= Hero ============= */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    padding-block: 6rem 4rem;
    background: radial-gradient(ellipse at 70% 50%, #1a1008 0%, #0d0d0d 60%);
}

/* Canvas for falling beans */
#beansCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* ---- Content side ---- */
.hero-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    order: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--cream);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: heroFadeUp 0.7s ease 0.2s both;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cream);
    animation: heroPulse 2s ease-in-out infinite;
}

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

.hero h1 {
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: heroFadeUp 0.8s ease 0.35s both;
    line-height: 1.1;
}

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

.hero-sub {
    font-size: 0.92rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    opacity: 0;
    animation: heroFadeUp 0.8s ease 0.5s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    opacity: 0;
    animation: heroFadeUp 0.8s ease 0.65s both;
}

.btn-ghost-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-size: 0.78rem;
    font-weight: 500;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
    transition: all 0.25s ease;
}

.btn-ghost-hero:hover {
    border-color: var(--cream);
    color: var(--cream);
    background: rgba(245, 233, 200, 0.05);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    animation: heroFadeUp 0.8s ease 0.8s both;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
}

/* ---- Machine side ---- */
.hero-machine {
    order: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

/* Ambient glow behind machine */
.machine-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 164, 80, 0.18) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.12); }
}

/* Expanding rings */
.machine-ring {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) scaleY(0.3);
    border-radius: 50%;
    border: 1px solid rgba(245, 233, 200, 0.12);
    pointer-events: none;
}

.machine-ring-1 {
    width: 240px; height: 240px;
    animation: ringPulse 3.5s ease-in-out infinite 0s;
}
.machine-ring-2 {
    width: 340px; height: 340px;
    animation: ringPulse 3.5s ease-in-out infinite 0.8s;
}
.machine-ring-3 {
    width: 440px; height: 440px;
    animation: ringPulse 3.5s ease-in-out infinite 1.6s;
}

@keyframes ringPulse {
    0% { opacity: 0; transform: translateX(-50%) scaleY(0.3) scale(0.85); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translateX(-50%) scaleY(0.3) scale(1.2); }
}

/* Machine image — slides up on load */
.machine-img {
    position: relative;
    z-index: 3;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.7));
    opacity: 0;
    animation: machineSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes machineSlideUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
        filter: drop-shadow(0 0px 0px rgba(0,0,0,0));
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.7));
    }
}

/* Steam wisps */
.steam-wrap {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    pointer-events: none;
    z-index: 4;
}

.steam {
    position: absolute;
    bottom: 0;
    width: 6px;
    border-radius: 4px;
    background: linear-gradient(to top, rgba(255,255,255,0.25), transparent);
    animation: steamRise 3s ease-in-out infinite;
}

.s1 { left: 20px; height: 40px; animation-delay: 0s; }
.s2 { left: 36px; height: 55px; animation-delay: 0.9s; }
.s3 { left: 52px; height: 35px; animation-delay: 1.8s; }

@keyframes steamRise {
    0% { transform: translateY(0) scaleX(1); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 0.3; }
    100% { transform: translateY(-80px) scaleX(1.8); opacity: 0; }
}

/* ---- Shared hero keyframes ---- */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============= Features ============= */
.features {
    padding-block: var(--section-py);
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

.section-head p {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.feature-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    background: var(--card-2);
}

.feature-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============= MobilePay ============= */
.mobilepay {
    padding-block: var(--section-py);
}

.mobilepay-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

.mobilepay-content h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    line-height: 1.25;
}

.mobilepay-content p {
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.mobilepay-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobilepay-visual img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   PRICING CALCULATOR — Modern, premium design
   ========================================================================== */

.pricing {
    padding-block: var(--section-py);
    position: relative;
}

.pricing-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.pricing-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--cream);
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(245, 233, 200, 0.25);
    border-radius: 999px;
    background: rgba(245, 233, 200, 0.05);
}

.pricing-head h2 {
    margin-bottom: 0.75rem;
}

.pricing-head p {
    font-size: 1rem;
    color: var(--text-muted);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* === Configuration panel === */
.calc-config {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.calc-step {
    background: linear-gradient(160deg, #1c1c1c 0%, #161616 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    position: relative;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--cream);
    color: #1a1a1a;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-title {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    color: var(--white);
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

/* === Cup display === */
.cup-display {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.cup-count {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--cream);
    line-height: 1;
    letter-spacing: -0.02em;
    transition: transform 0.15s ease;
    display: inline-block;
}

.cup-count.bump {
    transform: scale(1.08);
}

.cup-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* === Slider === */
.slider-wrap {
    margin-bottom: 1.5rem;
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, var(--cream) 0%, var(--cream) 0%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 999px;
    outline: none;
    margin-bottom: 0.6rem;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 0 6px rgba(245, 233, 200, 0.15);
    border: 3px solid var(--cream);
    transition: transform 0.15s, box-shadow 0.2s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 0 8px rgba(245, 233, 200, 0.25);
}

.slider::-webkit-slider-thumb:active {
    transform: scale(1.05);
    cursor: grabbing;
}

.slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 3px solid var(--cream);
}

.slider-bounds {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* === Solution options (cards) === */
.solution-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.solution-option {
    cursor: pointer;
    display: block;
}

.solution-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all 0.25s ease;
    position: relative;
    height: 100%;
}

.solution-option:hover .option-card {
    background: rgba(245, 233, 200, 0.05);
    border-color: rgba(245, 233, 200, 0.3);
    transform: translateY(-2px);
}

.solution-option input[type="radio"]:checked + .option-card {
    background: rgba(245, 233, 200, 0.1);
    border-color: var(--cream);
    box-shadow: 0 0 0 3px rgba(245, 233, 200, 0.12);
}

.option-icon {
    margin-bottom: 0.75rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sol-svg {
    width: 72px;
    height: 72px;
    overflow: visible;
    transition: transform 0.3s ease;
}

.solution-option:hover .sol-svg {
    transform: scale(1.08);
}

.option-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.option-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.option-check {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--cream);
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.7);
    transition: all 0.2s ease;
}

.solution-option input[type="radio"]:checked + .option-card .option-check {
    opacity: 1;
    transform: scale(1);
}

.solution-note {
    font-size: 0.83rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
    padding-top: 0.5rem;
}

/* ---- Frisk mælk karton: gentle sway + drip ---- */
.sol-svg {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.solution-option:hover .sol-svg {
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.4));
}

/* Carton sways gently */
.solution-option:first-of-type .sol-svg {
    animation: cartonSway 4s ease-in-out infinite;
    transform-origin: center bottom;
}
@keyframes cartonSway {
    0%, 100% { transform: rotate(0deg); }
    25%       { transform: rotate(-2deg); }
    75%       { transform: rotate(2deg); }
}

/* Milk drip */
.sol-drop {
    animation: milkDrip 3s ease-in infinite;
    transform-origin: 30px 10px;
}
@keyframes milkDrip {
    0%        { transform: translateY(0) scaleY(1); opacity: 0; }
    10%       { opacity: 1; }
    50%       { transform: translateY(8px) scaleY(1.4); opacity: 0.9; }
    70%       { transform: translateY(10px) scaleY(0.4) scaleX(1.6); opacity: 0.5; }
    80%, 100% { transform: translateY(12px) scaleY(0); opacity: 0; }
}

/* Milk level shimmer */
.sol-milk {
    animation: milkShimmer 3s ease-in-out infinite;
}
@keyframes milkShimmer {
    0%, 100% { opacity: 0.07; }
    50%       { opacity: 0.18; }
}

/* ---- Mælkepulver dåse: lid lifts, powder puffs float up ---- */
.sol-tab {
    transform-origin: 30px 20px;
    animation: lidLift 3s ease-in-out infinite;
}
@keyframes lidLift {
    0%, 60%, 100% { transform: translateY(0); }
    30%            { transform: translateY(-3px); }
}

/* Powder puff particles rise from can */
.sol-particle {
    animation: puffRise 2.5s ease-out infinite;
}
.p1 { animation-delay: 0s;    animation-duration: 2.2s; }
.p2 { animation-delay: 0.4s;  animation-duration: 2.8s; }
.p3 { animation-delay: 0.8s;  animation-duration: 2.4s; }
.p4 { animation-delay: 1.2s;  animation-duration: 2.6s; }
.p5 { animation-delay: 1.6s;  animation-duration: 2.3s; }

@keyframes puffRise {
    0%   { opacity: 0;   transform: translateY(2px) scale(0.5); }
    20%  { opacity: 0.8; transform: translateY(-2px) scale(1); }
    70%  { opacity: 0.3; transform: translateY(-10px) scale(1.3); }
    100% { opacity: 0;   transform: translateY(-16px) scale(0.8); }
}

/* === Summary panel === */
.calc-summary {
    position: relative;
}

.summary-inner {
    background: linear-gradient(160deg, #f5e9c8 0%, #e8d4a3 100%);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3.5vw, 2.5rem);
    color: #1a1a1a;
    position: sticky;
    top: 100px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(245, 233, 200, 0.2);
}

.summary-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(26, 26, 26, 0.6);
    margin-bottom: 0.75rem;
}

.summary-amount {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.4rem;
    font-family: var(--font-serif);
    color: #1a1a1a;
    line-height: 1;
}

.amount-currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(26, 26, 26, 0.65);
    margin-right: 0.15rem;
}

.amount-value {
    font-size: clamp(3.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    transition: transform 0.18s ease;
    display: inline-block;
}

.amount-value.bump {
    transform: scale(1.05);
}

.amount-period {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(26, 26, 26, 0.55);
}

.summary-meta {
    font-size: 0.88rem;
    color: rgba(26, 26, 26, 0.7);
    margin-bottom: 1.75rem;
    font-family: var(--font-sans);
}

.summary-divider {
    height: 1px;
    background: rgba(26, 26, 26, 0.15);
    margin-bottom: 1.5rem;
}

.summary-heading {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-transform: none;
    letter-spacing: 0;
}

/* ---- Animated icon list items ---- */
.summary-list {
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sli {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.9rem;
    color: #1a1a1a;
    font-weight: 500;
    padding: 0.4rem 0;
    cursor: default;
}

/* Icon wrapper */
.sli-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(26, 26, 26, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.sli:hover .sli-icon {
    background: rgba(26, 26, 26, 0.15);
    transform: scale(1.08);
}

.sli-svg {
    width: 26px;
    height: 26px;
    overflow: visible;
}

/* ---- Machine: screen dots blink, steam rises ---- */
.sli-steam {
    opacity: 0;
    animation: steamRiseIcon 3s ease-in-out infinite;
}
.st1 { animation-delay: 0s; }
.st2 { animation-delay: 0.9s; }

@keyframes steamRiseIcon {
    0%   { opacity: 0; transform: translateY(0); }
    20%  { opacity: 0.7; }
    80%  { opacity: 0; }
    100% { opacity: 0; transform: translateY(-5px); }
}

.sli-dot {
    animation: dotBlink 2.5s ease-in-out infinite;
    transform-origin: center;
}
.sli-d1 { animation-delay: 0s; }
.sli-d2 { animation-delay: 0.3s; }
.sli-d3 { animation-delay: 0.6s; }
.sli-d4 { animation-delay: 0.9s; }

@keyframes dotBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

/* Machine hop on hover */
.sli:hover .sli-hop {
    animation: machineHop 0.4s ease both;
}
@keyframes machineHop {
    0%   { transform: translateY(0); }
    40%  { transform: translateY(-3px); }
    70%  { transform: translateY(1px); }
    100% { transform: translateY(0); }
}

/* ---- Beans: float and rotate ---- */
.sli-bean {
    animation: beanFloat 4s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}
.b1 { animation-delay: 0s; }
.b2 { animation-delay: 0.8s; }
.b3 { animation-delay: 1.6s; }

@keyframes beanFloat {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    30%       { transform: rotate(8deg) translateY(-2px); }
    70%       { transform: rotate(-5deg) translateY(1px); }
}

/* ---- Jug liquid ripple ---- */
.sli-liquid {
    transform-origin: center bottom;
    animation: liquidRipple 3s ease-in-out infinite;
}
@keyframes liquidRipple {
    0%, 100% { transform: scaleX(1); opacity: 0.35; }
    50%       { transform: scaleX(0.92); opacity: 0.55; }
}

/* ---- Cocoa swirl rotate ---- */
.sli-swirl {
    animation: swirlSpin 4s linear infinite;
    transform-origin: 18px 17px;
}
@keyframes swirlSpin {
    0%   { transform: rotate(0deg) scale(1); opacity: 0.5; }
    50%  { transform: rotate(180deg) scale(1.1); opacity: 0.9; }
    100% { transform: rotate(360deg) scale(1); opacity: 0.5; }
}

/* ---- Wrench wiggle + sparkle ---- */
.sli-wrench {
    transform-origin: 10px 30px;
    animation: wrenchWiggle 3s ease-in-out infinite;
}
@keyframes wrenchWiggle {
    0%, 100% { transform: rotate(0deg); }
    20%       { transform: rotate(-12deg); }
    40%       { transform: rotate(10deg); }
    60%       { transform: rotate(-6deg); }
    80%       { transform: rotate(4deg); }
}

.sli-sparkle {
    animation: sparkleFlash 3s ease-in-out infinite;
    transform-origin: 4px 10.5px;
}
@keyframes sparkleFlash {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    25%, 35% { opacity: 1; transform: scale(1.2); }
    40%       { opacity: 0; }
}

/* ---- Shield: pulse + checkmark draw-in ---- */
.sli-shield {
    animation: shieldPulse 3s ease-in-out infinite;
    transform-origin: 18px 18px;
}
@keyframes shieldPulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.05); }
}

.sli-check-anim {
    stroke-dasharray: 22;
    stroke-dashoffset: 22;
    animation: checkDraw 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               checkGlow 3s ease-in-out 1.2s infinite;
}
@keyframes checkDraw {
    to { stroke-dashoffset: 0; }
}
@keyframes checkGlow {
    0%, 100% { stroke: #c8841a; }
    50%       { stroke: #f5a030; filter: drop-shadow(0 0 3px #f5a030); }
}

.summary-inner .btn {
    background: #1a1a1a;
    color: var(--cream);
    margin-bottom: 0.85rem;
    padding: 1rem 1.5rem;
    font-size: 0.82rem;
}

.summary-inner .btn:hover {
    background: #2a2a2a;
    color: var(--white);
    transform: translateY(-1px);
}

.summary-fineprint {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(26, 26, 26, 0.6);
    margin: 0;
}

/* ============= Solutions ============= */
.solutions {
    padding-block: var(--section-py);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.solution-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.solution-machine {
    margin: 0 auto 1.5rem;
    max-width: 240px;
}

.solution-machine img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.solution-card h3 {
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.solution-card p {
    margin-bottom: 1rem;
    font-size: 0.92rem;
    line-height: 1.7;
}

.solution-highlight {
    color: var(--white) !important;
    font-weight: 500;
    margin-block: 1rem 1.5rem;
}

.solution-card .btn {
    margin-top: auto;
    align-self: center;
}

/* ============= About ============= */
.about {
    padding-block: var(--section-py);
}

.about-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.about-head h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 1rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-col p {
    margin-bottom: 1rem;
}

.eyebrow-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1rem;
}

.about-big-text {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    line-height: 1.25;
    font-weight: 600;
    color: var(--white);
}

/* ============= Banner card ============= */
.banner {
    padding-block: var(--section-py);
}

.banner-card {
    border-radius: var(--radius-xl);
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
    background: #1a1a1a;
    /* Keep rounded corners on the left/right cols via clip on outer, but let middle overflow top/bottom */
    isolation: isolate;
}

.banner-col {
    padding: clamp(2rem, 5vw, 3.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-col-left {
    background: #1a1a1a;
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.banner-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1;
    font-weight: 600;
}

.banner-line {
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    margin: 1.5rem 0;
}

.banner-eyebrow {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.banner-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.banner-col-image {
    background: #1a1a1a;
    padding: 0;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    overflow: visible;
    position: relative;
    z-index: 2;
}

.banner-col-image img {
    width: 130%;
    max-width: none;
    height: auto;
    position: relative;
    margin-top: -8%;
    margin-bottom: -8%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

.banner-col-right {
    background: linear-gradient(135deg, #4a3520 0%, #2a1f15 100%);
    color: var(--white);
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

.banner-col-right h3 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    margin-bottom: 1.25rem;
    color: var(--white);
    line-height: 1.2;
}

.banner-tagline {
    margin-bottom: 1.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.banner-list {
    margin-bottom: 2rem;
}

.banner-list li {
    padding: 0.45rem 0;
    color: var(--white);
    font-size: 1rem;
    position: relative;
    padding-left: 1.85rem;
    font-weight: 500;
}

.banner-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: var(--white);
    color: #1a1a1a;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-col-right .btn {
    align-self: flex-start;
}

/* ============= Mission ============= */
.mission {
    padding-block: var(--section-py);
    overflow: hidden;
}

.mission-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
}

.mission-content h3 {
    font-size: 1.25rem;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.mission-content p {
    margin-bottom: 2rem;
}

.mission-machine {
    display: flex;
    justify-content: center;
    max-width: 380px;
    margin: 0 auto;
    order: -1;
}

.mission-machine img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* ============= Footer ============= */
.footer {
    padding-block: 0 2rem;
    background: var(--black);
}

.footer-divider {
    height: 1px;
    background: var(--border);
    margin-block: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 1rem;
    text-align: center;
}

.footer-col h4 {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    max-width: 360px;
    margin-inline: auto;
}

.footer-col ul li {
    padding: 0.3rem 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.footer-col ul li a:hover {
    color: var(--cream);
}

.social {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
}

.social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--card);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.social a:hover {
    background: var(--card-2);
    color: var(--white);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 0.5rem;
    text-align: center;
}

.aaa-badge-img {
    height: 80px;
    width: auto;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* Footer brand col */
.footer-logo-link { display: block; margin-bottom: 1rem; }
.footer-logo-img  { height: 28px; width: auto; display: block; }
.footer-tagline   { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; margin-bottom: 1.25rem; max-width: 300px; }
.footer-social    { display: flex; gap: 0.6rem; }
.footer-social a  { width: 36px; height: 36px; border-radius: 8px; background: var(--card); color: var(--text-muted); display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.footer-social a:hover { background: var(--card-2); color: var(--white); }

/* ==========================================================================
   Tablet (>= 768px)
   ========================================================================== */
@media (min-width: 768px) {
    .nav-desktop { display: flex; }
    .menu-toggle, .nav-mobile { display: none; }
    .logo-img { height: 32px; }

    /* Hero */
    .hero-inner { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .hero-content { text-align: left; margin: 0; order: 0; }
    .hero-eyebrow, .hero-actions, .hero-stats { justify-content: flex-start; }
    .hero-machine { order: 0; max-width: 100%; margin: 0; min-height: 560px; align-items: center; }
    .hero h1 { font-size: clamp(2.5rem, 4.5vw, 5rem); }

    /* Features */
    .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

    /* MobilePay */
    .mobilepay-inner { grid-template-columns: 1.1fr 1fr; }

    /* Pricing */
    .calc-grid { grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start; }

    /* Solutions */
    .solution-grid { grid-template-columns: repeat(2, 1fr); }

    /* About */
    .about-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }

    /* Banner */
    .banner-card { grid-template-columns: 1fr 1.1fr 1fr; }
    .banner-col-image { padding: 0; min-height: 480px; }
    .banner-col-image img { max-height: 460px; }

    /* Mission */
    .mission-inner { grid-template-columns: 1fr 1fr; }
    .mission-machine { order: 0; max-width: 400px; }

    /* Footer */
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; text-align: left; gap: 3rem; }
    .footer-tagline { margin-inline: 0; }
    .footer-col-center { text-align: center; }
    .footer-col-right  { text-align: right; }
    .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ==========================================================================
   Desktop (>= 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
    .feature-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Solution card animations (pricing calculator step 2)
   ========================================================================== */
.option-icon { margin-bottom: 0.75rem; line-height: 1; display: flex; align-items: center; justify-content: center; }
.sol-svg { width: 72px; height: 72px; overflow: visible; transition: transform 0.3s ease; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)); }
.solution-option:hover .sol-svg { transform: scale(1.08); filter: drop-shadow(0 6px 14px rgba(0,0,0,0.4)); }
.solution-option:first-of-type .sol-svg { animation: cartonSway 4s ease-in-out infinite; transform-origin: center bottom; }
@keyframes cartonSway { 0%,100%{transform:rotate(0)} 25%{transform:rotate(-2deg)} 75%{transform:rotate(2deg)} }
.sol-drop { animation: milkDrip 3s ease-in infinite; transform-origin: 30px 10px; }
@keyframes milkDrip { 0%{transform:translateY(0) scaleY(1);opacity:0} 10%{opacity:1} 50%{transform:translateY(8px) scaleY(1.4);opacity:.9} 70%{transform:translateY(10px) scaleY(.4) scaleX(1.6);opacity:.5} 80%,100%{transform:translateY(12px) scaleY(0);opacity:0} }
.sol-milk { animation: milkShimmer 3s ease-in-out infinite; }
@keyframes milkShimmer { 0%,100%{opacity:.07} 50%{opacity:.18} }
.sol-tab { transform-origin: 30px 20px; animation: lidLift 3s ease-in-out infinite; }
@keyframes lidLift { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-3px)} }
.sol-particle { animation: puffRise 2.5s ease-out infinite; }
.p1{animation-delay:0s;animation-duration:2.2s} .p2{animation-delay:.4s;animation-duration:2.8s} .p3{animation-delay:.8s;animation-duration:2.4s} .p4{animation-delay:1.2s;animation-duration:2.6s} .p5{animation-delay:1.6s;animation-duration:2.3s}
@keyframes puffRise { 0%{opacity:0;transform:translateY(2px) scale(.5)} 20%{opacity:.8;transform:translateY(-2px) scale(1)} 70%{opacity:.3;transform:translateY(-10px) scale(1.3)} 100%{opacity:0;transform:translateY(-16px) scale(.8)} }

/* ==========================================================================
   Summary panel icons (Alt er inkluderet)
   ========================================================================== */
.sli { display:flex; align-items:center; gap:.85rem; font-size:.9rem; color:#1a1a1a; font-weight:500; padding:.4rem 0; cursor:default; }
.sli-icon { width:38px; height:38px; border-radius:10px; background:rgba(26,26,26,.08); display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:background .25s,transform .25s; }
.sli:hover .sli-icon { background:rgba(26,26,26,.15); transform:scale(1.08); }
.sli-svg { width:26px; height:26px; overflow:visible; }
.sli-steam{opacity:0;animation:steamRiseIcon 3s ease-in-out infinite} .st1{animation-delay:0s} .st2{animation-delay:.9s}
@keyframes steamRiseIcon{0%{opacity:0;transform:translateY(0)}20%{opacity:.7}80%{opacity:0}100%{opacity:0;transform:translateY(-5px)}}
.sli-dot{animation:dotBlink 2.5s ease-in-out infinite;transform-origin:center} .sli-d1{animation-delay:0s} .sli-d2{animation-delay:.3s} .sli-d3{animation-delay:.6s} .sli-d4{animation-delay:.9s}
@keyframes dotBlink{0%,100%{opacity:1}50%{opacity:.2}}
.sli:hover .sli-hop{animation:machineHop .4s ease both}
@keyframes machineHop{0%{transform:translateY(0)}40%{transform:translateY(-3px)}70%{transform:translateY(1px)}100%{transform:translateY(0)}}
.sli-bean{animation:beanFloat 4s ease-in-out infinite;transform-box:fill-box;transform-origin:center} .b1{animation-delay:0s} .b2{animation-delay:.8s} .b3{animation-delay:1.6s}
@keyframes beanFloat{0%,100%{transform:rotate(0) translateY(0)}30%{transform:rotate(8deg) translateY(-2px)}70%{transform:rotate(-5deg) translateY(1px)}}
.sli-liquid{transform-origin:center bottom;animation:liquidRipple 3s ease-in-out infinite}
@keyframes liquidRipple{0%,100%{transform:scaleX(1);opacity:.35}50%{transform:scaleX(.92);opacity:.55}}
.sli-swirl{animation:swirlSpin 4s linear infinite;transform-origin:18px 17px}
@keyframes swirlSpin{0%{transform:rotate(0) scale(1);opacity:.5}50%{transform:rotate(180deg) scale(1.1);opacity:.9}100%{transform:rotate(360deg) scale(1);opacity:.5}}
.sli-wrench{transform-origin:10px 30px;animation:wrenchWiggle 3s ease-in-out infinite}
@keyframes wrenchWiggle{0%,100%{transform:rotate(0)}20%{transform:rotate(-12deg)}40%{transform:rotate(10deg)}60%{transform:rotate(-6deg)}80%{transform:rotate(4deg)}}
.sli-sparkle{animation:sparkleFlash 3s ease-in-out infinite;transform-origin:4px 10.5px}
@keyframes sparkleFlash{0%,100%{opacity:0;transform:scale(.5)}25%,35%{opacity:1;transform:scale(1.2)}40%{opacity:0}}
.sli-shield{animation:shieldPulse 3s ease-in-out infinite;transform-origin:18px 18px}
@keyframes shieldPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
.sli-check-anim{stroke-dasharray:22;stroke-dashoffset:22;animation:checkDraw 1.2s cubic-bezier(.4,0,.2,1) forwards,checkGlow 3s ease-in-out 1.2s infinite}
@keyframes checkDraw{to{stroke-dashoffset:0}}
@keyframes checkGlow{0%,100%{stroke:#c8841a}50%{stroke:#f5a030;filter:drop-shadow(0 0 3px #f5a030)}}

/* ==========================================================================
   Summary panel extras
   ========================================================================== */
.summary-list { margin-bottom:1.75rem; display:flex; flex-direction:column; gap:.5rem; }
.summary-heading { font-family:var(--font-serif); font-size:1rem; font-weight:600; color:#1a1a1a; margin-bottom:1rem; }
.summary-inner .btn { background:#1a1a1a; color:var(--cream); margin-bottom:.85rem; padding:1rem 1.5rem; font-size:.82rem; }
.summary-inner .btn:hover { background:#2a2a2a; transform:translateY(-1px); }
.summary-fineprint { text-align:center; font-size:.78rem; color:rgba(26,26,26,.6); margin:0; }

/* ==========================================================================
   Order Modal
   ========================================================================== */
.modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,.75); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); z-index:1000; display:flex; align-items:center; justify-content:center; padding:1rem; opacity:0; pointer-events:none; transition:opacity .3s ease; }
.modal-overlay.open { opacity:1; pointer-events:all; }
.modal-box { background:#141414; border:1px solid rgba(255,255,255,.08); border-radius:24px; width:100%; max-width:560px; max-height:90dvh; overflow-y:auto; padding:clamp(1.75rem,5vw,2.75rem); position:relative; transform:translateY(24px) scale(.97); transition:transform .35s cubic-bezier(.16,1,.3,1); scrollbar-width:none; }
.modal-box::-webkit-scrollbar { display:none; }
.modal-overlay.open .modal-box { transform:translateY(0) scale(1); }
.modal-close { position:absolute; top:1.25rem; right:1.25rem; width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); color:var(--text-muted); display:flex; align-items:center; justify-content:center; cursor:pointer; transition:all .2s; }
.modal-close:hover { background:rgba(255,255,255,.12); color:var(--white); }
.modal-header { text-align:center; margin-bottom:1.75rem; }
.modal-icon { font-size:2.5rem; margin-bottom:.75rem; animation:iconBounce 1.5s ease infinite; }
@keyframes iconBounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.modal-header h2 { font-size:1.6rem; color:var(--white); margin-bottom:.5rem; }
.modal-subtitle { font-size:.88rem; color:var(--text-muted); line-height:1.6; max-width:380px; margin:0 auto; }
.modal-order-pill { background:rgba(245,233,200,.06); border:1px solid rgba(245,233,200,.15); border-radius:14px; padding:1rem 1.25rem; display:flex; align-items:center; justify-content:space-between; gap:.75rem; margin-bottom:1.75rem; flex-wrap:wrap; }
.pill-row { display:flex; flex-direction:column; gap:.2rem; text-align:center; flex:1; }
.pill-label { font-size:.7rem; text-transform:uppercase; letter-spacing:.12em; color:var(--text-muted); font-weight:600; }
.pill-value { font-size:.95rem; font-weight:600; color:var(--white); }
.pill-price { color:var(--cream); font-family:var(--font-serif); font-size:1.1rem; }
.pill-divider { width:1px; height:36px; background:rgba(255,255,255,.1); flex-shrink:0; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-bottom:1.25rem; }
.field { display:flex; flex-direction:column; gap:.4rem; }
.field label { font-size:.8rem; font-weight:600; color:var(--text); text-transform:uppercase; letter-spacing:.08em; }
.req { color:var(--cream); }
.field input { background:rgba(255,255,255,.04); border:1.5px solid rgba(255,255,255,.1); border-radius:10px; padding:.85rem 1rem; font-size:.95rem; font-family:var(--font-sans); color:var(--white); transition:border-color .2s,background .2s; outline:none; width:100%; box-sizing:border-box; }
.field input::placeholder { color:rgba(255,255,255,.25); }
.field input:focus { border-color:var(--cream); background:rgba(245,233,200,.05); }
.terms-row { display:flex; align-items:center; gap:.75rem; cursor:pointer; margin-bottom:.4rem; margin-top:.25rem; }
.terms-row input[type="checkbox"] { position:absolute; opacity:0; width:0; height:0; }
.custom-check { width:22px; height:22px; border-radius:6px; border:1.5px solid rgba(255,255,255,.2); background:rgba(255,255,255,.04); flex-shrink:0; display:flex; align-items:center; justify-content:center; transition:all .2s ease; }
.custom-check svg { opacity:0; transform:scale(.5); transition:all .2s ease; }
.terms-row input[type="checkbox"]:checked + .custom-check { background:var(--cream); border-color:var(--cream); }
.terms-row input[type="checkbox"]:checked + .custom-check svg { opacity:1; transform:scale(1); stroke:#1a1a1a; }
.terms-text { font-size:.88rem; color:var(--text-muted); line-height:1.5; }
.terms-link { color:var(--cream); text-decoration:underline; text-underline-offset:2px; }
.terms-error { font-size:.78rem; color:#f87171; margin-bottom:1rem; display:none; }
.terms-error.visible { display:block; }
.btn-submit { margin-top:1.25rem; background:#1a1a1a; color:var(--cream); position:relative; overflow:hidden; gap:.75rem; }
.btn-submit:hover { background:#2a2a2a; }
.btn-submit:disabled { opacity:.6; cursor:not-allowed; transform:none !important; }
.submit-spinner { display:none; width:18px; height:18px; border:2px solid rgba(245,233,200,.3); border-top-color:var(--cream); border-radius:50%; animation:spin .7s linear infinite; flex-shrink:0; }
.btn-submit.loading .submit-spinner { display:block; }
.btn-submit.loading .submit-text { opacity:.6; }
@keyframes spin{to{transform:rotate(360deg)}}
.modal-success-view { text-align:center; padding:1rem 0; display:none; flex-direction:column; align-items:center; gap:1rem; }
.modal-success-view.visible { display:flex; }
.modal-form-view.hidden { display:none; }
.success-icon { margin-bottom:.5rem; }
.success-check { stroke-dasharray:50; stroke-dashoffset:50; animation:drawCheck .6s cubic-bezier(.4,0,.2,1) .3s forwards; }
@keyframes drawCheck{to{stroke-dashoffset:0}}
.modal-success-view h2 { font-size:1.75rem; color:var(--white); }
.success-text { font-size:.95rem; color:var(--text-muted); max-width:340px; }
.success-text strong { color:var(--cream); }
.success-sub { font-size:.85rem; color:var(--text-dim); max-width:340px; }

/* ==========================================================================
   MOBILE (max-width: 767px) — ONE clean section, no duplicates
   ========================================================================== */
@media (max-width: 767px) {

    /* Base */
    .container { padding-inline: 1.25rem; }

    /* Hero */
    .hero { padding-block: 5rem 3rem; min-height: auto; }
    .hero h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
    .hero-sub { font-size: 0.85rem; }
    .hero-actions { flex-direction: column; align-items: center; gap: 0.75rem; margin-bottom: 2rem; }
    .hero-actions .btn, .hero-actions .btn-ghost-hero { width: 100%; max-width: 300px; }
    .hero-stats { gap: 1rem; }
    .stat-num { font-size: 1.1rem; }
    .stat-label { font-size: 0.65rem; }
    .stat-divider { height: 28px; }

    /* Features */
    .feature-grid { grid-template-columns: 1fr; gap: 1rem; }
    .feature-card { padding: 1.5rem 1.25rem; }

    /* MobilePay */
    .mobilepay-inner { grid-template-columns: 1fr; text-align: center; gap: 1.75rem; }
    .mobilepay-visual img { max-width: 200px; margin: 0 auto; }

    /* Pricing */
    .calc-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .solution-options { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
    .option-card { padding: 1rem 0.75rem; }
    .sol-svg { width: 54px; height: 54px; }
    .option-title { font-size: 0.88rem; }
    .option-desc  { font-size: 0.7rem; }
    .summary-inner { position: static; }
    .cup-count { font-size: clamp(2rem, 10vw, 3rem); }
    .amount-value { font-size: clamp(2.5rem, 12vw, 4rem); }

    /* Summary icons */
    .sli-icon { width: 32px; height: 32px; border-radius: 8px; }
    .sli-svg  { width: 22px; height: 22px; }
    .sli      { font-size: 0.84rem; gap: 0.6rem; }

    /* Solutions */
    .solution-grid { grid-template-columns: 1fr; gap: 1.25rem; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }

    /* Banner */
    .banner-card { grid-template-columns: 1fr; border-radius: var(--radius); }
    .banner-col-left { border-radius: var(--radius) var(--radius) 0 0; padding: 1.75rem 1.25rem; }
    .banner-col-right { border-radius: 0 0 var(--radius) var(--radius); padding: 1.75rem 1.25rem; text-align: center; }
    .banner-col-right .btn { align-self: center; width: 100%; max-width: 260px; }
    .banner-col-image { min-height: 220px; order: -1; }
    .banner-col-image img { width: 100%; margin: 0; }
    .banner-title { font-size: clamp(2rem, 9vw, 3rem); }

    /* Mission */
    .mission-inner { grid-template-columns: 1fr; gap: 2rem; }
    .mission-machine { max-width: 220px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-logo-img { margin: 0 auto 1rem; }
    .footer-tagline  { margin-inline: auto; text-align: center; }
    .footer-social   { justify-content: center; }
    .footer-col-center, .footer-col-right { text-align: center; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .aaa-badge-img { height: 60px; }

    /* Modal */
    .modal-box { padding: 1.5rem 1.25rem; border-radius: 16px; max-height: 95dvh; }
    .modal-order-pill { flex-direction: column; gap: 0.65rem; }
    .pill-divider { width: 100%; height: 1px; }
    .pill-row { flex-direction: row; justify-content: space-between; text-align: left; }
    .form-grid { grid-template-columns: 1fr; gap: 0.75rem; }
}
