/* ==========================================================================
   Fidelity Solutions - Core Styling & Theme Variables
   ========================================================================== */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.2);
    --dark: #0f172a;
    --dark-surface: #1e293b;
    --light-bg: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

body {
    min-height: 100vh;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--gray-800);
    background-color: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

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

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

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Typography Helpers */
.sub-heading {
    display: inline-block;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.sub-heading.light {
    color: var(--accent);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 50px auto;
}
.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}
.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

.text-center { text-align: center; }
.hidden { display: none !important; }
.text-success { color: #10b981; }
.text-warning { color: #f59e0b; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}
.btn-secondary {
    background-color: var(--gray-100);
    color: var(--dark);
}
.btn-secondary:hover {
    background-color: var(--gray-300);
    transform: translateY(-2px);
}
.btn-accent {
    background-color: var(--accent);
    color: var(--white);
}
.btn-accent:hover {
    background-color: #0891b2;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}
.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}
.btn-block {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 94px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-image {
    display: block;
    width: 132px;
    height: auto;
    max-height: 88px;
    object-fit: contain;
}
.brand-col .logo-image {
    width: 190px;
    max-height: none;
    padding: 6px;
    border-radius: var(--radius-sm);
    background: var(--white);
}
.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}
.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
}
.nav-link.highlight {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.social-icon-bar {
    display: flex;
    gap: 12px;
}
.social-icon-bar a {
    color: var(--gray-600);
    transition: var(--transition);
}
.social-icon-bar a:hover {
    color: var(--primary);
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--dark);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 160px 0 100px 0;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 40%);
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 1.15rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 30px;
}
.hero-cta-group {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}
.hero-stats {
    display: flex;
    gap: 35px;
    border-top: 1px solid var(--gray-300);
    padding-top: 30px;
}
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    font-family: 'Outfit', sans-serif;
}
.plus {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}
.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 4px;
}

/* Hero Visual Graphic */
.visual-card-wrapper {
    position: relative;
}
.glass-card {
    background: var(--dark-surface);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.card-header-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.code-preview {
    font-family: monospace;
    font-size: 0.9rem;
    color: #e2e8f0;
    background: #0f172a;
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}
.c-tag { color: #f43f5e; }
.c-attr { color: #38bdf8; }
.c-str { color: #a3e635; }

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 90px;
    padding-top: 10px;
}
.bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary), var(--accent));
    border-radius: 4px;
}
.bar-1 { height: 40%; }
.bar-2 { height: 65%; }
.bar-3 { height: 50%; }
.bar-4 { height: 85%; }
.bar-5 { height: 100%; }

.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}
.badge-1 { top: -20px; right: -20px; }
.badge-2 { bottom: -20px; left: -20px; }
.floating-badge i { font-size: 1.4rem; }

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}
.image-stack {
    position: relative;
    height: 380px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-300));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    z-index: 1;
    background: var(--dark);
    color: var(--white);
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}
.experience-badge h3 { font-size: 2.2rem; color: var(--accent); }
.experience-badge p { font-size: 0.8rem; max-width: 130px; }

.about-text-col h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.about-text-col p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 15px;
}
.about-bullets {
    margin: 25px 0;
}
.bullet-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 500;
}
.bullet-item i { color: var(--primary); }

/* ==========================================================================
   SEO Audit Section
   ========================================================================== */
.audit-card {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-surface) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
}
.audit-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.audit-content h2 { font-size: 2.4rem; margin-bottom: 15px; }
.audit-content p { color: var(--gray-300); margin-bottom: 30px; }

.audit-form .input-group {
    display: flex;
    background: var(--white);
    padding: 6px;
    border-radius: var(--radius-md);
    align-items: center;
}
.audit-form i {
    color: var(--gray-600);
    padding: 0 15px;
}
.audit-form input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 10px 0;
}

.audit-result {
    margin-top: 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: left;
}
.audit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.score-pill {
    background: var(--accent);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
}
.audit-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}
.metric-label { font-size: 0.85rem; color: var(--gray-300); }
.progress-bar {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
}
.progress {
    height: 100%;
    background: var(--accent);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    padding: 30px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}
.service-icon {
    width: 55px;
    height: 55px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.service-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}
.service-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.service-btn:hover { gap: 10px; }

/* ==========================================================================
   Working Process Section
   ========================================================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}
.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    position: relative;
    box-shadow: var(--shadow-sm);
}
.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(37, 99, 235, 0.15);
    position: absolute;
    top: 20px;
    right: 25px;
    font-family: 'Outfit', sans-serif;
}
.step-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
}
.step-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.5; }

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}
.info-list { margin-top: 30px; }
.info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 25px;
}
.info-item i {
    font-size: 1.4rem;
    color: var(--primary);
    margin-top: 4px;
}
.info-item strong { display: block; font-size: 1rem; color: var(--dark); }
.info-item p { color: var(--gray-600); font-size: 0.95rem; }

.contact-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.contact-form-card h3 { font-size: 1.5rem; margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--dark);
    color: var(--gray-300);
    padding-top: 70px;
}
.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
}
.brand-col p { font-size: 0.9rem; margin: 15px 0 20px 0; line-height: 1.5; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
    color: var(--white);
    background: rgba(255,255,255,0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}
.footer-socials a:hover { background: var(--primary); }

.footer-col h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--gray-300); text-decoration: none; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-col p { font-size: 0.9rem; margin-bottom: 10px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    font-size: 0.85rem;
}
.bottom-flex { display: flex; justify-content: space-between; align-items: center; }
.legal-links a { color: var(--gray-300); text-decoration: none; margin-left: 15px; }
.legal-links a:hover { color: var(--white); }

/* ==========================================================================
   Modal Component
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-card {
    background: var(--white);
    max-width: 550px;
    width: 100%;
    border-radius: var(--radius-lg);
    padding: 30px;
    position: relative;
    box-shadow: var(--shadow-lg);
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gray-600);
}
.modal-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.modal-icon {
    font-size: 1.8rem;
    color: var(--primary);
}
.modal-body { color: var(--gray-600); line-height: 1.6; font-size: 0.95rem; margin-bottom: 20px; }

/* ==========================================================================
   Interactive AI Chatbot Widget
   ========================================================================== */
.chat-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1500;
}
.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}
.chat-toggle-btn:hover { transform: scale(1.05); }
.chat-panel {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 360px;
    height: 480px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}
.chat-header {
    background: var(--dark);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-agent-info { display: flex; align-items: center; gap: 10px; }
.chat-agent-info .avatar {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chat-agent-info strong { display: block; font-size: 0.9rem; }
.chat-agent-info small { font-size: 0.75rem; color: var(--gray-300); }
.chat-close { background: none; border: none; color: var(--white); font-size: 1.4rem; cursor: pointer; }
.chat-close:focus-visible,
.chat-toggle-btn:focus-visible,
.chat-input-area button:focus-visible,
.reply-chip:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: var(--light-bg);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    line-height: 1.4;
}
.message.bot {
    background: var(--white);
    color: var(--dark);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    box-shadow: var(--shadow-sm);
}
.message.user {
    background: var(--primary);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}
.message .time {
    display: block;
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: 4px;
}

.chat-quick-replies {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    overflow-x: auto;
}
.reply-chip {
    background: var(--gray-100);
    border: none;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.78rem;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}
.reply-chip:hover { background: var(--primary); color: var(--white); }

.chat-input-area {
    display: flex;
    padding: 10px;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
}
.chat-input-area input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 12px;
    font-size: 0.9rem;
}
.chat-input-area button {
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}
.chat-input-area button:disabled {
    cursor: wait;
    opacity: 0.65;
}
.chat-input-area input:disabled {
    cursor: wait;
}
.message.typing-indicator {
    color: var(--gray-600);
    font-style: italic;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-container, .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 94px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 94px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 0;
        transition: var(--transition);
    }
    .nav-links.active { left: 0; }
    .mobile-toggle { display: block; }
    .social-icon-bar { display: none; }
    .hero-content h1 { font-size: 2.3rem; }
    .footer-container { grid-template-columns: 1fr; }
    .chat-panel { width: calc(100vw - 40px); right: -10px; }
    .audit-card { padding: 32px 24px; }
    .audit-form .input-group { flex-wrap: wrap; }
    .audit-form input { min-width: 0; }
    .audit-form .input-group .btn {
        flex: 0 0 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .badge-1 { right: 0; }
    .badge-2 { left: 0; }
    .experience-badge { right: 0; }
}

/* Reference-inspired dark header, bold hero, and structured showcases */
:root {
    --primary: #c67a13;
    --primary-dark: #9a5708;
    --primary-light: #e4a43d;
    --accent: #f0b948;
    --accent-glow: rgba(240, 185, 72, 0.2);
    --dark: #101523;
    --dark-surface: #1b2232;
    --light-bg: #f6f7f9;
    --gray-100: #edf0f4;
    --gray-300: #c6ccd6;
    --gray-600: #596273;
    --gray-800: #252c39;
}

html {
    scroll-padding-top: 100px;
}

.section-padding {
    padding: clamp(64px, 8vw, 104px) 0;
}

.navbar {
    position: sticky;
    background: rgba(10, 12, 18, 0.97);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.nav-container {
    min-height: 92px;
    height: auto;
}

.logo-image {
    width: 132px;
    max-height: 86px;
    padding: 3px 7px;
    border-radius: 8px;
    background: #fff;
}

.nav-links {
    gap: clamp(12px, 1.6vw, 24px);
}

.nav-link {
    color: #e6e8ed;
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link.highlight {
    border-radius: 4px;
    background: var(--primary);
    color: #fff;
    padding: 10px 14px;
}

.nav-link.highlight:hover {
    background: var(--primary-dark);
    color: #fff;
}

.social-icon-bar a {
    color: #f0b948;
}

.mobile-toggle {
    color: #fff;
}

.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(72px, 9vw, 124px) 0;
    background-image: url("assets/images/image-1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 82% 18%, rgba(240, 185, 72, 0.14), transparent 2px),
        radial-gradient(circle at 89% 31%, rgba(240, 185, 72, 0.34), transparent 4px),
        radial-gradient(circle at 72% 71%, rgba(240, 185, 72, 0.24), transparent 3px);
}

.hero-container {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(36px, 6vw, 88px);
}

.hero-content h1 {
    max-width: 760px;
    color: #fff;
    font-size: clamp(2.7rem, 5vw, 4.65rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.text-gradient {
    background: linear-gradient(110deg, #f8d575 0%, #e8a62e 55%, #c66d16 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-content p {
    max-width: 640px;
    color: #c2c8d2;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.badge {
    background: rgba(240, 185, 72, 0.12);
    color: #f5c65d;
    border: 1px solid rgba(240, 185, 72, 0.25);
}

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

.btn-primary:hover,
.btn-accent:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
}

.hero-stats {
    border-top-color: rgba(255, 255, 255, 0.18);
}

.stat-number {
    color: #fff;
}

.plus,
.stat-label {
    color: #e8b44e;
}

.glass-card {
    background: rgba(23, 30, 45, 0.92);
    border-color: rgba(255, 255, 255, 0.17);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

.code-preview {
    border: 1px solid rgba(240, 185, 72, 0.12);
}

.bar {
    background: linear-gradient(to top, #bd7318, #f3c45d);
}

.floating-badge {
    color: var(--dark);
}

.about-image-col {
    padding: 0 16px 16px 0;
}

.image-stack {
    background:
        radial-gradient(circle at 30% 28%, rgba(240, 185, 72, 0.22), transparent 28%),
        linear-gradient(140deg, #171d2a, #283246);
    box-shadow: 0 24px 60px rgba(16, 21, 35, 0.16);
}

.experience-badge {
    background: var(--primary-dark);
}

.audit-card {
    background:
        radial-gradient(ellipse at 90% 10%, rgba(198, 122, 19, 0.24), transparent 36%),
        linear-gradient(125deg, #101523, #202a3c);
}

.audit-form .input-group {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.section-header h2,
.about-text-col h2,
.contact-info h2 {
    color: var(--dark);
    letter-spacing: -0.025em;
}

.sub-heading {
    color: var(--primary-dark);
}

.service-card,
.team-card {
    border-color: #e8ebf0;
    box-shadow: 0 8px 26px rgba(16, 21, 35, 0.04);
}

.service-card:hover,
.team-card:hover {
    border-color: rgba(198, 122, 19, 0.36);
    box-shadow: 0 20px 46px rgba(16, 21, 35, 0.11);
}

.service-icon,
.team-avatar {
    background: rgba(198, 122, 19, 0.1);
    color: var(--primary-dark);
}

.step-card {
    border: 1px solid #e8ebf0;
    box-shadow: 0 10px 30px rgba(16, 21, 35, 0.05);
}

.step-number {
    color: rgba(198, 122, 19, 0.19);
}

.portfolio {
    background: #101523;
}

.portfolio .section-header h2 {
    color: #fff;
}

.portfolio .section-header p {
    color: #c1c7d1;
}

.portfolio .sub-heading {
    color: #f0b948;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.portfolio-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    background: #fff;
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.work-preview {
    display: flex;
    height: 230px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 26px;
    background:
        radial-gradient(circle at 82% 18%, rgba(240, 185, 72, 0.3), transparent 30%),
        linear-gradient(140deg, #222b3c, #111827);
}

.work-preview img,
.work-preview video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.72, 0.25, 1);
}

.preview-browser,
.preview-dashboard {
    width: 100%;
    max-width: 330px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
}

.preview-browser-bar {
    display: flex;
    gap: 5px;
    padding: 8px 10px;
    background: #e8ebf0;
}

.preview-browser-bar span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c1c7d1;
}

.preview-website {
    position: relative;
    min-height: 146px;
    padding: 14px;
    background: linear-gradient(115deg, #f8f6f1, #fff);
}

.preview-nav,
.preview-hero-copy span,
.preview-content-row span,
.dashboard-title span,
.dashboard-metrics span,
.dashboard-lines span,
.automation-caption span {
    display: block;
    border-radius: 5px;
    background: #dce1e8;
}

.preview-nav {
    width: 35%;
    height: 7px;
    background: #182238;
}

.preview-hero-copy {
    display: grid;
    width: 45%;
    gap: 6px;
    margin-top: 22px;
}

.preview-hero-copy span:first-child {
    width: 90%;
    height: 11px;
    background: #20283a;
}

.preview-hero-copy span:nth-child(2) {
    width: 72%;
    height: 7px;
    background: #c9801a;
}

.preview-hero-copy span:nth-child(3) {
    width: 98%;
    height: 5px;
}

.preview-hero-shape {
    position: absolute;
    top: 31px;
    right: 17px;
    width: 36%;
    height: 72px;
    border-radius: 45% 45% 8px 8px;
    background: linear-gradient(145deg, #eab650, #b6691a);
}

.preview-cta {
    width: 25%;
    height: 10px;
    margin-top: 11px;
    border-radius: 8px;
    background: #c9801a;
}

.preview-content-row {
    display: flex;
    gap: 7px;
    margin-top: 14px;
}

.preview-content-row span {
    width: 33%;
    height: 18px;
    background: #eceff3;
}

.search-preview {
    background:
        radial-gradient(circle at 18% 22%, rgba(106, 151, 221, 0.28), transparent 34%),
        linear-gradient(140deg, #18243a, #111827);
}

.preview-dashboard {
    padding: 16px;
    background: #fff;
}

.dashboard-title {
    display: flex;
    justify-content: space-between;
}

.dashboard-title span:first-child {
    width: 34%;
    height: 8px;
    background: #253149;
}

.dashboard-title span:last-child {
    width: 18%;
    height: 8px;
    background: #e8ebf0;
}

.dashboard-metrics {
    display: flex;
    gap: 8px;
    margin-top: 13px;
}

.dashboard-metrics span {
    width: 33%;
    height: 25px;
    background: #f0f2f5;
}

.dashboard-metrics span:nth-child(2) {
    background: rgba(198, 122, 19, 0.18);
}

.dashboard-chart {
    display: flex;
    height: 62px;
    align-items: end;
    gap: 8px;
    margin-top: 10px;
    padding: 0 5px;
    border-bottom: 1px solid #e8ebf0;
}

.dashboard-chart i {
    flex: 1;
    height: 35%;
    border-radius: 3px 3px 0 0;
    background: #dca642;
}

.dashboard-chart i:nth-child(2n) { height: 65%; }
.dashboard-chart i:nth-child(3n) { height: 48%; }
.dashboard-chart i:nth-child(5) { height: 92%; }

.dashboard-lines {
    display: flex;
    gap: 7px;
    margin-top: 10px;
}

.dashboard-lines span {
    width: 33%;
    height: 5px;
}

.automation-preview {
    flex-direction: column;
    gap: 24px;
    background:
        radial-gradient(circle at 82% 20%, rgba(198, 122, 19, 0.28), transparent 32%),
        linear-gradient(140deg, #222b3c, #111827);
}

.automation-flow {
    display: flex;
    width: 100%;
    max-width: 330px;
    align-items: center;
    justify-content: center;
}

.flow-node {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.12);
    color: #f5c45b;
}

.flow-node-main {
    width: 66px;
    height: 66px;
    border-color: rgba(240, 185, 72, 0.65);
    background: #c9801a;
    color: #fff;
    font-size: 1.35rem;
}

.flow-line {
    width: clamp(20px, 5vw, 62px);
    height: 2px;
    background: linear-gradient(90deg, #b9c1cf, #eab650);
}

.automation-caption {
    display: flex;
    width: min(68%, 190px);
    justify-content: space-between;
}

.automation-caption span {
    width: 44%;
    height: 6px;
    background: rgba(255, 255, 255, 0.48);
}

.portfolio-card-content {
    padding: 23px 24px 26px;
}

.portfolio-category {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.portfolio-card-content h3 {
    margin-bottom: 9px;
    color: var(--dark);
    font-size: 1.3rem;
}

.portfolio-card-content p {
    color: var(--gray-600);
    font-size: 0.94rem;
    line-height: 1.65;
}

.team-role {
    color: var(--primary-dark);
}

.footer {
    background: #090c13;
}

.brand-col .logo-image {
    background: #fff;
}

.footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.14);
}

.modal-icon {
    color: var(--primary-dark);
}

.chat-toggle-btn,
.chat-input-area button {
    background: linear-gradient(135deg, #c9801a, #edb845);
}

.reply-chip:hover {
    background: var(--primary);
}

@media (max-width: 1040px) {
    html {
        scroll-padding-top: 88px;
    }

    .nav-container {
        min-height: 84px;
    }

    .logo-image {
        width: 120px;
        max-height: 78px;
    }

    .nav-links {
        position: fixed;
        top: 84px;
        left: 0;
        width: 100%;
        height: calc(100svh - 84px);
        align-items: stretch;
        gap: 0;
        padding: 18px 5% 32px;
        overflow-y: auto;
        background: #0c1019;
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        left: 0;
        transform: translateX(0);
    }

    .nav-link {
        padding: 15px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 1rem;
    }

    .nav-link.highlight {
        align-self: flex-start;
        margin-top: 14px;
        padding: 11px 16px;
    }

    .nav-actions {
        margin-left: auto;
    }

    .social-icon-bar {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        padding: 76px 0 80px;
    }

    .hero-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 58px;
    }

    .hero-content,
    .hero-visual {
        min-width: 0;
    }

    .hero-content h1 {
        font-size: clamp(2.55rem, 9vw, 3.5rem);
    }

    .hero-cta-group {
        flex-wrap: wrap;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 22px 30px;
    }

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

@media (max-width: 560px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .work-preview {
        height: 210px;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-form-card {
        padding: 28px 22px;
    }

    .bottom-flex {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .legal-links a:first-child {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ==========================================================================
   Meet Our Team
   ========================================================================== */
.team {
    background: var(--light-bg);
}

.team-profile-note {
    margin-top: 12px;
    color: var(--gray-600);
    font-size: 0.88rem !important;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.team-card {
    position: relative;
    min-width: 0;
    aspect-ratio: 4 / 5;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: var(--radius-lg);
    background: transparent;
    box-shadow: none;
    perspective: 1200px;
    text-align: left;
}

.team-card:hover {
    border-color: transparent;
    box-shadow: none;
}

.team-card-inner {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.2, 0.72, 0.25, 1);
}

.team-card.is-flipped .team-card-inner {
    transform: rotateY(180deg);
}

.team-card-face {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-lg);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.team-card-front {
    background: #e8ebf0;
    box-shadow: 0 12px 32px rgba(16, 21, 35, 0.08);
}

.team-card-front-button {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: inherit;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: inherit;
}

.team-photo,
.team-photo-placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.team-photo {
    object-fit: contain;
    object-position: center;
}

.team-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(145deg, #eef1f5, #dfe4eb);
    color: #647084;
    font-size: 0.85rem;
    letter-spacing: 0.025em;
}

.team-photo-placeholder i {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border: 1px solid rgba(71, 85, 105, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.62);
    color: var(--primary-dark);
    font-size: 2rem;
}

.team-card-overlay {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 46px 22px 20px;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.7));
    color: var(--white);
}

.team-card-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
}

.team-card-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.team-card-hint-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-light);
}

.team-card-back {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(22px, 3vw, 34px);
    transform: rotateY(180deg);
    background: var(--white);
    box-shadow: 0 12px 32px rgba(16, 21, 35, 0.08);
}

.team-card-back-content {
    min-height: 0;
    overflow-y: auto;
}

.team-card-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.team-card-name {
    margin-bottom: 8px;
    color: var(--dark);
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    overflow-wrap: anywhere;
}

.team-role {
    display: block;
    margin-bottom: 20px;
    color: var(--primary-dark);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.5;
}

.team-card-bio {
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.7;
}

.team-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.team-socials a {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition);
}

.team-socials a:hover {
    background: var(--primary);
    color: var(--white);
}

.team-card-back-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    align-self: flex-start;
    margin-top: 20px;
    padding: 9px 0;
    border: 0;
    background: transparent;
    color: var(--gray-600);
    cursor: pointer;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
}

.team-card-back-button:hover {
    color: var(--primary-dark);
}

.team-card-front-button:focus-visible,
.team-card-back-button:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: -5px;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .team-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .team-card-back {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .team-card-inner {
        transition-duration: 0.01ms;
    }
}

/* ==========================================================================
   Trusted Partners
   ========================================================================== */
.partners {
    background: var(--light-bg);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.partner-card {
    display: flex;
    min-width: 0;
    height: 132px;
    align-items: center;
    justify-content: center;
    padding: 22px;
    border: 1px solid #e8ebf0;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 8px 26px rgba(16, 21, 35, 0.04);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.partner-card[href]:hover {
    transform: translateY(-4px);
    border-color: rgba(198, 122, 19, 0.36);
    box-shadow: 0 16px 34px rgba(16, 21, 35, 0.1);
}

.partner-card[href]:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.partner-logo {
    display: block;
    width: 100%;
    height: 88px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.partner-card[href]:hover .partner-logo {
    transform: scale(1.04);
}

.partner-logo-fallback {
    max-width: 100%;
    color: var(--gray-800);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .partner-card {
        height: 116px;
        padding: 16px;
    }
}

/* Restrained motion accents */
.hero-video,
.hero-video-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    z-index: 0;
    object-fit: cover;
}

.hero-video-overlay {
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(rgba(11, 15, 25, 0.85), rgba(11, 15, 25, 0.85));
}

.hero-bg-glow {
    z-index: 0;
}

.motion-banner {
    overflow: hidden;
    padding: 18px 0;
    border-bottom: 1px solid rgba(198, 122, 19, 0.16);
    background: #101523;
    color: #f0c15a;
}

.motion-banner-track,
.motion-banner-group {
    display: flex;
    width: max-content;
    align-items: center;
}

.motion-banner-track {
    animation: banner-scroll 34s linear infinite;
}

.motion-banner:hover .motion-banner-track,
.motion-banner:focus-within .motion-banner-track {
    animation-play-state: paused;
}

.motion-banner-group {
    flex: 0 0 auto;
    gap: clamp(24px, 4vw, 58px);
    padding: 0 clamp(24px, 4vw, 58px);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.motion-banner-group i {
    width: 6px;
    height: 6px;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.service-card {
    box-shadow: 0 8px 26px rgba(16, 21, 35, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 20px 46px rgba(16, 21, 35, 0.11);
}

.service-icon {
    transition: transform 0.35s ease, background-color 0.35s ease;
}

.service-card:hover .service-icon,
.service-card:focus-within .service-icon {
    transform: scale(1.06);
    background: rgba(198, 122, 19, 0.16);
}

.work-preview > :not(img):not(video) {
    transition: transform 0.5s cubic-bezier(0.2, 0.72, 0.25, 1);
}

.portfolio-card:hover .work-preview > :not(img):not(video),
.portfolio-card:focus-within .work-preview > :not(img):not(video),
.portfolio-card:hover .work-preview img,
.portfolio-card:hover .work-preview video,
.portfolio-card:focus-within .work-preview img,
.portfolio-card:focus-within .work-preview video {
    transform: scale(1.045);
}

.btn-primary,
.btn-secondary {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.motion-ready .hero-content .badge,
.motion-ready .hero-content h1,
.motion-ready .hero-content > p,
.motion-ready .hero-content .hero-cta-group,
.motion-ready .hero-content .hero-stats {
    animation: hero-rise 0.7s both;
}

.motion-ready .hero-visual {
    animation: hero-rise 0.8s 180ms both;
}

.motion-ready .hero-content h1 { animation-delay: 80ms; }
.motion-ready .hero-content > p { animation-delay: 150ms; }
.motion-ready .hero-content .hero-cta-group { animation-delay: 220ms; }
.motion-ready .hero-content .hero-stats { animation-delay: 290ms; }

.hero-cta-group .btn:active {
    transform: translateY(0) scale(0.98);
}

.motion-ready [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease var(--reveal-delay, 0ms), transform 0.65s ease var(--reveal-delay, 0ms);
}

.motion-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-cta {
    margin-top: 6px;
    padding: 15px 22px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.22);
}

.whatsapp-cta:hover {
    background: #128c7e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(18, 140, 126, 0.25);
}

.floating-whatsapp {
    position: fixed;
    z-index: 1490;
    right: clamp(16px, 2.4vw, 25px);
    bottom: calc(100px + env(safe-area-inset-bottom, 0px));
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(16, 21, 35, 0.24);
    transition: transform 0.25s ease, background-color 0.25s ease, opacity 0.2s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-3px);
    background: #128c7e;
}

.floating-whatsapp:focus-visible {
    outline: 3px solid #128c7e;
    outline-offset: 3px;
}

.info-item p a {
    color: inherit;
    text-decoration-color: rgba(89, 98, 115, 0.45);
    text-underline-offset: 3px;
}

.info-item p a:hover,
.footer-col p a:hover {
    color: var(--primary-light);
}

.footer-col p a {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 3px;
}

body.nav-open .floating-whatsapp,
body.chat-open .floating-whatsapp {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

@keyframes hero-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes banner-scroll {
    to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .motion-banner {
        padding: 15px 0;
    }

    .motion-banner-track {
        animation-duration: 28s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .motion-banner-track {
        animation: none;
        transform: none;
        width: 100%;
    }

    .motion-banner-group:first-child {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .motion-banner-group[aria-hidden="true"] {
        display: none;
    }

    .motion-ready .hero-content .badge,
    .motion-ready .hero-content h1,
    .motion-ready .hero-content > p,
    .motion-ready .hero-content .hero-cta-group,
    .motion-ready .hero-content .hero-stats {
        animation: none;
    }

    .motion-ready .hero-visual {
        animation: none;
    }

    .motion-ready [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   Google Reviews
   ========================================================================== */
.google-reviews {
    background: linear-gradient(180deg, #f7f8fa 0%, #fff 100%);
}

.google-reviews-header {
    margin-bottom: 42px;
}

.google-reviews-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: stretch;
}

.google-rating-card {
    display: flex;
    flex-direction: column;
    padding: clamp(26px, 3.5vw, 40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #101523, #202b3e);
    color: #fff;
    box-shadow: 0 20px 48px rgba(16, 21, 35, 0.16);
}

.google-rating-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.google-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #4285f4;
    font-family: Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.google-brand-name,
.google-profile-label {
    display: block;
}

.google-brand-name {
    font-size: 1.05rem;
    line-height: 1.3;
}

.google-profile-label {
    margin-top: 2px;
    color: #c4cbd7;
    font-size: 0.78rem;
}

.google-rating-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 32px 0 14px;
}

.google-rating-number {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3.6rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1;
}

.google-rating-details {
    display: grid;
    gap: 8px;
}

.google-rating-details p {
    color: #d7dce5;
    font-size: 0.9rem;
}

.google-stars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fbbc04;
    font-size: 1rem;
}

.google-rating-card .google-stars .is-empty {
    color: rgba(255, 255, 255, 0.3);
}

.google-rating-checked {
    margin-bottom: 28px;
    color: #b7c0cf;
    font-size: 0.78rem;
}

.google-review-actions {
    display: grid;
    gap: 10px;
    margin-top: auto;
}

.google-review-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    text-align: center;
}

.google-review-read {
    background: var(--primary-dark);
    color: #fff;
}

.google-review-read:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.google-review-write {
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: #fff;
}

.google-review-write:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: translateY(-2px);
}

.google-reviews-content {
    display: flex;
    min-width: 0;
}

.google-review-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 18px;
    align-content: start;
}

.google-review-grid[hidden],
.google-reviews-empty[hidden] {
    display: none;
}

.google-review-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #e8ebf0;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 21, 35, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.google-review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(198, 122, 19, 0.38);
    box-shadow: 0 18px 34px rgba(16, 21, 35, 0.1);
}

.google-review-card-header {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.google-review-avatar {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    overflow: hidden;
    place-items: center;
    border-radius: 50%;
    background: #edf0f4;
    color: var(--dark);
    font-size: 0.85rem;
    font-weight: 700;
}

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

.google-review-author {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.google-review-author strong {
    overflow: hidden;
    color: var(--dark);
    font-size: 0.95rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.google-review-author time {
    color: var(--gray-600);
    font-size: 0.78rem;
}

.google-review-stars {
    margin-top: 18px;
}

.google-review-card .google-stars .is-empty {
    color: #d5d9e0;
}

.google-review-card blockquote {
    margin: 14px 0 20px;
    color: var(--gray-600);
    font-size: 0.94rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.google-review-card footer {
    margin-top: auto;
}

.google-review-attribution {
    color: #5f6368;
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.google-review-attribution:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.google-reviews-empty {
    display: flex;
    width: 100%;
    min-height: 320px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid #e8ebf0;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 21, 35, 0.05);
}

.google-reviews-empty-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 14px;
    background: rgba(198, 122, 19, 0.1);
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.google-reviews-empty-label {
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.google-reviews-empty h3 {
    margin-bottom: 10px;
    color: var(--dark);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.google-reviews-empty p {
    max-width: 540px;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

.google-review-read:focus-visible,
.google-review-write:focus-visible,
.google-review-attribution:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .google-reviews-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .google-rating-card {
        max-width: none;
    }

    .google-review-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .google-reviews-header {
        margin-bottom: 30px;
    }

    .google-reviews-layout {
        gap: 18px;
    }

    .google-rating-card {
        padding: 24px;
    }

    .google-rating-summary {
        gap: 14px;
        margin-top: 26px;
    }

    .google-review-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .google-review-card,
    .google-reviews-empty {
        padding: 22px;
    }

    .google-reviews-empty {
        min-height: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .google-review-card,
    .google-review-read,
    .google-review-write {
        transition: none;
    }

    .google-review-card:hover,
    .google-review-read:hover,
    .google-review-write:hover {
        transform: none;
    }
}