/* ===== CSS Variables ===== */
:root {
    --primary-color: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #0f2942;
    --secondary-color: #2563eb;
    --accent-color: #3b82f6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-accent: #f1f5f9;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

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

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-light);
}

/* ===== Layout ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

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

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

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

.section-cta {
    background-image: linear-gradient(135deg, rgba(15, 41, 66, 0.93) 0%, rgba(44, 82, 130, 0.88) 100%), url('../assets/pexels-mikhail-nilov-7734672.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: white;
    text-align: center;
}

.section-cta h2, .section-cta p {
    color: white;
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

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

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

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-color: var(--border-color);
}

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

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(5px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: linear-gradient(135deg, rgba(15, 41, 66, 0.92) 0%, rgba(26, 54, 93, 0.88) 50%, rgba(44, 82, 130, 0.85) 100%), url('../assets/pexels-theshuttervision-12503548.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 41, 66, 0.3) 0%, rgba(15, 41, 66, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 800px;
    color: white;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-cta .btn-outline {
    border-color: white;
    color: white;
}

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

/* ===== Page Header ===== */
.page-header {
    background-image: linear-gradient(135deg, rgba(15, 41, 66, 0.92) 0%, rgba(44, 82, 130, 0.88) 100%), url('../assets/pexels-ann-hannes-45017-38729301.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    border-radius: 50%;
    color: white;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== Serve Grid ===== */
.serve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.serve-item {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.serve-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.serve-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.serve-item h3 {
    padding: 1.5rem 1.5rem 0.75rem;
}

.serve-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== Problem Section ===== */
.problem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.problem-text h2 {
    margin-bottom: 1.5rem;
}

.problem-text .lead {
    margin-bottom: 1.5rem;
}

.problem-list {
    margin-bottom: 2rem;
}

.problem-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.problem-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 600;
}

.problem-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ===== Benefits Grid ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    position: relative;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.benefit-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bg-accent);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.benefit-item h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.benefit-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== Forms ===== */
.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.form-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-intro h2 {
    margin-bottom: 1rem;
}

.lead-form,
.contact-form {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--secondary-color);
}

.checkbox-group label {
    font-size: 0.875rem;
    color: var(--text-light);
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-group label a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.checkbox-group label a:hover {
    text-decoration: none;
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-lighter);
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-brand address {
    font-style: normal;
}

.footer-brand address p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-brand a {
    color: var(--accent-color);
}

.footer-brand a:hover {
    color: white;
}

.footer-links h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: white;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}

.footer-disclaimer p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

/* ===== Cookie Banner & Modal ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner:not(.hidden) {
    transform: translateY(0);
}

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

.cookie-text h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.cookie-text p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 0.875rem;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 1;
    visibility: visible;
    transition: var(--transition);
}

.cookie-modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-content {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin-bottom: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
}

.close-btn:hover {
    color: var(--text-color);
}

.modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.cookie-category:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.category-header label {
    font-weight: 600;
    color: var(--text-color);
}

.badge {
    background-color: var(--success-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    appearance: none;
    background-color: var(--border-color);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-switch:checked {
    background-color: var(--secondary-color);
}

.toggle-switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch:checked::before {
    transform: translateX(20px);
}

.cookie-category p {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* ===== About Page ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text .lead {
    margin-bottom: 1rem;
}

/* ===== Mission Vision ===== */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mv-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.mv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    border-radius: 50%;
    color: white;
}

.mv-card h3 {
    margin-bottom: 1rem;
}

.mv-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== Values Grid ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.value-card:hover {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    color: var(--secondary-color);
    margin-bottom: 1.25rem;
}

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

.value-card p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9375rem;
}

/* ===== Apart Content ===== */
.apart-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.apart-text h2 {
    margin-bottom: 1.5rem;
}

.apart-list {
    margin-bottom: 0;
}

.apart-list li {
    margin-bottom: 1rem;
    padding-left: 0;
}

.apart-list li strong {
    color: var(--primary-color);
}

.apart-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ===== CTA Content ===== */
.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    margin-bottom: 0.5rem;
}

.contact-info .lead {
    margin-bottom: 2rem;
}

.company-info {
    margin-bottom: 2rem;
}

.company-info h3 {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-accent);
    border-radius: var(--border-radius);
    color: var(--secondary-color);
}

.info-content strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.info-content p {
    margin-bottom: 0;
    color: var(--text-light);
}

.info-content a {
    color: var(--secondary-color);
}

.info-content a:hover {
    text-decoration: underline;
}

.business-hours {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.business-hours h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.hours-list {
    margin-bottom: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list span {
    font-weight: 500;
    color: var(--primary-color);
}

.contact-form-wrapper h3 {
    margin-bottom: 1.5rem;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
}

.map-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.address-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 2rem;
    box-shadow: var(--shadow-sm);
}

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

.address-card a {
    color: var(--secondary-color);
}

/* ===== Services Page ===== */
.services-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--bg-accent);
    line-height: 1;
    margin-bottom: 1rem;
}

.service-content h2 {
    margin-bottom: 0.5rem;
}

.service-content .lead {
    margin-bottom: 1.5rem;
}

.service-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.service-list {
    margin-bottom: 1.5rem;
}

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.service-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.service-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.example-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.example-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    border-radius: 50%;
    color: white;
}

.example-card h3 {
    margin-bottom: 1rem;
}

.example-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== Business Model Page ===== */
.bm-section {
    max-width: 900px;
    margin: 0 auto;
}

.bm-section h2 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.bm-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.bm-card {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

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

.bm-card p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.serve-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.serve-list-item {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.serve-list-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.serve-list-item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.revenue-content {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.revenue-item {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.revenue-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.revenue-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

.revenue-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-white);
    border-left: 4px solid var(--secondary-color);
    border-radius: var(--border-radius);
}

.revenue-note h4 {
    margin-bottom: 0.75rem;
}

.revenue-note p {
    color: var(--text-light);
    margin-bottom: 0;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.data-category {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.data-category h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.data-category ul li {
    padding: 0.375rem 0;
    color: var(--text-light);
    font-size: 0.9375rem;
    position: relative;
    padding-left: 1.25rem;
}

.data-category ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

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

.purpose-item {
    position: relative;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.purpose-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bg-accent);
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    line-height: 1;
}

.purpose-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.purpose-item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.commitment-content {
    margin-top: 2rem;
}

.commitment-list {
    margin-bottom: 2rem;
}

.commitment-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.commitment-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 600;
}

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

.commitment-cta a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ===== Legal Pages ===== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-intro {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.legal-content ul,
.legal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content ul {
    list-style-type: disc;
}

.legal-content ol {
    list-style-type: decimal;
}

.legal-content li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.legal-content a {
    color: var(--secondary-color);
}

.legal-content a:hover {
    text-decoration: underline;
}

.contact-box {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.contact-box p {
    margin-bottom: 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border: 1px solid var(--border-color);
}

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

.cookie-table td {
    font-size: 0.9375rem;
    color: var(--text-light);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        gap: 0;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 0;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .problem-content,
    .about-content,
    .apart-content,
    .contact-grid,
    .service-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-detail.reverse {
        direction: ltr;
    }
    
    .problem-image,
    .about-image,
    .apart-image,
    .service-image {
        order: -1;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        order: -1;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 3rem 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .page-header {
        padding: 7rem 0 3rem;
    }
    
    .lead-form,
    .contact-form {
        padding: 1.5rem;
    }
    
    .serve-grid,
    .features-grid,
    .benefits-grid,
    .examples-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .bm-content-grid,
    .serve-list-grid,
    .data-grid,
    .purpose-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Utility Classes ===== */
.hidden {
    display: none !important;
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}