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

:root {
    --primary: #2d8f5e;
    --primary-dark: #1e6b43;
    --secondary: #ff8c42;
    --accent: #ffb84d;
    --dark: #1f3a2e;
    --gray: #6c757d;
    --light-gray: #f4f8f6;
    --white: #ffffff;
    --border: #dfe8e2;
    --success: #28a745;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
    --radius: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

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

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

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

h1, h2, h3, h4 {
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: var(--dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1em; }

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    text-decoration: none;
    font-size: 1rem;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

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

.btn-link {
    background: none;
    color: var(--primary);
    padding: 12px 8px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    display: none;
}

.cookie-banner.show {
    display: block;
}

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

.cookie-content p {
    flex: 1;
    min-width: 250px;
    margin: 0;
    font-size: 0.9rem;
}

.cookie-content a {
    color: #66b3ff;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-banner .btn-link {
    color: var(--white);
}

/* Header */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    font-size: 1.4rem;
    color: var(--dark);
    text-decoration: none;
}

.logo-text strong {
    color: var(--primary);
}

.logo:hover {
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--dark);
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.main-nav a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: 0.3s;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0fe 100%);
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-item {
    color: var(--dark);
    font-weight: 500;
}

.check {
    color: var(--secondary);
    font-weight: bold;
    margin-right: 6px;
}

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

.section-title {
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 48px;
    font-size: 1.1rem;
}

/* Services Grid */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-link {
    font-weight: 600;
    display: inline-block;
}

/* How it Works */
.how-it-works {
    background: var(--light-gray);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.step {
    text-align: center;
    padding: 24px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-center {
    text-align: center;
}

/* Why Us */
.why-us {
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.benefit-item {
    padding: 24px;
    background: var(--light-gray);
    border-radius: var(--radius);
}

.benefit-item h3 {
    margin-bottom: 12px;
    color: var(--primary);
}

.benefit-item p {
    color: var(--gray);
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: #b4c0d0;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

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

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #b4c0d0;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-col address {
    font-style: normal;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid #2c3e50;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom .disclaimer {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #8896a8;
}

/* Page Header (для внутренних страниц) */
.page-header {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0fe 100%);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 12px;
}

.page-header .breadcrumb {
    color: var(--gray);
}

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

/* Content Pages */
.content-section {
    padding: 60px 0;
    background: var(--white);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper h3 {
    margin-top: 24px;
    color: var(--primary);
}

.content-wrapper ul, .content-wrapper ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

.content-wrapper li {
    margin-bottom: 8px;
}

.content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.content-wrapper th, .content-wrapper td {
    border: 1px solid var(--border);
    padding: 12px;
    text-align: left;
}

.content-wrapper th {
    background: var(--light-gray);
    font-weight: 600;
}

.info-box {
    background: #e8f0fe;
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

/* Form */
.form-section {
    padding: 60px 0;
    background: var(--light-gray);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--dark);
}

.form-group label .required {
    color: #dc3545;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}

.form-check input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.form-check label {
    font-size: 0.95rem;
    font-weight: normal;
    color: var(--gray);
}

.form-submit {
    text-align: center;
    margin-top: 24px;
}

.form-success {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 20px;
}

.form-success.show {
    display: block;
}

/* Contact Info */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-card h3 {
    margin-bottom: 12px;
}

.contact-card p, .contact-card a {
    color: var(--gray);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }

    .hero { padding: 60px 0; }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1.1rem; }

    section { padding: 60px 0; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 20px;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 12px;
    }

    .menu-toggle {
        display: flex;
    }

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

    .form-container {
        padding: 24px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}


/* ==============================================
   Additional styles for paulcamper.org
   ============================================== */

/* Top bar (above header) */
.top-bar {
    background: var(--dark);
    color: #fff;
    font-size: 0.9rem;
    padding: 8px 0;
}
.top-bar a { color: var(--accent); }
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-phone { font-weight: 600; }
.top-hours { opacity: 0.85; }

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 80px 0 100px;
    position: relative;
}
.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.hero h1 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.hero-note {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Features section */
.features-section {
    padding: 70px 0;
    background: var(--light-gray);
}
.section-title {
    text-align: center;
    margin-bottom: 12px;
}
.section-subtitle {
    text-align: center;
    color: var(--gray);
    max-width: 720px;
    margin: 0 auto 40px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.feature-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

/* Offer section */
.offer-section {
    padding: 70px 0;
    background: #fff;
}
.offer-box {
    background: linear-gradient(135deg, #fff 0%, var(--light-gray) 100%);
    border: 2px solid var(--primary);
    padding: 48px 40px;
    border-radius: var(--radius);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.offer-desc { font-size: 1.1rem; margin-bottom: 24px; }
.offer-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 600px;
    margin: 0 auto 30px;
}
.offer-list li {
    padding: 8px 0;
    font-size: 1.05rem;
}
.offer-cta { margin-top: 20px; }

/* How section */
.how-section {
    padding: 70px 0;
    background: var(--light-gray);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 20px;
}
.step-card {
    background: #fff;
    padding: 30px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #e57230 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}
.cta-section h2 { color: #fff; }
.cta-section p { font-size: 1.1rem; margin-bottom: 24px; }
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-section .btn-primary {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}
.cta-section .btn-primary:hover {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}

/* Cookie table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 0.95rem;
}
.cookie-table th, .cookie-table td {
    border: 1px solid var(--border);
    padding: 10px 12px;
    text-align: left;
}
.cookie-table th {
    background: var(--light-gray);
    font-weight: 600;
}

/* Outline btn variant */
.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero { padding: 60px 0 70px; }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .top-bar-inner { justify-content: center; text-align: center; }
    .features-section, .offer-section, .how-section, .cta-section { padding: 50px 0; }
    .offer-box { padding: 32px 20px; }
}
