/* =====================
   BTR Media Design System
   Applied to davidcikanek.com
   ===================== */

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

:root {
    --bg-page:      #E8EDF2;
    --bg-card:      #FFFFFF;
    --bg-alt:       #F2F5F8;
    --text-primary: #0D0D0D;
    --text-body:    #3D3D3A;
    --text-muted:   #888780;
    --orange:       #7B68EE;
    --border:       #E2E6EA;
    --dark-btn:     #1A1A1A;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-page);
    background-image:
        linear-gradient(rgba(180,195,210,0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(180,195,210,0.35) 1px, transparent 1px);
    background-size: 32px 32px;
    color: var(--text-body);
    line-height: 1.65;
    overflow-x: hidden;
}

.orange { color: var(--orange); }

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================== NAVBAR ===================== */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 24px;
}

.navbar {
    background: white;
    border-radius: 40px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    max-width: 1100px;
    margin: 0 auto;
}

.nav-brand {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    text-decoration: none;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.nav-menu a:hover { color: var(--orange); }

/* Dropdown */
.dropdown { position: relative; }

.dropdown-toggle { cursor: pointer; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    list-style: none;
    padding: 18px 8px 8px;
    min-width: 210px;
    z-index: 100;
    margin-top: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    border-radius: 8px;
    white-space: nowrap;
    color: var(--text-body);
    font-size: 0.9rem;
}

.dropdown-menu li a:hover {
    background: var(--bg-grid);
    color: var(--orange);
}

.dropdown:hover .dropdown-menu { display: block; }

/* ===================== BUTTONS ===================== */
.btn-primary {
    background: var(--orange);
    color: white !important;
    border: none;
    border-radius: 999px;
    padding: 11px 22px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-dark {
    background: var(--dark-btn);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 11px 22px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s, transform 0.2s;
}

.btn-dark:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-outline {
    background: white;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    text-decoration: none;
    transition: box-shadow 0.2s;
}

.btn-outline:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }

.arrow-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    font-size: 0.9rem;
}

/* ===================== SECTIONS ===================== */
.btr-section { padding: 90px 0; }

.btr-section--alt {
    background-color: var(--bg-alt);
    background-image:
        linear-gradient(rgba(180,195,210,0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(180,195,210,0.2) 1px, transparent 1px);
    background-size: 32px 32px;
}

.section-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--orange);
    text-transform: uppercase;
    margin-bottom: 12px;
}

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

.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 14px;
}

.section-body {
    font-size: 0.92rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ===================== HERO ===================== */
.hero {
    padding: 160px 0 90px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(3rem, 7.5vw, 7rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 20px;
    white-space: nowrap;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 0 2vw;
}

.hero-subtitle {
    font-size: 0.97rem;
    color: var(--text-body);
    max-width: 900px;
    white-space: nowrap;
    margin: 0 auto 32px;
    text-align: center;
}

.hero-subtitle strong { color: var(--text-primary); font-weight: 700; }

.hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

.spn-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.spn-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.cert-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 720px;
    margin: 16px auto 0;
}

.stat-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-item:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.07); }

.stat-value {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

/* ===================== SERVICE CARDS ===================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.09); }

.card-bolt {
    position: absolute;
    top: 20px;
    right: 22px;
    color: var(--orange);
    font-size: 1.1rem;
}

.card-icon { font-size: 1.7rem; margin-bottom: 2px; }

.card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.card p {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.65;
    flex: 1;
}

/* ===================== TESTIMONIALS ===================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.testimonial-card {
    background: white;
    border-radius: 18px;
    padding: 28px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.testimonial-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.quote-mark {
    color: var(--orange);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: -10px;
}

.testimonial-card p {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.7;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.author-avatar {
    width: 36px;
    height: 36px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.author-name { font-weight: 700; font-size: 0.82rem; color: var(--text-primary); }
.author-company { font-size: 0.75rem; color: var(--text-muted); }

/* ===================== CASE STUDIES ===================== */
.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}

.case-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 28px;
    position: relative;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.case-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }

.case-icon { font-size: 2rem; }

.case-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.case-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

.cert-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
}

.cert-card img {
    width: 100%;
    height: 44px;
    object-fit: contain;
}


/* ===================== CLIENT LOGOS ===================== */
.clients-section {
    padding: 40px 0;
    background: white;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.clients-label {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.clients-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
}

.clients-grid img {
    height: 36px;
    width: auto;
    object-fit: contain;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: opacity 0.2s, filter 0.2s;
}

.clients-grid img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ===================== FOOTER ===================== */
.footer {
    background: var(--text-primary);
    color: rgba(255,255,255,0.5);
    padding: 36px 0;
    text-align: center;
}

.footer .container { display: flex; flex-direction: column; align-items: center; gap: 8px; }

.footer-brand { font-weight: 800; font-size: 0.97rem; color: white; }

.footer p { font-size: 0.8rem; }

/* ===================== CONTACT SPLIT ===================== */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.calendly-col {
    min-width: 0;
    overflow: hidden;
}
.calendly-col .calendly-inline-widget {
    width: 100% !important;
    min-width: 0 !important;
}
.about-col h2,
.calendly-col h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
}
.about-photo-inline {
    width: 100%;
    max-width: 320px;
    height: 380px;
    border-radius: 16px;
    display: block;
    margin-bottom: 24px;
    object-fit: cover;
    object-position: center 15%;
    box-shadow: 0 16px 48px rgba(107,93,184,0.15);
}
.about-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.about-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--orange);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: opacity 0.2s;
}
.about-phone:hover { opacity: 0.75; }

.about-col p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 14px;
}
@media (max-width: 900px) {
    .contact-split { grid-template-columns: 1fr; gap: 40px; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .cards-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr; }
    .nav-menu { gap: 12px; }
    .hero { padding: 130px 0 60px; }
}
