:root {
    --primary: #0056b3;
    --dark: #121212;
    --light: #f4f4f4;
    --accent: #e0e0e0;
    --text: #333;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

.section-tag {
    font-family: 'Roboto Mono', monospace;
    color: var(--primary);
    font-size: 0.75rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar {
    padding: 1rem 0;
    border-bottom: 1px solid var(--accent);
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.98);
    z-index: 1000;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-weight: 700; font-size: 1.1rem; }
.logo span { color: var(--primary); }

.nav-links { display: flex; list-style: none; gap: 1.5rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-size: 0.85rem; }
.btn-nav {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.8rem;
}

.hero { padding: 60px 0; background: var(--light); border-bottom: 1px solid var(--accent); }
.hero h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    max-width: 800px;
    line-height: 1.2;
}
.hero p { font-size: clamp(1rem, 4vw, 1.25rem); margin-bottom: 2rem; color: #666; }

.about { padding: 60px 0; }
.about h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); margin-bottom: 1rem; }

.services { padding: 60px 0; background: #fff; }
.services h2 { margin-bottom: 30px; font-size: clamp(1.5rem, 6vw, 2.2rem); }
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

@media (max-width: 350px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    padding: 30px;
    border: 1px solid var(--accent);
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    background: #fff;
}
.service-card:hover { border-color: var(--primary); background: #fdfdfd; }
.card-num {
    font-family: 'Roboto Mono';
    color: #f6f6f6;
    font-size: 2.5rem;
    position: absolute;
    top: 5px;
    right: 15px;
    z-index: 0;
}
.service-card h3, .service-card p, .service-card span { position: relative; z-index: 1; }

.results { padding: 60px 0; background: #fdfdfd; overflow: hidden; }
.results h2 { font-size: clamp(1.3rem, 5vw, 2rem); margin-bottom: 20px; }
.slider-container { position: relative; display: flex; align-items: center; margin-top: 30px; }

.results-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 15px;
    padding: 10px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.results-slider::-webkit-scrollbar { display: none; }

.result-card {
    width: 85%;
    min-width: 270px;
    max-width: 380px;
    background: #fff;
    border: 1px solid var(--accent);
    padding: 25px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .result-card { width: calc(50% - 10px); }
}
@media (min-width: 1024px) {
    .result-card { width: calc(33.333% - 10px); }
}

.slider-btn {
    background: var(--dark);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-btn.left { left: -10px; }
.slider-btn.right { right: -10px; }

@media (max-width: 480px) {
    .slider-btn { display: none; }
}

.modal-overlay {
    position: fixed; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.85); display:none; justify-content:center; align-items:center; z-index:2000;
}
.modal-content {
    background:#fff;
    padding:40px 20px;
    width:92%;
    max-width:700px;
    max-height: 90vh;
    overflow-y: auto;
    position:relative;
}
.close-btn { position:absolute; top:10px; right:15px; font-size:2rem; cursor:pointer; }
.btn-main {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .btn-main { width: auto; }
}

footer { padding: 40px 0; border-top: 1px solid var(--accent); text-align: center; font-size: 0.85rem; }
.footer-link { color: var(--primary); text-decoration: none; margin-top: 10px; display: inline-block; cursor: pointer; }

@media (min-width: 2000px) {
    .container { max-width: 1600px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
}

.cal-embed-modal, [data-cal-frame] {
    z-index: 2147483647 !important;
}