/* =============================================
   AFTECH INFRA PROJECTS LLP — Website Styles
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
    --navy: #0a1628;
    --navy-light: #1a2a45;
    --blue-primary: #0077b6;
    --blue-light: #00b4d8;
    --blue-dark: #005f8a;
    --gold: #c8a951;
    --white: #ffffff;
    --off-white: #f5f7fa;
    --gray-100: #e8ecf1;
    --gray-200: #d1d8e0;
    --gray-400: #8896a4;
    --gray-600: #5a6b7d;
    --gray-800: #2d3a4a;
    --text: #1a1a2e;
    --text-light: #4a5568;
    --success: #10b981;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    /* Georgia's digits are old-style (uneven heights) — display numbers
       use the body sans instead, with lining + tabular figures. */
    --font-numeric: 'Inter', -apple-system, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- NAVIGATION ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition);
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 2px 20px rgba(10,22,40,0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-logo img {
    height: 52px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo img {
    height: 44px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: var(--gray-800);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue-primary);
    background: rgba(0,119,182,0.08);
}

.nav-links .nav-cta {
    background: var(--blue-primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.nav-links .nav-cta:hover {
    background: var(--blue-light);
    transform: translateY(-1px);
}

.nav-phone {
    display: flex;
    align-items: center;
}

.nav-phone a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.nav-phone a:hover {
    background: rgba(0,119,182,0.06);
    border-color: var(--blue-primary);
    color: var(--blue-primary);
}

.nav-phone .material-icons-outlined {
    font-size: 18px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}

.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); }

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    padding-top: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 22, 40, 0.7) 0%,
        rgba(10, 22, 40, 0.5) 40%,
        rgba(10, 22, 40, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding-top: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 28px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
    animation: fadeInDown 1s ease;
}

.hero-badge .dot {
    width: 5px;
    height: 5px;
    background: var(--blue-light);
    border-radius: 50%;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--blue-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 24px 40px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
    animation: fadeInUp 1s ease 0.8s both;
}

.stat { text-align: center; }
.stat-number {
    display: block;
    font-family: var(--font-numeric);
    font-variant-numeric: lining-nums tabular-nums;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-light);
}
.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.5);
    animation: bounce 2s infinite;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn .material-icons-outlined {
    font-size: 20px;
}

.btn-primary {
    background: var(--blue-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0,119,182,0.35);
}

.btn-primary:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,180,216,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    font-size: 15px;
    margin-top: 16px;
}

.btn-whatsapp:hover {
    background: #1eb756;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---------- SECTIONS ---------- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blue-primary);
    margin-bottom: 16px;
    padding: 6px 18px;
    background: rgba(0,119,182,0.08);
    border-radius: 50px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-title .highlight {
    color: var(--blue-primary);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ---------- ABOUT SECTION ---------- */
.about {
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-lead {
    font-size: 1.15rem !important;
    color: var(--text) !important;
}

.about-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-card {
    background: var(--white);
    padding: 28px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-primary);
}

.service-card .material-icons-outlined {
    font-size: 36px;
    color: var(--blue-primary);
    margin-bottom: 14px;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ---------- SERVICES SECTION ---------- */
.services {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    position: relative;
}

/* faint blueprint grid, ties the section to the construction theme */
.services::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0,119,182,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,119,182,0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 75%);
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

.service-tile {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-primary), var(--blue-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-tile:hover {
    transform: translateY(-6px);
    border-color: var(--blue-primary);
    box-shadow: var(--shadow-md);
}

.service-tile:hover::before {
    transform: scaleX(1);
}

.service-tile > .material-icons-outlined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    font-size: 28px;
    color: var(--blue-primary);
    background: rgba(0,119,182,0.08);
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    transition: var(--transition);
}

.service-tile:hover > .material-icons-outlined {
    background: var(--blue-primary);
    color: var(--white);
}

.service-tile h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.3;
}

.service-tile p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.65;
}

/* enquiry tile closes the 4x2 grid and routes interest to the form */
.service-tile-cta {
    background: var(--navy);
    border-color: var(--navy);
    display: flex;
    flex-direction: column;
}

.service-tile-cta > .material-icons-outlined {
    background: rgba(255,255,255,0.1);
    color: var(--blue-light);
}

.service-tile-cta:hover > .material-icons-outlined {
    background: var(--blue-light);
    color: var(--navy);
}

.service-tile-cta h3 { color: var(--white); }

.service-tile-cta p { color: rgba(255,255,255,0.6); }

.service-tile-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
}

.service-tile-link .material-icons-outlined {
    font-size: 18px;
    transition: var(--transition);
}

.service-tile-link:hover { color: var(--blue-light); }

.service-tile-link:hover .material-icons-outlined { transform: translateX(4px); }

/* ---------- PROJECT SECTION ---------- */
.project {
    background: var(--white);
}

.project-showcase {
    margin-bottom: 60px;
}

.project-images {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    /* the renders are near-square, so they sit on a stage rather than
       being cropped to a letterbox */
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
}

.project-img-wrapper {
    display: none;
    cursor: zoom-in;
}

.project-img-wrapper.active {
    display: block;
}

.project-img-wrapper img {
    width: 100%;
    height: 680px;
    object-fit: contain;
}

.view-toggle {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    padding: 6px;
    border-radius: 50px;
}

.toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.toggle-btn .material-icons-outlined {
    font-size: 18px;
}

.toggle-btn.active {
    background: var(--blue-primary);
    color: var(--white);
}

.toggle-btn:hover:not(.active) {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.ghmc-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(16,185,129,0.9);
    backdrop-filter: blur(10px);
    color: var(--white);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ghmc-badge .material-icons-outlined {
    font-size: 20px;
}

/* Features Grid */
.features-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 28px;
    font-family: var(--font-heading);
}

.features-heading .material-icons-outlined {
    color: var(--gold);
    font-size: 28px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-item:hover {
    background: var(--white);
    border-color: var(--blue-primary);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.feature-item .material-icons-outlined {
    font-size: 22px;
    color: var(--blue-primary);
    flex-shrink: 0;
}

.feature-item span:last-child {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-800);
}

.stage-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(10,22,40,0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 2;
}

.stage-caption .material-icons-outlined {
    font-size: 18px;
    color: var(--blue-light);
}

/* ---------- CONTACT: EMBEDDED MAP, QR PAIR ---------- */
.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    margin-bottom: 28px;
    background: var(--off-white);
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

.find-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 22px;
    align-items: start;
    margin-top: 36px;
}

.find-grid .qr-pair {
    grid-column: 3;
    grid-row: 1 / span 2;
}

/* the illustrated route map is now secondary to the live embed */
.map-illustration {
    grid-column: 1 / span 2;
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    cursor: zoom-in;
    background: var(--white);
}

.map-illustration img {
    width: 100%;
    display: block;
}

.map-illustration figcaption {
    padding: 10px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--gray-600);
    text-align: center;
}

/* office QR stacked beneath the site QR */
.qr-pair {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.qr-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 18px 18px 13px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.qr-card:hover {
    border-color: var(--blue-primary);
    box-shadow: var(--shadow-md);
}

.qr-card img {
    width: 176px;
    height: 176px;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px;
}

.qr-card figcaption {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--blue-primary);
    line-height: 1.4;
}

/* ---------- FLOATING WHATSAPP ---------- */
.wa-float {
    position: fixed;
    left: 24px;
    bottom: 28px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    gap: 0;
    height: 56px;
    padding: 0 14px;
    border-radius: 50px;
    background: #25D366;
    color: var(--white);
    box-shadow: 0 6px 24px rgba(37,211,102,0.42);
    overflow: hidden;
    transition: var(--transition);
}

.wa-float svg { flex-shrink: 0; }

.wa-float-label {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 700;
    transition: var(--transition);
}

.wa-float:hover {
    background: #1ebe5b;
    box-shadow: 0 8px 30px rgba(37,211,102,0.55);
}

.wa-float:hover .wa-float-label {
    max-width: 160px;
    opacity: 1;
    padding-left: 10px;
}

.wa-float:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 3px;
}

/* ---------- PROJECT STAT TILES (under the day/night stage) ---------- */
.stat-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 28px;
    background: var(--gray-200);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.stat-tile {
    background: var(--white);
    padding: 24px 22px;
    transition: var(--transition);
}

.stat-tile:hover {
    background: rgba(0,119,182,0.04);
}

.stat-tile-num {
    display: block;
    font-family: var(--font-numeric);
    font-variant-numeric: lining-nums tabular-nums;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-tile-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--blue-primary);
    line-height: 1.5;
}

/* ---------- CENTRED PROSE ---------- */
.prose-block {
    max-width: 760px;
    margin: 50px auto 0;
    text-align: center;
}

.prose-block h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 16px;
}

.prose-block p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ---------- SPLIT SECTIONS (table/copy/media pairs) ---------- */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
    margin-top: 50px;
}

.split-copy h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 16px;
}

.split-copy p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.split-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: zoom-in;
}

.split-media img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.split-media:hover img {
    transform: scale(1.03);
}

/* ---------- SPEC TABLES ---------- */
.spec-wrap {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.spec-table caption {
    text-align: left;
    padding: 20px 24px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue-primary);
}

.spec-table th,
.spec-table td {
    padding: 13px 24px;
    text-align: left;
    border-top: 1px solid var(--gray-100);
}

.spec-table th {
    font-weight: 500;
    color: var(--gray-600);
    white-space: nowrap;
}

.spec-table td {
    font-weight: 700;
    color: var(--navy);
}

.spec-table tr:hover th,
.spec-table tr:hover td {
    background: rgba(0,119,182,0.04);
}

/* ---------- UNIT CONFIGURATION ---------- */
.unit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.unit-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-top: 3px solid var(--blue-primary);
    border-radius: var(--radius-md);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.unit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.unit-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.unit-size {
    font-family: var(--font-numeric);
    font-variant-numeric: lining-nums tabular-nums;
    display: block;
    margin: 10px 0 14px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--blue-primary);
    letter-spacing: 0.5px;
}

.unit-card p {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ---------- PROJECT PHASING ---------- */
.phase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.phase-row {
    background: var(--off-white);
    border-radius: var(--radius-md);
    padding: 28px 26px;
    border: 1px solid var(--gray-100);
}

.phase-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.phase-no {
    font-family: var(--font-numeric);
    font-variant-numeric: lining-nums tabular-nums;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--blue-primary);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
}

.phase-head h4 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 3px;
}

.phase-dur {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
}

.phase-row ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phase-row li {
    position: relative;
    padding-left: 16px;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.phase-row li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue-primary);
}

/* ---------- LANDMARKS ---------- */
.lm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.lm-group {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 26px 24px;
    box-shadow: var(--shadow-sm);
}

.lm-group h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--navy);
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--gray-100);
}

.lm-group h4 .material-icons-outlined {
    font-size: 20px;
    color: var(--blue-primary);
}

.lm-group ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.lm-group li {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-800);
    line-height: 1.4;
}

.lm-time {
    flex-shrink: 0;
    min-width: 52px;
    font-weight: 700;
    color: var(--blue-primary);
    font-variant-numeric: tabular-nums;
}

/* ---------- MAP ACTIONS ---------- */
.map-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.coords {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
    font-variant-numeric: tabular-nums;
}

/* ---------- FLOOR PLANS ---------- */
.floor-plans {
    background: var(--navy);
    color: var(--white);
}

.floor-plans .section-tag {
    color: var(--blue-light);
    background: rgba(0,180,216,0.12);
}

.floor-plans .section-title {
    color: var(--white);
}

.floor-plans .section-title .highlight {
    color: var(--blue-light);
}

.floor-plans .section-desc {
    color: rgba(255,255,255,0.65);
}

.plans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.plan-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.plan-card:hover {
    border-color: var(--blue-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,180,216,0.15);
}

.plan-img {
    position: relative;
    overflow: hidden;
    background: var(--white);
    padding: 20px;
}

.plan-img img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    transition: var(--transition);
}

.plan-card:hover .plan-img img {
    transform: scale(1.02);
}

.plan-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,22,40,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
    font-weight: 600;
}

.plan-card:hover .plan-overlay {
    opacity: 1;
}

.plan-overlay .material-icons-outlined {
    font-size: 48px;
}

.plan-info {
    padding: 24px;
}

.plan-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.plan-info p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

/* ---------- GALLERY ---------- */
.gallery {
    background: var(--off-white);
}

.gallery-grid {
    column-count: 3;
    column-gap: 16px;
}

.gallery-item {
    position: relative;
    display: block;
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: var(--off-white);
}

/* the lead image spans two columns of the masonry, still at its own
   aspect ratio — nothing here is cropped to fit a cell. */
.gallery-item.large {
    column-span: all;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.gallery-item.large img {
    max-height: 70vh;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(10,22,40,0.85));
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-caption h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
}

.gallery-caption .material-icons-outlined {
    color: var(--white);
    font-size: 24px;
}

/* ---------- LOCATION ---------- */
.location {
    background: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.location-map img {
    width: 100%;
}

.location-map img {
    width: 100%;
    transition: var(--transition);
}

.location-map:hover img {
    transform: scale(1.02);
}

.location-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    align-items: start;
}

.location-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
}

.location-card .material-icons-outlined {
    font-size: 28px;
    color: var(--blue-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.location-card h4 {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.location-card p {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.location-highlights {
    padding: 20px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
}

.location-highlights h4 {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.location-highlights ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.location-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--gray-600);
}

.location-highlights .material-icons-outlined {
    font-size: 20px;
    color: var(--blue-primary);
}

.location-qr {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--navy);
    border-radius: var(--radius-md);
    color: var(--white);
}

.location-qr img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: var(--white);
    padding: 4px;
}

.location-qr span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
}

/* ---------- CONTACT ---------- */
.contact {
    background: var(--navy);
    color: var(--white);
}

.contact .section-tag {
    color: var(--blue-light);
    background: rgba(0,180,216,0.12);
}

.contact .section-title {
    color: var(--white);
}

.contact .section-title .highlight {
    color: var(--blue-light);
}

.contact .section-desc {
    color: rgba(255,255,255,0.65);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
}

.contact-card .material-icons-outlined {
    font-size: 28px;
    color: var(--blue-light);
    flex-shrink: 0;
}

.contact-card h4 {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-card a {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
}

.contact-card a:hover {
    color: var(--blue-light);
}

.contact-card p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 15px;
    font-family: var(--font-body);
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    color: rgba(255,255,255,0.4);
}

.form-group select option {
    background: var(--navy);
    color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue-light);
    background: rgba(0,180,216,0.06);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ---------- CONTACT FORM STATUS ---------- */
/* honeypot: off-screen rather than display:none, which some bots skip */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    margin-top: 14px;
    padding: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.75);
}

.form-status.is-ok,
.form-status.is-error,
.form-status.is-busy {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border-left: 3px solid;
}

.form-status.is-ok {
    background: rgba(16,185,129,0.12);
    border-color: #10b981;
    color: #a7f3d0;
}

.form-status.is-error {
    background: rgba(239,68,68,0.12);
    border-color: #ef4444;
    color: #fecaca;
}

.form-status.is-busy {
    background: rgba(255,255,255,0.07);
    border-color: var(--blue-light);
    color: rgba(255,255,255,0.8);
}

.form-note {
    margin-top: 14px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
}

.form-note a {
    color: var(--blue-light);
    font-weight: 600;
}

/* ---------- FOOTER ---------- */
.footer {
    background: #060d18;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    height: 64px;
    background: var(--white);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--blue-light);
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.55);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--blue-light);
    padding-left: 6px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-contact .material-icons-outlined {
    font-size: 20px;
    color: var(--blue-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact a:hover {
    color: var(--blue-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

/* keep the credit clear of the fixed back-to-top button, which sits
   over the footer's bottom-right corner on narrower desktop viewports */
@media (min-width: 769px) and (max-width: 1320px) {
    .footer-bottom { padding-right: 64px; }
}

@media (max-width: 768px) {
    .footer-bottom { padding-bottom: 70px; }
}

.footer-credit a {
    color: rgba(255,255,255,0.55);
    transition: var(--transition);
}

.footer-credit a:hover {
    color: var(--blue-light);
}


/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
    position: relative;
    background: linear-gradient(155deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 130px 0 70px;
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 78%);
    mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 78%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .section-tag {
    color: var(--blue-light);
    background: rgba(0,180,216,0.14);
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
}

.page-hero-title .highlight {
    color: var(--blue-light);
}

.page-hero-desc {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
}

.crumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 26px;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.45);
}

.crumbs a {
    color: rgba(255,255,255,0.7);
}

.crumbs a:hover {
    color: var(--blue-light);
}

.crumbs .material-icons-outlined {
    font-size: 16px;
}

/* ---------- SHARED LINKS / ACTIONS ---------- */
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--blue-primary);
}

.text-link .material-icons-outlined {
    font-size: 18px;
    transition: var(--transition);
}

.text-link:hover .material-icons-outlined {
    transform: translateX(4px);
}

.section-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--gray-200);
}

.btn-ghost:hover {
    border-color: var(--blue-primary);
    color: var(--blue-primary);
    background: rgba(0,119,182,0.05);
}

/* ---------- CTA STRIP ---------- */
.cta-strip {
    background: linear-gradient(120deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
    color: var(--white);
    padding: 56px 0;
}

.cta-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta-strip h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.25;
    margin-bottom: 8px;
}

.cta-strip p {
    color: rgba(255,255,255,0.8);
    font-size: 0.98rem;
    max-width: 520px;
}

.cta-strip-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-strip .btn-primary {
    background: var(--white);
    color: var(--blue-dark);
}

.cta-strip .btn-primary:hover {
    background: var(--navy);
    color: var(--white);
}

/* ---------- VALUES (About) ---------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: var(--blue-primary);
    box-shadow: var(--shadow-md);
}

.value-num {
    display: block;
    font-family: var(--font-numeric);
    font-variant-numeric: lining-nums tabular-nums;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.65;
}

/* four roles laid out across the full width on the services page */
.about-services-wide {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ---------- BRAND HEADING TREATMENT ---------- */
/* "Deccan Heights" as a title/logotype: caps + tracking, matching the
   render's own DECCAN HEIGHTS lockup, everywhere it appears as a heading
   rather than body copy or a nav/footer link. */
.brand-caps {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- HEADING CONSISTENCY (h1-h6) ---------- */
/* Every heading level, wherever it appears, uses the same serif so the
   page never mixes Georgia titles with a stray sans-serif h4/h5/h6. */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 40px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    line-height: 1;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    color: var(--blue-light);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    margin: 0 auto;
    /* full, uncropped image — always its own aspect ratio, thumbnail
       cropping never carries through to the enlarged view. */
    box-shadow: var(--shadow-xl);
    background: var(--white);
}

#lightboxCaption {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-top: 16px;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--blue-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,119,182,0.35);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--blue-light);
    transform: translateY(-3px);
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .stat-tiles {
        grid-template-columns: 1fr 1fr;
    }

    .find-grid {
        grid-template-columns: 1fr 1fr;
    }

    .find-grid .qr-pair {
        grid-column: 1 / span 2;
        grid-row: auto;
        flex-direction: row;
        justify-content: center;
    }

    .map-illustration {
        grid-column: 1 / span 2;
    }

    .nav-links { display: none; }
    .nav-phone { display: none; }
    .hamburger { display: flex; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: var(--white);
        padding: 90px 30px 30px;
        box-shadow: -8px 0 40px rgba(10,22,40,0.18);
        gap: 4px;
        z-index: 1000;
        animation: fadeIn 0.3s ease;
    }

    .nav-links.open a {
        font-size: 16px;
        padding: 14px 20px;
    }

    .nav-links.open .nav-cta {
        margin-top: 20px;
        text-align: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        column-count: 2;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section { padding: 70px 0; }

    .split-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stat-tiles {
        grid-template-columns: 1fr 1fr;
    }

    .stat-tile { padding: 18px 16px; }

    .map-embed iframe { height: 320px; }

    .find-grid {
        grid-template-columns: 1fr;
    }

    .find-grid .qr-pair {
        grid-column: 1;
        grid-row: auto;
        flex-direction: row;
    }

    .map-illustration {
        grid-column: 1;
    }

    .wa-float {
        left: 16px;
        bottom: 20px;
        height: 50px;
        padding: 0 12px;
    }

    .wa-float:hover .wa-float-label { max-width: 0; opacity: 0; padding-left: 0; }

    .stat-tile-num { font-size: 1.5rem; }

    .spec-table th,
    .spec-table td { padding: 12px 16px; }

    .spec-table caption { padding: 16px 16px 10px; }

    .stage-caption {
        bottom: 12px;
        padding: 8px 16px;
        font-size: 0.78rem;
    }

    .page-hero { padding: 110px 0 56px; }

    .cta-strip-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .cta-strip-actions .btn {
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .project-img-wrapper img {
        height: 420px;
    }

    .about-services {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .plan-img img {
        height: 280px;
    }

    .gallery-grid {
        column-count: 1;
    }

    .gallery-item.large img {
        max-height: 50vh;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-tile { padding: 26px 22px; }

    .hero-title { font-size: 2rem; }

    .hero-badge {
        font-size: 9px;
        letter-spacing: 1.5px;
        gap: 6px;
        padding: 8px 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .project-img-wrapper img {
        height: 260px;
    }

    .view-toggle {
        bottom: 12px;
    }

    .toggle-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
}
