@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-black: #0B0B0B;
    --bg-charcoal: #121212;
    --bg-card: #1A1A1A;
    --accent-gold: #C9A86A;
    --accent-gold-hover: #E3C184;
    --accent-gold-muted: rgba(201, 168, 106, 0.1);
    --text-white: #FFFFFF;
    --text-gray: #A3A3A3;
    --text-muted: #666666;
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-gold-glow: rgba(201, 168, 106, 0.3);
    --transition-base: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --container-max: 1280px;
}

/* Reset and Globals */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-black);
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
    line-height: 1.7;
    letter-spacing: 0.03em;
    -webkit-font-smoothing: antialiased;
}

/* Grain Overlay for Premium Feel */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%2523noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 9999;
}

/* Typography styling */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    color: var(--text-white);
}

p {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 300;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(201, 168, 106, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
}

/* Hover cursor states */
body.hovering-link .cursor {
    width: 14px;
    height: 14px;
    background: var(--accent-gold-hover);
}
body.hovering-link .cursor-follower {
    width: 50px;
    height: 50px;
    border-color: var(--accent-gold);
}

/* Layout Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 3rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

section {
    padding: 8rem 0;
    position: relative;
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }
}

.section-tag {
    color: var(--accent-gold);
    font-family: 'Manrope', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-weight: 500;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.section-desc {
    max-width: 600px;
    margin-bottom: 4rem;
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.5rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    position: relative;
    outline: none;
}

.btn-gold {
    background: var(--accent-gold);
    color: var(--bg-black);
}

.btn-gold:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(201, 168, 106, 0.25);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-white);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    background: var(--accent-gold-muted);
    color: var(--text-white);
    transform: translateY(-3px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.2rem 0;
    z-index: 1000;
    transition: var(--transition-base);
}

header.scrolled {
    padding: 1.2rem 0;
    background: rgba(11, 11, 11, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-glass);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-white);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent-gold);
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 2.8rem;
    list-style: none;
}

.nav-links a {
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--text-gray);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: right;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile Menu Controls */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-fast);
}

/* Mobile Nav Styles - Hidden on Desktop */
.mobile-nav {
    display: none;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links, nav > .btn {
        display: none !important;
    }
    
    .mobile-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-black);
        z-index: 1050;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: var(--transition-base);
    }
    
    .mobile-nav.active {
        right: 0;
    }
    
    .mobile-nav-links {
        list-style: none;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .mobile-nav-links a {
        font-family: 'Cormorant Garamond', serif;
        font-size: 2.2rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--text-gray);
    }
    
    .mobile-nav-links a:hover,
    .mobile-nav-links a.active {
        color: var(--accent-gold);
    }
}

/* Structural Luxury Grid Hero (Daylight & QClay Inspired) */
.hero-grid-section {
    min-height: 100vh;
    background: var(--bg-black);
    padding: 10rem 8% 4rem 8%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-header-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 2rem;
}

.hero-main-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.05;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--text-white);
    margin: 0;
}

.hero-main-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: revealText 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-main-title span.gold-text {
    color: var(--accent-gold);
    animation-delay: 0.2s;
}

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

.hero-grid-container {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2.5rem;
    align-items: stretch;
}

/* Left Showcase Cell */
.hero-showcase-cell {
    position: relative;
    border: 1px solid var(--border-glass);
    background: var(--bg-charcoal);
    border-radius: 4px;
    overflow: hidden;
    height: 550px;
}

.showcase-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.showcase-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) saturate(0.9);
    transition: transform 10s ease-out;
    animation: kenBurns 20s infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08) translate(1%, -1%); }
}

.showcase-overlay-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(18, 18, 18, 0.7);
    border: 1px solid var(--border-glass);
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-white);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-gold);
}

/* Right Widgets Cell */
.hero-widgets-cell {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-between;
}

.widget-card {
    background: rgba(28, 28, 28, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.widget-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.advisory-card h4 {
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.advisory-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.widget-cta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.link-arrow {
    color: var(--text-white);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

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

.link-arrow i {
    transition: transform var(--transition-fast);
}

.link-arrow:hover i {
    transform: translateX(5px);
}

/* Stats Widget */
.stats-widget {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
}

.stat-mini-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-mini-num {
    font-size: 1.8rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-white);
    font-weight: bold;
}

.stat-mini-label {
    font-size: 0.72rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Preview Widget */
.preview-widget {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
}

.preview-thumb {
    width: 90px;
    height: 90px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-glass);
}

.preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform var(--transition-base);
}

.preview-widget:hover .preview-thumb img {
    transform: scale(1.1);
}

.preview-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.preview-tag {
    font-size: 0.65rem;
    color: var(--accent-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.preview-details h5 {
    font-size: 0.95rem;
    color: var(--text-white);
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
}

.preview-price {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin: 0;
    font-family: 'Manrope', sans-serif;
}

/* Subpage Hero - Split Layout */
.subpage-hero {
    min-height: 60vh;
    background: var(--bg-black);
    padding: 8rem 8% 3rem 8%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-glass);
}

.subpage-hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: stretch;
}

.subpage-hero-left-grid {
    border: 1px solid var(--border-glass);
    background: rgba(28, 28, 28, 0.4);
    border-radius: 4px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.subpage-hero-left-grid h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: var(--accent-gold);
    margin-bottom: 2rem;
}

.subpage-hero-left-grid p {
    font-size: 0.98rem;
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 480px;
    font-weight: 300;
    margin: 0;
}

.subpage-hero-right-grid {
    position: relative;
    border: 1px solid var(--border-glass);
    background: var(--bg-charcoal);
    border-radius: 4px;
    overflow: hidden;
    height: 380px;
}

.subpage-hero-right-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(0.85);
    transition: transform 10s ease-out;
}

.subpage-hero:hover .subpage-hero-right-grid img {
    transform: scale(1.05);
}

/* Responsiveness for Hero Layouts */
@media (max-width: 992px) {
    .hero-grid-section {
        padding: 7rem 1.5rem 3rem 1.5rem;
        gap: 2rem;
    }
    
    .hero-grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-showcase-cell {
        height: 350px;
    }
    
    .subpage-hero {
        padding: 7rem 1.5rem 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .subpage-hero-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .subpage-hero-left-grid {
        padding: 2rem;
    }
    
    .subpage-hero-right-grid {
        height: 280px;
    }
}

/* Trust Bar / Stats Bar */
.trust-bar {
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 0;
    position: relative;
    z-index: 2;
    margin-top: -5rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trust-item {
    text-align: center;
    border-right: 1px solid var(--border-glass);
}

.trust-item:last-child {
    border-right: none;
}

.trust-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--accent-gold);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.trust-label {
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--text-gray);
    font-weight: 500;
}

@media (max-width: 992px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    .trust-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 576px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .trust-item {
        border-right: none;
        border-bottom: 1px solid var(--border-glass);
        padding-bottom: 1.5rem;
    }
    .trust-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* Cards System */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

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

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

.premium-card {
    background: var(--bg-charcoal);
    border: 1px solid var(--border-glass);
    padding: 3.5rem 2.8rem;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(201, 168, 106, 0.08), transparent 70%);
    opacity: 0;
    transition: var(--transition-base);
}

.premium-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold-glow);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

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

.card-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: rgba(201, 168, 106, 0.25);
    display: block;
    margin-bottom: 1.5rem;
}

.card-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    display: inline-block;
}

.premium-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
}

.premium-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Feature Cards with List Items */
.card-features-list {
    margin-top: 1.8rem;
    list-style: none;
}

.card-features-list li {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-features-list li::before {
    content: "";
    width: 4px;
    height: 4px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    display: inline-block;
}

/* Service Box Layout */
.service-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 7rem;
}

.service-box:nth-child(even) {
    direction: rtl;
}

.service-box:nth-child(even) .service-details {
    direction: ltr;
}

.service-box:last-child {
    margin-bottom: 0;
}

.service-img {
    height: 480px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.service-box:hover .service-img img {
    transform: scale(1.05);
}

.service-details h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.service-details p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

@media (max-width: 992px) {
    .service-box, .service-box:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr;
    }
    .service-img {
        height: 350px;
    }
}

/* Developer Logo Grid */
.logo-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

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

.logo-card {
    background: var(--bg-charcoal);
    border: 1px solid var(--border-glass);
    padding: 3.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.logo-card-glow {
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 168, 106, 0.04) 0%, transparent 60%);
    pointer-events: none;
    transition: var(--transition-base);
}

.logo-icon-wrap {
    width: 70px;
    height: 70px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.01);
    transition: var(--transition-base);
}

.logo-card h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.logo-card p {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.logo-card:hover {
    border-color: var(--border-gold-glow);
    transform: translateY(-5px);
}

.logo-card:hover .logo-icon-wrap {
    border-color: var(--accent-gold);
    background: var(--accent-gold-muted);
    transform: scale(1.05);
}

.logo-card:hover .logo-card-glow {
    bottom: -20%;
    left: -20%;
}

/* Developers Grid - Visual Card */
.dev-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

@media (max-width: 992px) {
    .dev-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.dev-card {
    background: var(--bg-charcoal);
    border: 1px solid var(--border-glass);
    overflow: hidden;
    position: relative;
    transition: var(--transition-base);
}

.dev-card-img {
    height: 380px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-glass);
}

.dev-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
    filter: brightness(0.65) contrast(1.1) saturate(0.8);
}

.dev-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 11, 11, 0.9) 10%, transparent 60%);
}

.dev-card-info {
    padding: 3rem;
    position: relative;
}

.dev-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.dev-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.dev-link {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

.dev-link i {
    transition: var(--transition-fast);
}

.dev-card:hover {
    border-color: var(--border-gold-glow);
    transform: translateY(-8px);
}

.dev-card:hover .dev-card-img img {
    transform: scale(1.08);
    filter: brightness(0.85) contrast(1.05) saturate(0.9);
}

.dev-card:hover .dev-link i {
    transform: translateX(6px);
}

/* Advantage Items */
.adv-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    align-items: center;
}

@media (max-width: 992px) {
    .adv-row {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

.adv-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 576px) {
    .adv-cards-grid {
        grid-template-columns: 1fr;
    }
}

.adv-mini-card {
    background: var(--bg-charcoal);
    border: 1px solid var(--border-glass);
    padding: 2.5rem 2rem;
    transition: var(--transition-base);
}

.adv-mini-card:hover {
    border-color: var(--border-gold-glow);
    transform: translateY(-5px);
}

.adv-mini-card h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 0.8rem;
}

.adv-mini-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Testimonials Carousel */
.testimonial-section {
    background: var(--bg-charcoal);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
}

.testimonial-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.testimonial-slider {
    position: relative;
    min-height: 300px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    text-align: center;
}

.testimonial-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    position: relative;
}

.quote-icon {
    font-size: 3.5rem;
    color: var(--accent-gold-muted);
    font-family: 'Cormorant Garamond', serif;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    line-height: 1.4;
    color: var(--text-white);
    margin-bottom: 2rem;
    font-style: italic;
    font-weight: 300;
}

.testimonial-author {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.testimonial-location {
    font-size: 0.75rem;
    color: var(--text-gray);
    letter-spacing: 0.1em;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    background: var(--accent-gold);
    transform: scale(1.3);
}

/* Call to Action Banner */
.cta-banner {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 10rem 0;
    border-bottom: 1px solid var(--border-glass);
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(201, 168, 106, 0.08) 0%, transparent 70%);
    z-index: 0;
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: clamp(2.8rem, 5vw, 4rem);
    margin-bottom: 1.8rem;
    line-height: 1.1;
}

.cta-banner p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3.5rem;
}

/* Contact Grid & Form */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 6rem;
    align-items: start;
}

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

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-item-block h4 {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: var(--text-gray);
    margin-bottom: 0.8rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
}

.contact-item-block p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--text-white);
    line-height: 1.4;
}

.contact-item-block a {
    color: var(--accent-gold);
}

.contact-item-block a:hover {
    color: var(--accent-gold-hover);
}

.contact-form-card {
    background: var(--bg-charcoal);
    border: 1px solid var(--border-glass);
    padding: 4.5rem 3.5rem;
    transition: var(--transition-base);
}

@media (max-width: 576px) {
    .contact-form-card {
        padding: 3rem 1.8rem;
    }
}

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

@media (max-width: 576px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.form-field {
    margin-bottom: 2.2rem;
    position: relative;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.2rem 0;
    color: var(--text-white);
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    transition: var(--transition-fast);
}

.form-field select {
    color: var(--text-gray);
    cursor: pointer;
    border-radius: 0;
}

.form-field select option {
    background: var(--bg-charcoal);
    color: var(--text-white);
}

.form-field label {
    position: absolute;
    top: 1.2rem;
    left: 0;
    color: var(--text-gray);
    font-weight: 300;
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition-fast);
}

/* Label floating states */
.form-field input:focus ~ label,
.form-field input:valid ~ label,
.form-field textarea:focus ~ label,
.form-field textarea:valid ~ label,
.form-field select:focus ~ label,
.form-field select:valid ~ label,
.form-field select ~ label { /* Force select label to float by default */
    top: -10px;
    font-size: 0.72rem;
    color: var(--accent-gold);
    letter-spacing: 0.1em;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-gold);
}

/* Styled Map */
.map-wrapper {
    height: 450px;
    border: 1px solid var(--border-glass);
    overflow: hidden;
    position: relative;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(1) invert(0.92) contrast(1.15) brightness(0.9);
    mix-blend-mode: difference;
}

/* Team Section Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

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

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

.team-card {
    background: var(--bg-charcoal);
    border: 1px solid var(--border-glass);
    overflow: hidden;
    transition: var(--transition-base);
}

.team-member-img {
    height: 380px;
    overflow: hidden;
    position: relative;
}

.team-member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.1) brightness(0.85);
    transition: var(--transition-base);
}

.team-member-info {
    padding: 2.2rem 2rem;
    text-align: center;
}

.team-card h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.team-card p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    font-weight: 500;
}

.team-card:hover {
    border-color: var(--border-gold-glow);
    transform: translateY(-5px);
}

.team-card:hover .team-member-img img {
    filter: grayscale(0) contrast(1) brightness(0.95);
    transform: scale(1.03);
}

/* Footer styling */
footer {
    padding: 7rem 0 3rem;
    background: #070707;
    border-top: 1px solid var(--border-glass);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.footer-brand p {
    font-size: 0.95rem;
    margin-top: 1.5rem;
    max-width: 280px;
    color: var(--text-gray);
}

.footer-heading {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-white);
    margin-bottom: 2rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1.1rem;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 300;
}

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

.footer-info {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 300;
}

.footer-info p {
    margin-bottom: 1.1rem;
}

.footer-info i {
    color: var(--accent-gold);
    margin-right: 0.6rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.social-links a:hover {
    color: var(--bg-black);
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

/* Floating WhatsApp widget */
.whatsapp-btn {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 54px;
    height: 54px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: var(--transition-base);
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.45);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--bg-charcoal);
    border: 1px solid var(--border-glass);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--text-white);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    text-transform: uppercase;
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    right: 65px;
}

/* Animations and Reveal System */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delayed reveals for staggered grid animations */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* Modal consultation style */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 11, 11, 0.95);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: 90%;
    max-width: 580px;
    background: var(--bg-charcoal);
    border: 1px solid var(--border-glass);
    padding: 4.5rem 3.5rem;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: var(--transition-base);
}

@media (max-width: 576px) {
    .modal-content {
        padding: 3rem 2rem;
    }
}

.modal-overlay.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--accent-gold);
}

.modal-content h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.modal-content p {
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}
