/* ============================================
   ARENAS CONSTRUCTION — MAIN STYLESHEET
   ============================================ */

/* ----- Reset & Variables ----- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide focus ring on mouse clicks, keep it for keyboard navigation */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
    border-radius: 3px;
}

:root {
    --navy: #0a1628;
    --navy-light: #152238;
    --navy-mid: #1c2e4a;
    --amber: #d4a24e;
    --amber-light: #e8c07a;
    --amber-dark: #b8862d;
    --white: #ffffff;
    --off-white: #f7f5f2;
    --warm-gray: #e8e4df;
    --mid-gray: #9a948d;
    --charcoal: #2c2c2c;
    --text: #3a3530;
    --text-light: #6b6560;

    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    --container: 1240px;
    --gap: clamp(1rem, 3vw, 2rem);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
    user-select: none;
}

/* Re-enable text selection inside form fields */
input,
textarea,
select {
    user-select: text;
}

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

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

ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ----- Section Tags & Titles ----- */
.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2.5rem;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2rem;
    height: 2px;
    background: var(--amber);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 1.25rem;
}

.section-title em {
    color: var(--amber-dark);
    font-style: italic;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 580px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .section-desc {
    margin: 0 auto;
}

.section-header .section-tag {
    padding-left: 0;
}

.section-header .section-tag::before {
    display: none;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--amber);
    color: var(--navy);
    border-color: var(--amber);
}

.btn-primary:hover {
    background: var(--amber-dark);
    border-color: var(--amber-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 162, 78, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--amber);
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 1.5rem;
    border-radius: 4px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    line-height: 1.2;
}

.logo-text small {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.7;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber);
    transition: width 0.3s var(--ease-out);
}

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

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

.nav-cta {
    background: var(--amber) !important;
    color: var(--navy) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 4px;
    font-weight: 500 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    background: var(--amber-dark) !important;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
    border-radius: 2px;
}

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

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.85) 0%,
        rgba(10, 22, 40, 0.6) 50%,
        rgba(10, 22, 40, 0.4) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    padding-top: 6rem;
}

.hero-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-title em {
    color: var(--amber);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    right: clamp(1.25rem, 4vw, 2.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--amber), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: var(--navy);
    padding: 3.5rem 0;
}

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

.stat {
    padding: 0.5rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--amber);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--amber);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.25rem;
    letter-spacing: 0.05em;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: clamp(4rem, 8vw, 8rem) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.about-img-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.about-img-main:hover img {
    transform: scale(1.03);
}

.about-img-accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 55%;
    border-radius: 8px;
    overflow: hidden;
    border: 5px solid var(--off-white);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.about-img-accent img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    width: 110px;
    height: 110px;
    background: var(--amber);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    box-shadow: 0 10px 30px rgba(212,162,78,0.4);
    animation: badgeSpin 15s linear infinite;
}

@keyframes badgeSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.about-badge .badge-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    line-height: 1;
    animation: badgeSpin 15s linear infinite reverse;
}

.about-badge .badge-text {
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    line-height: 1.3;
    animation: badgeSpin 15s linear infinite reverse;
}

.about-content {
    padding-top: 1rem;
}

.about-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--warm-gray);
    transition: all 0.3s var(--ease-out);
}

.feature:hover {
    border-color: var(--amber);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 162, 78, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-dark);
    flex-shrink: 0;
}

.feature strong {
    display: block;
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 0.15rem;
}

.feature span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: clamp(4rem, 8vw, 8rem) 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: var(--off-white);
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.4s var(--ease-out);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--amber);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
    background: var(--white);
    border-color: var(--warm-gray);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: rgba(10,22,40,0.05);
    line-height: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 162, 78, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-dark);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ============================================
   PROJECTS
   ============================================ */
.projects {
    padding: clamp(4rem, 8vw, 8rem) 0;
    background: var(--off-white);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--warm-gray);
    background: var(--white);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.project-card {
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s var(--ease-out);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.project-card.hidden {
    display: none;
}

.project-img {
    position: relative;
    height: 280px;
    overflow: hidden;
    cursor: pointer;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-cat {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--amber);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 3px;
    width: fit-content;
    margin-bottom: 0.5rem;
}

.project-view {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.project-info p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--mid-gray);
    padding-top: 0.75rem;
    border-top: 1px solid var(--warm-gray);
}

/* ============================================
   GALLERY STRIP
   ============================================ */
.gallery-strip {
    overflow: hidden;
    padding: 2rem 0;
    background: var(--navy);
}

.gallery-track {
    display: flex;
    gap: 1rem;
    animation: galleryScroll 40s linear infinite;
    width: max-content;
}

@keyframes galleryScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.gallery-item {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    border-radius: 6px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: clamp(4rem, 8vw, 8rem) 0;
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: start;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item-link {
    text-decoration: none;
    border-radius: 8px;
    padding: 0.4rem 0.5rem 0.4rem 0;
    transition: transform 0.25s var(--ease-out);
}

.contact-item-link:hover {
    transform: translateX(5px);
}

.contact-item-link:hover .contact-icon-wa {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
}

.contact-item-link:hover .contact-icon-email {
    background: rgba(234, 67, 53, 0.12);
    color: #ea4335;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 162, 78, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-dark);
    flex-shrink: 0;
    transition: background 0.25s, color 0.25s;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--navy);
    margin-bottom: 0.1rem;
}

.contact-item span {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.social-links a {
    width: 44px;
    height: 44px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--amber);
    color: var(--navy);
    transform: translateY(-3px);
}

/* Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid var(--warm-gray);
}

.form-group {
    margin-bottom: 1.25rem;
}

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

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--warm-gray);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text);
    background: var(--off-white);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(212, 162, 78, 0.15);
    background: var(--white);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239a948d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-feedback {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.form-feedback.error {
    display: block;
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 280px;
}

.footer-brand .nav-logo {
    display: inline-flex;
}

.footer-links h4 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a,
.footer-links li {
    font-size: 0.88rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--amber);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* ============================================
   PROJECT MODAL
   ============================================ */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.92);
    cursor: pointer;
}

.modal-panel {
    position: relative;
    background: var(--white);
    border-radius: 14px;
    width: 100%;
    max-width: 880px;
    max-height: 92vh;
    overflow-y: auto;
    overflow-x: hidden;
    transform: scale(0.94) translateY(24px);
    transition: transform 0.35s var(--ease-out);
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

.project-modal.active .modal-panel {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 38px;
    height: 38px;
    background: rgba(10,22,40,0.08);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(10,22,40,0.16);
}

.modal-header {
    padding: 2rem 2rem 1.25rem;
}

.modal-cat-badge {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    background: var(--amber);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 3px;
    margin-bottom: 0.75rem;
}

.modal-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.modal-meta-text {
    font-size: 0.88rem;
    color: var(--mid-gray);
}

.modal-gallery {
    position: relative;
    display: flex;
    align-items: stretch;
    background: var(--navy);
}

.modal-img-wrap {
    flex: 1;
    overflow: hidden;
    max-height: 56vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-img {
    width: 100%;
    max-height: 56vh;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease;
}

.modal-img.fade {
    opacity: 0;
}

.modal-nav {
    flex-shrink: 0;
    width: 54px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s;
}

.modal-nav:hover {
    background: rgba(255,255,255,0.22);
}

.modal-nav.hide {
    display: none;
}

.modal-footer {
    padding: 1.1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
}

.modal-dots {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.modal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--warm-gray);
    border: none;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
    padding: 0;
}

.modal-dot.active {
    background: var(--amber);
    transform: scale(1.35);
}

.modal-counter {
    font-size: 0.82rem;
    color: var(--mid-gray);
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .modal-nav { width: 40px; }
    .modal-header { padding: 1.5rem 1.5rem 1rem; }
    .modal-footer { padding: 1rem 1.5rem; }
    .modal-img-wrap { max-height: 45vw; }
    .modal-img { max-height: 45vw; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        transition: right 0.4s var(--ease-out);
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-img-accent {
        right: 0;
        bottom: -1rem;
    }

    .about-badge {
        width: 90px;
        height: 90px;
        right: -0.5rem;
        top: -1rem;
    }

    .about-badge .badge-number {
        font-size: 1.4rem;
    }

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

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


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

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

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

    .hero-scroll {
        display: none;
    }

    .gallery-item {
        width: 220px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .project-img {
        height: 220px;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* ----- Scroll Reveal animations ----- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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