/* ===========================
   Limacher Informationssicherheit GmbH
   Brand Stylesheet
   =========================== */

/* --- Fonts --- */
@font-face {
    font-family: 'ProximaNova';
    src: url('../fonts/proximanova-regular-webfont.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Essai';
    src: url('../fonts/Essai.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* --- CSS Variables --- */
:root {
    --color-navy: #013765;
    --color-navy-dark: #0f3b65;
    --color-teal: #0aa0ba;
    --color-teal-dark: #1ca3b8;
    --color-teal-light: #45cddb;
    --color-blue: #006cbc;
    --color-bg-light: #e8f6f8;
    --color-gray: #c6c6c6;
    --color-gray-light: #f5f5f5;
    --color-gray-dark: #555;
    --color-white: #ffffff;
    --color-text: #222;
    --color-text-light: #dfe8f0;
    --font-body: 'ProximaNova', 'Segoe UI', Arial, sans-serif;
    --font-display: 'Essai', 'Georgia', serif;
    --max-width: 1200px;
    --header-height: 80px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--color-teal);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-teal-dark);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--color-teal);
    outline-offset: 2px;
}

ul, ol {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-navy);
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
    margin-bottom: 1em;
}

/* --- Layout --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

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

.section--dark {
    background: var(--color-navy-dark);
    color: var(--color-text-light);
}

.section--dark h2,
.section--dark h3 {
    color: var(--color-white);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: box-shadow var(--transition);
}

.header--scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header__logo img {
    height: 50px;
    width: auto;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header__nav a {
    color: var(--color-navy);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.25rem 0;
}

.header__nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-teal);
    transition: width var(--transition);
}

.header__nav a:hover::after,
.header__nav a.active::after {
    width: 100%;
}

.header__nav a:hover {
    color: var(--color-teal);
}

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

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-navy);
    margin: 5px 0;
    transition: var(--transition);
}

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

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

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

/* --- Hero Section --- */
.hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 60%, var(--color-teal) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(10, 160, 186, 0.1);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(10, 160, 186, 0.08);
}

.hero h1 {
    color: var(--color-white);
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 700px;
    opacity: 0.92;
    position: relative;
    z-index: 1;
}

.hero__tagline {
    margin-top: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-teal-light);
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* --- Page Hero (subpages) --- */
.page-hero {
    padding: 6rem 0 3rem;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    color: var(--color-white);
    margin-top: var(--header-height);
    text-align: center;
}

.page-hero h1 {
    color: var(--color-white);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.page-hero p {
    max-width: 700px;
    margin: 0.5rem auto 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-align: center;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-teal) 100%);
    color: var(--color-white);
}

.btn--primary:hover {
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(10, 160, 186, 0.4);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--color-teal);
    color: var(--color-teal);
}

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

.btn--white {
    background: var(--color-white);
    color: var(--color-navy);
}

.btn--white:hover {
    color: var(--color-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

/* --- Cards --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--color-white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform var(--transition), box-shadow var(--transition);
    border-top: 3px solid var(--color-teal);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.card ul {
    list-style: none;
    padding: 0;
}

.card ul li {
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.95rem;
}

.card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-teal);
}

.card__link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--color-teal);
}

.card__link:hover {
    color: var(--color-navy);
}

/* --- Pain Points --- */
.pain-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pain-point {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 3px solid var(--color-teal);
    font-style: italic;
    color: var(--color-gray-dark);
}

/* --- Values --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.value-item h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    fill: var(--color-teal);
}

/* --- Testimonials --- */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: relative;
}

.testimonial::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--color-teal);
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    line-height: 1;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial__text {
    font-style: italic;
    margin-bottom: 1rem;
    padding-top: 1rem;
    color: var(--color-gray-dark);
}

.testimonial__author {
    font-weight: 600;
    color: var(--color-navy);
    font-size: 0.9rem;
}

/* --- Certifications --- */
.cert-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cert-item {
    text-align: center;
    padding: 1.5rem 2rem;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    min-width: 150px;
}

.cert-item__name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-navy);
    font-weight: 700;
}

.cert-item__org {
    font-size: 0.85rem;
    color: var(--color-gray-dark);
    margin-top: 0.25rem;
}

/* --- Case Studies --- */
.case-studies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.case-study {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.case-study__header {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 1.5rem;
}

.case-study__header h3 {
    color: var(--color-white);
    margin: 0;
}

.case-study__body {
    padding: 1.5rem;
}

.case-study__body h4 {
    color: var(--color-teal);
    margin-bottom: 0.5rem;
}

.case-study__body ul {
    list-style: none;
}

.case-study__body ul li {
    padding: 0.3rem 0 0.3rem 1.2rem;
    position: relative;
}

.case-study__body ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--color-teal);
    font-weight: 700;
}

/* --- Blog Cards --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.blog-card__body {
    padding: 1.5rem;
}

.blog-card__date {
    font-size: 0.85rem;
    color: var(--color-gray-dark);
    margin-bottom: 0.5rem;
}

.blog-card__category {
    display: inline-block;
    background: var(--color-bg-light);
    color: var(--color-teal-dark);
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    font-size: 1.1rem;
}

.blog-card h3 a {
    color: var(--color-navy);
}

.blog-card h3 a:hover {
    color: var(--color-teal);
}

.blog-card__excerpt {
    font-size: 0.95rem;
    color: var(--color-gray-dark);
}

/* --- Contact Form --- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--color-navy);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition);
    background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(10, 160, 186, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: none;
}

.form-message--success {
    background: #e8f5e9;
    color: #2e7d32;
    display: block;
}

.form-message--error {
    background: #ffebee;
    color: #c62828;
    display: block;
}

/* Honeypot */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* --- Service Detail Pages --- */
.service-list {
    margin: 1.5rem 0;
}

.service-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    line-height: 1.6;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-teal);
}

.service-block {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.service-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* --- Steps / Process --- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 1.5rem;
    padding-top: 3rem;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    counter-increment: step;
}

.step::before {
    content: counter(step);
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-teal);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.step h4 {
    color: var(--color-navy);
    margin-bottom: 0.3rem;
}

.step p {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    margin: 0;
}

/* --- Standards Grid --- */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.standard-item {
    padding: 1.5rem;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 3px solid var(--color-teal);
}

.standard-item h4 {
    color: var(--color-navy);
    margin-bottom: 0.3rem;
}

.standard-item p {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    margin: 0;
}

/* --- Highlights --- */
.highlights {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 2rem 0;
    text-align: center;
}

.highlight {
    min-width: 160px;
}

.highlight__value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-teal);
    font-weight: 700;
}

.highlight__label {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-teal) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    position: relative;
    z-index: 1;
}

/* --- Contact Info --- */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    fill: var(--color-teal);
}

.contact-item__label {
    font-weight: 600;
    color: var(--color-navy);
    font-size: 0.9rem;
}

.contact-item__value {
    color: var(--color-text);
}

.contact-item__value a {
    color: var(--color-teal);
}

/* --- Map --- */
.map-container {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* --- Address Cards --- */
.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.address-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-top: 3px solid var(--color-teal);
}

.address-card h3 {
    margin-bottom: 0.5rem;
}

/* --- Blog Article --- */
.article {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.article__meta {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-gray-light);
}

.article h2 {
    margin-top: 2rem;
}

.article h3 {
    margin-top: 1.5rem;
}

.article ul, .article ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.article ul { list-style: disc; }
.article ol { list-style: decimal; }

.article ul li, .article ol li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

.article blockquote {
    border-left: 3px solid var(--color-teal);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--color-bg-light);
    border-radius: 0 4px 4px 0;
    font-style: italic;
    color: var(--color-gray-dark);
}

.article code {
    background: var(--color-gray-light);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
}

.article pre {
    background: var(--color-navy-dark);
    color: var(--color-text-light);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.article pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.article figure {
    margin: 1.5rem 0;
}

.article figure img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid var(--color-gray-light);
}

.article figure figcaption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-dark);
    font-style: italic;
}

.article__nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-light);
}

/* --- Legal Pages --- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.legal-content h2 {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-gray-light);
}

.legal-content h2:first-child {
    border-top: none;
    padding-top: 0;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.legal-content th,
.legal-content td {
    text-align: left;
    padding: 0.6rem 1rem;
    border: 1px solid var(--color-gray);
}

.legal-content th {
    background: var(--color-bg-light);
    font-weight: 600;
}

/* --- PGP Key --- */
.pgp-key {
    background: var(--color-navy-dark);
    color: var(--color-text-light);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-all;
}

/* --- Footer --- */
.footer {
    background: var(--color-navy-dark);
    color: var(--color-text-light);
    padding: 3rem 0 1.5rem;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer__brand p {
    opacity: 0.8;
    font-size: 0.95rem;
    margin-top: 1rem;
}

.footer__logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer h4 {
    color: var(--color-teal-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer__links a {
    display: block;
    color: var(--color-text-light);
    opacity: 0.8;
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.footer__links a:hover {
    color: var(--color-teal-light);
    opacity: 1;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    opacity: 0.6;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .header__nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.5rem;
        gap: 0.25rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        z-index: 999;
    }

    .header__nav.active {
        display: flex;
    }

    .header__nav a {
        padding: 0.75rem 0.25rem;
        font-size: 1rem;
    }

    .header__nav a::after {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .page-hero {
        padding: 5rem 0 2rem;
    }

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

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

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

    .highlights {
        gap: 1.5rem;
    }

    .case-studies {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

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

    .cert-grid {
        gap: 1rem;
    }

    .btn {
        display: block;
        width: 100%;
    }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
