/* ═══════════════════════════════════════════════════════════
   SPECTRUM INTERNATIONAL — Luxury Green Design System
   All classes prefixed sp- to avoid conflicts
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
    --green:       #07870f;
    --green-dark:  #055a0a;
    --green-deep:  #0a1a0b;
    --ink:         #0e1a0f;
    --ink-mid:     #1a3a1c;
    --cream:       #fafaf7;
    --beige:       #f2ede6;
    --warm:        #e8e2d9;
    --muted:       #6b7c6e;
    --border:      #dde8dd;
    --white:       #ffffff;
    --gold:        #b8963e;
    --serif:       'Cormorant Garamond', Georgia, serif;
    --sans:        'DM Sans', system-ui, sans-serif;
    --shadow-sm:   0 2px 12px rgba(0,0,0,.06);
    --shadow-md:   0 8px 32px rgba(0,0,0,.10);
    --shadow-lg:   0 24px 64px rgba(0,0,0,.14);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--ink);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }


/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */

.sp-header {
    background: linear-gradient(135deg, #0d1f0e 0%, #1a3a1c 60%, #0a1a0b 100%);
    position: sticky;
    top: 0;
    z-index: 900;
    transition: box-shadow .3s;
}

.sp-header.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,.35);
}

/* Top bar */
.sp-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 48px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: 12px;
    font-family: var(--sans);
    font-weight: 400;
    color: rgba(255,255,255,.4);
    letter-spacing: .03em;
}

.sp-topbar-left {
    display: flex;
    gap: 24px;
    align-items: center;
}

.sp-topbar-left span,
.sp-topbar-left a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.65);
    transition: color .2s;
}

.sp-topbar-left a:hover { color: rgba(255,255,255,.75); }
.sp-topbar-left i { color: var(--green); font-size: 10px; }

.sp-topbar-right {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
}

/* Main nav bar */
.sp-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 75px;
    overflow: visible;
}

/* Logo */
.sp-logo { display: flex; align-items: center; flex-shrink: 0; position: relative; z-index: 10; }
.sp-logo img {
    height: 150px;
    position: relative;
    top: 37px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
    transition: opacity .2s;
}
.sp-logo:hover img { opacity: .85; }

/* Desktop nav links */
.sp-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.sp-nav-link {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .03em;
    color: rgba(255,255,255,.65);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all .2s;
    white-space: nowrap;
}

.sp-nav-link:hover {
    color: white;
    background: rgba(255,255,255,.09);
}

.sp-nav-link.active {
    color: white;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    box-shadow: 0 2px 12px rgba(7,135,15,.3);
}

/* Right side */
.sp-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Flag switcher */
.sp-flags { display: flex; gap: 4px; }
.sp-flags a {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    transition: all .2s;
    opacity: .55;
}
.sp-flags a:hover { opacity: 1; background: rgba(255,255,255,.14); transform: scale(1.08); }
.sp-flags a.active { opacity: 1; background: rgba(7,135,15,.2); border-color: rgba(7,135,15,.4); }

/* Hamburger button */
.sp-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 9px;
    border-radius: 10px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    transition: background .2s;
}
.sp-hamburger:hover { background: rgba(255,255,255,.18); }
.sp-hamburger span {
    display: block;
    width: 20px; height: 2px;
    background: white;
    border-radius: 2px;
    transition: all .3s;
}
.sp-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sp-hamburger.open span:nth-child(2) { opacity: 0; }
.sp-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ═══════════════════════════════════════════════════════════
   MOBILE OVERLAY & PANEL
   ═══════════════════════════════════════════════════════════ */

.sp-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
}
.sp-overlay.show { display: block; }

.sp-panel {
    position: fixed;
    top: 0; right: 0;
    width: 300px; height: 100vh;
    background: linear-gradient(160deg, #0d1f0e 0%, #1a3a1c 100%);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    padding: 24px 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.sp-panel.open { transform: translateX(0); }

.sp-panel-close {
    align-self: flex-end;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.2);
    color: white; font-size: 16px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
    margin-bottom: 20px;
}
.sp-panel-close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }

.sp-panel-logo {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    color: white;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.sp-panel-logo span { color: #4ade80; }

.sp-panel-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.sp-panel-link {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,.75);
    padding: 13px 16px;
    border-radius: 10px;
    transition: all .2s;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.sp-panel-link:hover { background: rgba(255,255,255,.1); color: white; }
.sp-panel-link.active { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: white; }

.sp-panel-flags {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.sp-panel-flags a {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.6);
    font-size: 13px; font-weight: 500;
    transition: all .2s;
}
.sp-panel-flags a:hover { background: rgba(255,255,255,.15); color: white; }
.sp-panel-flags a.active { background: rgba(7,135,15,.25); border-color: rgba(7,135,15,.4); color: white; }

.sp-panel-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.sp-panel-contact a {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: rgba(255,255,255,.5);
    transition: color .2s;
}
.sp-panel-contact a:hover { color: rgba(255,255,255,.85); }
.sp-panel-contact i { color: var(--green); font-size: 11px; }


/* ═══════════════════════════════════════════════════════════
   CONTENT AREA
   ═══════════════════════════════════════════════════════════ */

.content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px;
    padding-top: 90px;
}

.content-box,
.middle-section {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-md);
    min-height: 500px;
}

.site-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 24px;
}


/* ═══════════════════════════════════════════════════════════
   NAV ITEMS (from renderMenu / existing pages)
   ═══════════════════════════════════════════════════════════ */

.nav-item { position: relative; }

.nav-link {
    color: rgba(255,255,255,.65);
    text-decoration: none;
    padding: 8px 16px;
    display: inline-block;
    font-family: var(--sans);
    font-size: 13px; font-weight: 500;
    border-radius: 8px;
    transition: all .2s;
    white-space: nowrap;
}
.nav-link:hover { color: white; background: rgba(255,255,255,.09); }
.nav-link.active {
    color: white;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    box-shadow: 0 2px 12px rgba(7,135,15,.3);
}

.mega-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    background: white;
    min-width: 240px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 12px;
    margin-top: 8px;
    z-index: 999;
    border: 1px solid var(--border);
}
.nav-item:hover .mega-menu { display: block; }

.mega-menu-item { border-radius: 8px; }
.mega-menu-item a {
    display: block;
    padding: 10px 14px;
    font-size: 14px; font-weight: 500;
    color: var(--ink);
    border-radius: 8px;
    transition: all .2s;
}
.mega-menu-item a:hover { background: var(--beige); color: var(--green); padding-left: 18px; }


/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════ */

.page-title {
    font-family: var(--serif);
    font-size: 48px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 16px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); }
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
p  { color: var(--muted); line-height: 1.8; }


/* ═══════════════════════════════════════════════════════════
   FEATURES GRID
   ═══════════════════════════════════════════════════════════ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin: 40px 0;
}

.feature-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all .35s;
    border-top: 3px solid var(--green);
    position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.feature-icon {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px;
    font-size: 30px; color: white;
    box-shadow: 0 8px 24px rgba(7,135,15,.25);
}

.feature-card h3 { font-size: 20px; margin-bottom: 12px; }
.feature-card p  { font-size: 14px; color: var(--muted); line-height: 1.7; }


/* ═══════════════════════════════════════════════════════════
   TRUST SECTION
   ═══════════════════════════════════════════════════════════ */

.trust-section {
    background: var(--beige);
    padding: 64px 24px;
    text-align: center;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.trust-badge-number {
    display: block;
    font-family: var(--serif);
    font-size: 52px; font-weight: 600;
    color: var(--green);
}

.trust-badge-text {
    font-size: 15px; color: var(--muted); font-weight: 500;
}


/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */

.sp-footer {
    background: linear-gradient(135deg, #0a1a0b 0%, #0e2410 100%);
    color: white;
    margin-top: 80px;
}

.sp-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 32px;
}

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

.sp-footer-brand {
    font-family: var(--serif);
    font-size: 26px; font-weight: 600;
    color: white;
    margin-bottom: 14px;
}
.sp-footer-brand span { color: #4ade80; }

.sp-footer-about p {
    font-size: 14px;
    color: rgba(255,255,255,.45);
    line-height: 1.8;
}

.sp-footer-divider {
    height: 1px;
    background: rgba(255,255,255,.08);
    margin: 20px 0;
}

.sp-footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-footer-contact-items a,
.sp-footer-contact-items span {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: rgba(255,255,255,.4);
    transition: color .2s;
}
.sp-footer-contact-items a:hover { color: rgba(255,255,255,.75); }
.sp-footer-contact-items i { color: var(--green); font-size: 11px; }

.sp-footer-col h4 {
    font-family: var(--serif);
    font-size: 17px; font-weight: 600;
    color: white;
    margin-bottom: 20px;
    letter-spacing: .01em;
}

.sp-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sp-footer-col ul li a {
    font-size: 14px; color: rgba(255,255,255,.4);
    transition: all .2s;
}
.sp-footer-col ul li a:hover { color: rgba(255,255,255,.8); padding-left: 4px; }

.sp-footer-bottom {
    text-align: center;
    display: flex; flex-direction: column; gap: 6px;
}
.sp-footer-legal {
    display: flex; justify-content: center; gap: 16px; align-items: center;
    flex-wrap: wrap; margin-bottom: 8px;
}
.sp-footer-legal a { font-size: 13px; color: rgba(255,255,255,.4); transition: color .2s; }
.sp-footer-legal a:hover { color: rgba(255,255,255,.75); }
.sp-footer-legal span { color: rgba(255,255,255,.15); }
.sp-footer-bottom p { font-size: 13px; color: rgba(255,255,255,.3); }
.sp-footer-credit { font-size: 12px; color: rgba(255,255,255,.2); }


/* ═══════════════════════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════════════════════ */

.sp-cookie {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 -4px 32px rgba(0,0,0,.12);
    padding: 20px 24px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.sp-cookie.show { transform: translateY(0); }

.sp-cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.sp-cookie-text strong { font-size: 15px; color: var(--ink); display: block; margin-bottom: 4px; }
.sp-cookie-text p { font-size: 13px; color: var(--muted); }

.sp-cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }

.sp-cookie-accept, .sp-cookie-settings, .sp-cookie-decline {
    padding: 10px 22px;
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 13px; font-weight: 600;
    cursor: pointer; border: none;
    transition: all .2s;
    white-space: nowrap;
}
.sp-cookie-accept  { background: var(--green); color: white; }
.sp-cookie-accept:hover  { background: var(--green-dark); }
.sp-cookie-settings { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.sp-cookie-settings:hover { background: rgba(7,135,15,.06); }
.sp-cookie-decline { background: var(--beige); color: var(--muted); }
.sp-cookie-decline:hover { background: var(--warm); }


/* ═══════════════════════════════════════════════════════════
   SECURITY
   ═══════════════════════════════════════════════════════════ */

.no-select { user-select: none; -webkit-user-select: none; }


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .sp-topbar { padding: 8px 24px; }
    .sp-navbar  { padding: 0 24px; }
    .sp-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 768px) {
    /* Hide desktop topbar & nav */
    .sp-topbar { display: none; }
    .sp-nav    { display: none; }
    .sp-flags  { display: none; }

    /* Show hamburger */
    .sp-hamburger { display: flex; }

    .sp-navbar { padding: 0 16px; height: 60px; }
    .sp-logo img { height: 80px; top: 20px; }

    /* Content */
    .content { padding: 24px 16px; }
    .content-box, .middle-section { padding: 28px 18px; }

    /* Footer */
    .sp-footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .sp-footer-inner { padding: 40px 16px 24px; }

    /* Cookie */
    .sp-cookie-inner { flex-direction: column; align-items: flex-start; }
    .sp-cookie-btns  { flex-wrap: wrap; }

    /* Typography */
    .page-title { font-size: 32px; }
    h1 { font-size: 30px; }
    h2 { font-size: 24px; }
}

@media (max-width: 480px) {
    .sp-navbar { padding: 0 12px; }
    .trust-badges { gap: 32px; }
    .trust-badge-number { font-size: 40px; }
}