/* ================================================
   OTL EMPIRE Group - Main Stylesheet
   Theme: Dark Luxury Corporate
   Palette: #000000 / #FFD800 / #FFFFFF
   ================================================ */

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

:root {
    --bg-primary: #000000;
    --bg-surface: #0A0A0A;
    --bg-elevated: #141414;
    --color-gold: #FFD800;
    --color-gold-hover: #E6C200;
    --color-white: #FFFFFF;
    --color-text-secondary: #A1A1AA;
    --color-text-tertiary: #71717a;
    --color-border: #27272A;
    --color-whatsapp: #25D366;
}

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



body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

::selection { background-color: var(--color-gold); color: #000; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--color-gold); border-radius: 5px; }

.container-otl {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* === Header === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}

.header-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-white);
    transition: color 0.3s;
}

.main-nav a:hover, .main-nav a.active { color: var(--color-gold); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    background: transparent;
    border: none;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s;
}

.lang-toggle:hover { color: var(--color-gold); }

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.25rem;
}

/* === Buttons === */
.btn-otl-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--color-gold);
    color: #000;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-otl-primary:hover { background: var(--color-white); color: #000; }

.btn-otl-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--color-gold);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--color-gold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-otl-secondary:hover { background: var(--color-gold); color: #000; }

.btn-otl-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-otl-ghost:hover { background: var(--color-white); color: #000; }

/* === Sections === */
section { padding: 6rem 0; }

.section-overline {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

/* === Hero === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: url('https://static.prod-images.emergentagent.com/jobs/8a36a902-bb08-401b-adc2-728c561ad87e/images/7cced86cce2b41b4e8ea6948c45a50e9851d72168bf038b150184391d7816618.png') center/cover no-repeat;
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content { position: relative; z-index: 1; max-width: 50rem; }

.hero h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 1rem 0 1.5rem;
}

.hero h1 .accent { color: var(--color-gold); display: block; }

.hero p {
    color: var(--color-text-secondary);
    max-width: 36rem;
    margin-bottom: 2.5rem;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* === Service Cards === */
.service-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    top: 0;
}

.service-card:hover {
    border-color: rgba(255, 216, 0, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(255, 216, 0, 0.08);
}

.service-card .icon {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    transition: transform 0.4s ease;
}

.service-card:hover .icon {
    transform: scale(1.15);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.service-card:hover h3 {
    color: var(--color-gold);
}

.service-card p { color: var(--color-text-secondary); margin-bottom: 1.5rem; flex: 1; }

.service-card .link {
    color: var(--color-gold);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
    transition: gap 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card:hover .link {
    gap: 0.75rem;
}

/* === Services Hero === */
.services-hero {
    min-height: 65vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-elevated) url('https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg') center/cover no-repeat;
    padding-top: 10rem;
    padding-bottom: 4rem;
}

.services-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.services-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

@media (max-width: 768px) {
    .services-hero { min-height: 55vh; padding-top: 8rem; }
}

@media (max-width: 576px) {
    .services-hero { min-height: 45vh; padding-top: 7rem; }
}

/* === Service Detail (Services Page) === */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 6rem;
}

.service-detail.reverse .service-content { order: -1; }

.service-image-wrap {
    overflow: hidden;
    position: relative;
}

.service-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    filter: brightness(0.8);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.service-detail:hover .service-image {
    transform: scale(1.08);
    filter: brightness(1);
}

.service-content {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-detail:hover .service-content {
    border-color: rgba(255, 216, 0, 0.3);
    box-shadow: 0 8px 32px rgba(255, 216, 0, 0.05);
}

.service-content .icon {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.service-detail:hover .service-content .icon {
    transform: scale(1.1);
}

.service-content h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: color 0.3s;
}

.service-detail:hover .service-content h2 {
    color: var(--color-gold);
}

.service-content .features {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.service-content .features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #d4d4d8;
    font-size: 0.875rem;
}

.service-content .features li::before {
    content: '\2713';
    color: var(--color-gold);
    font-weight: bold;
    flex-shrink: 0;
}

/* === Values Grid === */
.value-card {
    background: var(--bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    transition: border-color 0.3s;
    height: 100%;
}

.value-card:hover { border-color: rgba(255, 216, 0, 0.5); }

.value-card .icon {
    color: var(--color-gold);
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.value-card h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 0.75rem; }

.value-card p { color: var(--color-text-secondary); }

/* === Testimonials Slider === */
.testimonials-section {
    background: var(--bg-surface);
    overflow: hidden;
}

.testimonials-wrapper {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.testimonials-slider {
    overflow: hidden;
    margin: 0 -0.75rem;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.testimonial-slide {
    flex: 0 0 calc(100% / 3);
    padding: 0 0.75rem;
    min-width: 0;
}

.testimonial-card {
    background: var(--bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-card .author img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 0;
}

.testimonial-card .author h4 { color: var(--color-white); font-weight: 500; font-size: 1rem; }
.testimonial-card .author p { color: var(--color-text-secondary); font-size: 0.875rem; }
.testimonial-card .author .company { color: var(--color-gold); font-size: 0.75rem; text-transform: uppercase; }
.testimonial-card blockquote { color: var(--color-text-secondary); font-style: italic; font-size: 0.875rem; flex: 1; }

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
    padding-bottom: 1rem;
}

.testimonial-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.testimonial-dot:hover { background: rgba(255, 216, 0, 0.5); }
.testimonial-dot.active { background: var(--color-gold); transform: scale(1.25); }

@media (max-width: 992px) {
    .testimonial-slide { flex: 0 0 50%; }
}

@media (max-width: 576px) {
    .testimonial-slide { flex: 0 0 100%; }
    .testimonial-card { padding: 1.5rem; }
    .testimonial-card .author img { width: 3rem; height: 3rem; }
    .testimonials-dots { margin-top: 2rem; gap: 0.5rem; }
    .testimonial-dot { width: 0.6rem; height: 0.6rem; }
}

/* === Portfolio === */
.project-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: border-color 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover { border-color: rgba(255, 216, 0, 0.5); }

.project-image {
    position: relative;
    height: 16rem;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 0.5s;
}

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

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    pointer-events: none;
}

.project-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-gold);
    color: #000;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 1;
}

.project-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.project-content h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 0.75rem; transition: color 0.3s; }
.project-card:hover .project-content h3 { color: var(--color-gold); }
.project-content p { color: var(--color-text-secondary); margin-bottom: 1rem; flex: 1; }

/* === CTA Section === */
.cta-banner {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-hover));
    padding: 5rem 3rem;
    text-align: center;
    color: #000;
}

.cta-banner h2 { font-size: 2.5rem; font-weight: 500; margin-bottom: 1.5rem; color: #000; }
.cta-banner p { max-width: 40rem; margin: 0 auto 2.5rem; color: rgba(0, 0, 0, 0.8); }
.cta-banner .btn-otl-primary { background: #000; color: white; }
.cta-banner .btn-otl-primary:hover { background: var(--bg-surface); color: white; }

/* === Contact Hero === */
.contact-hero {
    min-height: 55vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-elevated) url('https://images.pexels.com/photos/36733421/pexels-photo-36733421.jpeg') center/cover no-repeat;
    padding-top: 10rem;
    padding-bottom: 4rem;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

@media (max-width: 768px) {
    .contact-hero { min-height: 45vh; padding-top: 8rem; }
}

@media (max-width: 576px) {
    .contact-hero { min-height: 40vh; padding-top: 7rem; }
}

/* === Contact === */
.contact-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    height: 100%;
}

.contact-card h2 { font-size: 2rem; margin-bottom: 2rem; }

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-info-item .icon { color: var(--color-gold); font-size: 1.5rem; flex-shrink: 0; margin-top: 0.25rem; }
.contact-info-item h3 { font-weight: 500; margin-bottom: 0.5rem; color: white; }
.contact-info-item p, .contact-info-item a { color: var(--color-text-secondary); font-size: 0.875rem; }
.contact-info-item a:hover { color: var(--color-gold); }

/* === Forms === */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    font-size: 0.875rem;
    color: #d4d4d8;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control-otl, .form-select-otl {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-family: inherit;
    font-size: 0.875rem;
    transition: border-color 0.3s;
}

.form-control-otl:focus, .form-select-otl:focus {
    outline: none;
    border-color: var(--color-gold);
}

textarea.form-control-otl { resize: vertical; min-height: 120px; }

/* === Footer CTA === */
.footer-cta {
    padding: 6rem 0 2rem;
    background: #000;
}

.footer-cta .cta-banner {
    margin-bottom: 0;
}

/* === Scroll Animations === */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-up"] { transform: translateY(40px); }
[data-aos="fade-up"].aos-animate { transform: translateY(0); }

[data-aos="fade-left"] { transform: translateX(-40px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }

[data-aos="fade-right"] { transform: translateX(40px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }

[data-aos="fade-down"] { transform: translateY(-30px); }
[data-aos="fade-down"].aos-animate { transform: translateY(0); }

[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="500"] { transition-delay: 0.5s; }

/* === Footer === */
.site-footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 0;
}

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

.footer-logo img { height: 90px; margin-bottom: 1.5rem; }
.footer-description { color: var(--color-text-secondary); font-size: 0.875rem; margin-bottom: 1.5rem; max-width: 28rem; }

.footer-title {
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--color-text-secondary); font-size: 0.875rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--color-gold); }

.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
    transition: all 0.3s;
}
.social-links a:hover { color: var(--color-gold); border-color: var(--color-gold); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--color-text-tertiary);
    font-size: 0.875rem;
}

/* === WhatsApp Float === */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
    background: var(--color-whatsapp);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    font-size: 1.75rem;
}

.whatsapp-float:hover { transform: scale(1.1); color: white; }

/* === Modal === */
.modal-otl-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-otl-backdrop.show { display: flex; }

.modal-otl {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 216, 0, 0.2);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-otl-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--bg-surface);
    z-index: 1;
}

.modal-otl-header h2 { font-size: 1.5rem; font-weight: 600; }
.modal-otl-header p { color: var(--color-text-secondary); font-size: 0.875rem; margin-top: 0.25rem; }

.modal-otl-close {
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.5rem;
}

.modal-otl-close:hover { color: white; }

.modal-otl-body { padding: 1.5rem 2rem; }

/* === Toast === */
.toast-otl {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--color-gold);
    color: white;
    padding: 1rem 1.5rem;
    z-index: 2000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    transform: translateX(120%);
    transition: transform 0.3s;
}

.toast-otl.show { transform: translateX(0); }
.toast-otl.success { border-color: #10B981; }
.toast-otl.error { border-color: #EF4444; }

/* === Utility Classes === */
.text-secondary { color: var(--color-text-secondary); }
.bg-surface-section { background: var(--bg-surface); }

.section-services-detail {
    background: #000;
    padding-top: 0;
}

.section-portfolio-grid {
    background: #000;
    padding-top: 3rem;
}

@media (max-width: 576px) {
    .section-portfolio-grid { padding-top: 2rem; }
}

/* === Portfolio Filters === */
.portfolio-filters {
    margin-bottom: 2.5rem;
}

.portfolio-filters-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.portfolio-search-wrap {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 400px;
}

.portfolio-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-tertiary);
    font-size: 0.875rem;
    pointer-events: none;
}

.portfolio-search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-family: inherit;
    font-size: 0.875rem;
    transition: border-color 0.3s;
}

.portfolio-search-input:focus {
    outline: none;
    border-color: var(--color-gold);
}

.portfolio-search-input::placeholder { color: var(--color-text-tertiary); }

.portfolio-search-clear {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-tertiary);
    font-size: 0.875rem;
    transition: color 0.3s;
}

.portfolio-search-clear:hover { color: var(--color-gold); }

.portfolio-filter-select {
    padding: 0.75rem 1rem;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
    font-family: inherit;
    font-size: 0.875rem;
    cursor: pointer;
    transition: border-color 0.3s;
    min-width: 180px;
}

.portfolio-filter-select:focus {
    outline: none;
    border-color: var(--color-gold);
}

.portfolio-filter-select option { background: var(--bg-surface); color: white; }

.portfolio-search-btn { padding: 0.75rem 1.25rem !important; }

.portfolio-search-spinner {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 216, 0, 0.3);
    border-top-color: var(--color-gold);
    border-radius: 50%;
    animation: portfolio-spin 0.6s linear infinite;
}

@keyframes portfolio-spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

.portfolio-results-count {
    color: var(--color-text-tertiary);
    font-size: 0.8rem;
    white-space: nowrap;
}

.portfolio-results-grid {
    transition: opacity 0.2s;
}

.portfolio-results-grid.loading {
    opacity: 0.3;
    pointer-events: none;
}

.portfolio-no-results {
    padding: 4rem 0;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .portfolio-filters-form { flex-direction: column; align-items: stretch; }
    .portfolio-search-wrap { max-width: none; }
    .portfolio-filter-select { min-width: auto; }
}

@media (max-width: 576px) {
    .portfolio-filters { margin-bottom: 1.5rem; }
    .portfolio-search-input { padding: 0.65rem 1rem 0.65rem 2.5rem; font-size: 0.8rem; }
    .portfolio-filter-select { padding: 0.65rem 0.75rem; font-size: 0.8rem; }
}

/* === Portfolio Hero === */
.portfolio-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-elevated) url('https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg') center/cover no-repeat;
    padding-top: 10rem;
    padding-bottom: 4rem;
}

.portfolio-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.portfolio-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

@media (max-width: 768px) {
    .portfolio-hero { min-height: 50vh; padding-top: 8rem; }
}

@media (max-width: 576px) {
    .portfolio-hero { min-height: 40vh; padding-top: 7rem; }
}

/* === Portfolio Pagination === */
.pagination-otl {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-otl-link,
.pagination-otl-prev,
.pagination-otl-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
}

.pagination-otl-link:hover,
.pagination-otl-prev:hover,
.pagination-otl-next:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.pagination-otl-link.active {
    background: var(--color-gold);
    color: #000;
    border-color: var(--color-gold);
    font-weight: 600;
}

/* === Project Modal === */
.modal-otl-project .modal-otl-body {
    padding: 0;
}

.project-modal-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
}

.project-modal-description {
    padding: 2rem;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .project-modal-image { height: 250px; }
    .project-modal-description { padding: 1.5rem; font-size: 0.875rem; }
}

@media (max-width: 576px) {
    .pagination-otl-link,
    .pagination-otl-prev,
    .pagination-otl-next {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.8rem;
    }
    .pagination-otl { gap: 0.35rem; margin-top: 2rem; }
    .project-modal-image { height: 200px; }
    .project-modal-description { padding: 1rem; }
}

.section-contact-content {
    background: #000;
    padding-top: 3rem;
}

@media (max-width: 576px) {
    .section-contact-content { padding-top: 2rem; }
}

.project-cta-link {
    color: var(--color-gold);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.project-cta-link:hover { color: var(--color-white); }

/* === About Hero === */
.about-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-elevated) url('https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg') center/cover no-repeat;
    padding-top: 10rem;
    padding-bottom: 4rem;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: 48rem;
    text-align: center;
    margin: 0 auto;
}

.about-hero-content .section-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.about-hero-description {
    max-width: 40rem;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .about-hero-description { font-size: 1rem; }
}

@media (max-width: 576px) {
    .about-hero-description { font-size: 0.9rem; }
}

.about-vision-image {
    height: 500px;
    background: var(--bg-elevated);
    overflow: hidden;
}

.about-vision-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

@media (max-width: 768px) {
    .about-hero { min-height: 60vh; padding-top: 8rem; }
    .about-hero-content .section-title { font-size: 2.25rem; }
}

@media (max-width: 576px) {
    .about-hero { min-height: 50vh; padding-top: 7rem; }
    .about-hero-content .section-title { font-size: 1.75rem; }
}

.contact-map {
    height: 300px;
    background: var(--bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

/* === Page Hero (about, services, portfolio, contact) === */
.page-hero {
    background: #000;
    padding-top: 10rem;
    padding-bottom: 4rem;
}

.page-hero .section-title {
    font-size: 3.5rem;
}

.page-hero-description {
    max-width: 48rem;
    margin: 0 auto;
    color: var(--color-text-secondary);
}

/* === CEO Section === */
.ceo-section {
    background: var(--bg-elevated) url('https://static.prod-images.emergentagent.com/jobs/8a36a902-bb08-401b-adc2-728c561ad87e/images/4a36850958eb59d3c0e4b41b6f94d434b6338cd458815737109518f804badb7e.png') center/cover;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.ceo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.ceo-content {
    position: relative;
    z-index: 1;
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.ceo-avatar {
    width: 6rem;
    height: 6rem;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-hover));
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #000;
}

.ceo-name {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: white;
}

.ceo-position {
    margin-bottom: 1.5rem;
}

.ceo-bio {
    color: #d4d4d8;
    font-style: italic;
}

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .service-detail { grid-template-columns: 1fr; }
    .service-detail.reverse .service-content { order: 0; }
    .page-hero .section-title { font-size: 2.75rem; }
}

@media (max-width: 768px) {
    section { padding: 4rem 0; }
    .hero { padding-top: 7rem; }
    .hero h1 { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .page-hero .section-title { font-size: 2.25rem; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(16px);
        padding: 1.5rem;
        gap: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
    }
    .main-nav.open { display: flex; }
    .mobile-menu-toggle { display: block; }
    .header-logo img { height: 50px; }
    .header-inner { height: 80px; }
    .desktop-only { display: none !important; }
    .hero-cta { gap: 0.5rem; }
    .hero-cta > * { padding: 0.75rem 1.5rem; font-size: 0.75rem; }
    .whatsapp-float { width: 3rem; height: 3rem; bottom: 1rem; right: 1rem; font-size: 1.25rem; }
    .cta-banner { padding: 3rem 1.5rem; }
    .cta-banner h2 { font-size: 1.75rem; }
    .cta-banner p { font-size: 0.9rem; }

    .service-detail { gap: 2rem; margin-bottom: 4rem; }
    .service-image { height: 250px; }
    .service-content { padding: 2rem; }
    .service-content h2 { font-size: 1.5rem; }
    .service-content .icon { font-size: 2rem; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-logo img { height: 70px; }

    .contact-card { padding: 2rem; }
    .contact-card h2 { font-size: 1.5rem; }

    .modal-otl-header { padding: 1rem 1.25rem; }
    .modal-otl-header h2 { font-size: 1.25rem; }
    .modal-otl-body { padding: 1rem 1.25rem; }
    .modal-otl { max-width: 100%; max-height: 100vh; border: none; }

    .value-card { padding: 1.5rem; }
    .value-card h3 { font-size: 1.25rem; }

    .project-image { height: 12rem; }
    .project-content { padding: 1rem; }
    .project-content h3 { font-size: 1.25rem; }

    .toast-otl { left: 1rem; right: 1rem; max-width: none; }

    .about-vision-image { height: 350px; }
    .contact-map { height: 220px; }
}

@media (max-width: 576px) {
    section { padding: 3rem 0; }
    .hero { min-height: 90vh; padding-top: 6rem; padding-bottom: 3rem; }
    .hero h1 { font-size: 1.75rem; }
    .hero p { font-size: 0.85rem; margin-bottom: 1.5rem; }
    .section-title { font-size: 1.5rem; }
    .page-hero { padding-top: 7rem; padding-bottom: 2rem; }
    .page-hero .section-title { font-size: 1.75rem; }

    .header-inner { height: 70px; }
    .header-logo img { height: 40px; }
    .main-nav a { font-size: 0.8rem; }
    .lang-toggle { font-size: 0.75rem; }

    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta > * { justify-content: center; text-align: center; padding: 0.75rem 1rem; font-size: 0.75rem; }

    .service-card { padding: 1.5rem; }
    .service-card .icon { font-size: 2rem; margin-bottom: 1rem; }
    .service-card h3 { font-size: 1.25rem; }

    .service-image { height: 200px; }
    .service-content { padding: 1.5rem; }
    .service-content h2 { font-size: 1.25rem; }
    .service-content .features li { font-size: 0.8rem; }

    .cta-banner { padding: 2rem 1rem; }
    .cta-banner h2 { font-size: 1.25rem; }

    .contact-card { padding: 1.5rem; }
    .contact-card h2 { font-size: 1.25rem; }

    .project-image { height: 10rem; }
    .project-content h3 { font-size: 1.1rem; }
    .project-content p { font-size: 0.85rem; }

    .whatsapp-float { width: 2.75rem; height: 2.75rem; font-size: 1.1rem; }
    .footer-grid { gap: 1.5rem; }
    .footer-logo img { height: 60px; }
    .footer-bottom { font-size: 0.75rem; padding: 1rem 0; }

    .form-group label { font-size: 0.8rem; }
    .form-control-otl, .form-select-otl { padding: 0.75rem; font-size: 0.8rem; }

    .modal-otl-backdrop { padding: 0; }
    .modal-otl-header { padding: 0.875rem 1rem; }
    .modal-otl-body { padding: 0.875rem 1rem; }
    .modal-otl-header h2 { font-size: 1.1rem; }

    .btn-otl-primary, .btn-otl-secondary, .btn-otl-ghost { padding: 0.75rem 1.25rem; font-size: 0.75rem; }

    .ceo-avatar { width: 4rem; height: 4rem; font-size: 1.5rem; }
    .ceo-name { font-size: 1.2rem; }

    .toast-otl { padding: 0.75rem 1rem; font-size: 0.85rem; top: 1rem; }

    .section-overline { font-size: 0.65rem; }
    .about-vision-image { height: 250px; }
    .contact-map { height: 200px; }
}

@media (max-width: 400px) {
    section { padding: 2.5rem 0; }
    .hero h1 { font-size: 1.5rem; }
    .section-title { font-size: 1.3rem; }
    .page-hero .section-title { font-size: 1.5rem; }
    .service-image { height: 180px; }
    .header-inner { height: 60px; }
    .header-logo img { height: 35px; }
    .container-otl { padding: 0 1rem; }
    .about-vision-image { height: 200px; }
    .contact-map { height: 180px; }
    .ceo-section { min-height: 300px; }
    .ceo-avatar { width: 3.5rem; height: 3.5rem; font-size: 1.25rem; }
    .ceo-name { font-size: 1.1rem; }
}
