/* Base Variables (matching original design) */
        :root {
            --bs-primary: #1c3569;
            --bs-secondary: #009ee3;
            --primary-dark: #122245;
            --secondary-light: #38bdf8;
            --font-heading: 'Outfit', sans-serif;
            --font-body: 'Inter', sans-serif;
        }

        /* images carry their real width/height (no layout jump while loading); keep their proportions when resized */
        img { height: auto; }

        body {
            font-family: var(--font-body);
            color: #334155;
            background-color: #f8fafc;
            /* Account for fixed header */
            padding-top: 72px;
        }

        main, .footer {
            overflow: hidden;
        }

        /* Typography */
        h1,
        h2,
        h3,
        h4,
        h5,
        h6,
        .font-heading {
            font-family: var(--font-heading);
            color: var(--bs-primary);
        }

        .text-brand-primary {
            color: var(--bs-primary) !important;
        }

        .text-brand-secondary {
            color: var(--bs-secondary) !important;
        }

        .bg-brand-primary {
            background-color: var(--bs-primary) !important;
        }

        .bg-brand-secondary {
            background-color: var(--bs-secondary) !important;
        }

        .bg-brand-dark {
            background-color: #0f172a !important;
        }

        .section-padding {
            padding: 4rem 0;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            position: relative;
            display: inline-block;
            margin-bottom: 1rem;
        }

        .section-title span {
            color: var(--bs-secondary);
        }

        /* Buttons */
        .btn-brand {
            background-color: var(--bs-secondary);
            color: white;
            border-radius: 50px;
            padding: 0.875rem 2rem;
            font-family: var(--font-heading);
            font-weight: 600;
            border: 2px solid transparent;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 14px rgba(0, 158, 227, 0.3);
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .btn-brand:hover {
            background-color: var(--bs-primary);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(28, 53, 105, 0.4);
        }

        .btn-whatsapp {
            background-color: #25d366;
            color: #fff;
            border: 2px solid transparent;
            border-radius: 50px;
            padding: 0.875rem 2rem;
            font-family: var(--font-heading);
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .btn-whatsapp:hover,
        .btn-whatsapp:focus-visible {
            background-color: #1da851;
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
        }

        .btn-outline-brand {
            border: 2px solid white;
            color: white;
            border-radius: 50px;
            padding: 0.875rem 2rem;
            font-family: var(--font-heading);
            font-weight: 600;
            background: transparent;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .btn-outline-brand:hover {
            background-color: white;
            color: var(--bs-primary);
        }

        /* second button on a white background: same shape as .btn-brand, blue outline */
        .btn-outline-blue {
            border: 2px solid var(--bs-secondary);
            color: var(--bs-secondary);
            background: transparent;
            border-radius: 50px;
            padding: 0.875rem 2rem;
            font-family: var(--font-heading);
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .btn-outline-blue:hover,
        .btn-outline-blue:focus-visible {
            background-color: var(--bs-secondary);
            border-color: var(--bs-secondary);
            color: #fff;
            transform: translateY(-2px);
        }
        .btn-outline-blue.btn-sm, .btn-whatsapp.btn-sm { padding: 0.45rem 1.1rem; font-size: .875rem; }

        /* Navbar Customization */
        .navbar {
            backdrop-filter: blur(10px);
            background-color: rgba(255, 255, 255, 0.95) !important;
            height: 72px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .navbar-brand {
            font-family: var(--font-heading);
            font-size: 1.75rem;
            font-weight: 800;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
        }

        .navbar-brand sup {
            font-size: 1.2rem;
            font-weight: bold;
        }

        .nav-link {
            font-weight: 500;
            font-size: 1rem;
            color: #334155;
            transition: all 0.3s ease;
            position: relative;
            padding: 0.5rem 0 !important;
            margin: 0 1rem;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--bs-secondary);
            transition: all 0.3s ease;
        }

        @media (min-width: 992px) {

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

        @media (max-width: 991.98px) {
            .navbar-brand {
                font-size: 1.4rem;
                position: relative;
                z-index: 1050;
            }
            .hamburger {
                position: relative;
                z-index: 1050;
            }
            .navbar-collapse {
                position: fixed;
                top: 0;
                left: 0;
                transform: translateX(100%); /* waits off-screen on the right, slides in right to left */
                width: 100vw;
                height: 100vh;
                background-color: rgba(255, 255, 255, 0.98);
                display: flex !important;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                /* no slide while a page loads or the screen size changes – only when the menu button is used (.can-slide) */
                transition: none;
                z-index: 1040;
                padding-bottom: 2rem;
            }
            .navbar-collapse.can-slide {
                transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            }
            .navbar-collapse.active {
                transform: translateX(0);
            }
            .navbar-nav {
                align-items: center;
                text-align: center;
                width: 100%;
            }
            .nav-item {
                margin: 0.5rem 0;
            }
            .nav-link {
                font-size: 1.5rem;
            }
            .d-flex.justify-content-center {
                margin-top: 1rem !important;
            }
        }

        .nav-link:hover,
        .nav-link.active {
            color: var(--bs-secondary);
        }

        /* Hamburger Menu Animation */
        .hamburger:focus {
            box-shadow: none;
            outline: none;
        }

        .hamburger .bar {
            display: block;
            width: 25px;
            height: 3px;
            margin: 5px auto;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background-color: var(--bs-primary);
            border-radius: 3px;
        }

        .hamburger[aria-expanded="true"] .bar:nth-child(2) {
            opacity: 0;
        }

        .hamburger[aria-expanded="true"] .bar:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .hamburger[aria-expanded="true"] .bar:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

        /* Hero Section */
        .hero {
            min-height: calc(90vh - 80px);
            position: relative;
            background: url('../images/home-banner.webp') center/cover no-repeat;
            display: flex;
            align-items: center;
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(28, 53, 105, 0.8) 0%, rgba(28, 53, 105, 0.6) 100%);
        }

        .hero-title {
            font-size: 4rem;
            margin-bottom: 1.5rem;
        }

        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.75rem;
                text-align: center;
            }
        }

        /* About Section */
        .founders-note {
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            border-left: 4px solid var(--bs-secondary);
            position: relative;
        }

        .quote-icon {
            font-size: 3rem;
            color: #e2e8f0;
            position: absolute;
            top: 1rem;
            right: 1.5rem;
            opacity: 0.5;
        }

        .about-image {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            position: relative;
        }

        .about-image img {
            transition: transform 0.3s ease;
            width: 100%;
        }

        .about-image:hover img {
            transform: scale(1.05);
        }

        .experience-badge {
            position: absolute;
            bottom: -20px;
            left: -20px;
            background-color: var(--bs-primary);
            color: white;
            border-radius: 50%;
            width: 160px;
            height: 160px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border: 8px solid #f8fafc;
            z-index: 5;
        }

        .experience-badge .years {
            font-size: 2.5rem;
            font-weight: 800;
            font-family: var(--font-heading);
            color: var(--secondary-light);
            line-height: 1;
        }

        @media (max-width: 992px) {
            .experience-badge {
                left: 50%;
                transform: translateX(-50%);
                bottom: -40px;
            }

            .about-image {
                margin-bottom: 2rem;
            }
        }

        /* Services Section */
        .service-card {
            background-color: white;
            border-radius: 16px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid #e2e8f0;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .service-card::before {
            content: '';
            position: absolute;
            inset: 0;
            height: 0;
            background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-dark) 100%);
            transition: all 0.3s ease;
            z-index: -1;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            border-color: transparent;
        }

        .service-card:hover::before {
            height: 100%;
        }

        .service-icon {
            width: 70px;
            height: 70px;
            background-color: rgba(0, 158, 227, 0.1);
            color: var(--bs-secondary);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            transition: all 0.3s ease;
        }

        .service-card:hover .service-icon {
            background-color: rgba(255, 255, 255, 0.2);
            color: white;
        }

        .service-card:hover h3,
        .service-card:hover ul li {
            color: white !important;
        }

        .service-card ul li {
            transition: all 0.3s ease;
            border: none;
        }

        .service-card ul li i {
            color: var(--bs-secondary);
        }

        .service-card:hover ul li i {
            color: var(--secondary-light);
        }

        /* Portfolio Section */
        .portfolio-item {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        .portfolio-item:hover {
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            transform: translateY(-5px);
        }

        .portfolio-img {
            position: relative;
            overflow: hidden;
            height: 250px;
        }

        .portfolio-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .portfolio-item:hover .portfolio-img img {
            transform: scale(1.1);
        }

        .portfolio-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 2rem 1.5rem 1.5rem;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            color: white;
        }

        .pd-list li {
            border-bottom: 1px dashed #e2e8f0;
            padding-bottom: 0.5rem;
            margin-bottom: 0.5rem;
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
        }

        .pd-list li:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .badge-custom {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 1rem;
        }

        .bdg-residential {
            background-color: rgba(0, 158, 227, 0.1);
            color: var(--bs-secondary);
        }

        .bdg-commercial {
            background-color: rgba(245, 158, 11, 0.1);
            color: #f59e0b;
        }

        .bdg-institutional {
            background-color: rgba(16, 185, 129, 0.1);
            color: #10b981;
        }

        .bdg-industrial {
            background-color: rgba(139, 92, 246, 0.1);
            color: #8b5cf6;
        }

        /* Why Us Section */
        .why-us-list li i {
            font-size: 2rem;
            color: var(--bs-secondary);
            background: rgba(0, 158, 227, 0.1);
            height: 50px;
            width: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .stat-box {
            background-color: #1e293b;
            padding: 2.5rem 1.5rem;
            border-radius: 16px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: all 0.3s ease;
        }

        .stat-box:hover {
            transform: translateY(-5px);
            border-color: var(--bs-secondary);
        }

        .stat-box h3::after {
            content: '+';
            color: var(--bs-secondary);
        }

        /* Testimonials Section */
        .testimonial-card {
            background-color: white;
            padding: 2.5rem;
            border-radius: 16px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            position: relative;
            height: 100%;
        }

        .tech-quote {
            font-size: 3rem;
            color: rgba(0, 158, 227, 0.1);
            position: absolute;
            top: 2rem;
            right: 2rem;
        }

        .client-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #f8fafc;
        }

        /* Contact Section */
        .contact-card {
            background: white;
            border-radius: 20px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        .contact-info-panel {
            background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-dark) 100%);
            color: white;
            padding: 3rem 2.5rem;
        }

        .info-list-item i {
            font-size: 1.5rem;
            color: var(--bs-secondary);
            background: rgba(255, 255, 255, 0.1);
            height: 45px;
            width: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .contact-form textarea,
        .contact-form input,
        .contact-form select {
            padding: 1rem 1.25rem;
            font-size: 1rem;
            background-color: #f8fafc;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
            transition: all 0.3s;
        }

        .contact-form input:focus,
        .contact-form select:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: var(--bs-secondary);
            box-shadow: 0 0 0 3px rgba(0, 158, 227, 0.1);
            background-color: white;
        }

        /* Footer */
        .footer {
            background-color: var(--primary-dark);
            color: white;
            padding-top: 5rem;
        }

        .social-link {
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: white;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .social-link:hover {
            background-color: var(--bs-secondary);
            transform: translateY(-3px);
            color: white;
        }

        .footer-link {
            color: #64748b;
            text-decoration: none;
            transition: all 0.3s;
            display: inline-block;
        }

        .footer-link:hover {
            color: var(--bs-secondary);
            transform: translateX(5px);
        }

        .footer-contact li {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            color: #64748b;
            margin-bottom: 1rem;
        }

        .footer-contact i {
            color: var(--bs-secondary);
            font-size: 1.25rem;
            margin-top: 3px;
        }

        .footer-bottom {
            background-color: rgba(0, 0, 0, 0.2);
            padding: 1.5rem 0;
            font-size: 0.875rem;
            color: rgba(255, 255, 255, 0.5);
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

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

        .scroll-reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
        }

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

        .fade-right {
            transform: translateX(50px);
        }

        .fade-right.active {
            transform: translateX(0);
        }

        .fade-left {
            transform: translateX(-50px);
        }

        .fade-left.active {
            transform: translateX(0);
        }

        .hero-title {
            animation: fadeInUp 1s ease 0.2s both;
        }

        .hero p {
            animation: fadeInUp 1s ease 0.4s both;
        }

        .hero .btn {
            animation: fadeInUp 1s ease 0.6s both;
        }

    /* =========================================================================
   [FLOATING WHATSAPP BUTTON]
   ========================================================================= */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366; /* WhatsApp Official Green */
  color: #fff;
  border: 2px solid #fff; /* white ring: visible on any background, matches the Call button */
  border-radius: 50px;
  text-align: center;
  font-size: 35px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  animation: pulse-whatsapp 2s infinite;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  color: #fff;
  transform: scale(1.1);
  animation: none; /* Stop pulsing on hover */
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 30px;
  }
}

/* ---- icons drawn as SVG (replaces the Boxicons font) ---- */
.bx{display:inline-block;width:1em;height:1em;line-height:1;vertical-align:-.125em;flex-shrink:0}
.bx svg{width:100%;height:100%;fill:currentColor;display:block}
.bx-spin{animation:bxspin 1s linear infinite}@keyframes bxspin{to{transform:rotate(360deg)}}
/* ---- map, about, knowledge, category pages ---- */
.map-embed{border:0;width:100%;height:320px;border-radius:12px;display:block}
.team-card{background:#fff;border-radius:16px;box-shadow:0 4px 20px rgba(15,23,42,.06);padding:28px;height:100%;text-align:center}
.team-photo{width:140px;height:140px;border-radius:50%;object-fit:cover;margin:0 auto 18px;display:block}
.team-initials{width:140px;height:140px;border-radius:50%;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--bs-primary),var(--bs-secondary));color:#fff;font-family:var(--font-heading);font-size:2.6rem;font-weight:700}
.team-role{color:var(--bs-secondary);font-weight:600;font-size:.95rem}
.founders-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.founder-person{display:flex;align-items:center;gap:11px;min-width:0}
.founder-person h4{line-height:1.2}
.founder-avatar{width:48px;height:48px;flex:0 0 48px;object-fit:cover;border-radius:50%;border:2px solid #fff;box-shadow:0 2px 8px rgba(15,23,42,.16)}
.founder-initials{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--bs-primary),var(--bs-secondary));color:#fff;font-size:.85rem;font-weight:700}
@media (max-width:767.98px){.founders-list{grid-template-columns:minmax(0,1fr);gap:12px}.founder-avatar{width:44px;height:44px;flex-basis:44px}}
.article-card{background:#fff;border-radius:14px;box-shadow:0 4px 20px rgba(15,23,42,.06);overflow:hidden;height:100%;display:flex;flex-direction:column;text-decoration:none;color:inherit;transition:transform .25s,box-shadow .25s}
.article-card:hover{transform:translateY(-6px);box-shadow:0 12px 30px rgba(15,23,42,.12);color:inherit}
.article-card .ac-img{height:190px;background:linear-gradient(135deg,var(--bs-primary),var(--bs-secondary));display:flex;align-items:center;justify-content:center;color:#fff}
.article-card .ac-img img{width:100%;height:100%;object-fit:cover}
.article-body{font-size:1.05rem;line-height:1.8;color:#334155}
.article-body h2{font-size:1.45rem;margin:2rem 0 .8rem;color:var(--bs-primary)}
.article-body h3{font-size:1.2rem;margin:1.6rem 0 .6rem}
.article-body ul,.article-body ol{padding-left:1.3rem;margin-bottom:1.2rem}
.article-body li{margin-bottom:.4rem}
.article-body a{color:var(--bs-secondary)}
.cat-chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.cat-chip{padding:8px 18px;border-radius:50px;border:1px solid #cbd5e1;background:#fff;color:var(--bs-primary);font-weight:500;text-decoration:none;transition:all .2s}
.cat-chip:hover,.cat-chip.active{background:var(--bs-primary);border-color:var(--bs-primary);color:#fff}
.form-alert{border-radius:10px;padding:12px 16px;font-size:.95rem;margin-bottom:8px}
.form-alert.error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}
.form-alert.warning{background:#fffbeb;color:#92400e;border:1px solid #fde68a}
.hp-field{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
/* ---- generic page header for new pages ---- */
.page-hero{position:relative;background:linear-gradient(135deg,var(--primary-dark) 0%,var(--bs-primary) 100%);color:#fff;text-align:center;padding:5rem 0 4rem}
.page-hero h1{color:#fff;font-size:clamp(2rem,4vw,3rem);font-weight:700;margin-bottom:1rem}
/* banner photo behind the navy (Site::heroPhoto) – computer version, phone version below 768px */
.page-hero.has-photo,.all-projects-header.has-photo{background:linear-gradient(135deg,rgba(18,34,69,.88) 0%,rgba(28,53,105,.70) 100%),var(--hero) center 35%/cover no-repeat}
.has-photo h1,.has-photo p{text-shadow:0 2px 14px rgba(8,15,35,.45)}
@media (max-width:767.98px){.page-hero.has-photo,.all-projects-header.has-photo{background:linear-gradient(135deg,rgba(18,34,69,.88) 0%,rgba(28,53,105,.74) 100%),var(--hero-m) center/cover no-repeat}}
.page-hero h1 span{color:var(--bs-secondary)}
.page-hero p{color:#cbd5e1;font-size:1.15rem;max-width:760px;margin:0 auto}
.crumbs{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:.9rem 0;font-size:.92rem}
.crumbs a{color:var(--bs-primary);text-decoration:none;font-weight:500}
.crumbs .sep{color:#94a3b8;margin:0 .4rem}
.value-card{background:#fff;border-radius:14px;padding:26px;box-shadow:0 4px 20px rgba(15,23,42,.06);height:100%}
.about-stat{border:1px solid transparent;transition:transform .2s ease,box-shadow .2s ease}.about-stat:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(15,23,42,.12)}.about-stat-blue{background:linear-gradient(145deg,#eaf4ff,#d6eaff);border-color:#bfdbfe;color:#173b70}.about-stat-teal{background:linear-gradient(145deg,#e3fbf5,#c9f4e9);border-color:#99f6e4;color:#075d53}.about-stat-gold{background:linear-gradient(145deg,#fff8df,#ffedb0);border-color:#fde68a;color:#80520a}.about-stat-violet{background:linear-gradient(145deg,#f4edff,#e9ddff);border-color:#ddd6fe;color:#51328a}.about-stat .text-secondary{color:inherit!important;opacity:.82}
.value-card .bx{font-size:2rem;color:var(--bs-secondary);margin-bottom:12px}

/* Map: Navigate Now */
.map-wrap{position:relative}
.map-actions{position:absolute;left:12px;bottom:12px;z-index:2;display:flex;gap:8px;flex-wrap:wrap}
.btn-nav,.btn-map-open{display:inline-flex;align-items:center;gap:8px;padding:11px 18px;border-radius:999px;font-weight:600;font-size:.95rem;text-decoration:none;box-shadow:0 6px 18px rgba(15,23,42,.25)}
.btn-nav{background:#1a73e8;color:#fff}
.btn-nav:hover{background:#1557b0;color:#fff}
.btn-nav svg{width:20px;height:20px;fill:currentColor}
.btn-map-open{background:#fff;color:#1c3569}
.btn-map-open:hover{color:#009ee3}

/* Careers */
.career-success{background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46;border-radius:12px;padding:16px 20px;display:flex;flex-direction:column;gap:4px}
.job-card{background:#fff;border-radius:16px;padding:28px;box-shadow:0 4px 20px rgba(15,23,42,.06);border-top:4px solid var(--bs-secondary)}
.job-type{background:#e0f2fe;color:#075985;font-size:.8rem;font-weight:600;padding:4px 12px;border-radius:999px;white-space:nowrap}
.job-facts{list-style:none;padding:0;margin:0 0 14px;display:flex;flex-wrap:wrap;gap:6px 18px;font-size:.95rem;color:#475569}
.job-facts b{color:#1e293b;font-weight:600}
.job-req{padding-left:20px;color:#475569;margin-bottom:8px}
.job-req li{margin-bottom:4px}
.form-step{font-size:1.05rem;font-weight:700;color:var(--primary-dark,#1c3569);border-bottom:1px solid #e2e8f0;padding-bottom:8px;margin:18px 0 4px}
.file-box{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:130px;border:2px dashed #cbd5e1;border-radius:12px;padding:14px;text-align:center;cursor:pointer;color:#64748b;font-size:.92rem;background:#f8fafc;transition:border-color .2s,background .2s;word-break:break-word}
.file-box:hover{border-color:var(--bs-secondary);background:#f0f9ff}
.file-box.small-box{min-height:76px}
.file-box.has-file{border-style:solid;border-color:#10b981;background:#ecfdf5;color:#065f46}
.file-preview{width:72px;height:72px;object-fit:cover;border-radius:50%}

/* Tools */
.tool-card{display:flex;flex-direction:column;gap:8px;height:100%;background:#fff;border-radius:18px;padding:30px;box-shadow:0 4px 20px rgba(15,23,42,.07);text-decoration:none;color:inherit;border:1px solid #eef2f7;transition:transform .25s,box-shadow .25s}
.tool-card:hover{transform:translateY(-5px);box-shadow:0 14px 34px rgba(15,23,42,.12);color:inherit}
.tool-card h2{color:var(--primary-dark,#1c3569);font-weight:700;margin:6px 0 0}
.tool-card p{color:#64748b;margin:0}
.tool-ico{width:56px;height:56px;border-radius:14px;background:linear-gradient(135deg,var(--bs-primary),var(--bs-secondary));color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.1rem}
.tool-go{margin-top:auto;color:var(--bs-secondary);font-weight:600}
.calc{background:#fff;border-radius:18px;box-shadow:0 6px 28px rgba(15,23,42,.08);overflow:hidden}
.calc-in{padding:28px;background:#f8fafc;border-right:1px solid #eef2f7}
.calc-out{padding:28px}
.unit-row{display:flex;gap:8px}
.unit-row .form-select{max-width:140px}
.res-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:18px}
.res{background:#f1f5f9;border-radius:12px;padding:14px 16px}
.res .k{font-size:.82rem;color:#64748b}
.res .v{font-size:1.35rem;font-weight:700;color:var(--primary-dark,#1c3569);line-height:1.25}
.res .s{font-size:.8rem;color:#64748b}
.res.hl{background:linear-gradient(135deg,var(--bs-primary),var(--primary-dark,#1c3569))}
.res.hl .k,.res.hl .s{color:#cbd5e1}.res.hl .v{color:#fff}
.calc-note{font-size:.85rem;color:#64748b;border-left:3px solid var(--bs-secondary);padding:8px 12px;background:#f8fafc;border-radius:0 8px 8px 0}
.fee-tbl{width:100%;border-collapse:collapse;font-size:.95rem}
.fee-tbl td{padding:10px 6px;border-bottom:1px solid #eef2f7;vertical-align:top}
.fee-tbl td.amt{text-align:right;font-weight:600;white-space:nowrap}
.fee-tbl tr.total td{border-top:2px solid var(--primary-dark,#1c3569);border-bottom:0;font-size:1.15rem;font-weight:700;color:var(--primary-dark,#1c3569)}
.fee-tbl .how{display:block;font-size:.8rem;color:#94a3b8}
.rule-tbl{width:100%;font-size:.9rem;border-collapse:collapse}
.rule-tbl th,.rule-tbl td{padding:8px 10px;border-bottom:1px solid #eef2f7;text-align:left}
.rule-tbl th{background:#f1f5f9;color:#334155;font-weight:600}
.rule-tbl tr.on td{background:#e0f2fe;font-weight:600}
@media (max-width:991px){.calc-in{border-right:0;border-bottom:1px solid #eef2f7}}
.article-body table{width:100%;border-collapse:collapse;margin:1.2rem 0 1.6rem;font-size:.95rem;display:block;overflow-x:auto}
.article-body th,.article-body td{border:1px solid #e2e8f0;padding:9px 12px;text-align:left;vertical-align:top}
.article-body th{background:#f1f5f9;color:#1e293b;font-weight:600}
.article-body tr:nth-child(even) td{background:#f8fafc}
/* Menu: keep each item on one line */
@media (min-width:1200px) and (max-width:1399.98px){.navbar .navbar-nav .nav-link{margin:0 .8rem}}
.navbar .nav-link{white-space:nowrap}
.navbar .btn-brand{white-space:nowrap}
@media (min-width:992px) and (max-width:1199.98px){
  .navbar .navbar-nav .nav-link{margin:0 .55rem;font-size:.95rem}
  .navbar .navbar-brand img{width:180px;height:auto}
  .navbar .btn-brand{padding:.55rem 1rem;font-size:.9rem}
}
.fee-tbl td.grp{font-weight:700;color:#0f172a;background:#f1f5f9;font-size:.85rem;text-transform:uppercase;letter-spacing:.04em}
.fee-tbl tr.sub td{font-weight:700;border-top:1px solid #cbd5e1}

/* Home hero: reach line + tool links */
.hero-reach{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
@media (min-width:768px){.hero-reach{justify-content:flex-start}}
.hero-reach span{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);color:#fff;padding:5px 14px;border-radius:999px;font-size:.9rem;font-weight:500}
.hero-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center;font-size:.95rem;color:#cbd5e1}
@media (min-width:768px){.hero-tools{justify-content:flex-start}}
.hero-tools a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;border:1px solid rgba(255,255,255,.38);border-radius:999px;background:rgba(15,23,42,.28);color:#fff;text-decoration:none;font-size:.9rem;font-weight:600;transition:background-color .2s ease,border-color .2s ease,transform .2s ease}
.hero-tools a:hover,.hero-tools a:focus-visible{background:rgba(255,255,255,.16);border-color:#7dd3fc;color:#fff;transform:translateY(-1px)}
.hero-tools a:focus-visible{outline:2px solid #7dd3fc;outline-offset:2px}
@media(min-width:992px){.hero .hero-tools{position:absolute;right:12px;top:50%;transform:translateY(-28%);width:270px;display:flex;flex-direction:column;align-items:stretch;gap:10px}.hero .hero-tools>span{text-align:left}.hero .hero-tools a{width:100%;justify-content:flex-start;padding-left:18px}.hero .hero-tools a:first-of-type{background:#ffffff20;border-color:#7dd3fc}}
.vastu-property-tabs button{display:inline-flex;align-items:center;gap:8px}.property-icon{width:22px;height:22px;display:inline-grid;place-items:center}.property-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.plot-drawing{position:absolute;inset:0;z-index:1;display:block;box-sizing:border-box;width:100%;height:100%;padding:0;overflow:visible}.plot-drawing[hidden]{display:none!important}.plot-summary-card{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;padding:14px;border-radius:12px;background:#f1f7fc;color:#183b5b}.plot-summary-card span{font-size:.9rem}
.type-switch{display:flex;gap:10px;flex-wrap:wrap}
.type-switch label{display:flex;align-items:center;gap:8px;border:2px solid #e2e8f0;border-radius:12px;padding:10px 18px;cursor:pointer;font-weight:600;color:#334155}
.type-switch label:has(input:checked){border-color:var(--bs-secondary);background:#f0f9ff;color:#075985}
.intern-banner{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;background:#f0f9ff;border:1px solid #bae6fd;border-radius:14px;padding:14px 20px;color:#0c4a6e}
/* Quotation form */
.svc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}
.svc-opt{display:flex;gap:10px;align-items:flex-start;border:2px solid #e2e8f0;border-radius:12px;padding:12px 14px;cursor:pointer;transition:border-color .2s,background .2s}
.svc-opt:has(input:checked){border-color:var(--bs-secondary);background:#f0f9ff}
.svc-opt.is-included{opacity:.55;background:#f1f5f9;border-color:#cbd5e1;cursor:not-allowed}
.svc-opt.is-included input{cursor:not-allowed}
.svc-opt .svc-bundle-note{font-weight:600;color:#475569}
.svc-opt input{margin-top:4px;width:18px;height:18px;flex:none}
.svc-opt b{display:block;color:#0f172a;font-weight:600;font-size:.95rem}
.svc-opt small{display:block;color:#64748b;font-size:.82rem;line-height:1.35;margin-top:2px}
.quote-doc{border:1px solid #e2e8f0;border-radius:16px;padding:28px;background:#fff}
.q-head{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;border-bottom:2px solid var(--primary-dark,#1c3569);padding-bottom:16px;margin-bottom:16px}
.q-client{background:#f8fafc;border-radius:10px;padding:12px 16px;margin-bottom:16px}
.q-items{width:100%;border-collapse:collapse;font-size:.95rem}
.q-items th{background:#1c3569;color:#fff;padding:9px 10px;text-align:left;font-weight:600}
.q-items td{padding:10px;border-bottom:1px solid #eef2f7;vertical-align:top}
.q-items .r{text-align:right}.q-items tfoot td{border:0;padding:6px 10px}
.q-items tr.tot td{font-weight:700;font-size:1.1rem;color:#1c3569;border-top:2px solid #1c3569}
@media print{header,footer,.no-print,.whatsapp-float{display:none!important}.quote-doc{border:0;padding:0}}
/* Consultation booking */
.day-grid,.slot-grid{display:flex;flex-wrap:wrap;gap:8px}
.day-opt{cursor:pointer}
.day-opt input{position:absolute;opacity:0;pointer-events:none}
.day-opt span{display:inline-block;border:2px solid #e2e8f0;border-radius:10px;padding:8px 14px;font-weight:600;font-size:.92rem;color:#334155;background:#fff}
.day-opt input:checked+span{border-color:var(--bs-secondary);background:#e0f2fe;color:#075985}
.day-opt input:focus-visible+span{outline:2px solid var(--bs-secondary)}
.report-box{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:14px;padding:16px}
.finish-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.finish-grid .svc-opt{padding:10px 12px}
/* Vastu check */
.vastu-tabs{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}
.vastu-tabs button{border:2px solid #e2e8f0;background:#fff;border-radius:999px;padding:8px 18px;font-weight:600;color:#334155}
.vastu-tabs button.on{border-color:var(--bs-secondary);background:#e0f2fe;color:#075985}
.vastu-property-tabs button{min-height:44px;padding-left:20px;padding-right:20px}
.vastu-items{display:grid;gap:8px}
.vi{display:grid;grid-template-columns:1fr 150px;align-items:center;gap:8px}
.vi label{font-size:.9rem;font-weight:500;color:#334155}
.vi .add{grid-column:2;justify-self:start;text-decoration:none;font-size:.82rem}
.vastu-stage{position:relative;aspect-ratio:1/1;max-width:440px;margin:0 auto 18px;border-radius:14px;overflow:hidden;background:#fff7ed;border:2px solid #fed7aa}
.vastu-stage.plot-stage{aspect-ratio:16/10;background:#f8fafc;border-color:#dbe4ee}
.vastu-stage img{position:absolute;left:50%;top:50%;max-width:100%;max-height:100%;transform:translate(-50%,-50%);transform-origin:center;opacity:.9}
.vastu-stage.plot-stage img{max-width:92%;max-height:88%;opacity:1}
.vastu-grid{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr)}
.vc{border:1px dashed rgba(234,88,12,.45);padding:6px;display:flex;flex-wrap:wrap;align-content:flex-start;gap:4px;position:relative}
.vastu-stage.with-plan .vc{background:rgba(255,255,255,.08)}
.vz{position:absolute;right:6px;bottom:4px;font-size:.75rem;font-weight:700;color:#c2410c;opacity:.7}
.chip{font-size:.72rem;font-weight:600;border-radius:999px;padding:2px 8px;line-height:1.4;background:#e2e8f0;color:#334155;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.chip.v-good{background:#d1fae5;color:#065f46}.chip.v-ok{background:#e0f2fe;color:#075985}.chip.v-minor{background:#fef3c7;color:#92400e}.chip.v-major{background:#fee2e2;color:#991b1b}
.vg-n{position:absolute;top:4px;left:50%;transform:translateX(-50%);font-weight:800;color:#c2410c;font-size:.85rem}
.plot-stage .vg-n{top:10px;left:50%;border-radius:50%;background:#fff;padding:4px 9px;box-shadow:0 1px 6px #0002}
.plot-stage-note{position:absolute;left:10px;right:10px;bottom:8px;display:block;padding:5px 9px;border-radius:8px;background:rgba(255,255,255,.9);text-align:center;color:#64748b;font-size:.75rem;line-height:1.3;pointer-events:none}
.vastu-stage[hidden],.vastu-grid[hidden],.score-ring[hidden],.plot-stage-note[hidden]{display:none!important}
.vastu-score{display:flex;align-items:center;gap:16px;margin-bottom:6px}
.score-ring{--p:0;width:86px;height:86px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;flex-direction:column;background:conic-gradient(var(--c,#94a3b8) calc(var(--p)*1%),#e2e8f0 0);position:relative}
.score-ring::before{content:'';position:absolute;inset:8px;border-radius:50%;background:#fff}
.score-ring span,.score-ring small{position:relative;line-height:1}
.score-ring span{font-size:1.6rem;font-weight:800;color:#0f172a}.score-ring small{font-size:.7rem;color:#64748b}
.score-ring.s-good{--c:#10b981}.score-ring.s-mid{--c:#f59e0b}.score-ring.s-low{--c:#ef4444}
.vastu-issues{list-style:none;padding:0;margin:0;display:grid;gap:6px}
.vastu-issues li{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;border-radius:10px;padding:8px 12px;font-size:.92rem}
.vastu-issues li.v-major{background:#fef2f2;color:#991b1b}.vastu-issues li.v-minor{background:#fffbeb;color:#92400e}
.vastu-issues li span{font-size:.82rem;opacity:.85}
/* Service pages + FAQs */
.step-card{background:#fff;border-radius:14px;padding:24px;height:100%;box-shadow:0 4px 18px rgba(15,23,42,.06);position:relative}
.step-no{display:inline-flex;width:36px;height:36px;border-radius:50%;align-items:center;justify-content:center;background:var(--bs-secondary);color:#fff;font-weight:700;margin-bottom:10px}
.faq-list{display:grid;gap:10px}
.faq{background:#fff;border-radius:12px;box-shadow:0 2px 10px rgba(15,23,42,.05);padding:0 18px}
.faq summary{cursor:pointer;font-weight:600;color:#0f172a;padding:16px 0;list-style:none;position:relative;padding-right:28px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';position:absolute;right:0;top:12px;font-size:1.4rem;color:var(--bs-secondary)}
.faq[open] summary::after{content:'−'}
.faq p{color:#475569;padding-bottom:16px;margin:0}

/* Menu drop-downs */
.sub-toggle{background:none;border:0;display:inline-flex;align-items:center;gap:4px;cursor:pointer}
.sub-toggle .chev{width:16px;height:16px;fill:currentColor;transition:transform .2s}
.has-sub.open .chev{transform:rotate(180deg)}
.has-sub{position:relative}
.sub{list-style:none;margin:0;padding:8px;display:none}
.sub a{display:block;padding:9px 14px;border-radius:8px;color:#334155;text-decoration:none;font-weight:500;white-space:nowrap}
.sub a:hover{background:#f0f9ff;color:var(--bs-secondary)}
.has-sub.open .sub{display:block}
@media (min-width:992px){
  .sub{position:absolute;top:100%;left:-10px;min-width:230px;background:#fff;border-radius:14px;box-shadow:0 14px 40px rgba(15,23,42,.14);border:1px solid #eef2f7;z-index:1060}
  .has-sub:hover .sub,.has-sub:focus-within .sub{display:block}
  .has-sub:hover .chev{transform:rotate(180deg)}
}
@media (max-width:991.98px){
  .navbar-collapse{justify-content:flex-start!important;overflow-y:auto;padding-top:5.5rem}
  .nav-link{font-size:1.25rem!important}
  .sub{background:#f8fafc;border-radius:12px;margin:4px auto 6px;max-width:320px}
  .sub a{font-size:1rem;white-space:normal}
  /* About / Services lists unfold slowly instead of appearing at once */
  .sub{display:block;max-height:0;overflow:hidden;opacity:0;padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;visibility:hidden;transition:max-height .5s ease,opacity .4s ease,padding .5s ease,margin .5s ease,visibility 0s linear .5s}
  .has-sub.open .sub{max-height:var(--sub-h,640px);opacity:1;padding-top:8px;padding-bottom:8px;margin-top:4px;margin-bottom:6px;visibility:visible;transition-delay:0s}
  .sub-toggle .chev{transition:transform .35s ease}
}

/* Trust strip */
.trust-strip{background:#0f1f3d;color:#cbd5e1;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.trust-strip ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 26px;font-size:.92rem}
.trust-strip b{color:#fff}
.trust-strip a{color:#fcd34d;text-decoration:none;font-weight:600}
@media (max-width:991.98px){.navbar-collapse{background:#fff!important;padding-bottom:7rem!important}}

/* Mobile layout refinements: keep headings, forms and actions comfortable at phone widths. */
@media (max-width: 767.98px) {
  .vastu-property-tabs button { flex: 1 1 calc(50% - 8px); padding: 9px 10px; text-align: center; }
  .vastu-stage.plot-stage { aspect-ratio: 4 / 3; }
  .vi { grid-template-columns: minmax(0, 1fr) 138px; gap: 8px; }
  .vi label { font-size: .84rem; line-height: 1.3; }
  .vastu-score { align-items: flex-start; }
  .vastu-score .score-ring { width: 72px; height: 72px; }
  .vastu-score .score-ring::before { inset: 7px; }
  .vastu-score .score-ring span { font-size: 1.3rem; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { overflow-x: hidden; }
  img, video, iframe { max-width: 100%; }

  .navbar { height: 64px; }
  body { padding-top: 64px; }
  .navbar .container { gap: 8px; }
  .navbar-brand { min-width: 0; }
  .navbar-brand img { width: min(190px, 58vw); height: auto; }

  .hero {
    min-height: 0;
    padding: 3rem 0 2.5rem;
    background-position: center;
  }
  .hero .container, .hero .row, .hero .col-lg-8 { min-width: 0; }
  .hero-title {
    max-width: 100%;
    margin: 0 auto 1.1rem;
    font-size: clamp(1.85rem, 7.4vw, 2.35rem);
    line-height: 1.14;
    text-align: center;
    text-wrap: balance;
  }
  .hero-reach { gap: 6px; }
  .hero-reach span { padding: 5px 10px; font-size: .78rem; }
  .hero p.fs-5 { font-size: 1rem !important; line-height: 1.55; }
  .hero .d-flex > .btn {
    flex: 1 1 calc(50% - .5rem);
    min-width: 0;
    padding: .78rem .65rem;
    font-size: .9rem;
    line-height: 1.25;
  }
  .hero-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-content: stretch;
  }
  .hero-tools > span { grid-column: 1 / -1; text-align: center; }
  .hero-tools a {
    min-width: 0;
    min-height: 42px;
    padding: 8px 7px;
    font-size: .78rem;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }

  .page-hero { padding: 2.8rem 1rem 2.25rem; }
  .page-hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
    line-height: 1.16;
    text-wrap: balance;
  }
  .page-hero p { font-size: 1rem; line-height: 1.55; }
  .crumbs { padding: .7rem 0; font-size: .82rem; }
  .section-padding { padding: 2.75rem 0; }
  .section-title { font-size: clamp(1.7rem, 6.5vw, 2rem); line-height: 1.2; }
  .value-card, .team-card { padding: 20px; }
  .tool-card { padding: 22px; }
  .article-body { font-size: 1rem; line-height: 1.65; }
  .article-body h2 { font-size: 1.3rem; line-height: 1.25; margin: 1.6rem 0 .7rem; }
  .article-body h3 { font-size: 1.1rem; line-height: 1.3; }

  .calc { border-radius: 14px; }
  .calc-in, .calc-out { padding: 18px 16px; }
  .unit-row { min-width: 0; }
  .unit-row .form-control { flex: 1 1 0; min-width: 0; }
  .unit-row .form-select { flex: 0 0 112px; min-width: 0; max-width: 112px; }
  .res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .res { min-width: 0; padding: 11px 10px; }
  .res .k { font-size: .74rem; line-height: 1.3; }
  .res .v { font-size: 1.05rem; line-height: 1.25; overflow-wrap: anywhere; }
  .res .s { font-size: .72rem; line-height: 1.35; overflow-wrap: anywhere; }
  .calc-out > .d-flex .btn { flex: 1 1 100%; }
  .fee-tbl { font-size: .84rem; }
  .fee-tbl td { padding: 8px 4px; }
  .fee-tbl td.amt { white-space: nowrap; font-size: .82rem; }
  .fee-tbl .how { font-size: .74rem; line-height: 1.35; }
  .fee-tbl tr.total td { font-size: .98rem; }
  .rule-tbl { font-size: .8rem; }
  .rule-tbl th, .rule-tbl td { min-width: 88px; padding: 7px 8px; }

  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-opt { padding: 11px 12px; }
  .form-control, .form-select { font-size: 1rem; }
  .btn-brand, .btn-whatsapp, .btn-outline-brand, .btn-outline-blue { padding: .75rem 1.1rem; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 1.8rem; }
  .hero .d-flex > .btn { font-size: .83rem; }
  .hero-tools { grid-template-columns: minmax(0, 1fr); }
  .hero-tools > span { grid-column: auto; }
  .res { padding: 10px 8px; }
  .res .v { font-size: 1rem; }
}

/* ===== Phones: calmer, shorter home page (desktop is not affected) ===== */
.hero-short, .hero-btn-quote, .slider-hint, .tools-strip { display: none; }
@media (max-width: 767.98px) {
  /* text size: 20px intro paragraphs are too big on a phone */
  .section-padding p.fs-5 { font-size: 1rem !important; line-height: 1.6; }
  .section-padding .text-center.mb-5 { margin-bottom: 1.75rem !important; }

  /* first screen: heading, one short line, two buttons, tools in a swipeable row */
  .home .hero-long, .home .hero-btn-svc, .home .hero-btn-extra { display: none !important; }
  .home .hero-short { display: block; color: #e2e8f0; font-size: 1rem; line-height: 1.5; margin: 0 auto 1.4rem; text-align: center; max-width: 30ch; }
  .home .hero-btn-quote { display: inline-block; }
  /* free tools: moved out of the banner into the strip below it, all four visible as 2 + 2 */
  .home .hero-tools { display: none !important; }
  /* tall banner (about 3/4 of the screen, like the old site): photo, heading, short line and the two main buttons */
  .home .hero { min-height: 72vh; min-height: 72svh; padding: 2.5rem 0 2.75rem; display: flex; align-items: center; }
  .home .hero .container { width: 100%; }
  .home .hero-actions { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 1.6rem; }
  .home .hero-actions .btn { padding: .85rem .5rem; font-size: .95rem; }
  .home .hero-actions .btn:only-child { grid-column: 1 / -1; }
  /* short phones (e.g. iPhone SE): a little less in the banner, so its buttons stay clear of the Call / WhatsApp buttons */
  @media (max-height: 700px) {
    .home .hero { padding: 1.5rem 0 1.75rem; }
    .home .hero-reach { display: none; }
    .home .hero-actions { margin-top: 1.1rem; }
  }
  @media (max-height: 600px) {
    .home .hero { padding-top: 1rem; }
    .home .hero-title { font-size: 1.65rem; margin-bottom: .8rem; }
  }
  .tools-strip { display: block; background: #f1f7fc; border-bottom: 1px solid #e2e8f0; padding: 1.1rem 0 1.2rem; }
  .home .tools-strip-actions { display: none; } /* the two main buttons are inside the banner now */
  .tools-strip-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 1.1rem; }
  .tools-strip-actions .btn { padding: .75rem .5rem; font-size: .92rem; }
  .tools-strip-actions .btn:only-child { grid-column: 1 / -1; }
  .btn-navy-outline { border: 2px solid var(--bs-primary); color: var(--bs-primary); background: #fff; border-radius: 50px; font-family: var(--font-heading); font-weight: 600; }
  .btn-navy-outline:hover, .btn-navy-outline:active { background: var(--bs-primary); color: #fff; }
  .tools-strip-title { margin: 0 0 .6rem; text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #64748b; }
  .tools-strip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tools-strip-grid a { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 10px; border: 0; border-radius: 12px; background: var(--bs-primary); color: #fff; font-size: .82rem; font-weight: 600; line-height: 1.25; text-align: center; text-decoration: none; box-shadow: 0 2px 6px rgba(28,53,105,.25); }
  .tools-strip-grid a:hover, .tools-strip-grid a:active { background: var(--primary-dark); color: #fff; }
  .tools-strip-grid a:only-child, .tools-strip-grid a:last-child:nth-child(odd) { grid-column: 1 / -1; }

  /* about */
  .home .row.g-5 { --bs-gutter-y: 1.75rem; }
  .home #about .mt-5 { margin-top: 0 !important; }
  .home .founders-note { padding: 1.25rem !important; margin-top: 1.25rem !important; }
  .home .founders-note > p { font-size: .95rem !important; line-height: 1.55; margin-bottom: 1rem !important; padding-right: 0 !important; }
  .home .about-image { width: 100%; }
  .home .about-image img { min-height: 0 !important; height: 210px; object-fit: cover; }

  /* services (all pages): compact cards, two per row; full lists are on each service page */
  #services .row { --bs-gutter-x: .75rem; --bs-gutter-y: .75rem; }
  #services .row > [class*="col-"] { width: 50%; }
  #services .service-card { padding: 1rem .75rem !important; text-align: center; }
  #services .service-card ul, #services .service-card .btn { display: none; }
  #services .service-icon { width: 48px; height: 48px; font-size: 1.6rem; margin: 0 auto .6rem; border-radius: 12px; }
  #services .service-card h3 { font-size: .95rem !important; margin: 0 !important; line-height: 1.3; }
  #services .service-card h3::after { content: "View details →"; display: block; margin-top: 6px; font-size: .76rem; font-weight: 600; color: var(--bs-secondary); }

  /* projects and testimonials: swipe sideways, one card at a time */
  .home .home-slider { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; justify-content: flex-start !important; --bs-gutter-x: .75rem; --bs-gutter-y: 0; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .home .home-slider::-webkit-scrollbar { display: none; }
  .home .home-slider > [class*="col-"] { flex: 0 0 86%; width: 86%; max-width: 86%; scroll-snap-align: start; }
  .home .home-slider .scroll-reveal { opacity: 1; transform: none; }
  .home .slider-hint { display: block; text-align: center; font-size: .8rem; color: #64748b; margin: .75rem 0 0; }
  .home #portfolio .portfolio-img { height: 200px; }
  .home #portfolio .portfolio-item .p-4 { padding: .9rem 1rem !important; }
  .home #portfolio .pd-list li:not(:first-child) { display: none; }
  .home #portfolio .pd-list { margin-bottom: 0; }
  .home .testimonial-card { padding: 1.4rem; }
  .home .testimonial-card p { font-size: .95rem; line-height: 1.55; }
  .home .testimonial-card .tech-quote { top: 1rem; right: 1rem; font-size: 2rem; }

  /* why choose us: shorter list, numbers in a 2 x 2 grid */
  .home .why-us-list li { margin-bottom: 1rem !important; }
  .home .why-us-list h4 { font-size: 1rem !important; }
  .home .why-us-list p { font-size: .88rem; line-height: 1.45; }
  .home #why-us .row.g-4 { --bs-gutter-x: .75rem; --bs-gutter-y: .75rem; }
  .home .stat-box { padding: 1.1rem .5rem; }
  .home .stat-box h3 { font-size: 2rem !important; }
  .home .stat-box p { font-size: .8rem; }

  /* contact (all pages): form first, compact info panel and map */
  .contact-info-panel { padding: 1.5rem 1.25rem; }
  .contact-info-panel > h3 { font-size: 1.3rem !important; }
  .contact-info-panel > p { display: none; }
  .info-list-item li { margin-bottom: 1rem !important; }
  .info-list-item h4 { font-size: 1rem !important; }
  .info-list-item i { width: 38px; height: 38px; font-size: 1.2rem; }
  .map-embed { height: 220px; }

  /* footer (all pages): link lists fold open on tap */
  .footer { padding-top: 2.75rem; }
  .footer .container.mb-5 { margin-bottom: 1.5rem !important; }
  .footer .row.g-5 { --bs-gutter-y: 0; }
  .footer .row > .col-lg-4 { margin-bottom: 1rem; }
  .footer .row > .f-col { flex: 0 0 100%; width: 100%; max-width: 100%; }
  .footer .f-col > h3 { display: flex; justify-content: space-between; align-items: center; margin: 0 !important; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); cursor: pointer; font-size: 1.05rem; }
  .footer .f-col > h3::after { content: "+"; font-size: 1.4rem; font-weight: 400; line-height: 1; transition: transform .3s; }
  .footer .f-col.f-open > h3::after { transform: rotate(45deg); }
  .footer .f-col > ul { display: none; padding-top: 12px; }
  .footer .f-col.f-open > ul { display: block; }
  .footer .f-col > ul > li { margin-bottom: .65rem !important; }
}

/* ===== Phones: header scrolls away, only the menu button stays (colour follows the background) ===== */
@media (max-width: 767.98px) {
  .navbar.fixed-top { position: absolute; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hamburger { position: fixed; top: 10px; right: 12px; z-index: 1060; width: 44px; height: 44px; padding: 0 !important; display: flex; flex-direction: column; justify-content: center; gap: 5px; background: transparent; }
  .hamburger .bar { margin: 0 auto; background-color: #374151; transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .3s, background-color .25s; }
  .hamburger.on-dark .bar { background-color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.35); }
  .hamburger[aria-expanded="true"] .bar { background-color: #374151; box-shadow: none; }
}

/* ===== Phones: Call button above WhatsApp; both step aside while typing ===== */
.call-float { display: none; }
@media (max-width: 767.98px) {
  .call-float { display: flex; position: fixed; right: 20px; bottom: 82px; z-index: 1000; width: 50px; height: 50px; border-radius: 50%; align-items: center; justify-content: center; background: #009ee3; color: #fff; font-size: 24px; border: 2px solid #fff; box-shadow: 0 4px 14px rgba(15,23,42,.35); text-decoration: none; transition: transform .25s ease, opacity .25s ease; }
  .call-float:active { background: #0284c7; color: #fff; }
  .whatsapp-float { transition: transform .25s ease, opacity .25s ease; }
  body.is-typing .call-float, body.is-typing .whatsapp-float { opacity: 0; transform: translateX(80px); pointer-events: none; }
}

/* ===== Phones: easier tools and bigger tap targets ===== */
.rates-fold > summary { cursor: pointer; font-weight: 600; color: var(--bs-secondary); margin-bottom: .75rem; }
.rates-fold[open] > summary { display: none; }
.result-bar { display: none; }
@media (max-width: 767.98px) {
  /* folded reference tables */
  .rates-fold > summary { display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid #cfe3f3; border-radius: 12px; background: #f1f7fc; list-style: none; }
  .rates-fold > summary::-webkit-details-marker { display: none; }
  .rates-fold > summary::after { content: " ▾"; margin-left: 6px; }

  /* calculator result pinned to the bottom while the inputs are on screen */
  .result-bar { display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 1030; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--bs-primary), var(--primary-dark)); color: #fff; text-align: left; box-shadow: 0 8px 24px rgba(15,23,42,.3); transform: translateY(140%); transition: transform .3s ease; }
  .result-bar.show { transform: none; }
  .result-bar .rb-text { display: flex; flex-direction: column; min-width: 0; }
  .result-bar .rb-k { font-size: .75rem; color: #cbd5e1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .result-bar .rb-v { font-size: 1.1rem; font-weight: 700; line-height: 1.2; }
  .result-bar .rb-go { flex: 0 0 auto; font-size: .8rem; font-weight: 600; color: #7dd3fc; }
  body.has-result-bar .whatsapp-float { bottom: 86px; }
  body.has-result-bar .call-float { bottom: 148px; }

  /* calculator text: nothing under 13px */
  .res .k { font-size: .82rem; }
  .res .s { font-size: .8rem; }
  .fee-tbl .how { font-size: .8rem; }

  /* vastu: wider answer boxes */
  .vi { grid-template-columns: minmax(0, 1fr) 156px; }
  .vi .add { display: inline-flex; align-items: center; min-height: 36px; }

  /* bigger tap targets */
  .info-list-item a { display: inline-flex; align-items: center; min-height: 40px; }
  .hover-arrow { min-height: 40px; }
  .crumbs a { display: inline-block; padding: 8px 0; }
  .form-check-input { width: 1.3em; height: 1.3em; margin-top: .1em; }
  .form-check-label { padding-left: .25rem; }
}

/* ===== Vastu check: tap-to-place palette, coloured zones, result, share and PDF ===== */
.vastu-hint { margin: 0 0 8px; font-size: .9rem; color: #475569; }
.vastu-palette { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.vastu-palette .pc { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 12px; border: 1.5px solid #cbd5e1; border-radius: 999px; background: #fff; color: #334155; font-size: .85rem; font-weight: 600; line-height: 1.2; transition: transform .12s, box-shadow .12s; }
.vastu-palette .pc small { font-size: .7rem; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: rgba(15,23,42,.08); }
.vastu-palette .pc.placed { border-style: solid; }
.vastu-palette .pc.placed.v-good { background: #d1fae5; border-color: #6ee7b7; color: #065f46; }
.vastu-palette .pc.placed.v-ok { background: #e0f2fe; border-color: #7dd3fc; color: #075985; }
.vastu-palette .pc.placed.v-minor { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
.vastu-palette .pc.placed.v-major { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
.vastu-palette .pc.on { border-color: var(--bs-primary); box-shadow: 0 0 0 3px rgba(28,53,105,.18); transform: translateY(-1px); }
.vastu-grid .vc { background: transparent; border-radius: 0; font: inherit; text-align: left; cursor: default; transition: background-color .25s; }
.vastu-grid.placing .vc { cursor: pointer; }
.vastu-grid.placing .vc:hover { background: rgba(28,53,105,.08); }
.vc.z-good { background: rgba(16,185,129,.16); } .vc.z-ok { background: rgba(14,165,233,.12); }
.vc.z-minor { background: rgba(245,158,11,.2); } .vc.z-major { background: rgba(239,68,68,.2); }
.vastu-stage.with-plan .vc.z-good { background: rgba(16,185,129,.22); } .vastu-stage.with-plan .vc.z-minor { background: rgba(245,158,11,.26); } .vastu-stage.with-plan .vc.z-major { background: rgba(239,68,68,.26); }
.vc .chip { cursor: pointer; }
.vc .chip.sel { outline: 2px solid var(--bs-primary); outline-offset: 1px; }
.vastu-listview > summary { cursor: pointer; font-weight: 600; color: var(--bs-secondary); margin-bottom: 10px; }
.vastu-issues li { display: block; }
.vastu-issues li b { display: inline; }
.vastu-issues .vi-tag { display: inline-block; margin-left: 8px; font-size: .78rem; font-weight: 600; opacity: .85; }
.vastu-issues .vi-about { margin: 6px 0 4px; font-size: .88rem; line-height: 1.5; color: #334155; }
.vastu-issues .vi-ask { display: inline-flex; align-items: center; min-height: 32px; font-size: .86rem; font-weight: 600; color: var(--bs-primary); text-decoration: none; }
.vastu-fine { display: flex; flex-wrap: wrap; gap: 6px; }
.vastu-fine span { font-size: .82rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; }
.vastu-fine .v-good { background: #d1fae5; color: #065f46; } .vastu-fine .v-ok { background: #f1f5f9; color: #475569; }
.vastu-solution { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #eef4ff; border-left: 4px solid var(--bs-primary); font-size: .92rem; color: #1e293b; }
.vastu-solution[hidden], #palette-wrap[hidden], .vastu-share[hidden], .vastu-saved[hidden], .vastu-listview[hidden] { display: none !important; }
.vastu-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.vastu-share button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #1e293b; font-size: .88rem; font-weight: 600; }
.vastu-share button svg { width: 18px; height: 18px; fill: currentColor; }
.vastu-share button:hover { border-color: var(--bs-primary); color: var(--bs-primary); }
.vastu-saved { margin: 8px 0 0; font-size: .8rem; color: #64748b; }
@media (max-width: 767.98px) {
  .vastu-share button { flex: 1 1 auto; justify-content: center; }
  .vastu-calc .calc-in:not(:has(#plan-tools:not([hidden]))) { padding-bottom: 6px; }
}

/* printable Vastu report (Download PDF uses the browser's "Save as PDF") */
#vastu-print { display: none; }
@media print {
  body.printing-vastu { padding: 0 !important; }
  body.printing-vastu > *:not(#vastu-print) { display: none !important; }
  body.printing-vastu #vastu-print { display: block !important; font-family: Inter, Arial, sans-serif; color: #0f172a; font-size: 12px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #vastu-print .vp-head { display: flex; align-items: center; gap: 16px; border-bottom: 2px solid #1c3569; padding-bottom: 10px; margin-bottom: 14px; }
  #vastu-print .vp-head img { height: 40px; }
  #vastu-print .vp-head b { display: block; font-size: 18px; color: #1c3569; } #vastu-print .vp-head span { color: #64748b; }
  #vastu-print .vp-top { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
  #vastu-print .vp-score { width: 74px; height: 74px; border-radius: 50%; border: 6px solid #1c3569; display: flex; align-items: center; justify-content: center; flex-direction: column; line-height: 1; }
  #vastu-print .vp-score b { font-size: 24px; } #vastu-print .vp-score span { font-size: 10px; color: #64748b; }
  #vastu-print .vp-grid { display: grid; grid-template-columns: repeat(3, 1fr); width: 330px; border: 2px solid #fed7aa; margin-bottom: 12px; }
  #vastu-print .vp-grid > div { min-height: 76px; padding: 5px; border: 1px dashed #fdba74; }
  #vastu-print .vp-grid i { display: block; font-size: 9px; font-style: normal; color: #c2410c; font-weight: 700; }
  #vastu-print .vp-grid span { display: inline-block; margin: 2px 2px 0 0; padding: 1px 6px; border-radius: 8px; background: #fff; font-size: 10px; }
  #vastu-print .z-good { background: #d1fae5; } #vastu-print .z-ok { background: #e0f2fe; } #vastu-print .z-minor { background: #fef3c7; } #vastu-print .z-major { background: #fee2e2; }
  #vastu-print h3 { font-size: 14px; color: #1c3569; margin: 12px 0 6px; }
  #vastu-print .vp-issue { padding: 6px 10px; border-radius: 8px; margin-bottom: 6px; } #vastu-print .vp-issue p { margin: 3px 0 0; }
  #vastu-print .vp-issue.v-major { background: #fef2f2; } #vastu-print .vp-issue.v-minor { background: #fffbeb; }
  #vastu-print table { width: 100%; border-collapse: collapse; } #vastu-print td { border-bottom: 1px solid #e2e8f0; padding: 4px 6px; }
  #vastu-print .vp-cta { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: #eef4ff; border-left: 4px solid #1c3569; }
  #vastu-print .vp-note { margin-top: 10px; font-size: 10px; color: #64748b; word-break: break-all; }
}

/* ===== Vastu check phase 2: phone compass, main door padas ===== */
.compass-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; margin-bottom: 12px; padding: 8px 14px; border: 1.5px solid var(--bs-primary); border-radius: 999px; background: #fff; color: var(--bs-primary); font-weight: 600; font-size: .9rem; }
.compass-btn svg { width: 20px; height: 20px; fill: currentColor; }
.compass-btn[hidden], .compass-panel[hidden], .door-mark[hidden], #door-strip-wrap[hidden], .vastu-door[hidden] { display: none !important; }
.compass-panel { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; padding: 12px; border-radius: 14px; background: #f1f7fc; border: 1px solid #cfe3f3; }
.compass-dial { position: relative; flex: 0 0 104px; height: 104px; }
.compass-rose { position: absolute; inset: 6px; border-radius: 50%; background: #fff; border: 2px solid #1c3569; transition: transform .15s linear; }
.compass-rose span { position: absolute; font-size: .75rem; font-weight: 800; color: #1c3569; }
.compass-rose .cn { top: 3px; left: 50%; transform: translateX(-50%); color: #dc2626; } .compass-rose .cs { bottom: 3px; left: 50%; transform: translateX(-50%); }
.compass-rose .ce { right: 5px; top: 50%; transform: translateY(-50%); } .compass-rose .cw { left: 5px; top: 50%; transform: translateY(-50%); }
.compass-rose i { position: absolute; left: 50%; top: 18%; width: 4px; height: 32%; margin-left: -2px; border-radius: 2px; background: #dc2626; }
.compass-top { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); font-size: .7rem; color: var(--bs-secondary); }
.compass-read { min-width: 0; } .compass-dir { font-weight: 700; color: #1c3569; font-size: 1.05rem; }
.vastu-door { margin-top: 12px; border-top: 1px solid #e2e8f0; padding-top: 10px; }
.vastu-door > summary { cursor: pointer; font-weight: 600; color: var(--bs-secondary); margin-bottom: 8px; }
.door-sides { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.door-sides button { min-height: 38px; padding: 6px 12px; border: 1.5px solid #cbd5e1; border-radius: 999px; background: #fff; font-size: .85rem; font-weight: 600; color: #334155; }
.door-sides button.on { border-color: var(--bs-primary); background: #eef4ff; color: var(--bs-primary); }
.door-sides .door-clear { border-style: dashed; color: #64748b; }
.door-ends { display: flex; justify-content: space-between; font-size: .75rem; color: #64748b; margin-bottom: 4px; }
.door-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; }
.door-strip .dp { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; padding: 4px 1px; border: 2px solid transparent; border-radius: 8px; font-size: .78rem; line-height: 1.1; }
.door-strip .dp small { font-size: .56rem; opacity: .85; margin-top: 2px; word-break: break-word; text-align: center; }
.door-strip .dp.v-good { background: #d1fae5; color: #065f46; } .door-strip .dp.v-ok { background: #e0f2fe; color: #075985; }
.door-strip .dp.v-minor { background: #fef3c7; color: #92400e; } .door-strip .dp.v-major { background: #fee2e2; color: #991b1b; }
.door-strip .dp.on { border-color: #1c3569; box-shadow: 0 0 0 2px rgba(28,53,105,.2); }
.door-result { margin-top: 8px; font-size: .88rem; color: #475569; }
.door-result span { font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.door-result .v-good { background: #d1fae5; color: #065f46; } .door-result .v-ok { background: #e0f2fe; color: #075985; } .door-result .v-minor { background: #fef3c7; color: #92400e; } .door-result .v-major { background: #fee2e2; color: #991b1b; }
.door-mark { position: absolute; z-index: 3; width: 22px; height: 22px; margin: -11px 0 0 -11px; transform: translate(var(--dx, 0), var(--dy, 0)); border-radius: 6px; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); pointer-events: none; }
.door-mark::after { content: "🚪"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.door-mark.v-good { background: #10b981; } .door-mark.v-ok { background: #0ea5e9; } .door-mark.v-minor { background: #f59e0b; } .door-mark.v-major { background: #ef4444; }

/* ===== Vastu room guide pages ===== */
.room-compass { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; max-width: 380px; margin: 18px auto 0; padding: 6px; border-radius: 16px; background: #fff7ed; border: 2px solid #fed7aa; }
.room-compass .rc-n { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: .8rem; font-weight: 800; color: #c2410c; }
.rc-z { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 10px; text-align: center; padding: 4px; }
.rc-z b { font-size: 1.05rem; } .rc-z small { font-size: .7rem; line-height: 1.2; }
.rc-good { background: #d1fae5; color: #065f46; } .rc-ok { background: #e0f2fe; color: #075985; } .rc-minor { background: #fef3c7; color: #92400e; } .rc-major { background: #fee2e2; color: #991b1b; }
.room-verdicts { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; }
.room-verdicts li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 9px 12px; border-radius: 10px; }
.room-verdicts li span { font-weight: 500; }
.room-links { display: flex; flex-wrap: wrap; gap: 8px; }
.room-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid #cfe3f3; border-radius: 999px; background: #f1f7fc; color: var(--bs-primary); font-weight: 600; font-size: .88rem; text-decoration: none; }
.room-links a:hover { background: #e0f2fe; }
.vastu-lang { display: inline-flex; gap: 0; margin-bottom: 14px; border: 1.5px solid var(--bs-primary); border-radius: 999px; overflow: hidden; }
.vastu-lang button { min-height: 36px; padding: 6px 16px; border: 0; background: #fff; color: var(--bs-primary); font-weight: 600; font-size: .88rem; }
.vastu-lang button.on { background: var(--bs-primary); color: #fff; }

/* ===== Vastu plot / land check: step-by-step questions ===== */
.plot-steps[hidden], .plot-build[hidden] { display: none !important; }
.ps-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: .85rem; font-weight: 600; color: #475569; }
.ps-progress i { flex: 1; height: 8px; border-radius: 4px; background: #e2e8f0; overflow: hidden; }
.ps-progress i b { display: block; height: 100%; background: var(--bs-secondary); transition: width .3s; }
.ps-step { padding: 14px; margin-bottom: 12px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; }
.ps-step.done { border-color: #bbf7d0; background: #fbfffc; }
.ps-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.ps-head h3 { margin: 2px 0 0; font-size: 1rem; font-weight: 700; color: #1e293b; line-height: 1.35; }
.ps-no { flex: 0 0 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #e0f2fe; color: #075985; font-weight: 800; font-size: .85rem; }
.ps-step.done .ps-no { background: #10b981; color: #fff; }
.ps-help { margin: -4px 0 10px 38px; font-size: .84rem; color: #64748b; }
.ps-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ps-opts.ps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ps-opts.ps-1 { grid-template-columns: 1fr; }
.ps-opt, .ps-dir { min-height: 46px; padding: 8px 10px; border: 1.5px solid #cbd5e1; border-radius: 12px; background: #fff; color: #1e293b; font-size: .88rem; font-weight: 600; line-height: 1.25; text-align: center; transition: border-color .15s, background-color .15s; }
.ps-opts.ps-1 .ps-opt { text-align: left; padding: 10px 14px; }
.ps-opt:hover, .ps-dir:hover { border-color: var(--bs-secondary); }
.ps-opt.on, .ps-dir.on { border-color: var(--bs-primary); box-shadow: 0 0 0 2px rgba(28,53,105,.15); }
.ps-opt.on.v-good, .ps-dir.on.v-good { background: #d1fae5; border-color: #10b981; color: #065f46; }
.ps-opt.on.v-ok, .ps-dir.on.v-ok { background: #e0f2fe; border-color: #0ea5e9; color: #075985; }
.ps-opt.on.v-minor, .ps-dir.on.v-minor { background: #fef3c7; border-color: #f59e0b; color: #92400e; }
.ps-opt.on.v-major, .ps-dir.on.v-major { background: #fee2e2; border-color: #ef4444; color: #991b1b; }
.ps-opt.on:not([class*="v-"]) { background: #eef4ff; color: var(--bs-primary); }
.ps-compass { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 330px; margin: 0 auto 8px; }
.ps-dir { min-height: 54px; font-size: .82rem; }
.ps-c-mid { display: flex; align-items: center; justify-content: center; font-weight: 800; color: #c2410c; border-radius: 12px; background: #fff7ed; border: 1.5px dashed #fdba74; }
.ps-unsure { display: block; width: 100%; max-width: 330px; margin: 0 auto; min-height: 40px; }
.plot-build { margin-top: 16px; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, var(--bs-primary), var(--primary-dark)); color: #fff; }
.plot-build h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin: 0 0 6px; }
.plot-build p { font-size: .9rem; color: #cbd5e1; margin: 0 0 12px; }
.pb-actions { display: grid; gap: 8px; }
.pb-actions .btn { width: 100%; }
.pb-link { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; font-weight: 600; text-decoration: none; }
.pb-link span { font-size: .8rem; font-weight: 500; color: #7dd3fc; }
.pb-link:hover { background: rgba(255,255,255,.18); color: #fff; }
@media (max-width: 380px) { .ps-opts.ps-3 { grid-template-columns: 1fr; } }

/* ===== Calculators: easy steps, button groups, quick sizes ===== */
.calc-in .ps-step { margin-bottom: 12px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin-top: 8px; }
.seg.seg-wrap { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seg button, .yn-btns button, .quick button { min-height: 44px; padding: 6px 8px; border: 1.5px solid #cbd5e1; border-radius: 12px; background: #fff; color: #1e293b; font-size: .88rem; font-weight: 600; line-height: 1.2; }
.seg button.on, .yn-btns button.on, .quick button.on { border-color: var(--bs-primary); background: #eef4ff; color: var(--bs-primary); box-shadow: 0 0 0 2px rgba(28,53,105,.12); }
.seg button:hover, .yn-btns button:hover, .quick button:hover { border-color: var(--bs-secondary); }
.yn-btns button:disabled { opacity: .55; cursor: not-allowed; }
.yn { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; }
.yn + .yn { border-top: 1px solid #eef2f7; }
.yn > span { font-weight: 600; font-size: .92rem; color: #1e293b; }
.yn > span small { display: block; font-weight: 400; font-size: .78rem; color: #64748b; }
.yn-btns { display: grid; grid-template-columns: 64px 64px; gap: 6px; flex: 0 0 auto; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.quick span { width: 100%; font-size: .78rem; color: #64748b; }
.quick button { min-height: 36px; padding: 4px 12px; font-size: .82rem; }
.big-input { font-size: 1.25rem !important; font-weight: 700; min-height: 52px; }
.tool-next { display: grid; gap: 8px; margin-top: 14px; }
.tool-next a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #f1f7fc; border: 1px solid #cfe3f3; color: var(--bs-primary); font-weight: 600; text-decoration: none; }
.tool-next a:hover { background: #e0f2fe; }
.tool-next a small { display: block; font-weight: 400; font-size: .8rem; color: #64748b; }
.tool-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tool-share button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #1e293b; font-size: .88rem; font-weight: 600; }
.tool-share button:hover { border-color: var(--bs-primary); color: var(--bs-primary); }
.calc-in .finish-grid .svc-opt { min-height: 56px; }
@media (max-width: 767.98px) { .seg.seg-wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tool-share button { flex: 1 1 auto; justify-content: center; } }

/* ===== Client quotation page (laid out like the office's Word quotations) ===== */
.quote-doc .q-h { font-size: 1.05rem; font-weight: 700; color: var(--bs-primary); text-transform: uppercase; letter-spacing: .02em; margin: 1.4rem 0 .6rem; padding-bottom: 4px; border-bottom: 1px solid #e2e8f0; }
.quote-doc details.q-fold > summary { cursor: pointer; list-style: none; }
.quote-doc details.q-fold > summary::-webkit-details-marker { display: none; }
.quote-doc details.q-fold > summary::after { content: " ▾"; color: var(--bs-secondary); font-weight: 700; }
.quote-doc details.q-fold[open] > summary::after { content: " ▴"; }
.quote-doc details.q-fold > summary .q-h { display: inline-block; border: 0; }
.quote-doc .q-kv th { width: 36%; background: #f8fafc; color: #334155; font-weight: 600; }
.quote-doc .q-scope .q-sec { font-size: 1rem; font-weight: 700; color: var(--bs-primary); margin: 1.2rem 0 .4rem; padding: .35rem .6rem; background: #eef3fa; border-left: 3px solid var(--bs-primary); }
.quote-doc .q-scope .q-sub { font-size: .9rem; font-weight: 700; margin: .6rem 0 .2rem; }
.quote-doc .q-scope ul, .quote-doc .q-scope p { font-size: .9rem; }
.quote-doc .q-fee { margin: .8rem 0; padding: 14px 16px; border: 2px solid var(--bs-primary); border-radius: 12px; background: #f1f7fc; }
.quote-doc .q-fee b { display: block; font-size: 1.5rem; color: var(--bs-primary); }
.quote-doc .q-fee span { font-size: .9rem; color: #334155; }
@media print { .quote-doc details.q-fold > * { display: block !important; } .quote-doc details.q-fold > summary::after { content: ""; } }
