/* ==========================================================================
   Definit Code Solutions — code.definit.com
   Dark glassmorphism theme
   ========================================================================== */

/* Design Tokens */
:root {
    --color-bg: #0a0a0f;
    --color-bg-elevated: #12121a;
    --color-bg-glass: rgba(255, 255, 255, 0.03);
    --color-border-glass: rgba(255, 255, 255, 0.08);
    --color-border-glass-hover: rgba(255, 255, 255, 0.15);
    --color-gold: #FFC82A;
    --color-gold-dim: rgba(255, 200, 42, 0.15);
    --color-red: #E63946;
    --color-blue: #4A90D9;
    --color-purple: #7B61FF;
    --color-text: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-text-muted: rgba(255, 255, 255, 0.4);
    --font-primary: 'Jost', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-size-hero: clamp(2.5rem, 5vw, 4rem);
    --font-size-h2: clamp(1.75rem, 3vw, 2.5rem);
    --font-size-h3: clamp(1.25rem, 2vw, 1.5rem);
    --font-size-body: clamp(1rem, 1.2vw, 1.125rem);
    --font-size-small: clamp(0.813rem, 1vw, 0.875rem);
    --font-size-badge: 0.75rem;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 100px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.2);
    --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow-gold: 0 0 40px rgba(255, 200, 42, 0.15);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
body.flavor-flavor {
    font-family: var(--font-primary);
    font-size: var(--font-size-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-secondary);
    background: var(--color-bg);
    overflow-x: hidden;
}

/* Override Astra defaults */
.ast-separate-container,
.ast-page-builder-template .entry-content,
.entry-content,
#primary,
#content,
.site-content,
.ast-container,
body .site-content > .ast-container {
    background: transparent !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.site-header,
.ast-above-header-wrap,
.ast-below-header-wrap,
.ast-header-break-point .ast-mobile-header-wrap,
.site-footer,
#ast-desktop-header,
.ast-footer-overlay {
    display: none !important;
}

a { color: var(--color-gold); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: #ffe082; }

img { max-width: 100%; height: auto; }

/* ---------- Background Effects ---------- */
.bg-effects { position: fixed; inset: 0; pointer-events: none; z-index: 0; }

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}
.orb--blue { width: 500px; height: 500px; top: -100px; right: -100px; background: rgba(74, 144, 217, 0.08); }
.orb--purple { width: 400px; height: 400px; bottom: 20%; left: -80px; background: rgba(123, 97, 255, 0.06); }
.orb--gold { width: 350px; height: 350px; top: 50%; right: 10%; background: rgba(255, 200, 42, 0.05); }

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

@media (prefers-reduced-motion: reduce) {
    .orb { display: none; }
}

/* ---------- Layout ---------- */
.cs-section {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

.cs-section--wide { max-width: 1400px; }

/* ---------- Navigation ---------- */
.cs-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-glass);
    transition: background var(--transition-normal);
}

.cs-nav.scrolled { background: rgba(10, 10, 15, 0.95); }

.cs-nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.cs-nav__logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    text-decoration: none;
}
.cs-nav__logo-prefix { color: var(--color-text); font-weight: 400; }
.cs-nav__logo-accent { color: var(--color-gold); font-weight: 600; }

.cs-nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.cs-nav__links a {
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 0.938rem;
    transition: color var(--transition-fast);
}
.cs-nav__links a:hover { color: var(--color-text); }

.cs-nav__cta {
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-gold) 100%);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.938rem;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.cs-nav__cta:hover { opacity: 0.9; transform: translateY(-1px); color: #fff; }

/* Mobile nav toggle */
.cs-nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.cs-nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    margin: 5px 0;
    transition: var(--transition-normal);
}

@media (max-width: 768px) {
    .cs-nav__toggle { display: block; }
    .cs-nav__links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--color-border-glass);
    }
    .cs-nav__links.active { display: flex; }
}

/* ---------- Hero ---------- */
.cs-hero {
    padding-top: 160px;
    padding-bottom: 80px;
    text-align: center;
}

.cs-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: var(--font-size-badge);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-gold);
    background: rgba(255, 200, 42, 0.1);
    border: 1px solid rgba(255, 200, 42, 0.2);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
}

.cs-hero__title {
    font-size: var(--font-size-hero);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.15;
    max-width: 800px;
    margin: 0 auto 24px;
}

.highlight {
    position: relative;
    color: var(--color-gold);
}
.highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-gold);
    border-radius: 2px;
}

.cs-hero__subtitle {
    font-size: clamp(1.063rem, 1.5vw, 1.25rem);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 300;
    line-height: 1.6;
}

.cs-hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-gold) 100%);
    color: #fff;
    font-family: var(--font-primary);
    font-weight: 500;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    text-decoration: none;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); color: #fff; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-weight: 500;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
    text-decoration: none;
}
.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
}

/* ---------- Section Headers ---------- */
.cs-section__badge {
    text-align: center;
    margin-bottom: 16px;
}

.cs-section__title {
    font-size: var(--font-size-h2);
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cs-section__subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 56px;
    font-size: var(--font-size-body);
}

/* ---------- Glass Card ---------- */
.glass-card {
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border-glass);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 32px;
    transition: border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}
.glass-card:hover {
    border-color: var(--color-border-glass-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

/* ---------- Services Section ---------- */
.cs-services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .cs-services__grid { grid-template-columns: 1fr; }
}

.cs-service-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--color-gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.cs-service-card__title {
    font-size: var(--font-size-h3);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.cs-service-card__desc {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.cs-service-card__features {
    list-style: none;
    padding: 0;
}
.cs-service-card__features li {
    color: var(--color-text-muted);
    font-size: var(--font-size-small);
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}
.cs-service-card__features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

/* ---------- Process Section ---------- */
.cs-process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.cs-process__grid::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-border-glass), var(--color-gold), var(--color-border-glass));
    z-index: 0;
}

@media (max-width: 768px) {
    .cs-process__grid { grid-template-columns: 1fr; }
    .cs-process__grid::before { display: none; }
}

.cs-process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cs-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-gold) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.cs-process-step__title {
    font-size: var(--font-size-body);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.cs-process-step__desc {
    font-size: var(--font-size-small);
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ---------- Solutions Section ---------- */
.cs-solutions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .cs-solutions__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .cs-solutions__grid { grid-template-columns: 1fr; }
}

.cs-solution-card__icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cs-solution-card__title {
    font-size: var(--font-size-h3);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.cs-solution-card__desc {
    color: var(--color-text-secondary);
    font-size: var(--font-size-small);
    line-height: 1.6;
}

/* ---------- Contact Section ---------- */
.cs-contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 768px) {
    .cs-contact__wrapper { grid-template-columns: 1fr; }
}

.cs-contact__info-title {
    font-size: var(--font-size-h2);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.cs-contact__info-text {
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cs-contact__detail {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    font-size: var(--font-size-small);
}
.cs-contact__detail-icon { font-size: 1.25rem; }

.cs-contact__book-btn { margin-top: 24px; }

/* Form */
.cs-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cs-form .glass-card { padding: 32px; }

.cs-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .cs-form__row { grid-template-columns: 1fr; }
}

.cs-form__group { display: flex; flex-direction: column; gap: 6px; }

.cs-form__label {
    font-size: var(--font-size-small);
    font-weight: 500;
    color: var(--color-text-secondary);
}

.cs-form__input,
.cs-form__select,
.cs-form__textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border-glass);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: var(--font-size-body);
    transition: border-color var(--transition-fast);
    outline: none;
    width: 100%;
}
.cs-form__input:focus,
.cs-form__select:focus,
.cs-form__textarea:focus {
    border-color: var(--color-gold);
}
.cs-form__input::placeholder,
.cs-form__textarea::placeholder {
    color: var(--color-text-muted);
}

.cs-form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.cs-form__select option { background: var(--color-bg-elevated); color: var(--color-text); }

.cs-form__textarea { resize: vertical; min-height: 120px; }

.cs-form__honeypot { position: absolute; left: -9999px; opacity: 0; }

.cs-form__turnstile { min-height: 65px; }

.cs-form__submit { align-self: flex-start; }

.cs-form__error {
    display: none;
    color: var(--color-red);
    font-size: var(--font-size-small);
    padding: 12px 16px;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: var(--radius-sm);
}
.cs-form__error.visible { display: block; }

.cs-form__success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}
.cs-form__success.visible { display: block; }
.cs-form__success h3 {
    font-size: var(--font-size-h3);
    color: var(--color-text);
    margin-bottom: 8px;
}
.cs-form__success p {
    color: var(--color-text-secondary);
}

/* ---------- Footer ---------- */
.cs-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--color-border-glass);
    padding: 40px 24px;
}

.cs-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.cs-footer__logo {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    text-decoration: none;
}
.cs-footer__logo .cs-nav__logo-prefix { color: var(--color-text); font-weight: 400; }
.cs-footer__logo .cs-nav__logo-accent { color: var(--color-gold); font-weight: 600; }

.cs-footer__links {
    display: flex;
    gap: 24px;
    list-style: none;
    flex-wrap: wrap;
}
.cs-footer__links a {
    color: var(--color-text-muted);
    font-size: var(--font-size-small);
    transition: color var(--transition-fast);
}
.cs-footer__links a:hover { color: var(--color-text-secondary); }

.cs-footer__copy {
    color: var(--color-text-muted);
    font-size: var(--font-size-small);
    width: 100%;
    text-align: center;
    margin-top: 16px;
}

/* ---------- Scroll Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ---------- Nav Dropdown ---------- */
.cs-nav__dropdown {
    position: relative;
}

.cs-nav__dropdown-trigger {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.cs-nav__dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
    background: rgba(10, 10, 15, 0.98);
    border: 1px solid var(--color-border-glass);
    border-radius: var(--radius-md);
    padding: 8px;
    list-style: none;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1001;
    margin-top: 12px;
}

.cs-nav__dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.cs-nav__dropdown:hover .cs-nav__dropdown-menu,
.cs-nav__dropdown.open .cs-nav__dropdown-menu {
    display: block;
}

.cs-nav__dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.cs-nav__dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
}

@media (max-width: 768px) {
    .cs-nav__dropdown-menu {
        position: static;
        transform: none;
        min-width: auto;
        margin-top: 8px;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 16px;
        display: none;
    }
    .cs-nav__dropdown.open .cs-nav__dropdown-menu {
        display: block;
    }
    .cs-nav__dropdown-menu li a {
        padding: 8px 0;
        font-size: 0.875rem;
        color: var(--color-text-muted);
    }
}

/* ---------- Service Card Links ---------- */
a.cs-service-card--link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.cs-service-card--link:hover {
    color: inherit;
}

a.cs-service-card--link:hover .cs-service-card__title {
    color: var(--color-gold);
}

.cs-service-card__link {
    display: inline-block;
    color: var(--color-gold);
    font-size: var(--font-size-small);
    font-weight: 500;
    margin-top: 12px;
    transition: transform var(--transition-fast);
}

a.cs-service-card--link:hover .cs-service-card__link {
    transform: translateX(4px);
}

/* ---------- Problem Cards ---------- */
.cs-problem__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .cs-problem__grid { grid-template-columns: 1fr; }
}

.cs-problem-card__icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cs-problem-card__title {
    font-size: var(--font-size-h3);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.cs-problem-card__desc {
    color: var(--color-text-secondary);
    font-size: var(--font-size-small);
    line-height: 1.7;
}

/* ---------- Metrics Cards ---------- */
.cs-metrics__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .cs-metrics__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .cs-metrics__grid { grid-template-columns: 1fr; }
}

.cs-metric-card {
    text-align: center;
}

.cs-metric-card__number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.cs-metric-card__label {
    font-size: var(--font-size-body);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.cs-metric-card__desc {
    font-size: var(--font-size-small);
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ---------- FAQ Accordion ---------- */
.cs-faq {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cs-faq__item {
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-normal);
}

.cs-faq__item:hover {
    border-color: var(--color-border-glass-hover);
}

.cs-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: var(--font-size-body);
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.cs-faq__question:hover {
    color: var(--color-gold);
}

.cs-faq__chevron {
    flex-shrink: 0;
    color: var(--color-text-muted);
    transition: transform var(--transition-normal);
}

.cs-faq__item.active .cs-faq__chevron {
    transform: rotate(180deg);
}

.cs-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.cs-faq__item.active .cs-faq__answer {
    max-height: 500px;
}

.cs-faq__answer p {
    padding: 0 24px 20px;
    color: var(--color-text-secondary);
    font-size: var(--font-size-small);
    line-height: 1.7;
}

/* ---------- CTA Section ---------- */
.cs-cta-section {
    padding: 60px 24px;
}

.cs-cta__wrapper {
    text-align: center;
    padding: 56px 40px;
    border: 1px solid rgba(255, 200, 42, 0.15);
    background: rgba(255, 200, 42, 0.03);
}

.cs-cta__wrapper:hover {
    transform: none;
}

.cs-cta__wrapper .cs-section__title {
    margin-bottom: 16px;
}

.cs-cta__wrapper .cs-section__subtitle {
    margin-bottom: 32px;
}

/* ---------- Related Services ---------- */
.cs-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .cs-related__grid { grid-template-columns: 1fr; }
}

a.cs-related-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

a.cs-related-card:hover {
    color: inherit;
}

.cs-related-card__title {
    font-size: var(--font-size-h3);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
    transition: color var(--transition-fast);
}

a.cs-related-card:hover .cs-related-card__title {
    color: var(--color-gold);
}

.cs-related-card__desc {
    color: var(--color-text-secondary);
    font-size: var(--font-size-small);
    line-height: 1.6;
}

/* ---------- Location Pages ---------- */
.cs-location__content {
    max-width: 800px;
    margin: 0 auto;
}

.cs-location__text {
    padding: 40px;
}

.cs-location__text p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5em;
}

.cs-location__text p:last-child {
    margin-bottom: 0;
}

/* Drop cap on opening paragraph for visual interest */
.cs-location__text p:first-of-type::first-letter {
    font-size: 3.2em;
    font-weight: 700;
    color: var(--color-gold);
    float: left;
    line-height: 0.8;
    margin-right: 8px;
    margin-top: 6px;
}

/* ---------- Blog / Article Styles ---------- */
.cs-article {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.cs-article__content {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.cs-article__content h2 {
    font-size: var(--font-size-h2);
    font-weight: 700;
    color: var(--color-text);
    margin: 56px 0 20px;
    line-height: 1.2;
}

.cs-article__content h3 {
    font-size: var(--font-size-h3);
    font-weight: 600;
    color: var(--color-text);
    margin: 40px 0 16px;
    line-height: 1.3;
}

.cs-article__content p {
    margin-bottom: 20px;
}

.cs-article__content ul,
.cs-article__content ol {
    margin: 16px 0 24px;
    padding-left: 24px;
}

.cs-article__content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.cs-article__content blockquote {
    border-left: 3px solid var(--color-gold);
    padding: 16px 24px;
    margin: 24px 0;
    background: rgba(255, 200, 42, 0.05);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--color-text);
    font-style: italic;
}

.cs-article__content a {
    color: var(--color-gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cs-article__content a:hover {
    color: #ffe082;
}

.cs-article__content strong {
    color: var(--color-text);
    font-weight: 600;
}

.cs-article__callout {
    margin: 32px 0;
    border-left: 3px solid var(--color-gold);
}

.cs-article__callout p {
    margin-bottom: 0;
    font-size: var(--font-size-body);
}

.cs-article__cta {
    text-align: center;
    margin: 56px 0 0;
    padding: 40px;
    border: 1px solid rgba(255, 200, 42, 0.15);
    background: rgba(255, 200, 42, 0.03);
}

.cs-article__cta h3 {
    font-size: var(--font-size-h3);
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 12px;
}

.cs-article__cta p {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.cs-article__cta .btn-primary {
    margin: 0;
}

/* Service page hero variant */
.cs-hero--service {
    padding-bottom: 60px;
}

.cs-hero--service .cs-hero__subtitle {
    max-width: 700px;
}
