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

@font-face {
    font-family: 'Joseph Sophia';
    src: url('fonts/josephsophia.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --ink: #1a1510;
    --ink-soft: #4a433c;
    --muted: #7a7268;
    --bg: #e7e2d8;
    --bg-deep: #ddd6c8;
    --surface: #f8f5ef;
    --line: rgba(26, 21, 16, 0.1);
    --oak: #9a6b3f;
    --oak-deep: #6e4a2a;
    --brass: #c4a574;
    --shadow: 0 12px 40px rgba(26, 21, 16, 0.1);
    --radius: 18px;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(196, 165, 116, 0.18), transparent 55%),
        radial-gradient(900px 500px at 90% 0%, rgba(110, 74, 42, 0.08), transparent 50%),
        linear-gradient(180deg, #ebe6dc 0%, var(--bg) 40%, #e2dccf 100%);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    overflow: visible;
}

/* ——— Header ——— */
.site-header {
    background:
        radial-gradient(ellipse 80% 120% at 50% -20%, rgba(196, 165, 116, 0.22), transparent 55%),
        linear-gradient(165deg, #1a1510 0%, #2a2118 55%, #1f1812 100%);
    color: #fff;
    text-align: center;
    padding: 2.75rem 0 2.35rem;
    position: relative;
    overflow: hidden;
}

.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c4a574' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.9;
}

.site-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    color: #fff;
}

.site-header h1 a {
    color: inherit;
    text-decoration: none;
}

.site-kicker {
    position: relative;
    margin: 0 0 0.45rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-kicker a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.site-kicker a:hover {
    color: #fff;
}

.page-breadcrumb {
    text-align: center;
    font-size: 0.9rem;
    color: var(--muted);
    padding: 1rem 0 0;
}

.page-breadcrumb a {
    color: var(--oak-deep);
}

.shop-mount {
    min-height: 8rem;
}

.shop-mount__status {
    text-align: center;
    color: var(--muted);
    padding: 2rem 1rem;
}

.shop-mount .builder,
.shop-mount .pricing {
    display: block;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

/* ——— Nav ——— */
.main-nav {
    background: rgba(248, 245, 239, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: visible;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    position: relative;
    overflow: visible;
    max-width: min(1480px, 100%);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
    margin-left: auto;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.25s var(--ease), opacity 0.2s;
}

.main-nav.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.main-nav.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.main-nav.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem 0.4rem;
    flex-wrap: nowrap;
    overflow: visible;
    white-space: nowrap;
}

.main-nav a {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.2s;
    position: relative;
    white-space: nowrap;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.5rem 0.2rem;
    overflow: visible;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--ink);
}

.main-nav a.active {
    font-weight: 600;
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0.35rem;
    right: 0.35rem;
    height: 2px;
    background: linear-gradient(90deg, var(--oak), var(--brass));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    transform: scaleX(1);
}

.nav-dropdown {
    position: relative;
    overflow: visible;
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
    display: none;
    z-index: 199;
}

.nav-dropdown:hover::after {
    display: block;
}

.nav-submenu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    min-width: 220px;
    box-shadow: var(--shadow);
    z-index: 200;
    overflow: hidden;
    padding: 0.35rem;
    animation: menuIn 0.2s var(--ease);
}

.nav-dropdown:hover .nav-submenu {
    display: block;
}

.nav-sub-link {
    display: block;
    padding: 0.65rem 0.85rem;
    font-size: 0.84rem;
    color: var(--ink-soft);
    border-radius: 10px;
}

.nav-sub-link:hover {
    background: rgba(154, 107, 63, 0.1);
    color: var(--ink);
}

/* ——— Animated icons (on hover) ——— */
.nav-icon {
    width: 1.1rem;
    height: 1.1rem;
    display: inline-flex;
    flex-shrink: 0;
    color: var(--oak);
    transition: color 0.25s, transform 0.25s var(--ease);
}

.nav-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: center;
    transition: transform 0.25s var(--ease), filter 0.25s;
}

.nav-icon--heart,
.nav-icon--shield,
.nav-icon--gift,
.nav-icon--pram,
.nav-icon--card,
.nav-icon--rings {
    position: relative;
    overflow: visible;
    width: 1.55rem;
    height: 1.55rem;
}

.nav-icon--heart svg {
    fill: currentColor;
    stroke: none;
    position: relative;
    z-index: 1;
}

.heart-bubbles,
.shield-bubbles,
.gift-bubbles,
.pram-bubbles,
.name-bubbles,
.ring-bubbles {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
    z-index: 5;
    overflow: visible;
}

.heart-bubbles .hb,
.shield-bubbles .sb,
.gift-bubbles .gb,
.pram-bubbles .pb,
.name-bubbles .nb,
.ring-bubbles .rb {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
    z-index: 6;
}

.heart-bubbles .hb {
    color: #e11d48;
    text-shadow:
        0 0 1px rgba(255, 255, 255, 0.9),
        0 1px 3px rgba(225, 29, 72, 0.55),
        0 2px 8px rgba(225, 29, 72, 0.35);
}

.shield-bubbles .sb {
    color: #6b3f1f;
    font-size: 18px;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.95))
            drop-shadow(0 2px 4px rgba(107, 63, 31, 0.65))
            drop-shadow(0 4px 10px rgba(107, 63, 31, 0.4));
}

.shield-bubbles .sb svg {
    width: 1em;
    height: 1em;
    display: block;
    fill: currentColor;
    stroke: none;
}

.gift-bubbles .gb {
    color: #15803d;
    font-weight: 800;
    text-shadow:
        0 0 1px rgba(255, 255, 255, 0.9),
        0 1px 3px rgba(21, 128, 61, 0.55),
        0 2px 8px rgba(21, 128, 61, 0.35);
}

.pram-bubbles .pb {
    color: #db6b8a;
    filter: drop-shadow(0 1px 2px rgba(219, 107, 138, 0.55));
}

.pram-bubbles .pb svg {
    width: 1em;
    height: 1em;
    display: block;
    fill: currentColor;
    stroke: none;
}

.ring-bubbles .rb {
    color: #c4a35a;
    font-size: 18px;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.95))
            drop-shadow(0 2px 4px rgba(196, 163, 90, 0.55))
            drop-shadow(0 4px 10px rgba(196, 163, 90, 0.35));
}

.ring-bubbles .rb svg {
    width: 1em;
    height: 1em;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.name-bubbles .nb {
    color: #9a6b3f;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-shadow:
        0 0 1px rgba(255, 255, 255, 0.9),
        0 1px 3px rgba(154, 107, 63, 0.45),
        0 2px 8px rgba(154, 107, 63, 0.3);
}

.nav-icon--shield > svg {
    stroke-dasharray: 64;
    stroke-dashoffset: 0;
    position: relative;
    z-index: 1;
}

.nav-link.is-bubbling .nav-icon--shield > svg,
.nav-dropdown:hover > .nav-link .nav-icon--shield > svg {
    fill: currentColor;
    stroke: none;
}

.nav-icon--gift svg,
.nav-icon--pram > svg,
.nav-icon--rings > svg {
    position: relative;
    z-index: 1;
    fill: currentColor;
    stroke: none;
}

.nav-icon--rings > svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.nav-icon--card > svg {
    position: relative;
    z-index: 1;
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
    color: var(--oak-deep);
}

.nav-link.is-bubbling .nav-icon--heart,
.nav-dropdown:hover > .nav-link .nav-icon--heart {
    color: #d94a5b;
    animation: heartBob 0.7s ease-in-out infinite;
}

.nav-link.is-bubbling .nav-icon--shield,
.nav-dropdown:hover > .nav-link .nav-icon--shield {
    color: #6b3f1f;
    animation: heartBob 0.7s ease-in-out infinite;
}

.nav-link.is-bubbling .nav-icon--gift,
.nav-link:hover .nav-icon--gift {
    color: #2f7d4a;
    animation: heartBob 0.7s ease-in-out infinite;
}

.nav-link.is-bubbling .nav-icon--pram,
.nav-link:hover .nav-icon--pram {
    color: #c45c7a;
    animation: heartBob 0.7s ease-in-out infinite;
}

.nav-link.is-bubbling .nav-icon--rings,
.nav-link:hover .nav-icon--rings {
    color: #c4a35a;
    animation: heartBob 0.7s ease-in-out infinite;
}

.nav-link.is-bubbling .nav-icon--card,
.nav-dropdown:hover > .nav-link .nav-icon--card,
.nav-link:hover .nav-icon--card {
    color: #8b5a2b;
    animation: heartBob 0.7s ease-in-out infinite;
}

.nav-link.is-bubbling .heart-bubbles .hb,
.nav-dropdown:hover > .nav-link .heart-bubbles .hb,
.nav-link.is-bubbling .shield-bubbles .sb,
.nav-dropdown:hover > .nav-link .shield-bubbles .sb,
.nav-link.is-bubbling .gift-bubbles .gb,
.nav-link:hover .gift-bubbles .gb,
.nav-link.is-bubbling .pram-bubbles .pb,
.nav-link:hover .pram-bubbles .pb,
.nav-link.is-bubbling .ring-bubbles .rb,
.nav-link:hover .ring-bubbles .rb,
.nav-link.is-bubbling .name-bubbles .nb,
.nav-dropdown:hover > .nav-link .name-bubbles .nb,
.nav-link:hover .name-bubbles .nb {
    animation-name: heartFloat;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
}

.nav-link.is-bubbling .heart-bubbles .hb:nth-child(1),
.nav-dropdown:hover > .nav-link .heart-bubbles .hb:nth-child(1),
.nav-link.is-bubbling .shield-bubbles .sb:nth-child(1),
.nav-dropdown:hover > .nav-link .shield-bubbles .sb:nth-child(1),
.nav-link.is-bubbling .gift-bubbles .gb:nth-child(1),
.nav-link:hover .gift-bubbles .gb:nth-child(1),
.nav-link.is-bubbling .pram-bubbles .pb:nth-child(1),
.nav-link:hover .pram-bubbles .pb:nth-child(1),
.nav-link.is-bubbling .ring-bubbles .rb:nth-child(1),
.nav-link:hover .ring-bubbles .rb:nth-child(1),
.nav-link.is-bubbling .name-bubbles .nb:nth-child(1),
.nav-dropdown:hover > .nav-link .name-bubbles .nb:nth-child(1),
.nav-link:hover .name-bubbles .nb:nth-child(1) {
    animation-duration: 1.15s;
    animation-delay: 0s;
    font-size: 17px;
    left: -12px;
}

.nav-link.is-bubbling .shield-bubbles .sb:nth-child(1),
.nav-dropdown:hover > .nav-link .shield-bubbles .sb:nth-child(1) {
    font-size: 20px;
}

.nav-link.is-bubbling .name-bubbles .nb:nth-child(1),
.nav-dropdown:hover > .nav-link .name-bubbles .nb:nth-child(1),
.nav-link:hover .name-bubbles .nb:nth-child(1) {
    font-size: 13px;
}

.nav-link.is-bubbling .heart-bubbles .hb:nth-child(2),
.nav-dropdown:hover > .nav-link .heart-bubbles .hb:nth-child(2),
.nav-link.is-bubbling .shield-bubbles .sb:nth-child(2),
.nav-dropdown:hover > .nav-link .shield-bubbles .sb:nth-child(2),
.nav-link.is-bubbling .gift-bubbles .gb:nth-child(2),
.nav-link:hover .gift-bubbles .gb:nth-child(2),
.nav-link.is-bubbling .pram-bubbles .pb:nth-child(2),
.nav-link:hover .pram-bubbles .pb:nth-child(2),
.nav-link.is-bubbling .ring-bubbles .rb:nth-child(2),
.nav-link:hover .ring-bubbles .rb:nth-child(2),
.nav-link.is-bubbling .name-bubbles .nb:nth-child(2),
.nav-dropdown:hover > .nav-link .name-bubbles .nb:nth-child(2),
.nav-link:hover .name-bubbles .nb:nth-child(2) {
    animation-duration: 1.3s;
    animation-delay: 0.12s;
    font-size: 14px;
    left: 6px;
}

.nav-link.is-bubbling .shield-bubbles .sb:nth-child(2),
.nav-dropdown:hover > .nav-link .shield-bubbles .sb:nth-child(2) {
    font-size: 17px;
}

.nav-link.is-bubbling .name-bubbles .nb:nth-child(2),
.nav-dropdown:hover > .nav-link .name-bubbles .nb:nth-child(2),
.nav-link:hover .name-bubbles .nb:nth-child(2) {
    font-size: 12px;
}

.nav-link.is-bubbling .heart-bubbles .hb:nth-child(3),
.nav-dropdown:hover > .nav-link .heart-bubbles .hb:nth-child(3),
.nav-link.is-bubbling .shield-bubbles .sb:nth-child(3),
.nav-dropdown:hover > .nav-link .shield-bubbles .sb:nth-child(3),
.nav-link.is-bubbling .gift-bubbles .gb:nth-child(3),
.nav-link:hover .gift-bubbles .gb:nth-child(3),
.nav-link.is-bubbling .pram-bubbles .pb:nth-child(3),
.nav-link:hover .pram-bubbles .pb:nth-child(3),
.nav-link.is-bubbling .ring-bubbles .rb:nth-child(3),
.nav-link:hover .ring-bubbles .rb:nth-child(3),
.nav-link.is-bubbling .name-bubbles .nb:nth-child(3),
.nav-dropdown:hover > .nav-link .name-bubbles .nb:nth-child(3),
.nav-link:hover .name-bubbles .nb:nth-child(3) {
    animation-duration: 1.05s;
    animation-delay: 0.24s;
    font-size: 20px;
    left: -2px;
}

.nav-link.is-bubbling .shield-bubbles .sb:nth-child(3),
.nav-dropdown:hover > .nav-link .shield-bubbles .sb:nth-child(3) {
    font-size: 24px;
}

.nav-link.is-bubbling .name-bubbles .nb:nth-child(3),
.nav-dropdown:hover > .nav-link .name-bubbles .nb:nth-child(3),
.nav-link:hover .name-bubbles .nb:nth-child(3) {
    font-size: 14px;
}

.nav-link.is-bubbling .heart-bubbles .hb:nth-child(4),
.nav-dropdown:hover > .nav-link .heart-bubbles .hb:nth-child(4),
.nav-link.is-bubbling .shield-bubbles .sb:nth-child(4),
.nav-dropdown:hover > .nav-link .shield-bubbles .sb:nth-child(4),
.nav-link.is-bubbling .gift-bubbles .gb:nth-child(4),
.nav-link:hover .gift-bubbles .gb:nth-child(4),
.nav-link.is-bubbling .pram-bubbles .pb:nth-child(4),
.nav-link:hover .pram-bubbles .pb:nth-child(4),
.nav-link.is-bubbling .ring-bubbles .rb:nth-child(4),
.nav-link:hover .ring-bubbles .rb:nth-child(4),
.nav-link.is-bubbling .name-bubbles .nb:nth-child(4),
.nav-dropdown:hover > .nav-link .name-bubbles .nb:nth-child(4),
.nav-link:hover .name-bubbles .nb:nth-child(4) {
    animation-duration: 1.4s;
    animation-delay: 0.36s;
    font-size: 13px;
    left: 12px;
}

.nav-link.is-bubbling .shield-bubbles .sb:nth-child(4),
.nav-dropdown:hover > .nav-link .shield-bubbles .sb:nth-child(4) {
    font-size: 16px;
}

.nav-link.is-bubbling .name-bubbles .nb:nth-child(4),
.nav-dropdown:hover > .nav-link .name-bubbles .nb:nth-child(4),
.nav-link:hover .name-bubbles .nb:nth-child(4) {
    font-size: 11px;
}

.nav-link.is-bubbling .heart-bubbles .hb:nth-child(5),
.nav-dropdown:hover > .nav-link .heart-bubbles .hb:nth-child(5),
.nav-link.is-bubbling .shield-bubbles .sb:nth-child(5),
.nav-dropdown:hover > .nav-link .shield-bubbles .sb:nth-child(5),
.nav-link.is-bubbling .gift-bubbles .gb:nth-child(5),
.nav-link:hover .gift-bubbles .gb:nth-child(5),
.nav-link.is-bubbling .pram-bubbles .pb:nth-child(5),
.nav-link:hover .pram-bubbles .pb:nth-child(5),
.nav-link.is-bubbling .ring-bubbles .rb:nth-child(5),
.nav-link:hover .ring-bubbles .rb:nth-child(5),
.nav-link.is-bubbling .name-bubbles .nb:nth-child(5),
.nav-dropdown:hover > .nav-link .name-bubbles .nb:nth-child(5),
.nav-link:hover .name-bubbles .nb:nth-child(5) {
    animation-duration: 1.2s;
    animation-delay: 0.48s;
    font-size: 16px;
    left: -16px;
}

.nav-link.is-bubbling .shield-bubbles .sb:nth-child(5),
.nav-dropdown:hover > .nav-link .shield-bubbles .sb:nth-child(5) {
    font-size: 19px;
}

.nav-link.is-bubbling .name-bubbles .nb:nth-child(5),
.nav-dropdown:hover > .nav-link .name-bubbles .nb:nth-child(5),
.nav-link:hover .name-bubbles .nb:nth-child(5) {
    font-size: 12px;
}

.nav-link:hover .nav-icon--info svg {
    animation: infoPop 0.55s var(--ease);
}

.nav-link:hover .nav-icon--spark {
    animation: sparkBurst 0.8s var(--ease);
}


.nav-link:hover .nav-icon:not(.nav-icon--heart):not(.nav-icon--shield):not(.nav-icon--gift):not(.nav-icon--pram):not(.nav-icon--card):not(.nav-icon--rings) {
    transform: translateY(-1px) scale(1.15);
}

/* ——— Sections ——— */
.tab-section {
    display: none;
}

.tab-section.active {
    display: block;
    animation: sectionIn 0.45s var(--ease);
}

#faq {
    scroll-margin-top: 5.5rem;
}

section {
    padding: 4.5rem 0;
    overflow: visible;
}

section.builder.tab-section.active,
section.pricing.tab-section.active,
section.about.tab-section.active {
    background: transparent;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.5vw, 2.35rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ink);
    text-align: center;
    letter-spacing: -0.01em;
}

h2::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    background: linear-gradient(90deg, var(--oak), var(--brass));
    margin: 1rem auto 2rem;
    border-radius: 2px;
}

h2.no-divider::after {
    display: none;
}

.intro {
    padding: 1rem 0 0.25rem;
}

body.hide-aesport-intro > .intro {
    display: none;
}

body.hide-aesport-intro > .faq-section {
    display: none;
}

.intro h2 {
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    margin-bottom: 0.15rem;
}

.intro h2::after {
    margin: 0.45rem auto 0.75rem;
}

.intro:has(+ .intro--follow) {
    padding-bottom: 0;
}

.intro + .intro--follow {
    padding-top: 0.15rem;
}

.intro + .intro--follow h2 {
    margin-top: 0.15rem;
}

.intro + .intro--follow h2::after {
    margin: 0.4rem auto 0.7rem;
}

.intro p,
.section-desc {
    text-align: center;
    max-width: 560px;
    margin: -0.25rem auto 2.5rem;
    font-size: 1rem;
    color: var(--muted);
}

.intro p {
    max-width: 920px;
    margin: 0 auto 0.45rem;
    font-size: 0.95rem;
    line-height: 1.45;
}

.intro p:last-child {
    margin-bottom: 0;
}

.faq-section {
    padding: 2rem 0 1.25rem;
}

.faq-section h2 {
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    text-align: center;
    margin-bottom: 0.15rem;
}

.faq-section h2::after {
    margin: 0.45rem auto 1.25rem;
}

.faq-section h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    text-align: center;
    max-width: 720px;
    margin: 1.35rem auto 0.35rem;
}

.faq-section p {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--muted);
}

.section-intro p {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 1rem;
    font-size: 1rem;
    color: var(--muted);
}

.section-intro p:last-child {
    margin-bottom: 2.5rem;
}

.wood-note {
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0 auto 1.5rem;
    max-width: 500px;
}

/* ——— Builder ——— */
.builder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    overflow: visible;
}

.preview-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 420px;
    position: relative;
    overflow: visible;
}

.sign-preview {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1.1;
    filter: drop-shadow(0 16px 36px rgba(26, 21, 16, 0.22));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
    cursor: zoom-in;
}

.sign-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sign-caption {
    text-align: center;
    color: var(--muted);
    font-size: 0.88rem;
    margin-top: 0.85rem;
    max-width: 360px;
}

.sign-preview:hover {
    transform: scale(1.35);
    filter: drop-shadow(0 24px 50px rgba(26, 21, 16, 0.32));
    z-index: 999;
}

.sign-preview.is-zoomed,
.sign-preview.is-zoomed:hover {
    transform: scale(4.05);
    filter: drop-shadow(0 28px 60px rgba(26, 21, 16, 0.4));
    z-index: 1000;
    cursor: zoom-out;
}

#bordkort_navne .sign-preview.is-zoomed,
#bordkort_navne .sign-preview.is-zoomed:hover,
#bordkort_speciale .sign-preview.is-zoomed,
#bordkort_speciale .sign-preview.is-zoomed:hover,
#fodselstavle .sign-preview.is-zoomed,
#fodselstavle .sign-preview.is-zoomed:hover {
    transform: scale(4.5);
}

#andre_skilte .sign-preview.is-zoomed,
#andre_skilte .sign-preview.is-zoomed:hover {
    transform: scale(7.5);
}

/* ——— Product card grid (alle produktmenuer) ——— */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0 2rem;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(26, 21, 16, 0.08);
    padding: 0.85rem 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.product-card__media {
    width: 100%;
    max-width: none;
    aspect-ratio: 1 / 1;
    background: #fff;
    border-radius: 8px;
    filter: none;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.product-card__media:hover,
.product-card__media.is-zoomed,
.product-card__media.is-zoomed:hover {
    transform: none;
    filter: none;
    z-index: auto;
}

.product-card__img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}

.product-card__title {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.35;
    margin: 0 0 0.25rem;
    min-height: 2.5em;
}

.product-card__size {
    font-size: 0.75rem;
    color: var(--muted);
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.product-card__price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2f9e44;
    margin: 0.15rem 0 0.65rem;
}

.product-card__order {
    width: 100%;
    margin-top: auto;
}

.product-card__order > summary {
    list-style: none;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-soft);
    user-select: none;
}

.product-card__order > summary::-webkit-details-marker {
    display: none;
}

.product-card__order[open] > summary {
    margin-bottom: 0.75rem;
    background: #fff;
    border-color: var(--oak);
    color: var(--oak-deep);
}

.product-card__order .sign-form {
    text-align: left;
}

.product-card__order .btn-submit {
    width: 100%;
}

@media (max-width: 980px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .product-card {
        padding: 0.65rem 0.65rem 0.85rem;
    }

    .product-card__title {
        font-size: 0.85rem;
        min-height: 2.4em;
    }
}

@media (max-width: 420px) {
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox.open {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-img {
    max-width: 95vw;
    max-height: 95vh;
    display: block;
}

.sign-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding-bottom: 1.2rem;
    z-index: 1;
}

.sign-line {
    color: #1a1a1a;
    font-family: 'Joseph Sophia', cursive;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

.sign-line-1 {
    font-size: 65px;
    font-weight: normal;
    letter-spacing: 0.5px;
    margin-top: calc(-8rem + 0cm);
}

.sign-line-2 {
    font-size: 65px;
    font-weight: normal;
    opacity: 0.9;
    margin-top: -2.5rem;
}

.sign-line-3 {
    font-size: 1.5rem;
    font-weight: normal;
    letter-spacing: 1.5px;
}

/* ——— Form ——— */
.form-area {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form-area:focus-within {
    box-shadow: 0 16px 48px rgba(26, 21, 16, 0.12);
}

.sign-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

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

.form-group label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink-soft);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    padding: 0.65rem 0.75rem;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    background: #fff;
    color: var(--ink);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--oak);
    box-shadow: 0 0 0 3px rgba(154, 107, 63, 0.15);
}

.btn-submit {
    background: linear-gradient(135deg, var(--ink) 0%, #2c241c 100%);
    color: #fff;
    border: none;
    padding: 0.8rem 1.4rem;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
    letter-spacing: 0.02em;
    margin-top: 0.25rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(26, 21, 16, 0.22);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    color: var(--ink-soft);
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--oak);
    cursor: pointer;
}

.shipping-fields,
.pickup-fields {
    display: none;
    flex-direction: column;
    gap: 0.6rem;
}

.shipping-fields.visible,
.pickup-fields.visible {
    display: flex;
    animation: fadeUp 0.35s var(--ease);
}

/* ——— Gallery / pricing leftovers ——— */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 1 / 1;
    background: var(--bg-deep);
    transition: transform 0.3s var(--ease);
}

.gallery-item:hover {
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.pricing {
    text-align: center;
}

.price-card {
    text-align: center;
    background: var(--surface);
    border: 1px solid rgba(154, 107, 63, 0.22);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    max-width: 320px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.price {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
}

.price-card p {
    color: var(--muted);
    margin-top: 0.3rem;
    font-size: 0.95rem;
}

.price-info {
    font-size: 0.82rem;
    color: #aaa;
    margin-top: 0.5rem;
}

.payment {
    text-align: center;
}

.payment p {
    color: var(--ink-soft);
}

.mobilepay {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: 14px;
    padding: 1rem 2.5rem;
    margin-top: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s var(--ease);
}

.mobilepay:hover {
    transform: translateY(-2px);
}

.mobilepay::before {
    content: '\2661';
    font-size: 1.5rem;
    color: var(--oak);
}

.mobilepay-number {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 2px;
}

.payment-info {
    margin-top: 1.25rem;
    font-size: 0.88rem;
    color: var(--muted);
}

/* ——— About ——— */
.about {
    text-align: center;
}

.about-text {
    max-width: 640px;
    margin: 0 auto;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.75;
}

.about p {
    color: var(--ink-soft);
}

.contact-detail {
    font-size: 1.05rem;
    margin-top: 0.4rem;
}

.contact-detail a {
    color: var(--oak-deep);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.contact-detail a:hover {
    color: var(--oak);
    text-decoration: underline;
}

/* ——— Footer ——— */
footer {
    background: linear-gradient(180deg, #1a1510, #120e0a);
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 2.25rem 0;
    font-size: 0.85rem;
    margin-top: auto;
}

footer a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: #fff;
}

/* ——— Motion ——— */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes sectionIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes menuIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heartBob {
    0%, 100% { transform: translateY(0) scale(1); }
    35% { transform: translateY(-3px) scale(1.25); }
    60% { transform: translateY(0) scale(1.08); }
}

@keyframes heartFloat {
    0% {
        opacity: 0;
        transform: translate(-50%, 10px) scale(0.55);
    }
    10% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1.15);
    }
    55% {
        opacity: 1;
        transform: translate(calc(-50% + var(--drift, 0px) * 0.45), -28px) scale(1.05);
    }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--drift, 0px)), -52px) scale(0.85);
    }
}

.heart-bubbles .hb:nth-child(1),
.shield-bubbles .sb:nth-child(1),
.gift-bubbles .gb:nth-child(1),
.pram-bubbles .pb:nth-child(1),
.ring-bubbles .rb:nth-child(1),
.name-bubbles .nb:nth-child(1) { --drift: -8px; }
.heart-bubbles .hb:nth-child(2),
.shield-bubbles .sb:nth-child(2),
.gift-bubbles .gb:nth-child(2),
.pram-bubbles .pb:nth-child(2),
.ring-bubbles .rb:nth-child(2),
.name-bubbles .nb:nth-child(2) { --drift: 10px; }
.heart-bubbles .hb:nth-child(3),
.shield-bubbles .sb:nth-child(3),
.gift-bubbles .gb:nth-child(3),
.pram-bubbles .pb:nth-child(3),
.ring-bubbles .rb:nth-child(3),
.name-bubbles .nb:nth-child(3) { --drift: 0px; }
.heart-bubbles .hb:nth-child(4),
.shield-bubbles .sb:nth-child(4),
.gift-bubbles .gb:nth-child(4),
.pram-bubbles .pb:nth-child(4),
.ring-bubbles .rb:nth-child(4),
.name-bubbles .nb:nth-child(4) { --drift: 14px; }
.heart-bubbles .hb:nth-child(5),
.shield-bubbles .sb:nth-child(5),
.gift-bubbles .gb:nth-child(5),
.pram-bubbles .pb:nth-child(5),
.ring-bubbles .rb:nth-child(5),
.name-bubbles .nb:nth-child(5) { --drift: -12px; }

@keyframes shieldDraw {
    0% { stroke-dashoffset: 64; opacity: 0.4; transform: scale(0.85); }
    60% { stroke-dashoffset: 0; opacity: 1; transform: scale(1.1); }
    100% { stroke-dashoffset: 0; opacity: 1; transform: scale(1); }
}

@keyframes giftBounce {
    0% { transform: translateY(0) rotate(0deg); }
    30% { transform: translateY(-6px) rotate(-8deg); }
    55% { transform: translateY(1px) rotate(6deg); }
    75% { transform: translateY(-3px) rotate(-3deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes infoPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.35); }
    70% { transform: scale(0.92); }
    100% { transform: scale(1); }
}

@keyframes cardFlip {
    0% { transform: rotateY(0deg) rotate(0deg); }
    45% { transform: rotateY(180deg) rotate(-8deg); }
    100% { transform: rotateY(360deg) rotate(0deg); }
}

@keyframes starSpin {
    0% { transform: scale(1) rotate(0deg); }
    40% { transform: scale(1.35) rotate(90deg); }
    100% { transform: scale(1) rotate(180deg); }
}

@keyframes sparkBurst {
    0% { transform: rotate(0deg) scale(1); }
    40% { transform: rotate(120deg) scale(1.4); }
    100% { transform: rotate(360deg) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    *:not(.hb):not(.sb):not(.gb):not(.pb):not(.nb):not(.rb):not(.nav-icon--heart):not(.nav-icon--shield):not(.nav-icon--gift):not(.nav-icon--pram):not(.nav-icon--card):not(.nav-icon--rings):not(.heart-bubbles):not(.shield-bubbles):not(.gift-bubbles):not(.pram-bubbles):not(.name-bubbles):not(.ring-bubbles),
    *:not(.hb):not(.sb):not(.gb):not(.pb):not(.nb):not(.rb):not(.nav-icon--heart):not(.nav-icon--shield):not(.nav-icon--gift):not(.nav-icon--pram):not(.nav-icon--card):not(.nav-icon--rings)::before,
    *:not(.hb):not(.sb):not(.gb):not(.pb):not(.nb):not(.rb):not(.nav-icon--heart):not(.nav-icon--shield):not(.nav-icon--gift):not(.nav-icon--pram):not(.nav-icon--card):not(.nav-icon--rings)::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .nav-link.is-bubbling .heart-bubbles .hb,
    .nav-dropdown:hover > .nav-link .heart-bubbles .hb,
    .nav-link.is-bubbling .shield-bubbles .sb,
    .nav-dropdown:hover > .nav-link .shield-bubbles .sb,
    .nav-link.is-bubbling .gift-bubbles .gb,
    .nav-link:hover .gift-bubbles .gb,
    .nav-link.is-bubbling .pram-bubbles .pb,
    .nav-link:hover .pram-bubbles .pb,
    .nav-link.is-bubbling .ring-bubbles .rb,
    .nav-link:hover .ring-bubbles .rb,
    .nav-link.is-bubbling .name-bubbles .nb,
    .nav-dropdown:hover > .nav-link .name-bubbles .nb,
    .nav-link:hover .name-bubbles .nb,
    .nav-link.is-bubbling .nav-icon--heart,
    .nav-dropdown:hover > .nav-link .nav-icon--heart,
    .nav-link.is-bubbling .nav-icon--shield,
    .nav-dropdown:hover > .nav-link .nav-icon--shield,
    .nav-link.is-bubbling .nav-icon--gift,
    .nav-link:hover .nav-icon--gift,
    .nav-link.is-bubbling .nav-icon--pram,
    .nav-link:hover .nav-icon--pram,
    .nav-link.is-bubbling .nav-icon--rings,
    .nav-link:hover .nav-icon--rings,
    .nav-link.is-bubbling .nav-icon--card,
    .nav-dropdown:hover > .nav-link .nav-icon--card,
    .nav-link:hover .nav-icon--card {
        animation-duration: 1.1s !important;
        animation-iteration-count: infinite !important;
    }
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
    .builder-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .preview-area {
        order: -1;
        min-height: auto;
    }

    .sign-preview {
        max-width: 280px;
    }

    .sign-preview:hover {
        transform: scale(1.12);
    }

    .sign-preview.is-zoomed,
    .sign-preview.is-zoomed:hover {
        transform: scale(3.36);
    }

    #bordkort_navne .sign-preview.is-zoomed,
    #bordkort_navne .sign-preview.is-zoomed:hover,
    #bordkort_speciale .sign-preview.is-zoomed,
    #bordkort_speciale .sign-preview.is-zoomed:hover,
    #fodselstavle .sign-preview.is-zoomed,
    #fodselstavle .sign-preview.is-zoomed:hover {
        transform: scale(4.5);
    }

    #andre_skilte .sign-preview.is-zoomed,
    #andre_skilte .sign-preview.is-zoomed:hover {
        transform: scale(7.5);
    }
}

@media (max-width: 780px) {
    .nav-toggle {
        display: flex;
    }

    .nav-bar {
        justify-content: flex-end;
        padding: 0.55rem 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        background: rgba(248, 245, 239, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        flex-wrap: wrap;
        gap: 0.15rem;
        padding: 0.75rem 1rem 1rem;
        box-shadow: var(--shadow);
        white-space: normal;
    }

    .main-nav.is-open .nav-links {
        display: flex;
        animation: menuIn 0.25s var(--ease);
    }

    .nav-link {
        padding: 0.85rem 0.65rem;
        font-size: 1rem;
    }

    .main-nav .nav-link::after {
        display: none;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-submenu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 0 1.8rem;
        min-width: 0;
        animation: none;
    }

    .nav-dropdown.is-open .nav-submenu {
        display: block;
    }

    .nav-sub-link {
        padding: 0.55rem 0.5rem;
    }

    .site-header {
        padding: 2rem 0 1.75rem;
    }

    section {
        padding: 2.75rem 0;
    }

    .form-area {
        padding: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }

    #bordkort_navne .sign-photo,
    #bordkort_speciale .sign-photo,
    .product-card__img { width: 100% !important; max-width: 100% !important; height: 100% !important; object-fit: contain !important; }
    #andre_skilte .sign-photo { width: 90% !important; }
    #andre_skilte .product-card__img { width: 100% !important; }
}

@media (max-width: 480px) {
    .site-header h1 {
        font-size: 2rem;
    }

    .sign-preview {
        max-width: 220px;
    }
}
