/* 
  Main Styles for Inversiones Grupo QOri 
  Structure:
  1. Header & Navigation (Top Bar, Nav, Dropdowns)
  2. UI Components (Buttons, Badges)
  3. Homepage Sections (Hero, Intro, Featured, Services Grid, CTA)
  4. Footer
  5. Responsive Design
*/

/* ==========================================================================
   1. Header & Navigation
   ========================================================================== */

/* Top Bar Info */
.top-bar {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 0;
    font-size: 0.8rem;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact {
    display: flex;
    gap: 25px;
}

.top-bar-contact a {
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-contact a i {
    color: var(--accent-color);
}

.top-bar-contact a:hover {
    color: #ffffff;
}

.top-bar-social {
    display: flex;
    gap: 15px;
}

.top-bar-social a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.top-bar-social a:hover {
    color: var(--accent-color);
}

/* Site Header */
.site-header {
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.site-branding {
    display: flex;
    align-items: center;
    max-height: 50px;
}

.site-branding .custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.site-branding img,
.site-branding .custom-logo,
.custom-logo-link img {
    max-height: 48px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.site-branding .custom-logo-link:hover img {
    transform: scale(1.02);
}

.site-title {
    font-size: 1.5rem;
    background: linear-gradient(to right, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation Main */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 40px;
}

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

.main-navigation li {
    position: relative;
}

.main-navigation a {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-navigation a>span {
    position: relative;
}

.main-navigation a>span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-navigation a:hover {
    color: #ffffff;
}

.main-navigation a:hover>span::after {
    width: 100%;
}

/* Submenu Indicators */
.menu-item-has-children>a::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 1.5px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-top: -3px;
}

.menu-item-has-children:hover>a::after {
    transform: rotate(-135deg);
    margin-top: 3px;
    border-color: var(--accent-color);
}

/* Dropdowns Desktop */
.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    min-width: 220px;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 0;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.main-navigation li:hover>ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation ul ul a {
    padding: 10px 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
    justify-content: flex-start;
}

.main-navigation ul ul a::after {
    display: none !important;
}

.main-navigation ul ul a:hover {
    background: var(--glass-bg);
    color: var(--accent-color);
    padding-left: 28px;
}

/* Mobile Toggle & Overlay */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background-color: #ffffff;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    border-radius: 2px;
}

.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--accent-color);
}

.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--accent-color);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 99;
}

.menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}


/* ==========================================================================
   2. UI Components
   ========================================================================== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #121212;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(235, 180, 36, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: var(--text-main);
}

.btn-outline:hover {
    background: #f8fafc;
    border-color: var(--accent-color);
}

.btn-outline-dark {
    border: 2px solid var(--bg-dark);
    color: var(--bg-dark);
    background: transparent;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-outline-dark:hover {
    background: var(--bg-dark);
    color: #ffffff;
}

.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    padding: 16px 30px;
    border-radius: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-large {
    padding: 16px 45px;
    font-size: 1.1rem;
}

/* Badges & Titles */
.section-badge {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-main-title {
    font-size: 2.5rem;
    color: var(--bg-dark);
    margin-bottom: 25px;
    line-height: 1.2;
}


/* ==========================================================================
   3. Homepage Sections
   ========================================================================== */

/* Hero Modern */
.hero-modern {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #000;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    animation: zoomOut 20s infinite alternate;
}

@keyframes zoomOut {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%); */
    z-index: 2;
}

.hero-modern-container {
    position: relative;
    z-index: 3;
}

.hero-modern-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(235, 180, 36, 0.1);
    border: 1px solid rgba(235, 180, 36, 0.3);
    color: var(--accent-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
}

.hero-title-main {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 800;
}

.hero-description-main {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 45px;
    line-height: 1.6;
}

.hero-main-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.mouse {
    width: 25px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.mouse::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #ffffff;
    border-radius: 2px;
    animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, 15px);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}

/* Intro/About Section */
.intro-section {
    padding: 120px 0;
    background-color: #ffffff;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    border-left: 3px solid var(--accent-color);
    padding-left: 20px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bg-dark);
    line-height: 1;
    margin-bottom: 5px;
}

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

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-small {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #fcfcfc;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.feature-small:hover {
    transform: translateX(10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.feature-content h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Featured Services Split */
.featured-services-split {
    padding: 100px 0;
    background-color: #f8fafc;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.split-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease;
}

.split-card:hover {
    transform: translateY(-5px);
}

.split-image {
    height: 300px;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.split-card:hover .split-image img {
    transform: scale(1.1);
}

.split-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: #121212;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.split-info {
    padding: 40px;
}

.split-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--bg-dark);
}

.split-info p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
}

.split-list {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

.split-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.split-list i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* General Services Grid Modern */
.services-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 20px auto 0;
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card-modern {
    background: #ffffff;
    padding: 45px 35px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card-modern:hover {
    transform: translateY(-6px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.service-icon-bg {
    width: 54px;
    height: 54px;
    background: rgba(235, 180, 36, 0.08);
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card-modern:hover .service-icon-bg {
    background: var(--accent-color);
    color: #ffffff;
}

.service-card-modern h3 {
    font-size: 1.25rem;
    color: var(--bg-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card-modern p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    margin: 0 0 28px;
    padding: 20px 0 0;
    border-top: 1px solid #f1f5f9;
}

.service-feature-list li {
    align-items: center;
    color: var(--text-main);
    display: flex;
    font-size: 0.9rem;
    gap: 10px;
}

.service-feature-list li i {
    color: var(--accent-color);
    font-size: 0.7rem;
    background: rgba(235, 180, 36, 0.1);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--bg-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    margin-top: auto;
}

.service-link:hover {
    color: var(--accent-hover);
}

.service-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.service-card-modern:hover .service-link i,
.service-link:hover i {
    transform: translateX(5px);
}

/* Brands Section */
.brands-section {
    padding: 50px 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.brands-title {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 700;
}

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

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: default;
    user-select: none;
}

.brand-item img {
    max-height: 32px;
    width: auto;
    /* filter: grayscale(100%) opacity(50%); */
    transition: all 0.3s ease;
}

.brand-item:hover {
    transform: scale(1.08);
}

.brand-item:hover img {
    filter: grayscale(0%) opacity(100%);
}

/* Quote Calculator Section */
.quote-calculator-section {
    padding: 100px 0;
    background-color: #f8fafc;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

.calculator-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.calc-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.calc-card-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
    background: rgba(235, 180, 36, 0.08);
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calc-card-header h4 {
    font-size: 1.1rem;
    color: var(--bg-dark);
    margin-bottom: 2px;
    font-weight: 700;
}

.calc-card-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.range-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.range-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
}

.range-group label span {
    color: var(--accent-color);
    font-weight: 700;
}

.calc-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
}

.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    transition: transform 0.1s ease;
}

.calc-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-ticks {
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
    margin-top: 8px;
    position: relative;
}

.range-ticks span {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20px;
}

.range-ticks span::before {
    content: '';
    width: 1px;
    height: 5px;
    background: #cbd5e1;
    margin-bottom: 4px;
}

.toggle-group {
    display: flex;
    align-items: center;
}

.calc-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.calc-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    background-color: #cbd5e1;
    border-radius: 34px;
    transition: .3s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: .3s;
}

.calc-toggle input:checked+.toggle-slider {
    background-color: var(--accent-color);
}

.calc-toggle input:checked+.toggle-slider:before {
    transform: translateX(20px);
}

.toggle-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.calculator-result {
    position: sticky;
    top: 100px;
}

.result-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.result-box h3 {
    font-size: 1.3rem;
    color: var(--bg-dark);
    margin-bottom: 25px;
    font-weight: 700;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
}

.result-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    min-height: 100px;
}

.empty-msg {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
    margin-top: 30px;
}

.result-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-main);
}

.result-line span:last-child {
    font-weight: 600;
}

.result-total-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.total-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.total-price {
    display: block;
    font-size: 2rem;
    color: var(--bg-dark);
    font-weight: 800;
    margin-bottom: 5px;
}

.price-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.btn-full-width {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    display: flex;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.home-faq-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.home-faq-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 3px solid transparent;
    padding-left: 0;
}

.home-faq-item:hover {
    padding-left: 24px;
    border-left-color: var(--accent-color);
    background: rgba(235, 180, 36, 0.01);
}

.home-faq-item[open] {
    padding-left: 24px;
    border-left-color: var(--accent-color);
    background: rgba(235, 180, 36, 0.02);
}

.home-faq-item summary {
    padding: 24px 0;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--bg-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: color 0.2s ease;
}

.home-faq-item summary:hover {
    color: var(--accent-color);
}

.home-faq-item summary::-webkit-details-marker {
    display: none;
}

.home-faq-item summary::after {
    content: '\f067';
    /* fa-plus */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-faq-item[open] summary::after {
    content: '\f068';
    /* fa-minus */
    color: var(--accent-color);
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 0 24px 0;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

@keyframes faqSlideIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

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

.home-faq-item[open] .faq-content {
    animation: faqSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Call to Action */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    background: var(--bg-dark);
    padding: 60px 80px;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(235, 180, 36, 0.08), transparent);
    pointer-events: none;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
}

.cta-button-wrapper .btn-primary {
    background-color: #ffffff;
    color: var(--bg-dark);
    font-weight: 700;
}

.cta-button-wrapper .btn-primary:hover {
    background-color: var(--accent-color);
    color: #121212;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(235, 180, 36, 0.4);
}


/* ==========================================================================
   4. About Page
   ========================================================================== */

.page-hero {
    padding: 100px 0;
    background: var(--bg-dark);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero {
    background-size: cover;
    background-position: center;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

.about-intro {
    padding: 120px 0;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--bg-dark);
    margin-bottom: 25px;
    line-height: 1.4;
}

.about-intro-image {
    position: relative;
}

.about-intro-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.experience-badge-floating {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--accent-color);
    padding: 30px;
    border-radius: 20px;
    color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 15px 30px rgba(235, 180, 36, 0.3);
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.mission-vision {
    padding: 100px 0;
    background-color: #f8fafc;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mv-card {
    background: #ffffff;
    padding: 60px;
    border-radius: 30px;
    border: 1px solid #f1f5f9;
}

.mv-icon {
    width: 60px;
    height: 60px;
    background: rgba(235, 180, 36, 0.1);
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.mv-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.values-section {
    padding: 120px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.value-item {
    text-align: left;
}

.value-line {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin-bottom: 25px;
}

.value-item h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.interest-data {
    padding: 60px 0;
    border-top: 1px solid #f1f5f9;
}

.interest-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.interest-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: var(--bg-dark);
    font-size: 0.95rem;
}

.interest-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* ==========================================================================
   5. Clients Page
   ========================================================================== */

.clients-hero {
    background: linear-gradient(rgba(18, 18, 18, 0.85), rgba(18, 18, 18, 0.85)),
        url('https://rhservitec.com/wp-content/uploads/camaras.jpg');
    background-size: cover;
    background-position: center;
}

.clients-showcase {
    padding: 120px 0;
    background: #ffffff;
}

.premium-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.client-logo-card {
    height: 160px;
    background: #fcfcfc;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    transition: all 0.4s ease;
}

.client-logo-card img {
    max-width: 100%;
    max-height: 70px;
    /* filter: grayscale(100%);
    opacity: 0.5; */
    transition: all 0.4s ease;
}

.client-logo-card:hover {
    background: #ffffff;
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.client-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.clients-stats {
    padding: 100px 0;
    background-color: var(--bg-dark);
    color: #ffffff;
}

.stats-wrapper-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-box-modern {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-val {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.stat-lab {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
}

.cta-mini {
    padding: 100px 0;
}

.cta-mini-box {
    background: #f8fafc;
    padding: 60px;
    border-radius: 30px;
    text-align: center;
    border: 1px solid #f1f5f9;
}

.cta-mini-box h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--bg-dark);
}

.cta-mini-box p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ==========================================================================
   6. Contact Page
   ========================================================================== */

.contact-hero {
    background: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)),
        url('https://media.ambito.com/p/26a3c0cbbccec4915466f0e180e47af9/adjuntos/360/imagenes/041/950/0041950398/655x368/smart/que-dijo-la-profeco-la-instalacion-camaras-seguridad-el-exterior-mi-casa.png');
    background-size: cover;
    background-position: center;
}

.contact-section {
    padding: 120px 0;
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-desc {
    margin-bottom: 40px;
    color: var(--text-muted);
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-card {
    padding: 30px;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--accent-color);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.info-icon {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--bg-dark);
}

.info-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: #ffffff;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--bg-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(235, 180, 36, 0.1);
}

.form-row.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-full {
    width: 100%;
    padding: 18px;
    gap: 12px;
}

/* Map Section */
.map-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.map-placeholder {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.6);
    z-index: 2;
}

.map-info {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    max-width: 400px;
}

.map-info i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.map-info p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* ==========================================================================
   7. Blog Page
   ========================================================================== */

.blog-hero {
    background: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)),
        url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=2069&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.blog-section {
    padding: 120px 0;
    background-color: #f8fafc;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.post-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.post-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-color);
    color: var(--bg-dark);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.post-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.post-title {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 15px;
}

.post-title a {
    color: var(--bg-dark);
}

.post-title a:hover {
    color: var(--accent-color);
}

.post-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-read-more {
    margin-top: auto;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-read-more i {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.btn-read-more:hover i {
    transform: translateX(8px);
}

/* Pagination */
.pagination-wrapper {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.pagination-wrapper .page-numbers {
    display: flex;
    gap: 10px;
    list-style: none;
}

.pagination-wrapper .page-numbers {
    padding: 10px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: var(--bg-dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-wrapper .page-numbers:hover,
.pagination-wrapper .page-numbers.current {
    background: var(--accent-color);
    color: var(--bg-dark);
    border-color: var(--accent-color);
}

.container-narrow {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   8. Single Post
   ========================================================================== */

.single-post-container {
    padding-bottom: 100px;
    background: #ffffff;
}

.single-post-header {
    padding: 100px 0 60px;
    text-align: center;
}

.post-category-tag {
    display: inline-block;
    background: rgba(235, 180, 36, 0.1);
    color: var(--accent-color);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.single-post-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.1;
    color: var(--bg-dark);
    margin-bottom: 25px;
}

.single-post-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.meta-item i {
    color: var(--accent-color);
    margin-right: 8px;
}

.single-post-featured-image {
    margin-bottom: 80px;
}

.single-post-featured-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.single-post-content-area {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
}

.entry-content p {
    margin-bottom: 30px;
}

.entry-content h2,
.entry-content h3 {
    color: var(--bg-dark);
    margin: 60px 0 25px;
    line-height: 1.2;
}

.entry-content h2 {
    font-size: 2rem;
}

.entry-content h3 {
    font-size: 1.6rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 40px 0;
}

.entry-content blockquote {
    margin: 50px 0;
    padding: 40px;
    background: #f8fafc;
    border-left: 5px solid var(--accent-color);
    border-radius: 0 20px 20px 0;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--bg-dark);
}

.entry-footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #f1f5f9;
}

.tags-label {
    font-weight: 700;
    margin-right: 15px;
    color: var(--bg-dark);
}

.tag-link {
    color: var(--text-muted);
    margin-right: 10px;
    transition: color 0.3s ease;
}

.tag-link:hover {
    color: var(--accent-color);
}

/* Post Navigation */
.post-navigation {
    margin-top: 80px;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-top: 1px solid #f1f5f9;
    padding-top: 40px;
}

.nav-links a {
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: #f8fafc;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: var(--bg-dark);
}

.nav-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.nav-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bg-dark);
    line-height: 1.3;
}

.nav-links a:hover .nav-title {
    color: #ffffff;
}

.nav-next {
    text-align: right;
}

/* ==========================================================================
   9. Service Pages
   ========================================================================== */

.service-hero {
    background: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)),
        url('https://media.ambito.com/p/26a3c0cbbccec4915466f0e180e47af9/adjuntos/360/imagenes/041/950/0041950398/655x368/smart/que-dijo-la-profeco-la-instalacion-camaras-seguridad-el-exterior-mi-casa.png');
    background-size: cover;
    background-position: center;
}

.biometric-hero {
    background: linear-gradient(rgba(18, 18, 18, 0.85), rgba(18, 18, 18, 0.85)),
        url('https://images.unsplash.com/photo-1553877522-43269d4ea984?q=80&w=1200&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.service-details {
    padding: 120px 0;
    background-color: #ffffff;
}

.service-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-benefit-list {
    list-style: none;
    padding: 0;
    margin: 35px 0 45px;
}

.service-benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.service-benefit-list i {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-top: 3px;
}

/* Circular Features Section */
.service-visual-features {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.service-visual-features::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 45px;
    width: 2px;
    height: calc(100% - 100px);
    background: linear-gradient(to bottom, var(--accent-color), rgba(235, 180, 36, 0.1));
    z-index: 1;
}

.feature-circle-item {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.circle-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    overflow: hidden;
    flex-shrink: 0;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(235, 180, 36, 0.2);
}

.circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circle-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--bg-dark);
}

.circle-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Tech Specs Grid */
.tech-specs {
    padding: 100px 0;
    background-color: #f8fafc;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.tech-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid #f1f5f9;
    transition: all 0.4s ease;
}

.tech-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.tech-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.tech-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

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

/* Workflow Steps */
.service-workflow {
    padding: 120px 0;
    background: #ffffff;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.step-item {
    position: relative;
    padding: 40px;
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
}

.step-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(235, 180, 36, 0.15);
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
}

.step-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--bg-dark);
}

.step-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* Application Areas */
.application-areas {
    padding: 120px 0;
    background-color: #f8fafc;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.app-list {
    margin-top: 40px;
}

.app-list-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.app-list-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.app-list-item h4 {
    margin-bottom: 5px;
}

.app-list-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.app-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.service-faq {
    padding: 120px 0;
    background: #ffffff;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.faq-item {
    padding: 30px;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    color: var(--bg-dark);
}

.faq-item h4 i {
    color: var(--accent-color);
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   10. Specialists
   ========================================================================== */

.team-section {
    padding: 120px 0;
    background-color: #ffffff;
}

.specialists-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 60px;
}

.specialist-pill {
    background: var(--bg-dark);
    padding: 15px 40px 15px 15px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.specialist-pill:hover {
    transform: translateX(10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sp-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffffff;
    flex-shrink: 0;
}

.sp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-info h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
}

.specialist-highlight {
    grid-column: span 1;
    display: flex;
    align-items: center;
    padding: 30px;
    border-left: 4px solid var(--accent-color);
}

.specialist-highlight p {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */

.site-footer {
    padding: 80px 0 40px;
    background: var(--bg-dark);
    color: var(--text-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

.footer-brand {
    padding-right: 0;
}

.footer-logo img {
    max-height: 48px;
    margin-bottom: 20px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--accent-color);
    color: var(--bg-dark);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(235, 180, 36, 0.4);
}

.footer-heading {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

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

.footer-menu li {
    margin-bottom: 15px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

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

.footer-contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
    align-items: flex-start;
}

.footer-contact-list i {
    color: var(--accent-color);
    margin-top: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-credits a {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.footer-credits a:hover {
    color: var(--accent-color);
}


/* ==========================================================================
   5. Responsive Design
   ========================================================================== */

/* Large Tablets & Small Desktops */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        gap: 15px;
    }

    .main-navigation ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 100px 30px 40px;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.25);
        z-index: 100;
        overflow-y: auto;
    }

    .main-navigation ul.is-active {
        right: 0;
    }

    .main-navigation>ul>li {
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.5s ease;
        transition-delay: calc(var(--item-index, 0) * 0.1s);
    }

    .main-navigation>ul.is-active>li {
        opacity: 1;
        transform: translateX(0);
    }

    .main-navigation ul ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .main-navigation li.is-open>ul {
        max-height: 1000px;
        padding-top: 5px;
        padding-bottom: 10px;
    }

    .main-navigation li.is-open>a::after {
        transform: rotate(-135deg);
    }

    .main-navigation a {
        font-size: 1.2rem;
        padding: 12px 0;
        justify-content: space-between;
        color: #ffffff;
    }

    .main-navigation ul ul a {
        font-size: 1rem;
        padding: 8px 0;
        color: rgba(255, 255, 255, 0.7);
        font-weight: 400;
        justify-content: flex-start;
    }

    .main-navigation ul ul a:hover {
        color: var(--accent-color);
    }

    .hero-modern-container {
        text-align: center;
    }

    .hero-main-actions {
        justify-content: center;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .split-grid {
        grid-template-columns: 1fr;
    }

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

    .calculator-grid {
        grid-template-columns: 1fr;
    }

    .calculator-result {
        position: static;
    }

    .about-intro-grid,
    .mv-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-hero .page-title {
        font-size: 2.8rem;
    }

    .mv-card {
        padding: 40px;
    }

    .experience-badge-floating {
        position: static;
        margin-top: 30px;
        width: 100%;
    }

    .interest-box {
        justify-content: center;
        text-align: center;
    }

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

    .stats-wrapper-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .cta-mini-box {
        padding: 40px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .form-row.split {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .blog-section {
        padding: 80px 0;
    }

    .single-post-title {
        font-size: 2.2rem;
    }

    .single-post-meta {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        grid-template-columns: 1fr;
    }

    .service-intro-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .service-visual-features::before {
        display: none;
    }

    .feature-circle-item {
        flex-direction: column;
        text-align: center;
    }

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

    .workflow-steps,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .app-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .step-item {
        padding: 30px;
    }

    .specialists-grid {
        grid-template-columns: 1fr;
    }

    .specialist-pill {
        padding: 10px 20px 10px 10px;
        gap: 15px;
    }

    .sp-avatar {
        width: 80px;
        height: 80px;
    }

    .specialist-highlight {
        padding: 20px 0;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 60px 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
        padding-right: 0;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto 25px;
    }

    .footer-social {
        justify-content: center;
        margin-bottom: 40px;
    }
}

/* Phones */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .hero-description-main {
        display: none;
    }

    .hero-title-main {
        font-size: 2.5rem;
    }

    .section-main-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .services-grid-modern {
        grid-template-columns: 1fr;
    }
}

/* Small Phones */
@media (max-width: 576px) {

    .site-branding img,
    .site-branding .custom-logo,
    .custom-logo-link img {
        max-height: 40px !important;
    }

    .header-container {
        padding: 10px 15px;
        min-height: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-links-column,
    .footer-contact-column {
        grid-column: span 1;
        text-align: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact-list li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.contact-form-notice {
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 14px 16px;
}

.contact-form-notice-sent {
    background: #e9f8ef;
    color: #146c2e;
}

.contact-form-notice-failed,
.contact-form-notice-invalid,
.contact-form-notice-rate_limited {
    background: #fdecec;
    color: #9d1c1c;
}

.qori-contact-form .screen-reader-text {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

/* Quick Contact Form inside CTA Box */
.cta-form-wrapper {
    flex: 0 0 450px;
    max-width: 100%;
}

.cta-quick-form {
    display: flex;
    gap: 12px;
    background: #1a1a1a;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.input-quick-phone {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: inherit;
}

.input-quick-phone::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.cta-quick-form .btn {
    white-space: nowrap;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .cta-box {
        flex-direction: column;
        gap: 30px;
        align-items: stretch;
        padding: 40px 30px;
    }

    .cta-form-wrapper {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .cta-quick-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 15px;
    }

    .input-quick-phone {
        background: #1a1a1a;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        width: 100%;
    }

    .cta-quick-form .btn {
        width: 100%;
    }
}
