/* Millennial Roofers, LLC - Main Stylesheet */

/* CSS Variables */
:root {
    --primary-color: #2d5a27;
    --primary-dark: #1e3d1a;
    --primary-light: #4a8f42;
    --secondary-color: #8b4513;
    --accent-color: #d4a84b;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
    --transition: all 0.3s ease;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-medium);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

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

.btn-outline, .btn-outline-white {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

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

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

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

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

.btn-lg {
    padding: 16px 36px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

.btn-nav {
    padding: 10px 20px;
    font-size: 14px;
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

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

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

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

.cookie-text h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.cookie-text p {
    font-size: 14px;
    opacity: 0.9;
}

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

.cookie-buttons .btn {
    padding: 10px 20px;
    font-size: 14px;
}

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

.cookie-banner .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cookie-banner .btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.5);
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-header h2 {
    font-size: 22px;
    font-weight: 700;
}

.close-modal {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-medium);
    line-height: 1;
}

.modal-body {
    padding: 24px;
}

.cookie-category {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.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: 8px;
}

.category-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.badge {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.cookie-category p {
    font-size: 14px;
    color: var(--text-medium);
}

/* Toggle Switch */
.switch {
    position: relative;
    width: 48px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 26px;
    transition: var(--transition);
    cursor: pointer;
}

.slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}

.switch input:checked + .slider {
    background: var(--primary-color);
}

.switch input:checked + .slider::before {
    transform: translateX(22px);
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
}

.modal-footer .btn {
    flex: 1;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 140px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background: linear-gradient(135deg, #1a2e1a 0%, #2d5a27 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../pexels-ron-lach-8832020.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.hero-text {
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 28px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.feature-icon {
    color: var(--accent-color);
    font-weight: 700;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Sections */
.serve-section, .problem-section, .services-preview, .why-choose, .cta-section {
    padding: 80px 0;
}

.serve-section, .work-examples {
    background: var(--bg-light);
}

.problem-section, .why-choose {
    background: var(--bg-white);
}

/* Serve Grid */
.serve-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.serve-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.serve-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.serve-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.serve-card p {
    color: var(--text-medium);
    font-size: 15px;
}

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

.problem-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.problem-text > p {
    color: var(--text-medium);
    margin-bottom: 28px;
}

.problem-list {
    list-style: none;
}

.problem-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.problem-list li strong {
    display: block;
    font-size: 17px;
    margin-bottom: 4px;
}

.problem-list li p {
    color: var(--text-medium);
    font-size: 15px;
}

.problem-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.problem-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Preview */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 24px;
}

.service-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-content p {
    color: var(--text-medium);
    font-size: 15px;
    margin-bottom: 16px;
}

.link-arrow {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.link-arrow:hover {
    color: var(--primary-dark);
    gap: 10px;
}

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

/* Why Choose */
.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-image img {
    width: 100%;
    height: auto;
    display: block;
}

.why-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.why-text > p {
    color: var(--text-medium);
    margin-bottom: 28px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

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

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-medium);
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
}

.benefits-list .check-icon {
    width: 20px;
    height: 20px;
    font-size: 12px;
}

/* Lead Form */
.lead-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.form-content {
    margin-bottom: 32px;
}

.form-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.form-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
}

.lead-form {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: left;
}

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

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

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-family);
    font-size: 15px;
    color: var(--text-dark);
    transition: var(--transition);
}

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

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

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

.checkbox-group label {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 0;
}

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

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

/* CTA Section */
.cta-section {
    background: var(--secondary-color);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 28px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

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

.footer-contact p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-contact a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

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

.footer-disclaimer {
    background: #111;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.footer-disclaimer p {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-legal a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
}

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

/* Contact Page */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-medium);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-text p, .contact-text address {
    color: var(--text-medium);
    font-size: 15px;
    font-style: normal;
}

.contact-text a {
    color: var(--text-medium);
    text-decoration: none;
}

.contact-text a:hover {
    color: var(--primary-color);
}

.business-hours {
    margin-top: 8px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 14px;
}

.hours-row span:first-child {
    color: var(--text-medium);
}

.hours-row span:last-child {
    font-weight: 600;
}

.emergency-note {
    margin-top: 12px;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
}

.contact-form-wrapper h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

/* Map Section */
.map-section {
    padding: 60px 0 0;
    text-align: center;
}

.map-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.map-section p {
    color: var(--text-medium);
    margin-bottom: 32px;
}

.map-wrapper {
    height: 400px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* Services Page */
.service-detail {
    padding: 60px 0;
}

.service-detail.alt-bg {
    background: var(--bg-light);
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

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

.service-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.service-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-content > p {
    color: var(--text-medium);
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 15px;
}

.service-features .check-icon {
    width: 20px;
    height: 20px;
    font-size: 12px;
}

.service-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Work Examples */
.work-examples {
    padding: 60px 0;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.work-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 280px;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 24px 16px 16px;
    opacity: 0;
    transition: var(--transition);
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-item:hover img {
    transform: scale(1.05);
}

.work-overlay h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.work-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* Legal Content Pages */
.legal-content {
    padding: 60px 0;
}

.legal-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.legal-wrapper h2 {
    font-size: 26px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.legal-wrapper h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-wrapper p {
    margin-bottom: 16px;
    color: var(--text-medium);
    line-height: 1.7;
}

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

.legal-wrapper li {
    margin-bottom: 8px;
    color: var(--text-medium);
}

.legal-wrapper address {
    font-style: normal;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-top: 16px;
}

.legal-wrapper a {
    color: var(--primary-color);
    text-decoration: none;
}

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

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

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

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

.cookie-table {
    width: 100%;
    margin: 20px 0;
}

/* Business Model Page */
.business-section {
    padding: 40px 0;
}

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

.business-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.business-section p {
    color: var(--text-medium);
    margin-bottom: 16px;
}

.business-section ul, .business-section ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.business-section li {
    margin-bottom: 10px;
    color: var(--text-medium);
}

.serve-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.serve-item {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.serve-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.serve-item p {
    font-size: 15px;
}

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

.data-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--border-color);
}

.data-row.header {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.data-cell {
    padding: 14px 16px;
    font-size: 14px;
}

.data-note {
    font-size: 14px;
    color: var(--text-medium);
    font-style: italic;
    margin-top: 16px;
}

.commitment-list {
    list-style: none;
    padding-left: 0 !important;
}

.commitment-list li {
    position: relative;
    padding-left: 28px;
}

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

/* Sitemap Page */
.sitemap-content {
    padding: 60px 0;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.sitemap-section h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.sitemap-section ul {
    list-style: none;
}

.sitemap-section li {
    margin-bottom: 10px;
}

.sitemap-section a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}

.sitemap-section a:hover {
    color: var(--primary-color);
}

/* Thank You Page */
.thank-you-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 0;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 24px;
}

.thank-you-content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.thank-you-content p {
    color: var(--text-medium);
    font-size: 18px;
    margin-bottom: 12px;
}

.thank-you-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.thank-you-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        margin-bottom: 20px;
    }
    
    .sitemap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        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 {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .btn-nav {
        width: 100%;
        margin-top: 10px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-features {
        align-items: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .serve-grid {
        grid-template-columns: 1fr;
    }
    
    .problem-content, .why-content {
        grid-template-columns: 1fr;
    }
    
    .problem-image {
        order: -1;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .service-grid.reverse {
        direction: ltr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
    
    .data-row {
        grid-template-columns: 1fr;
    }
    
    .data-row.header {
        display: none;
    }
    
    .data-cell {
        border-bottom: 1px solid var(--border-color);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .thank-you-content h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-badge {
        font-size: 12px;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .lead-form {
        padding: 24px;
    }
    
    .form-row {
        gap: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-contact {
        grid-column: 1 / -1;
    }
}
