/* ========================================
   RockPins — Main Styles
   A playful, clean, professional design
   ======================================== */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--shop-body-font);
    color: #000000;
    font-weight: 400;
    background: var(--shop-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--shop-heading-font); line-height: 1.2; font-weight: 600; }

/* ── Container ── */
.container {
    width: 100%;
    max-width: var(--shop-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--shop-transition);
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--shop-primary);
    color: #fff;
    border-color: var(--shop-primary);
}
.btn-primary:hover {
    background: #5fa8e0;
    border-color: #5fa8e0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 185, 232, 0.35);
}

.btn-secondary {
    background: var(--shop-secondary);
    color: #fff;
    border-color: var(--shop-secondary);
}
.btn-secondary:hover {
    background: #d891b0;
    border-color: #d891b0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 160, 192, 0.35);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.btn-outline:hover {
    background: #fff;
    color: var(--shop-text);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--shop-text);
    border-color: var(--shop-text);
}
.btn-outline-dark:hover {
    background: var(--shop-text);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Announcement Bar ── */
.announcement-bar {
    background: var(--shop-primary);
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1001;
}
.announcement-bar span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.navbar.has-announcement {
    top: 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    max-width: var(--shop-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.nav-logo img {
    height: 44px;
    width: auto;
    transition: all var(--shop-transition);
}

.nav-logo span {
    font-family: var(--shop-heading-font);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    transition: color var(--shop-transition);
}

.navbar.scrolled .nav-logo span {
    color: var(--shop-text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    transition: all var(--shop-transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-link {
    color: var(--shop-text);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--shop-primary);
    background: var(--shop-primary-light);
}

/* ── Hamburger ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    z-index: 1100;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.navbar.scrolled .hamburger span {
    background: var(--shop-text);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.hamburger.open span {
    background: var(--shop-text) !important;
}

/* ── Mobile Sidebar ── */
.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.sidebar-backdrop.open {
    display: block;
    opacity: 1;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: #fff;
    z-index: 1060;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
}

.mobile-sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--shop-border);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-logo img {
    height: 36px;
    width: auto;
}

.sidebar-logo span {
    font-family: var(--shop-heading-font);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--shop-text);
}

.sidebar-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--shop-transition);
}
.sidebar-close:hover {
    background: var(--shop-surface);
}
.sidebar-close svg {
    width: 22px;
    height: 22px;
    stroke: var(--shop-text);
}

.sidebar-nav {
    padding: 16px 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--shop-text);
    transition: all var(--shop-transition);
    border-left: 3px solid transparent;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: var(--shop-primary-light);
    color: var(--shop-primary);
    border-left-color: var(--shop-primary);
}

.sidebar-link svg {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    flex-shrink: 0;
}

.sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--shop-border);
    margin-top: auto;
}

.sidebar-social {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.sidebar-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--shop-surface);
    transition: all var(--shop-transition);
}
.sidebar-social a:hover {
    background: var(--shop-primary);
    color: #fff;
}
.sidebar-social a svg {
    width: 18px;
    height: 18px;
}

.sidebar-tagline {
    font-size: 0.8rem;
    color: var(--shop-muted);
    font-style: italic;
}

/* ── Hero ── */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--announcement-bar-height, 40px));
    height: calc(100dvh - var(--announcement-bar-height, 40px));
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -20%;
    left: 0;
    right: 0;
    height: 120%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        #B4CDE5 0%,
        rgba(180, 205, 229, 0.6) 8%,
        rgba(180, 205, 229, 0.1) 18%,
        transparent 30%,
        transparent 55%,
        rgba(255, 255, 255, 0.45) 78%,
        rgba(255, 255, 255, 1) 100%
    );
    z-index: 1;
}

.hero-img-mobile {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px 80px;
}

.hero-tagline {
    font-family: var(--shop-heading-font);
    font-size: 1.3rem;
    color: var(--shop-text);
    opacity: 0.85;
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.6;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: scrollBounce 2s ease-in-out infinite;
    cursor: pointer;
    pointer-events: auto;
}

.scroll-indicator span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--shop-text);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    stroke: var(--shop-text);
    opacity: 0.6;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollBounceMobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ── Sections ── */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--shop-surface);
}

.section-blue {
    background: var(--rp-blue-light);
}

.section-pink {
    background: var(--rp-pink-light);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-title {
    font-size: 2.4rem;
    color: var(--shop-text);
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--shop-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── About Section ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--shop-radius);
    overflow: hidden;
    box-shadow: var(--shop-shadow-lg);
    position: relative;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-tagline {
    font-size: 1.15rem;
    color: var(--shop-secondary);
    font-weight: 600;
    font-style: italic;
    margin-bottom: 16px;
}

.about-text {
    color: #444;
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--shop-surface);
    border-radius: var(--shop-radius-sm);
    border: 1px solid var(--shop-border);
}

.highlight-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--shop-primary-light);
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.highlight-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--shop-text);
}

/* ── Featured Products ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.product-grid .loading-spinner {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding: 60px 0;
}

.loading-spinner::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid var(--shop-border);
    border-top-color: var(--shop-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ── Process / Sketch to Pin ── */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: linear-gradient(to right, var(--shop-primary), var(--shop-secondary));
    border-radius: 2px;
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 3px solid var(--shop-primary);
    font-size: 2.2rem;
    transition: all var(--shop-transition);
}

.process-step:hover .process-icon {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(124, 185, 232, 0.25);
    background: var(--shop-primary-light);
}

.process-number {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: var(--shop-primary);
    width: 26px;
    height: 26px;
    line-height: 26px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.process-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-desc {
    font-size: 0.85rem;
    color: var(--shop-muted);
    line-height: 1.6;
}

/* ── Team Section ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.team-card {
    background: #fff;
    border-radius: var(--shop-radius);
    padding: 32px 20px;
    text-align: center;
    box-shadow: var(--shop-shadow);
    border: 1px solid var(--shop-border);
    transition: all var(--shop-transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shop-shadow-lg);
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--shop-primary), var(--shop-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.team-role {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--shop-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 0.82rem;
    color: var(--shop-muted);
    line-height: 1.6;
}

/* ── How to Buy ── */
.buy-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.buy-info h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.buy-price-badge {
    display: inline-block;
    background: var(--shop-primary);
    color: #fff;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.buy-steps {
    counter-reset: buy-step;
}

.buy-step {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    counter-increment: buy-step;
    position: relative;
}

.buy-step:not(:last-child) {
    border-bottom: 1px solid var(--shop-border);
}

.buy-step-num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--shop-primary-light);
    color: var(--shop-primary);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.buy-step-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    padding-top: 6px;
}

.buy-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.buy-pin-card {
    background: #fff;
    border-radius: var(--shop-radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shop-shadow);
    border: 1px solid var(--shop-border);
    transition: all var(--shop-transition);
}

.buy-pin-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shop-shadow-lg);
}

.buy-pin-emoji {
    font-size: 3rem;
    margin-bottom: 10px;
}

.buy-pin-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.buy-pin-price {
    color: var(--shop-primary);
    font-weight: 700;
    font-size: 0.85rem;
}

/* ── Facts Section ── */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.fact-card {
    background: #fff;
    border-radius: var(--shop-radius);
    padding: 28px;
    box-shadow: var(--shop-shadow);
    border: 1px solid var(--shop-border);
    transition: all var(--shop-transition);
    display: flex;
    gap: 20px;
}

.fact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shop-shadow-lg);
}

.fact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rp-blue-light);
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 1.6rem;
}

.fact-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.fact-content p {
    font-size: 0.88rem;
    color: var(--shop-muted);
    line-height: 1.7;
}

/* ── Journey / Timeline ── */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 29px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--shop-primary), var(--shop-secondary));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding: 0 0 40px 72px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 18px;
    top: 4px;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 3px solid var(--shop-primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:hover .timeline-dot {
    background: var(--shop-primary);
}

.timeline-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--shop-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-desc {
    font-size: 0.88rem;
    color: var(--shop-muted);
    line-height: 1.7;
}

/* ── Contact Section ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: #fff;
    border-radius: var(--shop-radius);
    box-shadow: var(--shop-shadow);
    border: 1px solid var(--shop-border);
    transition: all var(--shop-transition);
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: var(--shop-shadow-lg);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--shop-primary-light);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--shop-primary);
}

.contact-label {
    font-size: 0.8rem;
    color: var(--shop-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.contact-value {
    font-weight: 600;
    font-size: 1rem;
    margin-top: 4px;
}

.contact-value a {
    color: var(--shop-primary);
    transition: color var(--shop-transition);
}

.contact-value a:hover {
    color: #5fa8e0;
}

/* ── Footer ── */
.footer {
    background: var(--shop-text);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-name {
    font-family: var(--shop-heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-brand-name img {
    height: 32px;
    width: auto;
}

.footer-brand-text {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--shop-transition);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-credit a {
    color: var(--shop-primary);
    font-weight: 600;
    transition: color var(--shop-transition);
}

.footer-credit a:hover {
    color: #fff;
}

/* ── Page Header (for sub-pages) ── */
.page-header {
    padding: 120px 0 40px;
    background: linear-gradient(135deg, var(--rp-blue-light), var(--rp-pink-light));
    text-align: center;
}

.page-header h1 {
    font-size: 2.4rem;
}

.page-header .breadcrumb {
    font-size: 0.88rem;
    color: var(--shop-muted);
    margin-top: 8px;
}

.page-header .breadcrumb a {
    color: var(--shop-primary);
}

/* ── Empty State ── */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--shop-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ── Shared Element Container ── */
.shared-element-container {
    min-height: 400px;
}

/* ── Scroll Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .about-grid {
        gap: 40px;
    }
    
    .buy-layout {
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .section {
        padding: 56px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-header {
        margin-bottom: 36px;
    }

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

    .about-image {
        order: -1;
    }

    .about-content h2 {
        font-size: 1.7rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    /* Process */
    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .process-grid::before {
        display: none;
    }

    /* Buy */
    .buy-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .buy-visual {
        order: -1;
    }

    /* Facts */
    .facts-grid {
        grid-template-columns: 1fr;
    }

    .fact-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Product grid */
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    /* Hero — mobile: natural height, image on top, content below */
    .hero {
        height: auto;
        min-height: unset;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        background-color: #B4CDE5;
        overflow: visible;
    }

    .hero-bg {
        display: none;
    }

    .hero-overlay {
        display: none;
    }

    .hero-img-mobile {
        display: block;
        width: 100%;
        height: auto;
        position: relative;
        z-index: 1;
        margin-top: var(--announcement-bar-height, 40px);
    }

    .hero-content {
        position: relative;
        z-index: 2;
        padding: 28px 20px 8px;
    }

    .hero-tagline {
        font-size: 1.05rem;
    }

    .hero-cta .btn {
        padding: 12px 24px;
        font-size: 0.88rem;
    }

    .scroll-indicator {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        align-self: center;
        animation: scrollBounceMobile 2s ease-in-out infinite;
        margin-top: 0;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 44px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-icon {
        width: 72px;
        height: 72px;
        font-size: 1.6rem;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .team-card {
        padding: 24px 14px;
    }

    .team-avatar {
        width: 70px;
        height: 70px;
    }

    .buy-visual {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}
