/* ── Compass Law Center Theme ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

:root {
    --clc-red:      #DA2431;
    --clc-red-dark: #B81D22;
    --clc-dark:     #111111;
    --clc-text:     #333333;
}

body {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    color: var(--clc-text);
    background: #fff;
}

/* ── HEADER / NAV CONTAINER ───────────────────────────────────────────────── */
.clc-header-container {
    background-color: #0a1428;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    position: relative;
}
.clc-logo-row {
    padding: 20px 0 10px;
}
.clc-logo { max-height: 100px; width: auto; }
.clc-logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}
.clc-logo-text:hover { color: #ddd; text-decoration: none; }

.clc-header-right { text-align: right; }
.clc-phone {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
.clc-phone a { color: #fff; text-decoration: none; }
.clc-phone a:hover { color: #ddd; }
.clc-focus { font-size: 14px; color: #fff; margin: 4px 0; }
.clc-protect {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin: 4px 0 0;
}

/* ── MOTTO ────────────────────────────────────────────────────────────────── */
.clc-motto {
    padding: 30px 0 40px;
    text-align: center;
}
.clc-motto h1 {
    font-size: 3em;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 2px 2px #000;
    margin: 0;
}
.clc-motto h2 {
    font-size: 2.6em;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 2px 2px #000;
    margin: 0;
}

/* ── STICKY NAVBAR ────────────────────────────────────────────────────────── */
.clc-navbar-wrapper {
    background: rgba(10, 20, 40, 0.82);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.clc-navbar {
    background: transparent;
    border: none;
    border-radius: 0;
    margin: 0;
    min-height: 46px;
}
.clc-navbar .navbar-nav > li > a {
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 14px 16px;
    transition: background .15s;
}
.clc-navbar .navbar-nav > li > a:hover,
.clc-navbar .navbar-nav > li.active > a,
.clc-navbar .navbar-nav > .open > a {
    background: var(--clc-red) !important;
    color: #fff !important;
}
.clc-navbar .dropdown-menu {
    background: rgba(10, 20, 40, 0.95);
    border: none;
    border-top: 3px solid var(--clc-red);
    border-radius: 0;
    padding: 0;
    min-width: 220px;
}
.clc-navbar .dropdown-menu > li > a {
    color: #ddd;
    font-size: 13px;
    padding: 10px 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.clc-navbar .dropdown-menu > li > a:hover {
    background: var(--clc-red);
    color: #fff;
}
.clc-nav-cta {
    background: var(--clc-red) !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: 3px;
    margin: 8px 0 8px 10px;
    padding: 6px 14px !important;
}
.clc-nav-cta:hover {
    background: var(--clc-red-dark) !important;
    color: #fff !important;
}
.clc-navbar .navbar-toggle { border-color: rgba(255,255,255,.5); margin: 8px 0; }
.clc-navbar .navbar-toggle .icon-bar { background: #fff; }

@media (max-width: 768px) {
    .clc-header-container { background-size: 300% auto; }
    .clc-motto h1, .clc-motto h2 { display: none; }
    .clc-focus, .clc-protect { display: none; }
}

/* ── PAGE CONTAINERS ──────────────────────────────────────────────────────── */
.clc-page-container {
    padding: 40px 15px;
    min-height: 400px;
    background: #fff;
}
.clc-page-header {
    border-bottom: 3px solid var(--clc-red);
    padding-bottom: 12px;
    margin-bottom: 30px;
}
.clc-page-header h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--clc-dark);
}
.clc-page-body {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
}
.clc-page-body img { max-width: 100%; height: auto; }
.clc-page-body h1, .clc-page-body h2 { color: var(--clc-dark); }
.clc-page-body a { color: var(--clc-red); }
.clc-page-body a:hover { color: var(--clc-red-dark); }

/* ── HOME PAGE ────────────────────────────────────────────────────────────── */
.clc-home-page .owl-carousel img { width: 100%; height: auto; display: block; }
.clc-home-page .owl-dots { position: absolute; bottom: 12px; width: 100%; text-align: center; }
.clc-home-page .owl-dot span { background: rgba(255,255,255,.6) !important; }
.clc-home-page .owl-dot.active span { background: var(--clc-red) !important; }

/* ── LEGACY CONTENT CLASSES (from original PHP pages) ────────────────────── */
.rock-main-container {
    padding: 40px 0;
    color: #fff;
    background: linear-gradient(to left, #021B79, #0575E6);
}
.rock-seo-obsidian-container {
    padding: 40px 0;
    color: #fff;
    background: linear-gradient(to right, #434343, #000);
}
.rock-home-side-list {
    background-color: #B81D22 !important;
    color: #fff !important;
}
.rock-quote-button {
    background: var(--clc-red);
    color: #fff !important;
    border-radius: 3px;
    font-weight: 600;
    padding: 8px 18px;
    margin-top: 8px;
    display: inline-block;
}
.rock-quote-button:hover {
    background: var(--clc-red-dark);
    color: #fff !important;
    text-decoration: none;
}
.rock-top-footer {
    background: #fff;
    padding-bottom: 10px;
}
.rock-top-footer h1, .rock-top-footer h2 {
    border-bottom: 3px solid var(--clc-red);
    display: inline-block;
}
.rock-bottom-footer-div {
    background: #fff;
    border-top: 15px solid var(--clc-red);
}
.rock-bottom-footer-div a { color: #333; }
.rock-bottom-footer-div ul { list-style: none; padding: 0; }
.rock-bottom-footer-div ul li { margin-bottom: 5px; }
.rock-bottom-footer-div ul li a { font-size: 13px; color: #555; }
.rock-bottom-footer-div ul li a:hover { color: var(--clc-red); text-decoration: none; }
.footer-main-wrapper { background: #000; }
.footer-main-wrapper a { color: #fff; }
.footer-main-wrapper h4 { color: #fff; }

/* ── BUTTONS ──────────────────────────────────────────────────────────────── */
.clc-btn-red {
    background: var(--clc-red);
    color: #fff;
    border: none;
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: .5px;
    transition: background .2s;
}
.clc-btn-red:hover, .clc-btn-red:focus {
    background: var(--clc-red-dark);
    color: #fff;
}

/* ── CONTACT PAGE ─────────────────────────────────────────────────────────── */
.clc-contact-section { margin-top: 20px; }
.clc-map-container { margin-bottom: 20px; }
.clc-map-container iframe { border: none; width: 100%; }
.clc-contact-info { margin-bottom: 24px; }
.clc-contact-info h5 {
    font-weight: 700;
    color: var(--clc-red);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.clc-contact-info p { font-size: 14px; margin-bottom: 6px; }
.clc-contact-info a { color: var(--clc-red); }
.clc-contact-form { border: 1px solid #ddd; padding: 24px; border-radius: 4px; }
.clc-contact-form legend {
    font-size: 15px;
    font-weight: 600;
    color: var(--clc-dark);
    border-bottom: 2px solid var(--clc-red);
    padding-bottom: 8px;
    width: auto;
    margin-bottom: 20px;
}
.site-form-fieldset { border: 1px solid #ddd; padding: 24px; border-radius: 4px; }
.site-form-fieldset legend {
    font-size: 15px;
    font-weight: 600;
    color: var(--clc-dark);
    border-bottom: 2px solid var(--clc-red);
    padding-bottom: 8px;
    width: auto;
    margin-bottom: 20px;
}
.clc-required { color: var(--clc-red); }

/* ── 404 PAGE ─────────────────────────────────────────────────────────────── */
.clc-404 { padding: 80px 15px; }
.clc-404 h1 { font-size: 100px; color: var(--clc-red); line-height: 1; font-weight: 700; }
.clc-404 h2 { font-size: 28px; color: var(--clc-dark); }

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
.clc-footer { background: #fff; }

.clc-footer-bottom {
    background: #fff;
    border-top: 15px solid var(--clc-red);
    padding: 35px 0 20px;
}
.clc-footer-bottom h4 {
    color: var(--clc-dark);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid var(--clc-red);
    padding-bottom: 8px;
    margin-bottom: 16px;
}
.clc-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.clc-footer-links li { margin-bottom: 6px; }
.clc-footer-links li a { color: #555; font-size: 13px; }
.clc-footer-links li a:hover { color: var(--clc-red); text-decoration: none; }
.clc-footer-links li i { color: var(--clc-red); margin-right: 6px; }
.clc-footer-logo { max-width: 140px; margin-top: 6px; }
.clc-serving-text { font-size: 12px; color: #888; line-height: 1.7; }
.clc-serving-text a { color: #aaa; }
.clc-serving-text a:hover { color: var(--clc-red); }

.clc-footer-copy {
    background: #111;
    padding: 14px 0;
    font-size: 12px;
    color: #888;
    border-top: 1px solid #222;
}
.clc-footer-copy a { color: var(--clc-red); }

/* ── CHILD PAGE LIST ({{{childrenstacked}}}) ─────────────────────────────────── */
.rock-children-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.rock-children-list li {
    position: relative;
    padding: 8px 0 8px 20px;
    border-bottom: 1px solid #f0f0f0;
}
.rock-children-list li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--clc-red);
    box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--clc-red);
}
.rock-children-list li a {
    color: var(--clc-text);
    font-weight: 600;
    text-decoration: none;
}
.rock-children-list li a:hover { color: var(--clc-red); }

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .clc-footer-bottom .col-md-3 { margin-bottom: 25px; }
    .clc-404 h1 { font-size: 60px; }
}
