/* =========================================
   RAMMIYAM HOMES
   PREMIUM 2026 DESIGN
========================================= */

:root {
    --black: #0b0b0a;
    --black-2: #11110f;
    --black-3: #181816;
    --gold: #c8a45d;
    --gold-light: #e4c984;
    --cream: #f4f0e7;
    --white: #ffffff;
    --gray: #a8a59d;
    --dark-gray: #67655f;
    --border: rgba(255,255,255,.12);
    --font-main: "DM Sans", sans-serif;
    --font-heading: "Manrope", sans-serif;
    --font-serif: "Playfair Display", serif;
    --container: 1240px;
}

/* Global animation variables and utilities */
:root {
    --motion-fast: 180ms;
    --motion-medium: 420ms;
    --motion-slow: 900ms;
    --motion-ease: cubic-bezier(.2,.9,.2,1);
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* Utility animation classes */
.fade-in { animation: fadeIn var(--motion-medium) var(--motion-ease) both; }
.slide-up { animation: slideUp var(--motion-medium) var(--motion-ease) both; }
.scale-in { animation: scaleIn var(--motion-medium) var(--motion-ease) both; }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideUp { from { transform: translateY(18px); opacity:0 } to { transform: translateY(0); opacity:1 } }
@keyframes scaleIn { from { transform: scale(.98); opacity:0 } to { transform: scale(1); opacity:1 } }

/* Accessible focus states */
:focus { outline: none; }
:focus-visible {
    outline: 3px solid rgba(200,164,93,0.18);
    outline-offset: 3px;
}

/* Button micro-interactions */
.btn {
    transition: transform var(--motion-fast) var(--motion-ease), box-shadow var(--motion-fast) var(--motion-ease), background .2s;
}
.btn:active { transform: translateY(1px) scale(.998); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.45); }

/* small helper to visually hide but keep accessible */
.sr-only { position: absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }


/* =========================================
   CORE VALUES
========================================= */

.core-values {
    background: linear-gradient(180deg, rgba(200,164,93,0.03), rgba(11,11,10,0.02));
    padding: 80px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.core-content {
    display: grid;
    grid-template-columns: minmax(240px, 360px) 1fr;
    gap: 40px;
    align-items: start;
}

.core-content .section-label.light {
    color: var(--gold);
}

.core-values h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px,4vw,44px);
    margin-bottom: 16px;
}

.core-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    list-style: none;
    padding: 0;
}

.core-list li {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.04);
    padding: 18px 20px;
    border-radius: 12px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    color: var(--cream);
    box-shadow: 0 6px 18px rgba(0,0,0,0.45);
    transform: translateY(18px);
    opacity: 0;
    transition: transform .4s cubic-bezier(.2,.9,.2,1), box-shadow .25s;
}

.core-list li:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}

.core-list li .icon {
    min-width: 44px;
    min-height: 44px;
    border-radius: 10px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 18px;
}

.core-list li p {
    margin: 0;
    color: var(--cream);
    line-height: 1.5;
    font-size: 14px;
}

/* entrance animation */
@keyframes coreAppear {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.core-list li.visible {
    animation: coreAppear .6s cubic-bezier(.2,.9,.2,1) forwards;
}

/* stagger delays for up to 6 items */
.core-list li:nth-child(1).visible { animation-delay: .05s; }
.core-list li:nth-child(2).visible { animation-delay: .12s; }
.core-list li:nth-child(3).visible { animation-delay: .20s; }
.core-list li:nth-child(4).visible { animation-delay: .28s; }
.core-list li:nth-child(5).visible { animation-delay: .36s; }
.core-list li:nth-child(6).visible { animation-delay: .44s; }

/* Responsive adjustments */
@media (max-width: 900px) {
    .core-content { grid-template-columns: 1fr; }
    .core-values { padding: 60px 0; }

    .core-heading {
        margin-bottom: 18px;
    }

    .core-list li {
        padding: 14px 16px;
    }
}


.project-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Ensure images fill their card heights */
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive: stack into single column on small screens */
@media (max-width: 900px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-stack {
        order: 2;
    }

    .project-card.featured {
        order: 1;
        min-height: 420px;
    }

    .project-card.small {
        min-height: 260px;
    }
}


/* =========================================
   RESET
========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--cream);
    font-family: var(--font-main);
    overflow-x: hidden;
}

    body.loaded {
        overflow-x: hidden;
    }

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}


/* =========================================
   CONTAINER
========================================= */

.container {
    width: min( calc(100% - 80px), var(--container) );
    margin: auto;
}


/* =========================================
   PRELOADER
========================================= */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity .8s ease, visibility .8s ease;
}

    .preloader.hide {
        opacity: 0;
        visibility: hidden;
    }

.loader-logo img {
    width: 190px;
    max-height: 90px;
    object-fit: contain;
}

.loader-line {
    width: 180px;
    height: 1px;
    background: var(--border);
    margin-top: 35px;
    position: relative;
    overflow: hidden;
}

    .loader-line::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 50%;
        height: 100%;
        background: var(--gold);
        animation: loading 1.2s infinite;
    }

.preloader p {
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--gold);
    margin-top: 20px;
}

@keyframes loading {

    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(300%);
    }
}


/* =========================================
   CUSTOM CURSOR
========================================= */

.cursor,
.cursor-dot {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
}

.cursor {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(200,164,93,.7);
    border-radius: 50%;
    transition: width .2s, height .2s, background .2s;
}

.cursor-dot {
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
}

.cursor.active {
    width: 65px;
    height: 65px;
    background: rgba(200,164,93,.08);
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background .4s, backdrop-filter .4s, padding .4s;
}

    .navbar.scrolled {
        background: rgba(11,11,10,.82);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
    }

.nav-container {
    width: min( calc(100% - 80px), 1380px );
    height: 95px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 155px;
    max-height: 65px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 38px;
}

    .nav-menu a {
        font-size: 13px;
        color: rgba(255,255,255,.72);
        transition: color .3s;
        position: relative;
    }

        .nav-menu a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -8px;
            width: 0;
            height: 1px;
            background: var(--gold);
            transition: width .3s;
        }

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

            .nav-menu a:hover::after,
            .nav-menu a.active::after {
                width: 100%;
            }

.nav-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    border: 1px solid rgba(200,164,93,.6);
    color: var(--gold-light);
    font-size: 12px;
    letter-spacing: .5px;
    transition: .3s;
}

    .nav-button:hover {
        background: var(--gold);
        color: var(--black);
    }

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: white;
    font-size: 22px;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 900ms ease, transform 12000ms ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* subtle slow zoom on the active slide */
@keyframes slideZoom {
    from { transform: scale(1.04); }
    to { transform: scale(1); }
}

.hero-slide.active {
    animation: slideZoom 12s ease-out forwards;
}

/* Hero controls (dots + arrows) */
.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    align-items: center;
    z-index: 4;
}

.hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(11,11,10,0.5);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--white);
    transition: transform var(--motion-fast) var(--motion-ease), background .2s;
}

.hero-arrow:hover { transform: translateY(-3px); background: rgba(255,255,255,0.06); }

.hero-dots { display: flex; gap: 10px; align-items: center; }

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: none;
    transition: transform var(--motion-fast), background var(--motion-fast);
}

.hero-dot.active { background: var(--gold); transform: scale(1.25); }

/* Pause indicator on hover */
.hero-background:hover .hero-dot { opacity: 0.9; }

@media (max-width: 900px) {
    .hero-controls { bottom: 14px; gap: 10px; }
    .hero-arrow { width: 36px; height: 36px; }
}

/* Ensure buttons have sufficient hit area on small screens */
.hero-arrow, .hero-dot { touch-action: manipulation; }

button[aria-label] { cursor: pointer; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(7,7,6,.94) 0%, rgba(7,7,6,.65) 48%, rgba(7,7,6,.2) 100% );
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image: linear-gradient( rgba(255,255,255,.08) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255,255,255,.08) 1px, transparent 1px );
    background-size: 80px 80px;
    mask-image: linear-gradient( to right, black, transparent );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min( calc(100% - 80px), var(--container) );
    margin: auto;
    padding-top: 80px;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold-light);
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 28px;
}

    .hero-tag span {
        width: 35px;
        height: 1px;
        background: var(--gold);
    }

.hero h1 {
    max-width: 820px;
    font-family: var(--font-heading);
    font-size: clamp( 55px, 7vw, 108px );
    line-height: .96;
    letter-spacing: -5px;
    font-weight: 700;
}

    .hero h1 span {
        color: var(--gold-light);
        font-family: var(--font-serif);
        font-style: italic;
        font-weight: 500;
    }

.hero-description {
    max-width: 560px;
    color: rgba(255,255,255,.68);
    line-height: 1.8;
    margin-top: 32px;
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 38px;
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 54px;
    padding: 0 25px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .4px;
    transition: transform .3s, background .3s, color .3s;
}

    .btn:hover {
        transform: translateY(-3px);
    }

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

    .btn-primary:hover {
        background: var(--gold-light);
    }

.btn-outline {
    border: 1px solid rgba(255,255,255,.28);
    color: white;
}

    .btn-outline:hover {
        background: rgba(255,255,255,.08);
    }

.btn-light {
    background: var(--cream);
    color: var(--black);
}

.hero-bottom {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: min( calc(100% - 80px), var(--container) );
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: end;
}

.hero-location {
    display: flex;
    gap: 12px;
    align-items: center;
}

    .hero-location i {
        color: var(--gold);
    }

    .hero-location small,
    .hero-years small {
        display: block;
        color: rgba(255,255,255,.45);
        font-size: 9px;
        letter-spacing: 2px;
    }

    .hero-location strong {
        font-size: 12px;
        letter-spacing: 1px;
    }

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.5);
    font-size: 9px;
    letter-spacing: 2px;
}

    .hero-scroll i {
        color: var(--gold);
    }

.hero-years {
    justify-self: end;
}

    .hero-years strong {
        font-family: var(--font-serif);
        font-size: 50px;
        font-weight: 500;
        line-height: .8;
    }

        .hero-years strong span {
            color: var(--gold);
        }


/* =========================================
   SECTIONS
========================================= */

.section {
    padding: 130px 0;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 25px;
}

    .section-label span {
        color: rgba(255,255,255,.35);
    }


/* =========================================
   INTRO
========================================= */

.intro {
    background: var(--cream);
    color: var(--black);
}

    .intro .section-label span {
        color: rgba(0,0,0,.35);
    }

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

.eyebrow {
    font-size: 10px;
    letter-spacing: 3px;
    color: #8b7140;
    margin-bottom: 25px;
}

.intro h2,
.section-heading h2,
.about-content h2,
.why-content h2,
.faq h2 {
    font-family: var(--font-heading);
    font-size: clamp(40px,5vw,68px);
    line-height: 1.03;
    letter-spacing: -3px;
}

    .intro h2 em,
    .section-heading h2 em,
    .why-content h2 em,
    .faq h2 em {
        font-family: var(--font-serif);
        color: #9e8048;
        font-weight: 500;
    }

.intro-text {
    max-width: 560px;
}

    .intro-text p {
        color: #68645b;
        line-height: 1.9;
        margin-bottom: 22px;
    }


/* =========================================
   TEXT LINK
========================================= */

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 20px;
    transition: gap .3s;
}

    .text-link:hover {
        gap: 20px;
    }


/* =========================================
   STATS
========================================= */

.stats-section {
    background: var(--black-2);
    padding: 80px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-heading {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: clamp(20px,2.2vw,28px);
    letter-spacing: 2px;
    margin-bottom: 30px;
}


.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.stat-card {
    padding: 22px 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.45);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.stat-card strong {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(20px,3.5vw,36px);
    line-height: 1.05;
    letter-spacing: -0.5px;
    color: var(--white);
}

/* stat inner layout */
.stat-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
}

.stat-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 18px;
}

.stat-label {
    margin: 0;
    color: var(--gray);
    font-size: 13px;
    font-weight: 600;
}

.stat-value {
    text-align: left;
    font-size: clamp(18px, 3.2vw, 32px);
    color: var(--white);
    line-height: 1;
}

.stat-card h2 {
    color: var(--white);
}

.stat-card p {
    color: var(--gray);
    line-height: 1.4;
    font-size: 13px;
    margin-top: 8px;
    max-width: none;
}

/* Responsive: 2 columns on medium, 1 on small */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card {
        padding: 18px 16px;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 14px 12px;
    }
}


/* =========================================
   ABOUT
========================================= */

.about {
    background: var(--black);
}

.about-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 100px;
    align-items: center;
}

.about-image {
    position: relative;
}

    .about-image img {
        width: 100%;
        height: 680px;
        object-fit: cover;
        filter: saturate(.7);
    }

.image-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(11,11,10,.85);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    padding: 22px 28px;
}

    .image-card span,
    .image-card small {
        display: block;
        color: var(--gold);
        font-size: 9px;
        letter-spacing: 3px;
    }

    .image-card strong {
        display: block;
        font-size: 22px;
        margin: 5px 0;
    }

.about-content h2 {
    margin-bottom: 30px;
}

    .about-content h2 span {
        color: var(--gold);
        font-family: var(--font-serif);
        font-style: italic;
    }

.about-content > p {
    color: var(--gray);
    line-height: 1.9;
    max-width: 600px;
}

.about-points {
    margin-top: 40px;
}

    .about-points > div {
        display: flex;
        gap: 20px;
        padding: 20px 0;
        border-top: 1px solid var(--border);
    }

    .about-points i {
        color: var(--gold);
        font-size: 20px;
        width: 30px;
    }

    .about-points h4 {
        margin-bottom: 5px;
    }

    .about-points p {
        color: var(--gray);
        font-size: 12px;
    }


/* =========================================
   PROJECTS
========================================= */

.projects {
    background: #10100e;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 60px;
}

.project-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px;
    align-items: start;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

    .project-card.featured {
        min-height: 640px;
        display: block;
    }

    .project-card.small {
        min-height: 200px;
    }

    /* legacy classes fallback */
    .project-card.large { min-height: 640px; }
    .project-card.wide { grid-column: span 2; min-height: 420px; }

    .project-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 1s cubic-bezier(.2,.8,.2,1);
        filter: brightness(.7);
    }

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

.project-overlay {
    position: absolute;
    inset: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient( to bottom, rgba(0,0,0,.25), rgba(0,0,0,.8) );
}

.project-status {
    align-self: flex-start;
    border: 1px solid rgba(255,255,255,.4);
    padding: 7px 12px;
    font-size: 8px;
    letter-spacing: 2px;
    backdrop-filter: blur(5px);
}

.project-overlay p {
    color: var(--gold-light);
    font-size: 9px;
    letter-spacing: 2px;
}

.project-overlay h3 {
    font-size: 30px;
    margin: 8px 0;
}

.project-overlay span {
    color: rgba(255,255,255,.65);
    font-size: 12px;
}

.project-arrow {
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.08);
    color: white;
    transition: .3s;
}

.project-card:hover .project-arrow {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}


/* =========================================
   SERVICES
========================================= */

.services {
    background: var(--cream);
    color: var(--black);
}

    .services .section-label span {
        color: rgba(0,0,0,.35);
    }

    .services .section-heading > p {
        max-width: 320px;
        color: #77736a;
        line-height: 1.7;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border-top: 1px solid #d6d1c5;
    border-left: 1px solid #d6d1c5;
}

.service-card {
    position: relative;
    padding: 40px 30px;
    min-height: 390px;
    border-right: 1px solid #d6d1c5;
    border-bottom: 1px solid #d6d1c5;
    transition: background .4s, transform .4s;
}

    .service-card:hover {
        background: #e9e4d9;
        transform: translateY(-8px);
    }

.service-number {
    font-size: 10px;
    color: #999386;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border: 1px solid #c9c2b3;
    color: #a17e3f;
    margin: 55px 0 35px;
}

.service-card h3 {
    font-size: 23px;
    margin-bottom: 15px;
}

.service-card p {
    color: #747066;
    font-size: 13px;
    line-height: 1.7;
}

.service-card a {
    position: absolute;
    bottom: 30px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    gap: 10px;
}


/* =========================================
   WHY US
========================================= */

.why-us {
    background: var(--black);
}

.why-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 130px;
}

.why-content > p {
    color: var(--gray);
    line-height: 1.8;
    max-width: 500px;
    margin: 30px 0;
}

.why-features {
    border-top: 1px solid var(--border);
}

.feature {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 20px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}

    .feature > span {
        color: var(--gold);
        font-size: 11px;
    }

    .feature div {
        display: grid;
        grid-template-columns: 40px 1fr;
        gap: 12px;
    }

    .feature i {
        color: var(--gold);
        margin-top: 3px;
    }

    .feature h3 {
        font-size: 18px;
    }

    .feature p {
        grid-column: 2;
        color: var(--gray);
        font-size: 12px;
        line-height: 1.6;
    }


/* =========================================
   CTA
========================================= */

.cta {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(10,10,9,.95), rgba(10,10,9,.4) ), url("assets/service.jpg") center / cover;
}

.cta-content {
    position: relative;
    max-width: 850px;
}

.cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(48px,6vw,80px);
    letter-spacing: -4px;
    line-height: 1;
}

    .cta h2 em {
        font-family: var(--font-serif);
        font-weight: 500;
        color: var(--gold-light);
    }

.cta-content > p {
    max-width: 500px;
    color: rgba(255,255,255,.65);
    line-height: 1.8;
    margin: 30px 0;
}


/* =========================================
   TESTIMONIALS
========================================= */

.testimonials {
    background: var(--cream);
    color: var(--black);
}

    .testimonials .section-label span {
        color: rgba(0,0,0,.3);
    }

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

.testimonial {
    padding: 55px;
    border: 1px solid #d6d0c4;
    background: #f8f5ed;
}

.featured-testimonial {
    background: #e8dfca;
    border-color: #d5c59e;
}

.quote {
    font-family: var(--font-serif);
    font-size: 80px;
    line-height: .6;
    color: #ad8b4a;
    margin-bottom: 35px;
}

.testimonial > p {
    font-family: var(--font-serif);
    font-size: 21px;
    line-height: 1.6;
    color: #44413a;
}

.client {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 40px;
}

.client-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--black);
    color: var(--gold);
    font-size: 11px;
}

.client strong,
.client span {
    display: block;
}

.client strong {
    font-size: 12px;
}

.client span {
    color: #777;
    font-size: 10px;
    margin-top: 3px;
}


/* =========================================
   FAQ
========================================= */

.faq {
    background: var(--cream);
    color: var(--black);
    padding-top: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 100px;
}

    .faq-grid > div:first-child p {
        color: #77736b;
        line-height: 1.7;
        max-width: 300px;
        margin-top: 25px;
    }

.faq-item {
    border-top: 1px solid #d3cdc0;
}

    .faq-item:last-child {
        border-bottom: 1px solid #d3cdc0;
    }

.faq-question {
    width: 100%;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0;
    background: transparent;
    color: var(--black);
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

    .faq-question i {
        transition: transform .3s;
    }

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: #a17e3f;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 40px 25px 0;
    color: #77736b;
    line-height: 1.7;
    font-size: 13px;
}


/* =========================================
   CONTACT
========================================= */

.contact {
    background: var(--black);
}

.contact-box {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    background: #151513;
    border: 1px solid var(--border);
}

.contact-info {
    padding: 70px;
    border-right: 1px solid var(--border);
}

    .contact-info h2 {
        font-family: var(--font-heading);
        font-size: clamp(42px,5vw,62px);
        letter-spacing: -3px;
        line-height: 1;
    }

        .contact-info h2 em {
            color: var(--gold-light);
            font-family: var(--font-serif);
            font-weight: 500;
        }

    .contact-info > p {
        color: var(--gray);
        line-height: 1.8;
        margin: 30px 0;
    }

.contact-details > a,
.contact-details > div {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
}

.contact-details i {
    color: var(--gold);
    width: 20px;
}

.contact-details small {
    display: block;
    color: #666;
    font-size: 8px;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.contact-details strong {
    font-size: 12px;
    font-weight: 500;
}

.contact-form {
    background: var(--cream);
    color: var(--black);
    padding: 60px;
}

.form-title span {
    color: #a17e3f;
    font-size: 9px;
    letter-spacing: 3px;
}

.form-title h3 {
    font-size: 28px;
    margin: 10px 0 30px;
}

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

.input-group {
    margin-bottom: 20px;
}

    .input-group label {
        display: block;
        font-size: 10px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .input-group input,
    .input-group textarea,
    .input-group select {
        width: 100%;
        border: 1px solid #d4cec1;
        background: transparent;
        padding: 14px;
        outline: none;
        color: var(--black);
        transition: border .3s;
    }

    .input-group textarea {
        resize: vertical;
    }

        .input-group input:focus,
        .input-group textarea:focus,
        .input-group select:focus {
            border-color: #a17e3f;
        }

.form-submit {
    border: 0;
    cursor: pointer;
    width: 100%;
}

.form-note {
    text-align: center;
    color: #888;
    font-size: 9px;
    margin-top: 14px;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: #080807;
    border-top: 1px solid var(--border);
    padding: 70px 0 25px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: 60px;
}

.footer-brand img {
    width: 150px;
}

.footer-brand p {
    color: #777;
    max-width: 280px;
    line-height: 1.7;
    font-size: 12px;
    margin: 20px 0;
}

.socials {
    display: flex;
    gap: 8px;
}

    .socials a {
        width: 38px;
        height: 38px;
        border: 1px solid var(--border);
        display: grid;
        place-items: center;
        font-size: 12px;
        transition: .3s;
    }

        .socials a:hover {
            background: var(--gold);
            color: var(--black);
        }

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-self: end;
    width: 500px;
}

    .footer-links h4 {
        font-size: 11px;
        color: var(--gold);
        letter-spacing: 2px;
        margin-bottom: 20px;
    }

    .footer-links a,
    .footer-links span {
        display: block;
        color: #777;
        font-size: 12px;
        margin-bottom: 13px;
    }

        .footer-links a:hover {
            color: white;
        }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    color: #555;
    font-size: 9px;
}

    .footer-bottom div {
        display: flex;
        gap: 25px;
    }

    .footer-bottom a:hover {
        color: white;
    }


/* =========================================
   WHATSAPP
========================================= */

.whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: grid;
    place-items: center;
    font-size: 25px;
    z-index: 999;
    box-shadow: 0 10px 35px rgba(0,0,0,.35);
    transition: transform .3s;
}

    .whatsapp:hover {
        transform: scale(1.1);
    }


/* =========================================
   REVEAL ANIMATION
========================================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .9s ease, transform .9s ease;
}

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

/* =========================================
   MISSION
========================================= */

.mission {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    align-items: start;
    margin-top: 20px;
}

.mission-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.mission-left.reveal {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity .9s ease, transform .9s ease;
}

.mission-left.reveal.visible {
    opacity: 1;
    transform: translateX(0);
}

.mission-right .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .9s ease, transform .9s ease;
}

.mission-right .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.mission-right .reveal:nth-child(1).visible { transition-delay: .05s; }
.mission-right .reveal:nth-child(2).visible { transition-delay: .18s; }

@media (max-width: 900px) {
    .mission { grid-template-columns: 56px 1fr; gap: 16px; }
    .mission-icon { width: 48px; height: 48px; font-size: 16px; }
    .mission-right p { font-size: 15px; }
}


/* =========================================
   RESPONSIVE
========================================= */

@media(max-width: 1000px) {

    .nav-menu,
    .nav-button {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu.mobile-open {
        display: flex;
        position: absolute;
        top: 95px;
        left: 0;
        width: 100%;
        background: rgba(11,11,10,.97);
        backdrop-filter: blur(20px);
        padding: 30px;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        border-bottom: 1px solid var(--border);
    }

    .intro-grid,
    .about-grid,
    .why-grid,
    .contact-box,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image img {
        height: 550px;
    }

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

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

    .stat-card {
        padding: 20px 16px;
        border: 1px solid rgba(255,255,255,0.04);
        border-radius: 8px;
        background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01));
    }

        .stat-card:first-child {
            padding-left: 20px;
        }

    .project-card.large {
        height: 500px;
    }

    .contact-info {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }
}


@media(max-width: 700px) {

    .container,
    .nav-container,
    .hero-content,
    .hero-bottom {
        width: min( calc(100% - 40px), var(--container) );
    }

    .nav-container {
        height: 78px;
    }

    .logo img {
        width: 125px;
    }

    .hero {
        min-height: 800px;
    }

        .hero h1 {
            font-size: 52px;
            letter-spacing: -3px;
        }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-bottom {
        grid-template-columns: 1fr 1fr;
    }

    .hero-scroll {
        display: none;
    }

    .section {
        padding: 90px 0;
    }

    .intro-grid {
        gap: 40px;
    }

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

    .stat-card {
        padding: 18px 14px;
    }

        .stat-card strong {
            font-size: 42px;
        }

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

    .project-card,
    .project-card.large,
    .project-card.wide {
        grid-column: auto;
        height: 420px;
    }

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

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

    .testimonial {
        padding: 35px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .contact-info,
    .contact-form {
        padding: 35px 25px;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-links {
        width: 100%;
        justify-self: start;
    }

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

        .footer-bottom div {
            flex-wrap: wrap;
        }

    .cursor,
    .cursor-dot {
        display: none;
    }
}
