/* ============================================================
   Ghar Sathi 24x7 — Public site styles
   Brand: deep navy (#102A43) + warm amber/terracotta (#D97706)
   ============================================================ */

:root {
    --navy-900: #0B2038;
    --navy-800: #102A43;
    --navy-700: #1B3A5C;
    --navy-100: #E8EEF4;
    --amber-600: #D97706;
    --amber-700: #B8630A;
    --terracotta: #C2662D;
    --gray-50: #F7F8FA;
    --gray-100: #EEF2F6;
    --gray-200: #E2E8F0;
    --gray-400: #9AA5B1;
    --gray-600: #5B6B7C;
    --gray-900: #1A2330;
    --white: #FFFFFF;
    --radius: 10px;
    --shadow: 0 6px 24px rgba(16, 42, 67, 0.08);
    --shadow-lg: 0 16px 48px rgba(16, 42, 67, 0.16);
    --max-width: 1180px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; color: var(--navy-800); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.icon { width: 1.3em; height: 1.3em; vertical-align: -0.25em; fill: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-alt { background: var(--gray-50); }
.section-navy { background: var(--navy-800); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.eyebrow {
    display: inline-block;
    color: var(--amber-600);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 8px;
}
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: 30px; }
.section-head p { color: var(--gray-600); }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber-600); color: var(--white); }
.btn-primary:hover { background: var(--amber-700); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--navy-800); color: var(--white); }
.btn-dark:hover { background: var(--navy-900); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* ---- Header / Nav ---- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 76px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img, .logo svg { height: 40px; width: auto; }
.logo-tagline {
    font-size: 12.5px; font-weight: 600; color: var(--gray-600);
    border-left: 1px solid var(--gray-200); padding-left: 10px; line-height: 1.3;
}
@media (max-width: 560px) { .logo-tagline { display: none; } }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
    font-weight: 600; font-size: 15px; color: var(--navy-800);
    padding: 8px 0; position: relative;
}
.main-nav a:hover { color: var(--amber-600); }
.main-nav .has-dropdown { position: relative; }
.dropdown-panel {
    position: absolute; top: 100%; left: 0; background: var(--white);
    box-shadow: var(--shadow-lg); border-radius: var(--radius);
    min-width: 280px; padding: 10px; display: none;
    grid-template-columns: 1fr 1fr; gap: 2px; z-index: 60;
}
.has-dropdown:hover .dropdown-panel, .has-dropdown.open .dropdown-panel { display: grid; }
.dropdown-panel a {
    display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; font-size: 14px;
}
.dropdown-panel a:hover { background: var(--gray-100); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy-800); font-size: 15px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; color: var(--navy-800); }

@media (max-width: 900px) {
    .main-nav { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: var(--white);
        flex-direction: column; align-items: stretch; padding: 20px; gap: 6px; overflow-y: auto;
        transform: translateX(100%); transition: transform .25s ease; }
    .main-nav.open { transform: translateX(0); }
    .main-nav a { padding: 12px 6px; border-bottom: 1px solid var(--gray-100); }
    .dropdown-panel { position: static; box-shadow: none; display: none; grid-template-columns: 1fr; }
    .has-dropdown.open .dropdown-panel { display: grid; }
    .header-phone span.phone-text { display: none; }
    .nav-toggle { display: block; }
}

/* ---- Hero ---- */
.hero {
    background: url('../img/hero-bg.svg') center/cover no-repeat, var(--navy-800);
    color: var(--white);
    padding: 90px 0 110px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 44px; color: var(--white); }
.hero h1 .accent { color: var(--amber-600); }
.hero p.lead { font-size: 18px; color: var(--navy-100); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 26px; color: var(--amber-600); }
.hero-stats div span { font-size: 13px; color: var(--navy-100); }
.hero-card {
    background: var(--white); border-radius: var(--radius); padding: 28px; color: var(--gray-900);
    box-shadow: var(--shadow-lg);
}
.hero-card h3 { font-size: 19px; }
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
}

/* ---- Services grid ---- */
.services-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 26px 22px; transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
    display: flex; flex-direction: column; gap: 10px;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.service-card .icon-badge {
    width: 52px; height: 52px; border-radius: 12px; background: var(--navy-100);
    display: flex; align-items: center; justify-content: center; color: var(--navy-800);
}
.service-card .icon-badge .icon { width: 26px; height: 26px; }
.service-card h3 { font-size: 18px; margin-bottom: 4px; }
.service-card p { color: var(--gray-600); font-size: 14px; margin-bottom: 6px; }
.service-card .card-links { display: flex; gap: 14px; font-size: 13.5px; font-weight: 700; margin-top: auto; }
.service-card .card-links a { color: var(--amber-600); display: inline-flex; align-items: center; gap: 4px; }

/* ---- Cards grid generic (projects/testimonials/vendors) ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.project-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.project-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-card .body { padding: 18px 20px; }
.project-card .tag { font-size: 12px; font-weight: 700; color: var(--amber-600); text-transform: uppercase; letter-spacing: .04em; }
.project-card h3 { font-size: 17px; margin: 6px 0; }
.project-card .meta { color: var(--gray-600); font-size: 13px; display: flex; align-items: center; gap: 6px; }

.testimonial-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; }
.testimonial-card .stars { color: var(--amber-600); margin-bottom: 10px; }
.testimonial-card .stars .icon { width: 16px; height: 16px; }
.testimonial-card .name { font-weight: 700; margin-top: 10px; }

.vendor-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 32px; }
.vendor-strip a, .vendor-strip .vendor-item { opacity: .85; filter: grayscale(1); transition: filter .2s, opacity .2s; }
.vendor-strip a:hover, .vendor-strip .vendor-item:hover { opacity: 1; filter: none; }
.vendor-strip img { height: 46px; width: auto; }

/* ---- Owners / About ---- */
.owner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 800px) { .owner-grid { grid-template-columns: 1fr; } }
.owner-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.owner-card .photo { aspect-ratio: 1/1; overflow: hidden; }
.owner-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.owner-card .body { padding: 22px 24px; }
.owner-card .designation { color: var(--amber-600); font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 10px; }
.owner-card .exp-badge { display: inline-block; background: var(--navy-100); color: var(--navy-800); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-item { text-align: center; padding: 10px; }
.why-item .icon-badge { width: 56px; height: 56px; border-radius: 50%; background: var(--amber-600); color: var(--white); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.why-item .icon-badge .icon { width: 26px; height: 26px; }

/* ---- Forms ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--navy-800); }
.field .hint { font-size: 12.5px; color: var(--gray-600); margin-top: 4px; }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=date],
input[type=password], select, textarea {
    width: 100%; padding: 11px 14px; border-radius: 8px; border: 1px solid var(--gray-200);
    font-family: var(--font); font-size: 15px; background: var(--white); color: var(--gray-900);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--amber-600); box-shadow: 0 0 0 3px rgba(217,119,6,.15);
}
.honeypot-field { position: absolute; left: -9999px; top: -9999px; }
.captcha-row { display: flex; align-items: center; gap: 10px; }
.captcha-row .question { font-weight: 700; background: var(--gray-100); padding: 10px 16px; border-radius: 8px; }

.card-form {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 28px; box-shadow: var(--shadow);
}

.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-weight: 600; }
.alert-success { background: #E8F6EE; color: #1E7E43; border: 1px solid #BEE6CD; }
.alert-error { background: #FDEDEC; color: #B3261E; border: 1px solid #F6C3BE; }

/* ---- Breadcrumb / page header ---- */
.page-header { background: var(--navy-800); color: var(--white); padding: 48px 0; }
.page-header h1 { color: var(--white); margin-bottom: 6px; }
.page-header .crumbs { color: var(--navy-100); font-size: 14px; }
.page-header .crumbs a { color: var(--amber-600); font-weight: 600; }

/* ---- Feature checklist, process steps, FAQ accordion ---- */
.feature-checklist { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
@media (max-width: 560px) { .feature-checklist { grid-template-columns: 1fr; } }
.feature-checklist li { display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px; color: var(--gray-900); }
.feature-checklist .icon { color: var(--amber-600); width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1000px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { position: relative; text-align: center; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px 18px 20px; }
.process-step .step-num {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    width: 28px; height: 28px; border-radius: 50%; background: var(--navy-800); color: var(--white);
    display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800;
}
.process-step .icon-badge { width: 52px; height: 52px; border-radius: 50%; background: var(--navy-100); color: var(--navy-800); display: flex; align-items: center; justify-content: center; margin: 10px auto 14px; }
.process-step .icon-badge .icon { width: 24px; height: 24px; }
.process-step h4 { font-size: 16px; }
.process-step p { font-size: 13.5px; color: var(--gray-600); margin-bottom: 0; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px; padding: 4px 20px; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; color: var(--navy-800); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--amber-600); font-weight: 400; margin-left: 12px; }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { color: var(--gray-600); font-size: 14.5px; padding-bottom: 16px; margin: 0; }

/* ---- Service detail ---- */
.service-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .service-detail-grid { grid-template-columns: 1fr; } }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-grid img { aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; cursor: pointer; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; margin: 20px 0; background: #000; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.sidebar-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.sidebar-card h3 { font-size: 17px; }
.trust-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.trust-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--gray-900); font-weight: 600; }
.trust-list .icon { color: var(--amber-600); width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

.lightbox-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.85); display: none;
    align-items: center; justify-content: center; z-index: 999; padding: 24px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { max-width: 100%; max-height: 90vh; border-radius: 6px; }
.lightbox-close { position: absolute; top: 20px; right: 24px; color: #fff; cursor: pointer; }
.lightbox-close .icon { width: 30px; height: 30px; }

/* ---- Calculator ---- */
.calc-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .calc-layout { grid-template-columns: 1fr; } }
.calc-result {
    background: var(--navy-800); color: var(--white); border-radius: var(--radius); padding: 28px;
    position: sticky; top: 100px;
}
.calc-result .amount { font-size: 34px; font-weight: 800; color: var(--amber-600); margin: 10px 0; }
.calc-result .disclaimer { font-size: 12.5px; color: var(--navy-100); }
.calc-option-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }

/* ---- Quick inquiry floating button + modal ---- */
.quick-quote-btn {
    position: fixed; right: 22px; bottom: 22px; z-index: 80;
    background: var(--amber-600); color: #fff; border-radius: 999px;
    padding: 14px 20px; font-weight: 700; box-shadow: var(--shadow-lg);
    display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer;
}
.quick-quote-btn:hover { background: var(--amber-700); }
.modal-overlay {
    position: fixed; inset: 0; background: rgba(11,32,56,.6); display: none;
    align-items: center; justify-content: center; z-index: 90; padding: 16px;
}
.modal-overlay.open { display: flex; }
.modal-box {
    background: #fff; border-radius: var(--radius); max-width: 480px; width: 100%;
    padding: 28px; position: relative; max-height: 92vh; overflow-y: auto;
}
.modal-close { position: absolute; top: 16px; right: 16px; cursor: pointer; color: var(--gray-600); }
.modal-close .icon { width: 22px; height: 22px; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-900); color: var(--navy-100); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.site-footer a { color: var(--navy-100); }
.site-footer a:hover { color: var(--amber-600); }
.footer-links li { margin-bottom: 10px; font-size: 14px; }
.footer-about p { font-size: 14px; color: var(--navy-100); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
}
.footer-social .icon { width: 18px; height: 18px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; margin-bottom: 12px; }
.footer-contact .icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--amber-600); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; text-align: center; font-size: 13px; color: var(--navy-100); }

/* ---- Misc utility ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.badge { display: inline-block; background: var(--navy-100); color: var(--navy-800); font-weight: 700; font-size: 12.5px; padding: 4px 12px; border-radius: 999px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray-600); }
