.page-hero {
    background: var(--gradient-2);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
}

.content-section {
    padding: 4rem 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content .intro-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    border-left: 4px solid var(--primary-color);
}

.legal-content h2 {
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-content h3 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.legal-content h4 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.legal-content p {
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content ul li {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.legal-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.contact-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.contact-box p {
    margin-bottom: 0.75rem;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.content-main h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.content-main p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
}

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

.approach-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.approach-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.approach-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.values-list {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.value-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.value-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.value-item p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.sidebar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

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

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

.facts-list strong {
    color: var(--text-dark);
    font-weight: 600;
}

.facts-list span {
    color: var(--text-light);
    text-align: right;
}

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

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

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

.cta-card {
    background: var(--gradient-2);
    color: white;
}

.cta-card h3 {
    color: white;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.expertise-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

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

.expertise-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

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

.expertise-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.services-detail {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-detail-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.service-detail-header {
    background: var(--gradient-2);
    color: white;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-large svg {
    width: 48px;
    height: 48px;
    color: white;
}

.service-detail-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.service-tagline {
    font-size: 1.125rem;
    opacity: 0.9;
}

.service-detail-content {
    padding: 3rem;
}

.service-detail-content > p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.service-detail-content h3 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.feature-list-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
}

.feature-list-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-list-item p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.tech-tags span {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.intro-text {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.intro-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
}

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

.solution-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.solution-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.solution-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.solution-card > p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.solution-features {
    list-style: none;
    padding-left: 0;
}

.solution-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.solution-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.case-studies-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.case-studies {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.case-study {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.case-study-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.case-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    white-space: nowrap;
}

.case-challenge,
.case-solution,
.case-results {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.case-study ul {
    list-style: none;
    padding-left: 0;
}

.case-study ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.case-study ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.approach-section {
    padding: 4rem 0;
}

.methodology-steps {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.method-step {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.step-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--border-color);
}

.method-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.method-step p {
    color: var(--text-light);
    line-height: 1.7;
    max-width: 800px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-form-section > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.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(37, 99, 235, 0.1);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-detail {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.contact-detail h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-detail p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

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

.contact-detail a:hover {
    text-decoration: underline;
}

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

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-dark);
}

.benefits-list svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.map-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.map-placeholder {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    padding: 3rem;
}

.map-content svg {
    width: 80px;
    height: 80px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.map-content p {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

@media (max-width: 968px) {
    .page-hero h1 {
        font-size: 2.25rem;
    }

    .two-column-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

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

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

    .feature-list {
        grid-template-columns: 1fr;
    }

    .case-study-header {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .page-hero h1 {
        font-size: 1.75rem;
    }

    .page-hero {
        padding: 4rem 0 3rem;
    }

    .service-detail-header {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .service-detail-content {
        padding: 2rem;
    }

    .step-number {
        font-size: 2rem;
        top: 1.5rem;
        right: 1.5rem;
    }
}
