﻿:root {
    --primary-color: #0a6cff;
    --primary-hover: #0557cc;
    --bg-color: #f3f5f8;
    --text-color: #2a2f36;
    --nav-text-color: #1f2a37;
    --nav-text-hover: #0a6cff;
    --nav-text-active: #0557cc;
    --card-bg: rgba(248, 249, 252, 0.9);
    --border-color: rgba(200, 206, 214, 0.8);
    --input-bg: #ffffff;
    --footer-bg: #eef1f4;
    --shadow: 0 3px 12px rgba(20, 24, 30, 0.12);
    --card-shadow: 0 10px 30px rgba(16, 24, 40, 0.12);
    --header-bg: rgba(245, 247, 250, 0.94);
    --hero-bg-start: rgba(10, 108, 255, 0.12);
    --hero-bg-end: rgba(8, 78, 200, 0.08);
    --hero-border: rgba(10, 108, 255, 0.18);
    --hero-shadow: 0 12px 36px rgba(16, 24, 40, 0.16);
    --glow-1: radial-gradient(circle at 20% 30%, rgba(10, 108, 255, 0.12) 0%, transparent 55%);
    --glow-2: radial-gradient(circle at 80% 70%, rgba(8, 78, 200, 0.1) 0%, transparent 55%);
    --glow-3: radial-gradient(circle at 50% 50%, rgba(10, 108, 255, 0.05) 0%, transparent 70%);
    --pattern-opacity: 0.025;
}

html.dark-mode {
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --nav-text-color: #e5e7eb;
    --nav-text-hover: #60a5fa;
    --nav-text-active: #3b82f6;
    --card-bg: rgba(35, 35, 35, 0.70);
    --border-color: rgba(68, 68, 68, 0.5);
    --input-bg: #252525;
    --footer-bg: #2d2d2d;
    --shadow: 0 2px 8px rgba(0,0,0,0.3);
    --card-shadow: 0 4px 20px rgba(0, 123, 255, 0.15);
    --header-bg: rgba(35, 35, 35, 0.7);
    --hero-bg-start: rgba(0, 123, 255, 0.12);
    --hero-bg-end: rgba(0, 86, 179, 0.08);
    --hero-border: rgba(0, 123, 255, 0.2);
    --hero-shadow: 0 8px 32px rgba(0, 123, 255, 0.15);
    --glow-1: radial-gradient(circle at 20% 30%, rgba(0, 123, 255, 0.18) 0%, transparent 55%);
    --glow-2: radial-gradient(circle at 80% 70%, rgba(0, 86, 179, 0.14) 0%, transparent 55%);
    --glow-3: radial-gradient(circle at 50% 50%, rgba(0, 123, 255, 0.08) 0%, transparent 70%);
    --pattern-opacity: 0.04;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.62;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background 0.3s, color 0.3s;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: 
        var(--glow-1),
        var(--glow-2),
        var(--glow-3),
        var(--bg-color);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    opacity: var(--pattern-opacity);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='10' cy='10' r='1.5' fill='%23007bff'/%3E%3Ccircle cx='50' cy='50' r='1.5' fill='%23007bff'/%3E%3Cline x1='10' y1='10' x2='50' y2='50' stroke='%23007bff' stroke-width='0.5' opacity='0.3'/%3E%3Ccircle cx='30' cy='40' r='1' fill='%23007bff'/%3E%3Cline x1='10' y1='10' x2='30' y2='40' stroke='%23007bff' stroke-width='0.5' opacity='0.2'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='60' height='60' fill='url(%23grid)'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    pointer-events: none;
}

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

/* Header & Navigation */
.header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.header.scrolled {
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.12), 0 2px 6px rgba(16, 24, 40, 0.08);
    border-bottom-color: rgba(16, 24, 40, 0.12);
}

html.dark-mode .header {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
}

html.dark-mode .header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.navbar {
    padding: 0.75rem 0;
}

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

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.3s;
    padding: 0.5rem 0.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.logo:hover {
    opacity: 0.85;
}

.logo-img {
    height: 76px;
    width: auto;
    object-fit: contain;
    display: block;
    max-height: 100%;
}

html.dark-mode .logo-img {
    filter: brightness(1.1) contrast(1.05);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-header-cta {
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Headings Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.4px;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.625rem; }
h4 { font-size: 1.375rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

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

.nav-link {
    color: var(--nav-text-color);
    text-decoration: none;
    font-weight: 550;
    font-size: 1.6rem;
    letter-spacing: -0.2px;
    transition: color 0.22s ease, background-color 0.22s ease;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    position: relative;
}

.nav-link:hover {
    color: var(--nav-text-hover);
    background: rgba(10, 108, 255, 0.1);
}

.nav-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 6px;
}

.nav-link.active {
    color: var(--nav-text-active);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0.3rem;
    left: 1.2rem;
    right: 1.2rem;
    height: 2px;
    background: var(--nav-text-active);
    border-radius: 1px;
}

html.dark-mode .nav-link:hover {
    background: rgba(96, 165, 250, 0.12);
}

.theme-toggle {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: white;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem 0;
}

/* Footer */
.footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: auto;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* --- HERO SECTION --- */
.hero {
    padding: 3.5rem 0;
    overflow-x: hidden;
}

.hero-panel {
    background: linear-gradient(135deg, 
        var(--hero-bg-start) 0%, 
        var(--hero-bg-end) 100%);
    border-radius: 28px;
    padding: 4rem 3rem;
    box-shadow: var(--hero-shadow);
    border: 1px solid var(--hero-border);
    overflow: hidden;
}

html.dark-mode .hero-panel {
    background: linear-gradient(135deg, 
        var(--hero-bg-start) 0%, 
        var(--hero-bg-end) 100%);
    box-shadow: var(--hero-shadow);
    border: 1px solid var(--hero-border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .hero-panel {
        padding: 3rem 2rem;
        border-radius: 20px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.hero-copy {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.hero-copy h1 {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.hero-copy .lead {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
}

.hero.hero-docked .visual-card {
    transform: translate3d(12px, 24px, 0) scale(0.92);
    opacity: 0.35;
    filter: saturate(0.9);
}

.particle-canvas {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 16px;
}

.hero-svg {
    width: 100%;
    height: auto;
    max-width: 400px;
    display: block;
}
.actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .hero-panel {
        padding: 2.5rem 1.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-copy h1 {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        line-height: 1.25;
    }

    .hero-copy .lead {
        font-size: 1.05rem;
        max-width: 38ch;
    }

    .actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        width: var(--hero-cta-width, 100%);
        margin-left: auto;
        margin-right: auto;
    }

    .actions .btn {
        width: 100%;
        justify-content: center;
    }

    .visual-card {
        padding: 1rem;
        min-height: auto;
        aspect-ratio: 1 / 1;
        width: var(--hero-cta-width, 100%);
        max-width: 100%;
        height: auto;
        margin: 1.25rem auto 0;
    }

    .particle-canvas {
        width: 100%;
        height: 100%;
        display: block;
    }
}

/* --- SERVICES GRID --- */
#services {
    margin-top: 4rem;
}

.section-title {
    margin-bottom: 2rem;
}

.cards.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}
@media (max-width: 900px) {
    .cards.grid3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
.card {
    padding: 2rem 1.5rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(10px);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
    .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 28px rgba(0,0,0,0.12);
    }
    
    html.dark-mode .card:hover {
        box-shadow: 0 6px 28px rgba(0,0,0,0.4);
    }
}

.card h4 {
    margin-bottom: 1rem;
}

.card p {
    margin-bottom: 1.25rem;
    line-height: 1.65;
}

.card-cta {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 550;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.card-cta:hover {
    color: var(--primary-hover);
    transform: translateX(3px);
}

.card-cta:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

html.dark-mode .card-cta {
    color: #60a5fa;
}

html.dark-mode .card-cta:hover {
    color: #93c5fd;
}

/* Section spacing */
section {
    display: block;
    margin-bottom: 3.5rem;
}

/* Remove card margin-bottom in grid3 for even spacing */
.cards.grid3 .card {
    margin-bottom: 0;
}

/* Ensure no negative margins or absolute on buttons */
.btn, button {
    position: static;
    margin: 0;
}

/* --- DARK MODE CARD/GRID --- */
html.dark-mode .card {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

/* --- RESPONSIVE: Prevent horizontal scroll --- */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

/* Buttons */
button, .btn {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    line-height: 1.2;
    transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.18s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.18s ease;
    position: static;
    margin: 0;
}

/* Primary Button */
.btn.btn-primary, button:not([class*="ghost"]) {
    color: white;
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-color) 100%);
    box-shadow: 0 6px 18px rgba(10, 108, 255, 0.28);
}

.btn.btn-primary:hover, button:not([class*="ghost"]):hover {
    background: linear-gradient(135deg, #0443a6 0%, var(--primary-hover) 100%);
    box-shadow: 0 8px 24px rgba(10, 108, 255, 0.36);
    transform: translateY(-1px);
}

.btn.btn-primary:active, button:not([class*="ghost"]):active {
    transform: translateY(0);
    box-shadow: 0 3px 12px rgba(10, 108, 255, 0.28);
}

.btn.btn-primary:focus-visible, button:not([class*="ghost"]):focus-visible {
    outline: 2px solid rgba(0, 123, 255, 0.6);
    outline-offset: 2px;
}

/* Ghost Button */
.btn.btn-ghost {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    padding: calc(0.8rem - 2px) calc(1.5rem - 2px);
}

.btn.btn-ghost:hover {
    background: rgba(0, 123, 255, 0.08);
    border-color: var(--primary-hover);
    color: var(--primary-hover);
    box-shadow: 0 2px 12px rgba(0, 123, 255, 0.15);
    transform: translateY(-1px);
}

.btn.btn-ghost:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn.btn-ghost:focus-visible {
    outline: 2px solid rgba(0, 123, 255, 0.6);
    outline-offset: 2px;
}

button:disabled, .btn:disabled {
    background: #6c757d;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.65;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

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

/* Contact page */
.contact-hero .contact-card {
    max-width: 600px;
    margin: 2rem auto;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.contact-hero .hp-field {
    position: absolute;
    left: -10000px;
    top: -10000px;
}

.contact-hero .error-text {
    color: #721c24;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.contact-hero .back-link {
    margin-top: 1.5rem;
}

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

.contact-hero .back-link a:hover {
    text-decoration: underline;
}

.contact-hero .privacy-hint {
    margin-top: 0.85rem;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

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

.contact-hero .privacy-hint a:hover {
    text-decoration: underline;
}

/* Alerts */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

html.dark-mode .alert-success {
    background: #1e3a1e;
    color: #a8d5a8;
}

html.dark-mode .alert-error {
    background: #3a1e1e;
    color: #d5a8a8;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .header-actions {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .nav-menu {
        gap: 1rem;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }
    
    .hero-copy h1 {
        font-size: 2rem;
    }
    
    .hero-copy .lead {
        font-size: 1.1rem;
    }
}

/* CTA Section */
.cta-strip {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(0, 56, 147, 0.05) 100%);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
    .cta-strip:hover {
        background: linear-gradient(135deg, rgba(0, 123, 255, 0.08) 0%, rgba(0, 56, 147, 0.08) 100%);
        box-shadow: 0 4px 20px rgba(0, 123, 255, 0.1);
    }
    
    html.dark-mode .cta-strip:hover {
        background: linear-gradient(135deg, rgba(0, 123, 255, 0.12) 0%, rgba(0, 56, 147, 0.12) 100%);
        box-shadow: 0 4px 20px rgba(0, 123, 255, 0.15);
    }
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-inner > div:first-child {
    flex: 1;
    min-width: 250px;
}

.cta-inner > div:last-child {
    flex: 0 0 auto;
    white-space: nowrap;
}

.cta-strip h4 {
    margin-bottom: 0.5rem;
}

.cta-strip p {
    margin: 0;
    opacity: 0.9;
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .btn,
    button,
    .card,
    .header,
    .cta-strip,
    .visual-card {
        transition: none !important;
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .cta-strip {
        padding: 2rem;
    }
    .cta-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .cta-inner > div:last-child {
        width: 100%;
    }
    .cta-inner .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Mobile Navigation */
    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0.8rem;
    }
    
    .nav-menu {
        gap: 0.8rem;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .btn-header-cta {
        font-size: 0.9rem;
        padding: 0.45rem 1rem;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .logo-img {
        height: 32px;
    }
}

/* Legal Pages & Contact Wrapper */
.legal-card,
.contact-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.legal-content {
    line-height: 1.7;
}

.legal-content h2 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal .contact-header h1,
.legal-content h2,
.service-detail h1,
.service-detail h2 {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Service Detail Pages */
.container.page-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.service-detail {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.service-detail h1 {
    margin-bottom: 1.5rem;
}

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

.service-detail p.lead {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-color);
    opacity: 0.95;
}

.service-detail p {
    margin-bottom: 1.25rem;
}

.cta-inline {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 123, 255, 0.1);
    text-align: center;
}

.cta-inline p {
    margin-bottom: 1.25rem;
}

html.dark-mode .cta-inline {
    background: rgba(0, 123, 255, 0.08);
    border-color: rgba(0, 123, 255, 0.15);
}

@media (max-width: 768px) {
    .container.page-content {
        padding: 1.5rem 1rem;
    }
    
    .service-detail h1 {
        font-size: 2rem;
    }
    
    .service-detail h2 {
        font-size: 1.35rem;
    }
    
    .service-detail p.lead {
        font-size: 1.05rem;
    }

    .legal .contact-header h1 {
        font-size: 2rem;
        line-height: 1.25;
    }

    .legal-content h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
}

