/*
Theme Name: Redasa Premium (Classic)
Theme URI: https://redasa.lt
Author: Antigravity
Author URI: https://google.com
Description: A sophisticated, high-end legal theme variant.
Version: 1.0.7
Text Domain: redasa
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@400;500;600&display=swap');




:root {
    /* HIGH-END AUTHORITY PALETTE */
    --color-navy: #0F172A;
    /* Deep Midnight Navy */
    --color-navy-light: #1E293B;
    /* Slightly lighter navy for hover */
    --color-gold: #C29D59;
    /* Muted Gold/Bronze Accent */
    --color-gold-dark: #A17F3D;
    /* Darker Gold */
    --color-cream: #FDFBF7;
    /* Warm Off-White Background */
    --color-white: #ffffff;
	/* Slightly lighter red */
	--color-red: #cc3333;
    /* Text Colors */
    --color-text-main: #334155;
    /* Dark Gray - High Contrast */
    --color-text-light: #94A3B8;
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    /* Classic Serif */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Utility Classes */
.text-gold {
    color: var(--color-gold) !important;
}

.bg-gold {
    background-color: var(--color-gold) !important;
}

.border-gold {
    border-color: var(--color-gold) !important;
}

.fill-gold {
    fill: var(--color-gold) !important;
}

/* Specific component overrides */
.site-logo-gold svg path {
    fill: var(--color-gold) !important;
}

/* GLOBAL SHAPE & TYPOGRAPHY RESET */
*,
.btn,
.service-card,
.footer-logo-box,
.logo-box,
.news-card,
.about-image-card,
input,
textarea,
select {
    border-radius: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: -0.02em;
    /* Tight & Elegant */
}

.btn,
.main-navigation a,
.nav-menu a {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* Wide spacing for luxury feel */
}

/* PREMIUM SHAPE OVERRIDE - Sharp Edges */
*,
.btn,
.service-card,
.footer-logo-box,
.logo-box,
.news-card,
.about-image-card,
input,
textarea,
select {
    border-radius: 0 !important;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-cream);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    /* Default to bold, can be overridden */
    line-height: 1.3;
    /* Relaxed from 1.2 */
    color: var(--color-navy);
}

/* Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    /* More spacing */
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn--primary {
    background-color: var(--color-navy);
    color: var(--color-white);
    border: 1px solid var(--color-navy);
}

.btn--primary:hover {
    background-color: var(--color-navy-light);
    color: var(--color-white);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-navy);
    border: 1px solid var(--color-navy);
}

.btn--outline:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.btn--white {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn--white:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
}

.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Navigation */
.main-navigation {
    display: none;
}

.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important;
    /* Force white on navy header */
    font-size: 0.85rem;
}

.main-navigation a:hover {
    color: var(--color-gold) !important;
}

/* Header CTA Button */
.header-cta .btn {
    background-color: var(--color-red);
    color: var(--color-white);
}

.header-cta .btn:hover {
    background-color: #b71c1c;
    /* Darker red */
}

/* Active Menu State */
.main-navigation .current-menu-item>a,
.main-navigation .current_page_item>a,
.main-navigation .current-menu-ancestor>a {
    color: var(--color-gold) !important;
    font-weight: 600;
    border-bottom: 1px solid var(--color-gold);
}

/* Mobile Menu State */
.main-navigation.is-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 5rem;
    /* Header height */
    left: 0;
    width: 100%;
    background: var(--color-navy);
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 40;
}

.main-navigation.is-open ul {
    flex-direction: column;
    gap: 1.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title,
.hero-subtitle,
.hero-buttons {
    animation: fadeIn 0.8s ease-out forwards;
}

.hero-subtitle {
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-buttons {
    animation-delay: 0.4s;
    opacity: 0;
}

/* --- Hero Section --- */
/* --- Hero Section --- */
.hero-wrapper {
    background-color: var(--color-navy);
    /* Lighter base blue for multiply effect */
    background-image: url('assets/images/redasa-banner.webp');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    /* Blends image with the blue color */
    padding-top: 14rem;
    /* More header clearance */
    padding-bottom: 10rem;
    color: white;
    /* Text stays white */
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: white;
    opacity: 0.05;
    border-radius: 9999px;
    transform: translate(5rem, -5rem);
    filter: blur(64px);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 48rem;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

/* --- Services Section --- */
.services-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-color: var(--color-cream);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3rem;
    /* Larger */
    margin-bottom: 1.5rem;
}

.section-divider {
    width: 100%;
    max-width: 8rem;
    height: 1px;
    background-color: var(--color-gold);
    margin: 0 auto;
    border-radius: 0;
}

.section-description {
    margin-top: 1.5rem;
    color: var(--color-text-main);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-style: italic;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    /* Remove gap for bordered grid look if desired, but 2rem is fine with borders */
    gap: 2rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    /* Seamless */
    padding: 3rem 2rem;
    border: 1px solid #e2e8f0;
    /* Subtle border */
    box-shadow: none !important;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-gold);
    background-color: white;
}

/* Brand Accent Line */
/* Brand Accent Line - TOP BORDER ONLY */
.service-card::before {
    display: none;
    /* Remove thick top bar */
}

.service-card__icon-wrapper {
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 1px solid var(--color-gold);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--color-gold);
    transition: all 0.3s ease;
}

.service-card:hover .service-card__icon-wrapper {
    background-color: var(--color-gold);
    color: white;
}

.service-card:hover::before {
    opacity: 1;
}



/* Typography Overrides for Card */
.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-navy);
}

.service-desc {
    color: var(--color-gray-600);
    margin-bottom: auto;
    line-height: 1.6;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--color-navy);
    margin-top: 1.5rem;
    font-size: 0.875rem;
}

.service-card:hover .service-card__link {
    color: var(--color-red);
}

/* --- About Section --- */
/* --- About Section --- */
.about-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-color: white;
    /* Clean contrast to cream */
	border-top: 1px solid var(--color-gold);
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-image-wrapper {
    flex: 1;
}

.about-image-card {
    background-color: white;
    padding: 0.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
}

.about-label {
    color: var(--color-navy);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.about-list {
    list-style: none;
    padding: 0;
    color: #374151;
}

.about-list li {
    margin-bottom: 1rem;
    display: flex;
}

.check-icon {
    color: var(--color-gold) !important;
    margin-right: 0.5rem;
    font-weight: bold;
}

/* --- News Section --- */
.news-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #f8fafc;
    position: relative;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.news-link-desktop {
    display: none;
    color: var(--color-navy);
    font-weight: 600;
    align-items: center;
}

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

.news-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: box-shadow 0.3s;
    background: white;
}

.news-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 12rem;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* --- Media Queries --- */
@media (min-width: 640px) {

    /* sm */
    .hero-buttons {
        flex-direction: row;
    }

    .news-link-desktop {
        display: inline-flex;
    }
}

@media (min-width: 768px) {

    /* md */
    .hero-title {
        font-size: 3.75rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {

    /* lg */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-container {
        flex-direction: row;
        align-items: center;
    }
}

/* --- Header Styles --- */
/* --- Header Styles --- */
.site-header {
    background-color: var(--color-navy) !important;
    /* Force Navy */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    color: white;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.site-branding {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-box {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--color-gold);
    /* Gold Logo Box */
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    /* White Text */
    margin: 0;
    line-height: 1;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.logo-subtext {
    font-size: 0.75rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

.logo-char {
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
}

.header-cta {
    display: flex;
    align-items: center;
    /* Push to right, but before hamburger */
    margin-right: 0;
}

.header-contact-btn {
    background-color: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
}

.header-contact-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-navy);
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: white !important;
    /* White icon on Navy */
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-menu-toggle svg {
    width: 28px;
    height: 28px;
    min-width: 28px;
    /* Prevent squishing */
    min-height: 28px;
    display: block;
}

@media (min-width: 768px) {
    .main-navigation {
        display: flex;
        margin-left: 3rem;
        /* Separate from Logo */
    }

    .header-cta {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }

    /* Desktop Layout: [Icon] [Button] */
    .header-right-group {
        order: 1;
        margin-left: auto;
        /* Push group to right, separate from Nav */
    }

    .header-contact-btn {
        order: 2;
        margin-left: 1rem;
        /* Gap between Icon and Button */
    }
}

/* --- Footer Styles --- */
.site-footer {
    background-color: #0f172a;
    color: white;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.footer-about {
    grid-column: span 1;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo-box {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--color-gold);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    max-width: 24rem;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-icon {
    margin-right: 0.75rem;
    color: var(--color-gold);
}

.footer-label {
    display: block;
    color: #94A3B8;
    /* Lighter gray for footer text */
    font-size: 0.875rem;
}

.footer-link,
.footer-list a {
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-link:hover,
.footer-list a:hover {
    color: var(--color-gold);
}

.footer-copyright {
    border-top: 1px solid #1f2937;
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .footer-about {
        grid-column: span 1;
    }
}

@media (min-width: 1280px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* Fix Icon Alignment */
.footer-icon-box {
    flex-shrink: 0;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

/* --- FAQ Section --- */
.faq-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: var(--color-gray-50);
    border-top: 1px solid var(--color-gray-200);
}

.faq-container {
    max-width: 48rem;
    /* Equivalent to max-w-4xl */
    margin: 0 auto;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: white;
    border-radius: 0.5rem;
    border: 1px solid var(--color-gray-200);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item[open] {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.faq-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    list-style: none;
    /* Remove default marker */
    font-weight: 500;
    font-size: 1.125rem;
    color: var(--color-gray-800);
}

.faq-summary::-webkit-details-marker {
    display: none;
    /* Hide marker in Webkit */
}

.faq-icon {
    color: #9ca3af;
    /* text-gray-400 */
    transition: transform 0.2s;
    display: flex;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    border-top: 1px solid transparent;
}

.faq-item[open] .faq-content {
    border-top-color: #f3f4f6;
    /* Very light gray */
    padding-top: 1rem;
}

.text-white {
    color: var(--color-white);
}

.text-navy {
    color: var(--color-navy);
}

.text-gray {
    color: var(--color-gray-600);
}

.text-gray-light {
    color: #cbd5e1;
}

.text-red {
    color: var(--color-red);
}

.fw-bold {
    font-weight: 700;
}

.fw-semibold {
    font-weight: 600;
}

.fw-medium {
    font-weight: 500;
}

.fs-hero {
    font-size: 2.5rem;
    line-height: 1.2;
}

.fs-xl {
    font-size: 1.75rem;
}

.fs-lg {
    font-size: 1.25rem;
}

.fs-md {
    font-size: 1.125rem;
}

.fs-sm {
    font-size: 0.875rem;
}

/* Backgrounds */
.bg-navy {
    background-color: var(--color-navy);
}

.bg-white {
    background-color: var(--color-white);
}

.bg-gray {
    background-color: var(--color-gray-100);
}

/* Spacing */
.pt-header {
    padding-top: 6rem;
}

/* Offset for fixed header + spacing */
.pb-section {
    padding-bottom: 5rem;
}

.py-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.mb-sm {
    margin-bottom: 0.5rem;
}

.mb-md {
    margin-bottom: 1.5rem;
}

.mb-lg {
    margin-bottom: 2rem;
}

.mb-xl {
    margin-bottom: 4rem;
}

.mt-auto {
    margin-top: auto;
}

/* Line Clamp */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Flex Utilities */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.align-center {
    align-items: center;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

/* Page Header Common */
.page-header {
    background-color: var(--color-navy);
    padding: 6rem 1rem 3rem;
    color: white;
    text-align: center;
}

.page-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header__subtitle {
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Page Specifics */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 1rem;
    align-items: start;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* --- News/Blog Grids --- */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.news-image {
    height: 200px;
    background-color: var(--color-gray-100);
    overflow: hidden;
}

.news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    color: var(--color-gold);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--color-navy);
}

.news-excerpt {
    color: var(--color-gray-600);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    color: var(--color-gold);
    font-weight: 600;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
}

.news-link:hover {
    text-decoration: underline;
}

.news-link svg {
    margin-left: 0.25rem;
    width: 16px;
    height: 16px;
}

.contact-info {
    padding-top: 2rem;
}

.contact-info__list {
    list-style: none;
    padding: 0;
    font-size: 1.125rem;
}

.contact-info__item {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info__item--start {
    align-items: flex-start;
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    /* Light mode border */
}

.form-group {
    margin-bottom: 1rem;
}

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-family: inherit;
}

.form-btn {
    width: 100%;
    border: none;
}

.map-section {
    width: 100%;
    height: 400px;
    background: #e5e7eb;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.alert--success {
    background: #FDFBF7;
    /* Cream/White */
    color: var(--color-gold-dark);
    border: 1px solid var(--color-gold);
}

.alert--error {
    background: #fee2e2;
    color: #991b1b;
}

/* Single Post / Page */
.narrow-container {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.entry-header {
    text-align: center;
    margin-bottom: 3rem;
}

.entry-meta {
    color: var(--color-navy);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.entry-content {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.8;
}

.post-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

/* --- Internal Page Headers --- */
.internal-page-header {
    background-color: var(--color-navy);
    color: white;
    padding-top: 7rem;
    /* Account for fixed header */
    padding-bottom: 1.5rem;
    /* Compact padding */
    text-align: left;
}

.internal-page-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-gold);
    text-align: left;
}

@media (min-width: 768px) {
    .internal-page-title {
        font-size: 2.5rem;
        /* ~text-4xl */
    }
}

.custom-breadcrumbs {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    /* Breadcrumbs above title */
    display: block;
    text-align: left;
	color: var(--color-gold-dark);
}

.custom-breadcrumbs a {
    color: var(--color-text-light);
    text-decoration: none;
}

.custom-breadcrumbs a:hover {
    color: var(--color-gold);
}

.custom-breadcrumbs .separator {
    margin: 0 5px;
    color: #ccc;
}

/* --- Child Page Navigation Utilities --- */
.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.gap-2 {
    gap: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.border-b {
    border-bottom: 1px solid;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.text-gray-500 {
    color: #6b7280;
}

.hover-text-navy:hover {
    color: var(--color-navy);
}

.text-red-600 {
    color: var(--color-red);
}

.hover-text-red-700:hover {
    color: #b91c1c;
}

/* --- Floating Upsell CTA --- */
.upsell-wrapper {
    position: relative;
    z-index: 30;
    display: flex;
    justify-content: center;
    height: 0;
    overflow: visible;
    /* Ensure shadow/content isn't clipped */
}

.upsell-pill {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: fit-content;
}

.upsell-text {
    font-size: 1.125rem;
    font-weight: 700;
    white-space: nowrap;
}

.upsell-btn {
    background-color: var(--color-red);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    transition: background-color 0.3s;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
}

.upsell-btn:hover {
    background-color: #b71c1c;
    color: var(--color-white);
}

@media (min-width: 768px) {
    .upsell-pill {
        flex-direction: row;
        width: auto;
    }
}

/* --- Blog Card Polish --- */
.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card>a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.news-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.5rem;
}

.news-card__date {
    font-size: 0.75rem;
    /* text-xs */
    color: #9ca3af;
    /* text-gray-400 */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* tracking-wider */
    margin-bottom: 0.75rem;
    /* mb-3 */
    font-weight: 500;
}

.news-title {
    font-size: 1.25rem;
    /* text-xl */
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.25;
    /* leading-tight */
    margin-bottom: 0.75rem;
    /* mb-3 */
}

.news-card__excerpt {
    color: var(--color-gray-600);
    margin-bottom: 1.5rem;
    /* mb-6 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 3;
    flex-grow: 1;
    /* Ensure consistent spacing */
}

.news-card__read-more {
    margin-top: auto;
    /* mt-auto */
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--color-gold);
    /* Brand Blue equivalent */
    transition: color 0.3s;
}

.news-card:hover .news-card__read-more {
    color: var(--color-red);
}

.news-card__arrow {
    margin-left: 0.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card__arrow {
    transform: translateX(4px);
}

/* --- Section Divider (Knowledge) --- */
.section-divider-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.divider-line {
    height: 1px;
    background-color: #d1d5db;
    /* gray-300 */
    width: 4rem;
    /* w-16 */
}

@media (min-width: 768px) {
    .divider-line {
        width: 8rem;
        /* w-32 */
    }
}

.divider-icon-box {
    margin-left: 1rem;
    margin-right: 1rem;
    color: var(--color-navy);
    background-color: white;
    padding: 0.75rem;
    /* Increased padding */
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    /* gray-200 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    /* shadow-md */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Redasa Prose (Injected Content) --- */
.redasa-prose {
    color: var(--color-gray-600);
    line-height: 1.75;
    font-size: 1.125rem;
}

.redasa-prose p {
    margin-bottom: 1.5rem;
}

.redasa-prose h2 {
    color: var(--color-navy);
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.redasa-prose h3 {
    color: var(--color-navy);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.redasa-prose ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.redasa-prose ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.redasa-prose ul li::before {
    content: "•";
    color: var(--color-red);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.25rem;
    line-height: 1.5rem;
}

.redasa-prose strong {
    color: var(--color-navy);
    font-weight: 700;
}

.redasa-prose a {
    color: var(--color-red);
    text-decoration: underline;
    font-weight: 500;
}

.redasa-prose a:hover {
    color: var(--color-navy);
}

.redasa-prose>*:first-child {
    margin-top: 0;
}

.redasa-prose>*:last-child {
    margin-bottom: 0;
}

/* List Alignment Fixes */
.redasa-prose ol {
    list-style-type: decimal;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.redasa-prose ol li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.redasa-prose ul {
    padding-left: 0;
    /* Keep custom bullets flushed but handled by li padding */
}

/* Shortcode styling override (prevents monospace in editor) */
.redasa-shortcode {
    font-family: var(--font-sans) !important;
    display: inline-block;
}

/* Utilities needed for Service Teasers */
.text-sm {
    font-size: 0.875rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.text-gray-600 {
    color: var(--color-gray-600);
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================
   DARK MODE OVERRIDES
   ========================================= */

html.dark body {
    background-color: #0f172a;
    /* Deep Navy/Slate 900 */
    color: #cbd5e1;
    /* Slate 300 */
}

/* Typography */
html.dark h1,
html.dark h2,
html.dark h3,
html.dark h4,
html.dark h5,
html.dark h6 {
    color: #f8fafc;
    /* Slate 50 */
}

html.dark .site-footer .footer-heading {
  color: var(--color-gold) !important;
}

/* Header */
html.dark .site-header {
    background-color: #0f172a;
    border-bottom: 1px solid #1e293b;
}

html.dark .main-navigation a {
    color: #cbd5e1;
}

html.dark .main-navigation a:hover {
    color: var(--color-gold);
    /* Blue 400 */
}

html.dark .theme-toggle .icon-sun,
html.dark .theme-toggle .icon-moon {
    color: #f8fafc !important;
    /* Force white icons in header */
}

/* Buttons */
html.dark .btn--white {
    background-color: #1e293b;
    color: #f8fafc;
    border: 1px solid #334155;
}

html.dark .btn--white:hover {
    background-color: #334155;
}

/* Sections */
html.dark .services-section,
html.dark .about-section,
html.dark .news-section,
html.dark .faq-section {
    background-color: #0f172a;
    /* Keep it dark, maybe slightly lighter or darker? Let's keep consistent deep background or use #020617 */
}

html.dark .about-section {
    background-color: #111827;
    /* Gray 900 for slight contrast */
}

/* Cards (Services, News) */
html.dark .service-card,
html.dark .news-card,
html.dark .about-image-card,
html.dark .contact-form-wrapper,
html.dark .faq-item {
    background-color: #1e293b;
    /* Slate 800 */
    border-color: #334155;
    /* Slate 700 */
    color: #cbd5e1;
}

html.dark .service-card:hover {
    border-color: var(--color-text-light);	
}

html.dark .service-title {
    color: #f8fafc;
}

html.dark .service-card__icon-wrapper {
    background-color: #0f172a;
    color: var(--color-gold);
}

html.dark .service-card__link {
    color: var(--color-white);
}

html.dark .about-image-card {
    background-color: #1e293b;
}

html.dark .check-icon {
    background-color: rgba(194, 157, 89, 0.2);
    /* Gold alpha */
    border-radius: 50%;
    padding: 2px;
}

html.dark .about-list {
    color: #cbd5e1;
}

html.dark .about-label {
    color: var(--color-gold);
}

/* FAQ */
html.dark .faq-button {
    color: #f8fafc;
}

html.dark .faq-answer {
    color: #cbd5e1;
    border-top-color: #334155;
}

/* News */
html.dark .news-image {
    background-color: #334155;
}

/* Footer (Already dark, but ensure consistency) */
html.dark .site-footer {
    background-color: #020617;
    /* Slate 950 */
    border-top: 1px solid #1e293b;
}

/* Form Inputs (if any) */
html.dark input,
html.dark textarea,
html.dark select {
    background-color: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

html.dark input::placeholder,
html.dark textarea::placeholder {
    color: #64748b;
}


/* Utility Overrides for Dark Mode */
html.dark .text-gray-600,
html.dark .text-gray-500,
html.dark .text-gray-800 {
    color: #cbd5e1;
    /* Slate 300 to ensure readability */
}

html.dark .text-primary {
    color: var(--color-gold);
    /* Blue 400 */
}

html.dark .bg-white {
    background-color: #1e293b;
    /* Slate 800 */
    color: #cbd5e1;
}

html.dark .bg-gray,
html.dark .bg-gray-50,
html.dark .bg-gray-100 {
    background-color: #0f172a;
    /* Deep Navy */
}


html.dark .news-link-desktop {
    color: var(--color-text-light);
}


/* =========================================
   DARK MODE REFINEMENTS (TASK 2)
   ========================================= */

/* Logo Swapping */
html.dark .logo-standard {
    display: none !important;
}

html.dark .logo-white {
    display: block !important;
}

/* Toggle Button Styling */
.theme-toggle {
    transform: scale(0.7);
    /* Scale down 0.7x */
    opacity: 0.7;
    /* Reduce prominence */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle:hover {
    opacity: 1;
    transform: scale(0.8);
    /* Slight zoom on hover */
}

/* Hero Button Fix (Force White) */
html.dark .hero-buttons .btn--white {
    background-color: #ffffff !important;
    color: var(--color-navy) !important;
    border: none;
}

html.dark .hero-buttons .btn--white:hover {
    background-color: #f3f4f6 !important;
}

/* FAQ Contrast Fix */
html.dark .faq-summary {
    color: #f8fafc;
    /* Title White */
}

html.dark .faq-content,
html.dark .faq-answer {
    color: #cbd5e1 !important;
    /* Lighter Gray for readability */
}

/* "Apie Mus" Icons Fix */
.about-list li .check-icon {
    flex-shrink: 0;
    /* Prevent squashing */
}

/* General Text Contrast Safety */
html.dark p,
html.dark li {
    color: #cbd5e1;
}

html.dark h1,
html.dark h2,
html.dark h3,
html.dark h4,
html.dark h5,
html.dark h6 {
    color: #f8fafc;
}

/* Form Labels in Dark Mode */
html.dark .form-label {
    color: #cbd5e1;
}

/* Fix Elliptical Icons - Force Circle Dimensions */
.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    /* Fixed width */
    height: 28px;
    /* Fixed height */
    min-width: 28px;
    /* Prevent shrinking */
    min-height: 28px;
    /* Prevent shrinking */
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
    /* Double safety */
}

.check-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 3px;
    /* Make the checkmark bolder */
}

/* FAQ Separator Fix */
html.dark .faq-item[open] .faq-content {
    border-top-color: #334155 !important;
}

/* FAQ Section (and Border Fix) */
html.dark .faq-section {
    border-top-color: #334155;
    /* Darker Separator */
    background-color: #0f172a;
    /* Ensure bg matches section above if needed, or slightly distinct */
}

/* Contact Form Wrapper Fix */
html.dark .contact-form-wrapper {
    background-color: #1e293b;
    /* Slate 800 */
    border: 1px solid #334155;
    color: #cbd5e1;
}

/* Contact Form Button (Dark Mode Red Fix) */
html.dark .contact-form-wrapper .btn--primary,
html.dark .form-btn {
    background-color: #dc2626 !important;
    /* Red 600 */
    color: white !important;
    border: none;
}

html.dark .contact-form-wrapper .btn--primary:hover,
html.dark .form-btn:hover {
    background-color: #b91c1c !important;
    /* Red 700 */
}

/* Service Card Text Contrast Fix */
html.dark .service-desc,
html.dark .text-gray {
    color: #cbd5e1 !important;
    /* Slate 300 to insure readability on dark bg */
}

/* Global Bold Text Fix for Dark Mode */
html.dark strong,
html.dark b,
html.dark .fw-bold,
html.dark .fw-semibold,
html.dark .fw-medium {
    color: #f8fafc !important;
    /* Force Title White */
}

/* Icon Toggle Logic (Prevents Flicker) */
.icon-sun {
    display: none;
}

.icon-moon {
    display: block;
}

html.dark .icon-sun {
    display: block !important;
}

html.dark .icon-moon {
    display: none !important;
}

/* Blog Card Text Contrast Fix */
html.dark .news-card__excerpt,
html.dark .news-excerpt {
    color: #cbd5e1 !important;
    /* Slate 300 */
}

html.dark .news-card__date,
html.dark .news-date {
    color: #94a3b8 !important;
    /* Slate 400 - slightly dimmer than text but visible */
}

html.dark .news-card__read-more,
html.dark .news-link {
    /* Blue 400 */
}

/* Mobile Menu Fix */
html.dark .main-navigation.is-open {
    background-color: #0f172a;
    border-bottom: 1px solid #1e293b;
}