/* ==========================================================================
   Giesecke Advisory — Global Styles
   ========================================================================== */

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

:root {
    --primary: #0d5c63;
    --primary-dark: #094249;
    --primary-light: #0e6b73;
    --accent: #0de2ea;
    --accent-hover: #0bc5cc;
    --text: #1a1a1a;
    --text-light: #4a5568;
    --text-muted: #718096;
    --bg: #ffffff;
    --bg-alt: #f8fafa;
    --bg-warm: #fafaf8;
    --border: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(13,92,99,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

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

a {
    color: var(--primary);
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-hover);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container--narrow {
    max-width: 800px;
}

.container--medium {
    max-width: 900px;
}

/* ---------- Skip to content (accessibility) ---------- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    z-index: 9999;
    font-size: 0.875rem;
}

.skip-link:focus {
    top: 0;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--primary);
    z-index: 1000;
    padding: 0.75rem 2rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo svg {
    height: 40px;
    width: auto;
}

.logo-text {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--accent);
}

.nav-cta {
    background: var(--accent);
    color: var(--primary-dark) !important;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: white;
    color: var(--primary-dark) !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background: white;
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.2s;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: all 0.2s;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ==========================================================================
   Section Layout
   ========================================================================== */

.section {
    padding: 5rem 2rem;
}

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

.section--dark {
    background: var(--primary);
    color: white;
}

.section--dark-deep {
    background: var(--primary-dark);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: block;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section--dark .section-header h2 {
    color: white;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section--dark .section-header p {
    color: rgba(255,255,255,0.8);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    transition: all 0.3s;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card__icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.card ul {
    list-style: none;
    font-size: 0.9rem;
}

.card li {
    padding: 0.5rem 0;
    color: var(--text);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.card li::before {
    content: "\2713";
    color: var(--accent);
    font-weight: bold;
    flex-shrink: 0;
}

/* ==========================================================================
   Credibility Bar
   ========================================================================== */

.credibility {
    padding: 2.5rem 2rem;
    background: white;
    border-bottom: 1px solid var(--border);
}

.credibility-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.cred-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cred-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-alt);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.cred-text span:first-child {
    display: block;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.cred-text span:last-child {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ==========================================================================
   FAQ / Accordion
   ========================================================================== */

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.faq-item summary {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item p {
    margin-top: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 720px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    padding: 4rem 2rem 2rem;
    background: var(--primary-dark);
    color: white;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-column h4 {
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    font-family: 'Inter', sans-serif;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.6rem;
}

.footer-column a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.footer-column a:hover {
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .credibility-container {
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 3.5rem 1.25rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .credibility-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}
