
/*
Theme Name: FORMA - Architecture & Design Studio HTML Template
Description: Premium Architecture, Interior Design & Urban Planning HTML Template
Author: K29 Solutions / FORMA - Architecture
Version: 1.0.0

/*------------------------------------------------------------------
[Table of contents]

1. Global Styles & Variables
2. Typography & Base
3. Cursor & Preloader
4. Navigation & Header
5. Hero Section
6. General Sections (About, Services, Process)
7. Portfolio & Grid
8. Testimonials & Swiper
9. Stats
10. Contact & Forms
11. Footer
12. Lightbox & Overlays
13. Responsive / Media Queries
-------------------------------------------------------------------*/

    /* ==============================
       VARIABLES & RESET
    ============================== */
    :root {
      --gold: #c9a96e;
      --gold-light: #e8d5b0;
      --gold-dim: rgba(201,169,110,0.18);
      --dark: #0d0d0d;
      --charcoal: #1a1a1a;
      --gray: #6b6b6b;
      --light-gray: #f5f5f3;
      --white: #ffffff;
      --off-white: #fafaf8;
      --border: rgba(201,169,110,0.22);
      --font-heading: 'Cormorant Garamond', serif;
      --font-body: 'DM Sans', sans-serif;
      --ease: cubic-bezier(0.25,0.46,0.45,0.94);
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body { font-family: var(--font-body); background: var(--off-white); color: var(--charcoal); overflow-x: hidden; cursor: none; }
    img { max-width: 100%; height: auto; display: block; }
    a { text-decoration: none; color: inherit; }

    /* ==============================
       CUSTOM CURSOR
    ============================== */
    #cursorDot {
      position: fixed; width: 6px; height: 6px; background: var(--gold);
      border-radius: 50%; pointer-events: none; z-index: 99999;
      transform: translate(-50%,-50%); transition: width .2s, height .2s;
    }
    #cursorRing {
      position: fixed; width: 32px; height: 32px; border: 1px solid var(--gold);
      border-radius: 50%; pointer-events: none; z-index: 99998;
      transform: translate(-50%,-50%); transition: width .35s, height .35s, border-color .3s;
    }
    body.cursor-hover #cursorDot { width: 10px; height: 10px; }
    body.cursor-hover #cursorRing { width: 56px; height: 56px; opacity: .5; }

    /* ==============================
       PRELOADER
    ============================== */
    #preloader {
      position: fixed; inset: 0; z-index: 99997;
      background: var(--dark); display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      transition: opacity .9s ease, visibility .9s ease;
    }
    #preloader.fade-out { opacity: 0; visibility: hidden; }
    .pl-word {
      font-family: var(--font-heading); font-size: clamp(3rem,6vw,5rem);
      color: var(--white); letter-spacing: .4em; font-weight: 300;
      opacity: 0; animation: plReveal .9s .3s forwards;
    }
    .pl-sub {
      font-size: .6rem; letter-spacing: .5em; text-transform: uppercase;
      color: var(--gold); margin-top: .6rem;
      opacity: 0; animation: plReveal .7s .7s forwards;
    }
    .pl-line-wrap { width: 160px; height: 1px; background: rgba(255,255,255,.08); margin-top: 2.5rem; }
    .pl-line { height: 100%; background: var(--gold); width: 0; animation: plBar 1.8s .5s forwards; }
    @keyframes plReveal { to { opacity: 1; } }
    @keyframes plBar { to { width: 100%; } }

    /* ==============================
       SOCIAL SIDEBAR
    ============================== */
    .social-sidebar {
      position: fixed; left: 2rem; top: 50%; transform: translateY(-50%);
      z-index: 900; display: flex; flex-direction: column; gap: 1.2rem;
    }
    .social-sidebar a {
      width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
      border: 1px solid var(--border); color: var(--gray); font-size: .8rem;
      transition: all .35s var(--ease); background: rgba(255,255,255,.6);
      backdrop-filter: blur(8px);
    }
    .social-sidebar a:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

    /* ==============================
       NAVBAR
    ============================== */
    #mainNav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
      padding: 1.8rem 4rem;
      display: flex; align-items: center; justify-content: space-between;
      transition: background .5s, padding .4s, box-shadow .4s;
    }
    #mainNav.scrolled {
      background: rgba(250,250,248,.97); backdrop-filter: blur(12px);
      padding: 1rem 4rem; box-shadow: 0 2px 30px rgba(0,0,0,.06);
    }
    .nav-brand {
      font-family: var(--font-heading); font-size: 1.7rem; font-weight: 600;
      letter-spacing: .2em; color: var(--white); transition: color .4s;
    }
    #mainNav.scrolled .nav-brand { color: var(--dark); }
    .nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
    .nav-links a {
      font-size: .65rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
      color: rgba(255,255,255,.8); transition: color .3s; position: relative; padding-bottom: 3px;
    }
    .nav-links a::after {
      content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
      background: var(--gold); transform: scaleX(0); transition: transform .3s; transform-origin: center;
    }
    .nav-links a:hover, .nav-links a.active { color: var(--gold); }
    .nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
    #mainNav.scrolled .nav-links a { color: var(--charcoal); }
    #mainNav.scrolled .nav-links a:hover, #mainNav.scrolled .nav-links a.active { color: var(--gold); }
    .nav-cta {
      font-size: .62rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase;
      padding: .7rem 1.8rem; border: 1px solid rgba(255,255,255,.5);
      color: var(--white); transition: all .4s var(--ease);
    }
    .nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
    #mainNav.scrolled .nav-cta { border-color: var(--charcoal); color: var(--charcoal); }
    #mainNav.scrolled .nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
    .hamburger-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
    .hamburger-btn span { display: block; width: 26px; height: 1.5px; background: var(--white); transition: all .35s; }
    #mainNav.scrolled .hamburger-btn span { background: var(--dark); }
    .hamburger-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .hamburger-btn.open span:nth-child(2) { opacity: 0; }
    .hamburger-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
    .mobile-menu {
      display: none; position: fixed; inset: 0; z-index: 9998;
      background: var(--dark); flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a {
      font-family: var(--font-heading); font-size: 2.5rem; color: var(--white);
      letter-spacing: .05em; transition: color .3s;
    }
    .mobile-menu a:hover { color: var(--gold); }

    /* ==============================
       HERO — SPLIT SCREEN
    ============================== */
    #hero {
      min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
      position: relative;
    }
    .hero-left {
      background: var(--dark); display: flex; align-items: flex-end;
      padding: 8rem 4rem 5rem 6rem; position: relative; overflow: hidden;
    }
    .hero-left::before {
      content: 'F'; position: absolute; top: -2rem; right: -1rem;
      font-family: var(--font-heading); font-size: 22rem; font-weight: 700;
      color: rgba(201,169,110,.04); line-height: 1; pointer-events: none;
    }
    .hero-left-content { position: relative; z-index: 2; }
    .hero-eyebrow {
      font-size: .6rem; letter-spacing: .55em; text-transform: uppercase;
      color: var(--gold); display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem;
      opacity: 0; animation: heroFadeUp .8s .5s forwards;
    }
    .hero-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--gold); }
    .hero-title {
      font-family: var(--font-heading); font-size: clamp(3rem,5.5vw,6.5rem);
      color: var(--white); font-weight: 300; line-height: 1.05;
      margin-bottom: 2rem;
      opacity: 0; animation: heroFadeUp .9s .7s forwards;
    }
    .hero-title em { font-style: italic; color: var(--gold-light); font-weight: 400; }
    .hero-sub {
      font-size: .88rem; color: rgba(255,255,255,.6); max-width: 360px;
      line-height: 1.9; font-weight: 300; letter-spacing: .03em; margin-bottom: 3rem;
      opacity: 0; animation: heroFadeUp .8s .9s forwards;
    }
    .hero-actions {
      display: flex; align-items: center; gap: 2rem;
      opacity: 0; animation: heroFadeUp .8s 1.1s forwards;
    }
    .btn-primary-v2 {
      font-size: .65rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase;
      padding: 1rem 2.5rem; background: var(--gold); color: var(--dark);
      border: 1px solid var(--gold); display: inline-flex; align-items: center; gap: .7rem;
      transition: all .4s var(--ease); position: relative; overflow: hidden;
    }
    .btn-primary-v2::before {
      content: ''; position: absolute; inset: 0; background: var(--white);
      transform: translateX(-101%); transition: transform .4s var(--ease);
    }
    .btn-primary-v2:hover::before { transform: translateX(0); }
    .btn-primary-v2 span, .btn-primary-v2 i { position: relative; z-index: 1; }
    .btn-primary-v2:hover { color: var(--dark); }
    .btn-ghost-v2 {
      font-size: .65rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
      color: rgba(255,255,255,.7); display: flex; align-items: center; gap: .5rem;
      transition: color .3s;
    }
    .btn-ghost-v2:hover { color: var(--gold); }
    .btn-ghost-v2 .line { width: 28px; height: 1px; background: currentColor; transition: width .4s; }
    .btn-ghost-v2:hover .line { width: 48px; }

    .hero-right {
      position: relative; overflow: hidden;
    }
    .hero-right img {
      width: 100%; height: 100%; object-fit: cover;
      filter: grayscale(20%) contrast(1.05);
      transition: transform 8s ease, filter .6s;
    }
    .hero-right:hover img { transform: scale(1.04); filter: grayscale(0%); }
    .hero-right-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to left, transparent 60%, rgba(13,13,13,.3) 100%);
    }
    .hero-badge {
      position: absolute; bottom: 2.5rem; right: 2.5rem;
      background: rgba(13,13,13,.85); backdrop-filter: blur(8px);
      border: 1px solid var(--border); padding: 1.5rem 2rem;
      opacity: 0; animation: heroFadeUp .8s 1.3s forwards;
    }
    .hero-badge-num {
      font-family: var(--font-heading); font-size: 2.8rem; font-weight: 600;
      color: var(--gold); line-height: 1;
    }
    .hero-badge-label { font-size: .58rem; letter-spacing: .3em; color: rgba(255,255,255,.6); margin-top: .3rem; text-transform: uppercase; }

    .hero-scroll {
      position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
      display: flex; flex-direction: column; align-items: center; gap: .8rem; z-index: 5;
    }
    .hero-scroll span { font-size: .55rem; letter-spacing: .4em; text-transform: uppercase; color: rgba(255,255,255,.5); }
    .scroll-dot {
      width: 1px; height: 60px; background: linear-gradient(to bottom, rgba(201,169,110,.6), transparent);
      animation: scrollPulse 2s infinite;
    }
    @keyframes scrollPulse {
      0%, 100% { opacity: .4; } 50% { opacity: 1; }
    }
    @keyframes heroFadeUp {
      from { opacity: 0; transform: translateY(18px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* ==============================
       MARQUEE STRIP
    ============================== */
    .marquee-strip {
      background: var(--gold); padding: .85rem 0; overflow: hidden;
    }
    .marquee-track {
      display: flex; gap: 0; white-space: nowrap;
      animation: marquee 22s linear infinite;
    }
    .marquee-item {
      font-size: .6rem; letter-spacing: .35em; text-transform: uppercase;
      color: var(--dark); font-weight: 600; padding: 0 2.5rem;
      display: flex; align-items: center; gap: 2rem;
    }
    .marquee-item::after { content: '◆'; font-size: .4rem; opacity: .6; }
    @keyframes marquee { to { transform: translateX(-50%); } }

    /* ==============================
       ABOUT — DIAGONAL SPLIT
    ============================== */
    #about { background: var(--off-white); padding: 8rem 0; }
    .about-container { max-width: 1300px; margin: 0 auto; padding: 0 4rem; }
    .about-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
    }
    .about-left { padding-right: 5rem; display: flex; flex-direction: column; justify-content: center; }
    .section-eyebrow {
      font-size: .6rem; letter-spacing: .5em; text-transform: uppercase;
      color: var(--gold); display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
    }
    .section-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
    .section-title {
      font-family: var(--font-heading); font-size: clamp(2.2rem,4vw,4.5rem);
      font-weight: 300; line-height: 1.1; color: var(--dark); margin-bottom: 1.8rem;
    }
    .section-title em { font-style: italic; color: var(--gold); font-weight: 400; }
    .section-divider { width: 50px; height: 1px; background: var(--gold); margin-bottom: 2rem; }
    .text-body-v2 { font-size: .9rem; color: var(--gray); line-height: 1.9; font-weight: 300; margin-bottom: 1rem; }
    .about-stats {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
      margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--border);
    }
    .stat-item-v2 { text-align: left; }
    .stat-num-v2 {
      font-family: var(--font-heading); font-size: 3rem; font-weight: 600;
      color: var(--dark); line-height: 1; letter-spacing: -.02em;
    }
    .stat-num-v2 span { color: var(--gold); }
    .stat-label-v2 { font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gray); margin-top: .4rem; }
    .about-right { position: relative; }
    .about-img-stack { position: relative; height: 620px; }
    .about-img-main {
      width: 85%; height: 100%; object-fit: cover;
      filter: grayscale(15%); transition: filter .6s;
      position: absolute; right: 0;
    }
    .about-img-main:hover { filter: grayscale(0%); }
    .about-img-accent {
      position: absolute; left: 0; bottom: 3rem; width: 55%; height: 250px;
      border: 6px solid var(--off-white); overflow: hidden; z-index: 2;
    }
    .about-img-accent img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(10%); }
    .about-gold-bar {
      position: absolute; top: 3rem; left: -1.5rem; width: 4px; height: 80px;
      background: var(--gold); z-index: 3;
    }
    .about-year-badge {
      position: absolute; top: 2rem; right: 2rem; z-index: 3;
      background: var(--dark); color: var(--gold); padding: 1.2rem 1.5rem; text-align: center;
    }
    .about-year-badge .yr { font-family: var(--font-heading); font-size: 2rem; font-weight: 600; line-height: 1; }
    .about-year-badge .yr-label { font-size: .5rem; letter-spacing: .3em; text-transform: uppercase; margin-top: .2rem; color: rgba(201,169,110,.7); }

    /* ==============================
       SERVICES — HORIZONTAL LAYOUT
    ============================== */
    #services { background: var(--dark); padding: 8rem 0; }
    .services-container { max-width: 1300px; margin: 0 auto; padding: 0 4rem; }
    .services-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 4rem; }
    .services-header .section-eyebrow::before { background: var(--gold); }
    .services-header .section-title { color: var(--white); margin-bottom: 0; }
    .services-header .section-title em { color: var(--gold-light); }
    .services-link-all {
      font-size: .62rem; letter-spacing: .25em; text-transform: uppercase;
      color: var(--gold); border-bottom: 1px solid var(--border); padding-bottom: 2px;
      transition: border-color .3s;
    }
    .services-link-all:hover { border-color: var(--gold); }
    .services-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
      background: var(--border);
    }
    .service-card-v2 {
      background: var(--charcoal); padding: 2.8rem 2.5rem;
      position: relative; overflow: hidden; transition: background .4s var(--ease);
      cursor: none;
    }
    .service-card-v2::before {
      content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
      background: var(--gold); transform: scaleX(0); transform-origin: left;
      transition: transform .5s var(--ease);
    }
    .service-card-v2:hover { background: #1f1f1f; }
    .service-card-v2:hover::before { transform: scaleX(1); }
    .svc-num {
      font-family: var(--font-heading); font-size: 3.5rem; font-weight: 300;
      color: var(--border); line-height: 1; margin-bottom: 1.5rem;
      transition: color .4s;
    }
    .service-card-v2:hover .svc-num { color: var(--gold-dim); }
    .svc-icon {
      width: 44px; height: 44px; border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      color: var(--gold); font-size: 1.1rem; margin-bottom: 1.5rem;
      transition: all .4s;
    }
    .service-card-v2:hover .svc-icon { background: var(--gold); color: var(--dark); border-color: var(--gold); }
    .svc-title { font-size: 1.1rem; font-weight: 500; color: var(--white); margin-bottom: 1rem; letter-spacing: .02em; }
    .svc-text { font-size: .82rem; color: rgba(255,255,255,.45); line-height: 1.8; font-weight: 300; margin-bottom: 2rem; }
    .svc-link {
      font-size: .6rem; letter-spacing: .25em; text-transform: uppercase;
      color: var(--gold); display: flex; align-items: center; gap: .5rem; transition: gap .3s;
    }
    .svc-link i { font-size: .7rem; transition: transform .3s; }
    .service-card-v2:hover .svc-link { gap: .8rem; }
    .service-card-v2:hover .svc-link i { transform: translateX(3px); }

    /* ==============================
       PORTFOLIO — EDITORIAL GRID
    ============================== */
    #portfolio { padding: 8rem 0; background: var(--off-white); }
    .portfolio-container { max-width: 1300px; margin: 0 auto; padding: 0 4rem; }
    .portfolio-header { text-align: center; margin-bottom: 3.5rem; }
    .filter-row {
      display: flex; justify-content: center; gap: .3rem; margin-bottom: 3.5rem; flex-wrap: wrap;
    }
    .filter-btn-v2 {
      font-size: .6rem; letter-spacing: .25em; text-transform: uppercase;
      padding: .6rem 1.6rem; border: 1px solid var(--border); background: none;
      color: var(--gray); transition: all .3s; cursor: none; font-family: var(--font-body);
    }
    .filter-btn-v2:hover, .filter-btn-v2.active {
      background: var(--gold); border-color: var(--gold); color: var(--dark);
    }
    .portfolio-masonry {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      grid-template-rows: 320px 320px;
      gap: 12px;
    }
    /* Row 1: item1 = cols 1–5 rows 1–2 (tall left), item2 = cols 6–9 row 1, item3 = cols 10–12 row 1 */
    /* Row 2: item4 = cols 6–9 row 2, item5 = cols 10–12 row 2 */
    .port-item {
      position: relative; overflow: hidden; cursor: none;
    }
    .port-item:nth-child(1) { grid-column: 1 / 6;  grid-row: 1 / 3; } /* tall left */
    .port-item:nth-child(2) { grid-column: 6 / 10; grid-row: 1 / 2; }
    .port-item:nth-child(3) { grid-column: 10 / 13; grid-row: 1 / 2; }
    .port-item:nth-child(4) { grid-column: 6 / 10; grid-row: 2 / 3; }
    .port-item:nth-child(5) { grid-column: 10 / 13; grid-row: 2 / 3; }
    .port-item img {
      width: 100%; height: 100%; object-fit: cover;
      filter: grayscale(25%); transition: transform .7s var(--ease), filter .5s;
    }
    .port-item:hover img { transform: scale(1.06); filter: grayscale(0%); }
    .port-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(13,13,13,.85) 0%, transparent 60%);
      opacity: 0; transition: opacity .4s;
      display: flex; flex-direction: column; justify-content: flex-end; padding: 1.8rem;
    }
    .port-item:hover .port-overlay { opacity: 1; }
    .port-cat { font-size: .55rem; letter-spacing: .35em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
    .port-name { font-family: var(--font-heading); font-size: 1.4rem; color: var(--white); font-weight: 400; }
    .port-zoom {
      position: absolute; top: 1rem; right: 1rem;
      width: 38px; height: 38px; background: rgba(201,169,110,.9);
      display: flex; align-items: center; justify-content: center;
      color: var(--dark); font-size: .9rem; border: none; cursor: none;
      opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s;
    }
    .port-item:hover .port-zoom { opacity: 1; transform: scale(1); }

    /* ==============================
       PROCESS — HORIZONTAL STEPS
    ============================== */
    #process { background: var(--light-gray); padding: 8rem 0; }
    .process-container { max-width: 1300px; margin: 0 auto; padding: 0 4rem; }
    .process-header { text-align: center; margin-bottom: 5rem; }
    .process-steps {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative;
    }
    .process-steps::before {
      content: ''; position: absolute; top: 2.2rem; left: 4rem; right: 4rem; height: 1px;
      background: var(--border); z-index: 0;
    }
    .proc-step { padding: 0 2rem; position: relative; z-index: 1; }
    .proc-num-wrap {
      width: 44px; height: 44px; border: 1px solid var(--gold); background: var(--light-gray);
      display: flex; align-items: center; justify-content: center; margin-bottom: 2rem;
      transition: all .4s;
    }
    .proc-step:hover .proc-num-wrap { background: var(--gold); border-color: var(--gold); }
    .proc-num {
      font-family: var(--font-heading); font-size: 1rem; font-weight: 600;
      color: var(--gold); transition: color .4s;
    }
    .proc-step:hover .proc-num { color: var(--dark); }
    .proc-title { font-size: 1rem; font-weight: 600; color: var(--dark); margin-bottom: 1rem; letter-spacing: .02em; }
    .proc-text { font-size: .82rem; color: var(--gray); line-height: 1.8; font-weight: 300; }

    /* ==============================
       STATS — DARK BAND
    ============================== */
    #stats {
      background: var(--charcoal); padding: 5rem 0;
      background-image: repeating-linear-gradient(
        90deg,
        rgba(201,169,110,.03) 0px,
        rgba(201,169,110,.03) 1px,
        transparent 1px,
        transparent 80px
      );
    }
    .stats-container { max-width: 1300px; margin: 0 auto; padding: 0 4rem; }
    .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
    .stat-box-v2 {
      text-align: center; padding: 2rem; border-right: 1px solid var(--border);
    }
    .stat-box-v2:last-child { border-right: none; }
    .stat-big {
      font-family: var(--font-heading); font-size: clamp(2.5rem,5vw,4.5rem);
      font-weight: 600; color: var(--white); line-height: 1;
      display: flex; align-items: baseline; justify-content: center; gap: .2rem;
    }
    .stat-big .plus { color: var(--gold); font-size: .6em; }
    .stat-lbl { font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-top: .8rem; }

    /* ==============================
       TESTIMONIALS — MAGAZINE LAYOUT
    ============================== */
    #testimonials {
      padding: 8rem 0; background: var(--off-white);
      background-image: radial-gradient(circle at 80% 20%, rgba(201,169,110,.06) 0%, transparent 60%);
    }
    .testi-container { max-width: 1300px; margin: 0 auto; padding: 0 4rem; }
    .testi-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
    .testi-left .section-title { margin-bottom: 2.5rem; }
    .testi-quote-mark {
      font-family: var(--font-heading); font-size: 10rem; color: var(--gold-dim);
      line-height: .7; margin-bottom: 1.5rem;
    }
    .testi-text {
      font-family: var(--font-heading); font-size: 1.45rem; color: var(--charcoal);
      font-style: italic; font-weight: 300; line-height: 1.7; margin-bottom: 2.5rem;
    }
    .testi-author { display: flex; align-items: center; gap: 1.2rem; }
    .testi-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
    .testi-name { font-weight: 600; font-size: .9rem; color: var(--dark); }
    .testi-role { font-size: .65rem; letter-spacing: .15em; color: var(--gray); margin-top: .2rem; }
    .testi-right { display: flex; flex-direction: column; gap: 1.5rem; }
    .testi-card {
      background: var(--white); border: 1px solid rgba(0,0,0,.06);
      padding: 2rem; transition: all .4s; cursor: none;
    }
    .testi-card:hover, .testi-card.active { border-color: var(--gold); box-shadow: 0 8px 30px rgba(201,169,110,.12); }
    .testi-stars { color: var(--gold); font-size: .75rem; letter-spacing: .1em; margin-bottom: .8rem; }
    .testi-card-text { font-size: .85rem; color: var(--gray); line-height: 1.7; font-weight: 300; margin-bottom: 1.2rem; }
    .testi-card-author { display: flex; align-items: center; gap: .8rem; }
    .testi-card-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold); }
    .testi-card-name { font-size: .75rem; font-weight: 600; color: var(--dark); }
    .testi-card-role { font-size: .6rem; letter-spacing: .1em; color: var(--gray); }

    /* ==============================
       CONTACT — DARK SECTION
    ============================== */
    #contact { background: var(--dark); padding: 8rem 0; }
    .contact-container { max-width: 1300px; margin: 0 auto; padding: 0 4rem; }
    .contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 6rem; }
    .contact-info-col {}
    .contact-title { font-family: var(--font-heading); font-size: clamp(2.5rem,4vw,5rem); font-weight: 300; color: var(--white); line-height: 1.1; margin-bottom: 2rem; }
    .contact-title em { font-style: italic; color: var(--gold); }
    .contact-desc { font-size: .88rem; color: rgba(255,255,255,.5); line-height: 1.9; font-weight: 300; margin-bottom: 3rem; }
    .contact-detail-v2 { display: flex; gap: 1.2rem; margin-bottom: 2rem; align-items: flex-start; }
    .contact-icon-v2 {
      width: 40px; height: 40px; border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      color: var(--gold); font-size: .9rem; flex-shrink: 0;
    }
    .contact-label-v2 { font-size: .55rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: .3rem; }
    .contact-value-v2 { font-size: .88rem; color: var(--white); font-weight: 300; }
    .contact-form-col {}
    .form-field { margin-bottom: 1.5rem; }
    .form-field label { display: block; font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: .6rem; }
    .form-input {
      width: 100%; background: rgba(255,255,255,.05); border: none;
      border-bottom: 1px solid rgba(201,169,110,.25); color: var(--white);
      padding: .9rem 0; font-family: var(--font-body); font-size: .88rem; font-weight: 300;
      transition: border-color .3s; outline: none;
    }
    .form-input:focus { border-color: var(--gold); }
    .form-input::placeholder { color: rgba(255,255,255,.2); }
    .form-input option { background: var(--dark); color: var(--white); }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    textarea.form-input { resize: none; height: 120px; border-bottom: 1px solid rgba(201,169,110,.25); }
    .submit-btn {
      font-size: .65rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase;
      padding: 1.1rem 3rem; background: var(--gold); color: var(--dark);
      border: 1px solid var(--gold); display: inline-flex; align-items: center; gap: .7rem;
      transition: all .4s var(--ease); cursor: none; font-family: var(--font-body);
      position: relative; overflow: hidden; margin-top: 1rem;
    }
    .submit-btn::before {
      content: ''; position: absolute; inset: 0; background: var(--white);
      transform: translateX(-101%); transition: transform .4s var(--ease);
    }
    .submit-btn:hover::before { transform: translateX(0); }
    .submit-btn span, .submit-btn i { position: relative; z-index: 1; }
    #formSuccess-v2 {
      display: none; font-size: .75rem; letter-spacing: .1em; color: var(--gold); margin-top: 1rem;
    }

    /* ==============================
       FOOTER
    ============================== */
    footer {
      background: #080808; padding: 5rem 0 2.5rem;
      border-top: 1px solid rgba(201,169,110,.1);
    }
    .footer-container { max-width: 1300px; margin: 0 auto; padding: 0 4rem; }
    .footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 4rem; margin-bottom: 4rem; }
    .footer-brand { font-family: var(--font-heading); font-size: 2rem; font-weight: 600; letter-spacing: .2em; color: var(--white); margin-bottom: .5rem; }
    .footer-tagline { font-size: .55rem; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
    .footer-desc { font-size: .82rem; color: rgba(255,255,255,.35); line-height: 1.8; font-weight: 300; }
    .footer-heading { font-size: .58rem; letter-spacing: .35em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
    .footer-links { list-style: none; }
    .footer-links li { margin-bottom: .8rem; }
    .footer-links a { font-size: .82rem; color: rgba(255,255,255,.4); transition: color .3s; font-weight: 300; }
    .footer-links a:hover { color: var(--white); }
    .newsletter-wrap { display: flex; border-bottom: 1px solid var(--border); }
    .newsletter-input {
      flex: 1; background: none; border: none; padding: .8rem 0;
      font-family: var(--font-body); font-size: .82rem; color: var(--white);
      font-weight: 300; outline: none;
    }
    .newsletter-input::placeholder { color: rgba(255,255,255,.25); }
    .newsletter-btn {
      background: none; border: none; color: var(--gold); font-size: 1rem;
      cursor: pointer; padding: 0 .5rem; transition: color .3s;
    }
    .newsletter-btn:hover { color: var(--white); }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,.06); padding-top: 2rem;
      display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
    }
    .footer-copy { font-size: .7rem; letter-spacing: .1em; color: rgba(255,255,255,.25); }
    .footer-legal { display: flex; gap: 1.5rem; }
    .footer-legal a { font-size: .65rem; color: rgba(255,255,255,.3); letter-spacing: .1em; transition: color .3s; }
    .footer-legal a:hover { color: var(--gold); }
    .footer-social-v2 { display: flex; gap: .8rem; }
    .footer-social-v2 a {
      width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.1);
      display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,.35); font-size: .8rem; transition: all .3s;
    }
    .footer-social-v2 a:hover { border-color: var(--gold); color: var(--gold); }

    /* ==============================
       LIGHTBOX
    ============================== */
    .lightbox {
      position: fixed; inset: 0; z-index: 99990; background: rgba(0,0,0,.92);
      display: flex; align-items: center; justify-content: center;
      opacity: 0; visibility: hidden; transition: all .4s;
    }
    .lightbox.active { opacity: 1; visibility: visible; }
    .lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
    .lightbox-close {
      position: absolute; top: 1.5rem; right: 1.5rem;
      background: none; border: 1px solid rgba(255,255,255,.2); color: var(--white);
      width: 44px; height: 44px; font-size: 1rem; cursor: none;
      transition: all .3s; display: flex; align-items: center; justify-content: center;
    }
    .lightbox-close:hover { border-color: var(--gold); color: var(--gold); }

    /* ==============================
       SCROLL TO TOP
    ============================== */
    #scrollTop {
      position: fixed; bottom: 2rem; right: 2rem; z-index: 9000;
      width: 44px; height: 44px; background: var(--gold); border: none;
      display: flex; align-items: center; justify-content: center;
      color: var(--dark); font-size: 1rem; cursor: none;
      opacity: 0; visibility: hidden; transition: all .4s;
    }
    #scrollTop.show { opacity: 1; visibility: visible; }
    #scrollTop:hover { background: var(--dark); color: var(--gold); }

    /* ==============================
       AOS STUBS (inline fade-up)
    ============================== */
    [data-aos] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
    [data-aos].aos-animate { opacity: 1; transform: none; }
    [data-aos][data-aos-delay="100"] { transition-delay: .1s; }
    [data-aos][data-aos-delay="200"] { transition-delay: .2s; }
    [data-aos][data-aos-delay="300"] { transition-delay: .3s; }
    [data-aos][data-aos-delay="400"] { transition-delay: .4s; }

    /* ==============================
       RESPONSIVE
    ============================== */
    @media (max-width: 1100px) {
      #hero { grid-template-columns: 1fr; }
      .hero-right { min-height: 50vh; }
      .hero-left { padding: 7rem 3rem 4rem; }
      .hero-left::before { display: none; }
      #mainNav { padding: 1.4rem 2rem; }
      #mainNav.scrolled { padding: .9rem 2rem; }
      .nav-links { display: none; }
      .hamburger-btn { display: flex; }
      .services-grid { grid-template-columns: repeat(2, 1fr); }
      .portfolio-masonry { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 260px 260px; }
      .port-item:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; }
      .port-item:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
      .port-item:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 3; }
      .port-item:nth-child(4) { grid-column: 1 / 2; grid-row: 3 / 4; }
      .port-item:nth-child(5) { grid-column: 2 / 3; grid-row: 3 / 4; }
      .process-steps { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
      .process-steps::before { display: none; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .stat-box-v2:nth-child(2) { border-right: none; }
      .testi-layout { grid-template-columns: 1fr; gap: 3rem; }
      .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
      .footer-top { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
      .about-grid { grid-template-columns: 1fr; gap: 3rem; }
      .about-img-stack { height: 420px; }
      .about-left { padding-right: 0; }
      .social-sidebar { display: none; }
      .about-container, .services-container, .portfolio-container, .process-container, .stats-container, .testi-container, .contact-container, .footer-container { padding: 0 2rem; }
      .footer-top { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 640px) {
      #hero { grid-template-columns: 1fr; }
      .hero-left { padding: 6rem 1.5rem 3rem; }
      .services-grid { grid-template-columns: 1fr; }
      .process-steps { grid-template-columns: 1fr; }
      .stats-grid { grid-template-columns: 1fr 1fr; }
      .portfolio-masonry { grid-template-columns: 1fr; grid-template-rows: repeat(5, 220px); }
      .port-item:nth-child(1), .port-item:nth-child(2), .port-item:nth-child(3),
      .port-item:nth-child(4), .port-item:nth-child(5) { grid-column: 1 / 2; grid-row: auto; }
      .footer-top { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; text-align: center; }
      .form-row { grid-template-columns: 1fr; }
      .services-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    }
