/* ============================================
   SOLACE MANAGEMENT SOLUTIONS - Premium Gold & Black Theme
   ============================================ */

/* CSS Variables — shared */
:root {
    --gold-primary: #C9A227;
    --gold-light: #D4AF37;
    --gold-dark: #A68523;
    --gold-muted: #8B7355;
    --gold-gradient: linear-gradient(135deg, #C9A227 0%, #D4AF37 50%, #E8C547 100%);
    --section-padding: 120px;
    --container-width: 1200px;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

/* Light theme (default) */
html[data-theme="light"],
html:not([data-theme]) {
    --black-pure: #e4e4e4;
    --black-rich: #ececec;
    --black-soft: #f0f0f0;
    --black-matte: #f4f4f4;
    --black-charcoal: #ebebeb;
    --black-elevated: #e0e0e0;
    --text-primary: #141414;
    --text-secondary: #333333;
    --text-muted: #5a5a5a;
    --text-gold: var(--gold-primary);
}

/* Dark theme */
html[data-theme="dark"] {
    --black-pure: #222222;
    --black-rich: #2e2e2e;
    --black-soft: #3a3a3a;
    --black-matte: #454545;
    --black-charcoal: #525252;
    --black-elevated: #5f5f5f;
    --text-primary: #ffffff;
    --text-secondary: #e8e8e8;
    --text-muted: #c0c0c0;
    --text-gold: var(--gold-primary);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--black-rich);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-medium);
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.1;
}

.logo-icon {
    height: 45px;
    width: auto;
    filter: invert(1) brightness(2);
    /* Makes black logo white, transparent bg stays transparent */
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--text-primary);
}

.logo-accent {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--gold-primary);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 48px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-gradient);
    transition: var(--transition-medium);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-social a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.nav-social a:hover {
    color: var(--gold-primary);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: 
        linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 162, 39, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(201, 162, 39, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(201, 162, 39, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(201, 162, 39, 0.15) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 200px 200px;
    animation: particleFloat 20s linear infinite;
    opacity: 0.5;
}

@keyframes particleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.hero-content {
    text-align: left;
    padding: 0 24px;
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-primary);
    padding: 12px 24px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.title-line:first-child {
    animation-delay: 0.2s;
}

.title-line.accent {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.4s;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition-medium);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--black-rich);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(201, 162, 39, 0.3);
}

.btn-primary svg {
    transition: var(--transition-fast);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
}

.btn-secondary:hover {
    background: var(--gold-primary);
    color: var(--black-rich);
}

.text-link {
    color: var(--gold-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition-fast);
}

.text-link:hover {
    color: var(--gold-light);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 60px; }
    50% { opacity: 1; height: 80px; }
}

/* ============================================
   SECTION STYLING
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: justify;
    text-align-last: center;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--section-padding) 0;
    background: 
        linear-gradient(to bottom, rgba(46, 46, 46, 0.93) 0%, rgba(46, 46, 46, 0.90) 100%),
        url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.3), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #454545;
    padding: 48px 36px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-medium);
    border: 1px solid transparent;
}

/* Topic imagery: full-bleed photo + dark overlay for readable text */
.service-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 0.6s ease;
}

.service-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        165deg,
        rgba(18, 18, 18, 0.55) 0%,
        rgba(22, 22, 22, 0.48) 42%,
        rgba(28, 28, 28, 0.58) 100%
    );
    transition: opacity var(--transition-medium);
}

.service-card-body {
    position: relative;
    z-index: 1;
}

.service-card--strategy .service-card-bg {
    background-image: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?auto=format&fit=crop&w=900&q=80');
}

.service-card--operations .service-card-bg {
    background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=900&q=80');
}

.service-card--change .service-card-bg {
    background-image: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=900&q=80');
}

.service-card--public .service-card-bg {
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=900&q=80');
}

.service-card--bpo .service-card-bg {
    background-image: url('https://images.unsplash.com/photo-1553877522-43269d4ea984?auto=format&fit=crop&w=900&q=80');
}

.service-card--training .service-card-bg {
    background-image: url('https://images.unsplash.com/photo-1524178232363-1ed2d0d01614?auto=format&fit=crop&w=900&q=80');
}

.service-card:hover .service-card-bg {
    transform: scale(1.05);
}

.service-card:hover .service-card-bg::after {
    background: linear-gradient(
        165deg,
        rgba(12, 12, 12, 0.68) 0%,
        rgba(18, 18, 18, 0.62) 45%,
        rgba(24, 24, 24, 0.72) 100%
    );
}

.service-card:hover {
    border-color: rgba(201, 162, 39, 0.15);
    transform: translateY(-8px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-medium);
    z-index: 2;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 18, 18, 0.65);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(201, 162, 39, 0.35);
    margin-bottom: 28px;
    transition: var(--transition-medium);
}

.service-icon svg {
    color: var(--gold-primary);
}

.service-card:hover .service-icon {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
}

.service-card:hover .service-icon svg {
    color: #2e2e2e;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.service-card p {
    font-size: 0.95rem;
    color: #e8e8e8;
    line-height: 1.7;
    text-align: justify;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.service-line {
    position: absolute;
    bottom: 0;
    left: 36px;
    right: 36px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.35), transparent);
    z-index: 2;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-padding) 0;
    background: 
        linear-gradient(to bottom, rgba(58, 58, 58, 0.92) 0%, rgba(58, 58, 58, 0.94) 100%),
        url('https://images.unsplash.com/photo-1553484771-047a44eee27b?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
    position: relative;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    top: 50%;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.05) 0%, transparent 70%);
    transform: translateY(-50%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-tag,
.about-content .section-title {
    text-align: left;
}

.about-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    background: var(--black-matte);
    border: 1px solid rgba(201, 162, 39, 0.2);
    padding: 60px;
    z-index: 1;
}

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: var(--gold-primary);
    text-align: center;
}

.image-placeholder span {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gold-accent-box {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-primary);
    opacity: 0.3;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team {
    padding: var(--section-padding) 0;
    background: 
        linear-gradient(to bottom, rgba(58, 58, 58, 0.93) 0%, rgba(58, 58, 58, 0.95) 100%),
        url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.3), transparent);
}

.team-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

.team-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 24px;
}

.team-cta {
    text-align: center;
    margin-top: 40px;
}

.team-cta .btn {
    animation: none;
    opacity: 1;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, transparent 50%),
        var(--black-matte);
    position: relative;
}

.cta::before,
.cta::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.3), transparent);
}

.cta::before { top: 0; }
.cta::after { bottom: 0; }

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 500;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.cta .btn {
    animation: none;
    opacity: 1;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--section-padding) 0;
    background: 
        linear-gradient(to bottom, rgba(46, 46, 46, 0.94) 0%, rgba(46, 46, 46, 0.96) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
}

.contact-grid {
    display: flex;
    justify-content: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.2);
    color: var(--gold-primary);
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: justify;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    background: var(--black-matte);
    border: 1px solid rgba(201, 162, 39, 0.1);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: var(--black-charcoal);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .btn {
    animation: none;
    opacity: 1;
    align-self: flex-start;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 80px 0 40px;
    background: var(--black-pure);
    border-top: 1px solid rgba(201, 162, 39, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
    font-size: 0.9rem;
    max-width: 280px;
}

.footer-links h4,
.footer-services h4,
.footer-social h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--gold-primary);
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-services a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--gold-primary);
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black-matte);
    border: 1px solid rgba(201, 162, 39, 0.2);
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: var(--black-rich);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 60px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        --section-padding: 80px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(20, 20, 20, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 12px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-social {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-content .section-tag,
    .about-content .section-title {
        text-align: center;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 32px;
    }
    
    .about-image {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .whatsapp-float span {
        display: none;
    }
    
    .whatsapp-float {
        padding: 16px;
        border-radius: 50%;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.65rem;
        padding: 10px 16px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 0.8rem;
    }
    
    .service-card {
        padding: 36px 28px;
    }
    
    .about-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ============================================
   THEME TOGGLE + LIGHT / DARK SURFACES
   ============================================ */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: 12px;
    border: 1px solid rgba(201, 162, 39, 0.35);
    border-radius: 8px;
    background: rgba(201, 162, 39, 0.08);
    color: var(--gold-primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.theme-toggle:hover {
    background: rgba(201, 162, 39, 0.18);
    border-color: var(--gold-primary);
}

.theme-toggle-icon {
    display: none;
    align-items: center;
    justify-content: center;
}

html[data-theme="light"] .theme-toggle-moon,
html:not([data-theme]) .theme-toggle-moon {
    display: flex;
}

html[data-theme="dark"] .theme-toggle-sun {
    display: flex;
}

html[data-theme="light"] .navbar,
html:not([data-theme]) .navbar {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.88) 0%, transparent 100%);
}

html[data-theme="light"] .navbar.scrolled,
html:not([data-theme]) .navbar.scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(201, 162, 39, 0.22);
}

html[data-theme="light"] .hero,
html:not([data-theme]) .hero {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.18) 0%, rgba(30, 30, 30, 0.55) 72%, rgba(12, 12, 12, 0.68) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
}

html[data-theme="light"] .hero-overlay,
html:not([data-theme]) .hero-overlay {
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.42) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(201, 162, 39, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 162, 39, 0.1) 0%, transparent 50%);
}

html[data-theme="light"] .title-line:first-child,
html:not([data-theme]) .title-line:first-child {
    color: #f8f8f8;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

html[data-theme="light"] .title-line.accent,
html:not([data-theme]) .title-line.accent {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    color: #e8c547;
    text-shadow:
        0 0 2px rgba(0, 0, 0, 0.9),
        0 2px 20px rgba(0, 0, 0, 0.65),
        0 1px 3px rgba(0, 0, 0, 0.8);
}

html[data-theme="light"] .btn-primary,
html:not([data-theme]) .btn-primary {
    color: #141414;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

html[data-theme="light"] .hero-particles,
html:not([data-theme]) .hero-particles {
    opacity: 0.22;
}

html[data-theme="light"] .services,
html:not([data-theme]) .services {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.78) 0%, rgba(248, 248, 248, 0.82) 100%),
        url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
}

html[data-theme="light"] .about,
html:not([data-theme]) .about {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.76) 0%, rgba(245, 245, 245, 0.84) 100%),
        url('https://images.unsplash.com/photo-1553484771-047a44eee27b?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
}

html[data-theme="light"] .team,
html:not([data-theme]) .team {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.78) 0%, rgba(246, 246, 246, 0.85) 100%),
        url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
}

html[data-theme="light"] .contact,
html:not([data-theme]) .contact {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.8) 0%, rgba(248, 248, 248, 0.88) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
}

html[data-theme="light"] .logo-icon,
html:not([data-theme]) .logo-icon {
    filter: none;
    opacity: 0.92;
}

@media (max-width: 768px) {
    html[data-theme="light"] .nav-links,
    html:not([data-theme]) .nav-links {
        background: rgba(255, 255, 255, 0.97);
        border-bottom-color: rgba(201, 162, 39, 0.2);
    }

    html[data-theme="light"] .nav-links a,
    html:not([data-theme]) .nav-links a {
        border-bottom-color: rgba(0, 0, 0, 0.06);
    }
}

html[data-theme="light"] .footer-bottom,
html:not([data-theme]) .footer-bottom {
    border-top-color: rgba(0, 0, 0, 0.08);
}
