/* =========================================================
   KRISHNA ENGINEERING — CORRECTED COMPLETE STYLESHEET
   Designed for the current index.html
========================================================= */

:root {
    --bg: #070b12;
    --bg-secondary: #0c121d;
    --surface: #101927;
    --surface-hover: #152235;
    --surface-light: #182638;
    --text: #f3f7ff;
    --muted: #9baabe;
    --accent: #19d7e8;
    --accent-strong: #00b9d1;
    --accent-soft: rgba(25, 215, 232, .12);
    --border: rgba(159, 185, 216, .14);
    --success: #4ee0a0;
    --shadow: 0 24px 70px rgba(0, 0, 0, .25);
    --radius: 22px;
    --container: 1160px;
    --header-height: 78px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: "Noto Sans Devanagari", "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    transition: background .25s ease, color .25s ease;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 10% 8%, rgba(0, 190, 220, .06), transparent 36%),
        radial-gradient(ellipse at 92% 42%, rgba(43, 98, 190, .055), transparent 35%);
}

body.light-theme {
    --bg: #f4f7fb;
    --bg-secondary: #eaf0f7;
    --surface: #fff;
    --surface-hover: #f0f7fb;
    --surface-light: #e8f1f8;
    --text: #132235;
    --muted: #596c81;
    --accent: #008fa5;
    --accent-strong: #007c91;
    --accent-soft: rgba(0, 143, 165, .09);
    --border: rgba(24, 59, 88, .14);
    --shadow: 0 20px 55px rgba(24, 54, 84, .09);
}

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

button, input, select, textarea {
    font: inherit;
}

button {
    color: inherit;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

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

section {
    scroll-margin-top: 95px;
}

::selection {
    background: var(--accent);
    color: #061018;
}

/* NAVIGATION */

.navbar {
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-container {
    width: min(var(--container), calc(100% - 44px));
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo, .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.logo-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--accent), #087cae);
    color: #061018;
    font-size: 24px;
    font-weight: 900;
    box-shadow: 0 8px 25px rgba(25, 215, 232, .18);
}

.logo strong, .footer-logo strong {
    display: block;
    font-size: 15px;
    line-height: 1.35;
    letter-spacing: 1px;
    font-weight: 900;
}

.logo small, .footer-logo small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 2px;
    line-height: 1.4;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links a {
    position: relative;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    transition: color .2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--text);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-btn, .menu-toggle {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--surface);
    cursor: pointer;
    transition: border-color .2s, transform .2s;
}

.theme-btn:hover, .menu-toggle:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.lang-btn {
    font-size: 12px;
    font-weight: 800;
}

.menu-toggle {
    display: none;
    font-size: 21px;
}

/* HERO */

.hero {
    width: min(var(--container), calc(100% - 44px));
    min-height: 600px;
    margin: auto;
    padding: 75px 0 65px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    gap: 45px;
}

.hero-content {
    min-width: 0;
    animation: rise-in .7s ease both;
}

.security-badge, .about-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 13px;
    border: 1px solid rgba(25, 215, 232, .25);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.pulse-dot, .live-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(78, 224, 160, .1);
    animation: pulse 2s infinite;
}

.hero h1 {
    margin-top: 23px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.13;
    letter-spacing: -2px;
    font-weight: 900;
}

.hero h1 span,
.section-heading h2 span,
.why-content h2 span,
.about-card h2 span,
.contact-content h2 span,
.map-info h2 span,
.advisor-screen h2 span {
    color: var(--accent);
}

.hero-content > p {
    max-width: 540px;
    margin-top: 21px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

.btn {
    min-height: 47px;
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #00a7d5);
    color: #061018;
    box-shadow: 0 10px 28px rgba(25, 215, 232, .15);
}

.btn-primary:hover {
    box-shadow: 0 13px 32px rgba(25, 215, 232, .24);
}

.btn-secondary {
    border-color: var(--border);
    background: var(--surface);
    color: var(--text);
}

.btn-secondary:hover {
    border-color: var(--accent);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 38px;
}

.hero-trust div {
    display: grid;
    gap: 3px;
}

.hero-trust strong {
    color: var(--accent);
    font-size: 18px;
    font-weight: 900;
}

.hero-trust span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
}

.hero-visual {
    min-width: 0;
    position: relative;
    display: grid;
    place-items: center;
    animation: rise-in .8s .1s ease both;
}

.camera-glow {
    width: 80%;
    aspect-ratio: 1;
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 187, 220, .13);
    filter: blur(60px);
}

.camera-card {
    width: 100%;
    max-width: 475px;
    min-width: 0;
    position: relative;
    padding: 12px;
    border: 1px solid rgba(25, 215, 232, .23);
    border-radius: 23px;
    background: linear-gradient(145deg, var(--surface-light), var(--surface));
    box-shadow: var(--shadow);
    transition: transform .3s;
}

.camera-card:hover {
    transform: translateY(-4px);
}

.camera-top, .camera-bottom {
    min-height: 36px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .7px;
}

.recording {
    color: #ff646e;
    white-space: nowrap;
}

.camera-image {
    aspect-ratio: 1.13;
    position: relative;
    overflow: hidden;
    border-radius: 13px;
    background: linear-gradient(145deg, #122a3b, #071019);
}

.camera-image img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.scan-line {
    height: 1px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(25, 215, 232, .7);
    box-shadow: 0 0 18px rgba(25, 215, 232, .5);
    animation: scan 5s linear infinite;
}

.camera-bottom {
    color: var(--accent);
}

/* QUICK CONTACT */

.quick-actions {
    width: min(840px, calc(100% - 44px));
    margin: -8px auto 0;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.quick-card {
    min-width: 0;
    padding: 17px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
    transition: transform .2s, border-color .2s;
}

.quick-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

.quick-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    font-size: 20px;
}

.quick-card strong, .quick-card small {
    display: block;
}

.quick-card strong {
    font-size: 13px;
}

.quick-card small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    overflow-wrap: anywhere;
}

/* COMMON SECTION STYLES */

.section {
    width: min(var(--container), calc(100% - 44px));
    margin: auto;
    padding: 90px 0;
}

.section-heading {
    max-width: 690px;
    margin-bottom: 36px;
}

.section-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.section-heading h2,
.why-content h2,
.about-card h2,
.contact-content h2,
.map-info h2 {
    margin-top: 13px;
    font-size: clamp(33px, 4vw, 47px);
    letter-spacing: -1.5px;
    line-height: 1.2;
    font-weight: 900;
}

.section-heading > p,
.why-content > p,
.about-card > p,
.contact-content > p {
    max-width: 650px;
    margin-top: 15px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.center-heading {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.center-heading > p {
    margin-left: auto;
    margin-right: auto;
}

/* SERVICES */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px;
}

.service-card {
    min-width: 0;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(145deg, var(--surface-hover), var(--surface) 72%);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .08);
    transition: transform .3s, border-color .3s, box-shadow .3s;
    animation: card-appear .6s both;
}

.service-card:nth-child(2) { animation-delay: .07s; }
.service-card:nth-child(3) { animation-delay: .14s; }
.service-card:nth-child(4) { animation-delay: .21s; }

.service-card::before {
    content: "";
    width: 200px;
    height: 200px;
    position: absolute;
    z-index: -1;
    top: -120px;
    right: -100px;
    border-radius: 50%;
    background: var(--accent-soft);
    filter: blur(12px);
    transition: transform .4s;
}

.service-card::after {
    content: "";
    height: 3px;
    width: 0;
    position: absolute;
    top: 0;
    left: 27px;
    border-radius: 0 0 5px 5px;
    background: linear-gradient(90deg, var(--accent), #1682f2);
    transition: width .3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(25, 215, 232, .42);
    box-shadow: var(--shadow);
}

.service-card:hover::before {
    transform: scale(1.3);
}

.service-card:hover::after {
    width: calc(100% - 54px);
}

.service-number {
    display: block;
    color: var(--accent);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.service-icon {
    width: 57px;
    height: 57px;
    margin: 22px 0 18px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(25, 215, 232, .17);
    border-radius: 16px;
    background: var(--accent-soft);
    font-size: 25px;
    transition: transform .3s;
}

.service-card:hover .service-icon {
    transform: translateY(-3px) rotate(-3deg);
}

.service-card h3 {
    font-size: clamp(19px, 2.2vw, 24px);
    line-height: 1.4;
    letter-spacing: -.3px;
}

.service-card > p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.85;
}

.service-card ul {
    margin: 19px 0 21px;
    padding: 0;
    display: grid;
    gap: 10px;
    list-style: none;
}

.service-card li {
    position: relative;
    padding-left: 24px;
    color: var(--text);
    font-size: 12px;
    line-height: 1.65;
}

.service-card li::before {
    content: "✓";
    width: 17px;
    height: 17px;
    position: absolute;
    left: 0;
    top: 1px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
}

.service-card > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 900;
    transition: gap .2s;
}

.service-card > a:hover {
    gap: 11px;
}

/* CCTV ADVISOR */

.advisor-section {
    padding-top: 35px;
}

.advisor-card {
    max-width: 920px;
    margin: auto;
    padding: clamp(24px, 5vw, 52px);
    overflow: hidden;
    border: 1px solid rgba(25, 215, 232, .23);
    border-radius: 26px;
    background:
        radial-gradient(ellipse at top right, rgba(25, 215, 232, .11), transparent 40%),
        var(--surface);
    box-shadow: var(--shadow);
}

/* All advisor screens stay hidden except the active one. */
.advisor-screen {
    display: none;
    animation: rise-in .3s ease both;
}

.advisor-screen.active {
    display: block;
}

/* Show the intro before the user starts the advisor. */
.advisor-card > #advisorIntro:not(.active) {
    display: block;
}

/* Once another screen becomes active, hide the inactive intro. */
.advisor-card:has(.advisor-screen.active) > #advisorIntro:not(.active) {
    display: none;
}

.advisor-screen h2 {
    margin-top: 15px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.25;
    letter-spacing: -1px;
}

.advisor-screen h3 {
    margin: 18px 0 20px;
    font-size: clamp(20px, 3vw, 27px);
    line-height: 1.45;
}

.advisor-lead {
    max-width: 610px;
    margin: 16px 0 24px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.advisor-progress {
    height: 4px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--surface-light);
}

.advisor-progress i {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: var(--accent);
    transition: width .3s;
}

.advisor-step {
    display: block;
    margin-top: 21px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.advisor-big-options, .advisor-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.advisor-big-options button, .advisor-options button {
    min-width: 0;
    min-height: 55px;
    padding: 13px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text);
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .2s;
}

.advisor-big-options button:hover,
.advisor-options button:hover,
.advisor-big-options button.selected,
.advisor-options button.selected {
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-2px);
}

.advisor-big-options button span {
    font-size: 21px;
}

.advisor-hint {
    margin: -9px 0 17px;
    color: var(--muted);
    font-size: 12px;
}

.advisor-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.advisor-checks label {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--bg-secondary);
    cursor: pointer;
}

.advisor-checks input {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    accent-color: var(--accent-strong);
}

.advisor-checks label span {
    font-size: 11px;
}

.advisor-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;
    margin-top: 24px;
}

.advisor-back {
    padding: 11px 13px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.advisor-back:hover {
    color: var(--accent);
}

.advisor-result-number {
    width: fit-content;
    margin-top: 22px;
    padding: 14px 19px;
    border: 1px solid rgba(25, 215, 232, .25);
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: clamp(25px, 4vw, 37px);
    font-weight: 900;
}

.advisor-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 25px;
}

.advisor-summary > div {
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-secondary);
}

.advisor-summary small, .advisor-summary strong {
    display: block;
}

.advisor-summary small {
    color: var(--muted);
    font-size: 10px;
}

.advisor-summary strong {
    margin-top: 5px;
    overflow-wrap: anywhere;
    font-size: 11px;
}

.advisor-note {
    margin-top: 17px;
    color: var(--muted);
    font-size: 11px;
}

/* WHY CHOOSE US */

.why-section {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 55px;
}

.why-visual {
    min-height: 370px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 26px;
    background:
        radial-gradient(circle, rgba(25, 215, 232, .13), transparent 58%),
        var(--surface);
}

.security-ring {
    width: 220px;
    aspect-ratio: 1;
    position: absolute;
    border: 1px solid rgba(25, 215, 232, .22);
    border-radius: 50%;
}

.ring-one { animation: rotate-ring 18s linear infinite; }

.ring-two {
    width: 290px;
    border-style: dashed;
    animation: rotate-ring 28s linear infinite reverse;
}

.shield {
    width: 105px;
    height: 105px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(25, 215, 232, .3);
    border-radius: 30px;
    background: var(--accent-soft);
    font-size: 47px;
    box-shadow: 0 0 55px rgba(25, 215, 232, .13);
}

.security-status {
    position: absolute;
    bottom: 22px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .6px;
    text-align: center;
}

.why-list {
    display: grid;
    gap: 19px;
    margin-top: 27px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.why-item > span {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 14px;
    font-weight: 900;
}

.why-item strong { font-size: 13px; }

.why-item p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

/* PROCESS */

.process-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 25px minmax(0, 1fr) 25px minmax(0, 1fr) 25px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.process-step {
    min-width: 0;
    height: 100%;
    padding: 21px 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    transition: transform .2s, border-color .2s;
}

.process-step:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

.process-step > span {
    color: var(--accent);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}

.process-step h3 {
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.5;
}

.process-step p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.85;
}

.process-line {
    height: 1px;
    background: var(--accent);
    opacity: .5;
}

/* PRODUCTS */

.products-section {
    position: relative;
}

.prod-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 24px;
}

.prod-filter {
    min-height: 39px;
    padding: 9px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: color .2s, background .2s, border-color .2s;
}

.prod-filter:hover, .prod-filter.active {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
}

.prod-grid, .products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.prod-card, .product-card {
    min-width: 0;
    min-height: 220px;
    padding: 21px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--surface);
    transition: transform .25s, border-color .25s, box-shadow .25s;
}

.prod-card:hover, .product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(25, 215, 232, .42);
    box-shadow: var(--shadow);
}

.prod-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--accent-soft);
    font-size: 24px;
}

.prod-card h3, .product-card h3 {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.5;
}

.prod-card > p, .product-card > p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

.prod-actions {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
}

.prod-quote {
    min-height: 37px;
    min-width: 0;
    flex: 1;
    padding: 8px 10px;
    border: 0;
    border-radius: 9px;
    background: var(--accent);
    color: #061018;
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
}

.prod-quote:hover { opacity: .85; }

.prod-mini {
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--bg-secondary);
    font-size: 15px;
}

.prod-mini:hover { border-color: var(--accent); }
.prod-wa { background: var(--accent-soft); }

.product-brands {
    margin-top: 35px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    text-align: center;
}

.product-brands > p {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.brand-list {
    margin-top: 17px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px 35px;
}

.brand-list span {
    color: var(--text);
    font-size: 16px;
    font-weight: 900;
}

.products-bottom-cta {
    margin-top: 25px;
    padding: 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--bg-secondary);
}

.products-bottom-cta p {
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

/* WORK GALLERY */

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.work-card {
    min-width: 0;
    min-height: 270px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 19px;
    background: var(--surface);
}

.work-card img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    transition: transform .5s;
}

.work-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(0deg, rgba(4, 10, 17, .93), rgba(4, 10, 17, .03) 75%);
}

.work-card:hover img { transform: scale(1.05); }

.work-overlay {
    position: absolute;
    z-index: 1;
    right: 21px;
    bottom: 20px;
    left: 21px;
    color: #fff;
}

.work-overlay > span {
    color: #6de9f5;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.3px;
}

.work-overlay h3 {
    margin-top: 6px;
    font-size: 20px;
    line-height: 1.4;
}

.work-overlay p {
    margin-top: 5px;
    color: rgba(255, 255, 255, .78);
    font-size: 11px;
}

/* ABOUT & MANAGEMENT */

.about-section { padding-top: 65px; }

.about-card {
    padding: clamp(25px, 5vw, 52px);
    border: 1px solid var(--border);
    border-radius: 26px;
    background:
        radial-gradient(ellipse at top right, var(--accent-soft), transparent 43%),
        var(--surface);
}

.about-card h2 { margin-top: 22px; }
.about-card > p { max-width: 760px; }

.about-location {
    margin-top: 19px;
    padding: 14px 16px;
    display: inline-block;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

.management-heading {
    margin-top: 40px;
    padding-top: 29px;
    border-top: 1px solid var(--border);
}

.management-heading h3 {
    margin-top: 8px;
    font-size: 22px;
    line-height: 1.5;
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 21px;
}

.management-person {
    min-width: 0;
    padding: 21px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--bg-secondary);
    transition: border-color .2s, transform .2s;
}

.management-person:hover {
    border-color: rgba(25, 215, 232, .4);
    transform: translateY(-3px);
}

.owner-icon {
    width: 49px;
    height: 49px;
    flex: 0 0 49px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(25, 215, 232, .23);
    border-radius: 15px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 15px;
    font-weight: 900;
}

.management-details { min-width: 0; }

.management-details small {
    display: block;
    color: var(--accent);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .8px;
}

.management-details strong {
    display: block;
    margin-top: 5px;
    font-size: 16px;
    overflow-wrap: anywhere;
}

.management-details p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

.management-wa {
    display: inline-block;
    margin-top: 12px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

/* CONTACT FORM */

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 55px;
}

.contact-info {
    display: grid;
    gap: 13px;
    margin-top: 27px;
}

.contact-info > a, .contact-info > div {
    min-width: 0;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface);
}

.contact-info > a {
    transition: border-color .2s, transform .2s;
}

.contact-info > a:hover {
    border-color: var(--accent);
    transform: translateX(3px);
}

.contact-info > a > span,
.contact-info > div > span {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--accent-soft);
    font-size: 19px;
}

.contact-info small, .contact-info strong { display: block; }

.contact-info small {
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .4px;
}

.contact-info strong {
    margin-top: 4px;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.quote-card {
    min-width: 0;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--border);
    border-radius: 23px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.quote-header { margin-bottom: 24px; }

.quote-header > span {
    display: block;
    font-size: 19px;
    font-weight: 900;
}

.quote-header > small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
}

.input-group {
    display: grid;
    gap: 8px;
    margin-top: 17px;
}

.input-group label {
    color: var(--text);
    font-size: 11px;
    font-weight: 800;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    min-width: 0;
    min-height: 47px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 11px;
    outline: none;
    background: var(--bg-secondary);
    color: var(--text);
    font-size: 12px;
    transition: border-color .2s, box-shadow .2s;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: var(--muted);
    opacity: .8;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.input-group select { cursor: pointer; }

.input-group select option {
    background: var(--surface);
    color: var(--text);
}

.input-group textarea {
    min-height: 105px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    min-height: 49px;
    margin-top: 23px;
    padding: 13px 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--accent), #00a7d5);
    color: #061018;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(25, 215, 232, .19);
}

/* MAP */

.map-section {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: 40px;
    padding-top: 40px;
}

.map-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 21px;
}

.map-address > span { font-size: 20px; }

.map-address p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.map-buttons { margin-top: 22px; }

.map-frame {
    min-width: 0;
    min-height: 300px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
}

.map-frame iframe {
    width: 100%;
    height: 340px;
    display: block;
    border: 0;
}

/* FOOTER */

.footer {
    padding: 45px 22px 25px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
    text-align: center;
}

.footer-logo {
    justify-content: center;
    text-align: left;
}

.footer > p {
    max-width: 480px;
    margin: 17px auto;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.9;
}

.footer-links {
    margin: 22px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 23px;
}

.footer-links a {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

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

.footer-owner {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 13px;
    color: var(--muted);
    font-size: 10px;
}

.footer-owner a {
    color: var(--accent);
    font-weight: 800;
}

.footer-bottom {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 10px;
}

/* MOBILE CONTACT BAR */

.mobile-bottom-bar { display: none; }

/* ANIMATIONS */

@keyframes rise-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes card-appear {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(78, 224, 160, .1); }
    50% { box-shadow: 0 0 0 7px rgba(78, 224, 160, .025); }
}

@keyframes scan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

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

/* TABLET */

@media (max-width: 1000px) {
    :root { --header-height: 72px; }

    .nav-container {
        width: calc(100% - 32px);
        gap: 12px;
    }

    .nav-links { gap: 12px; }
    .nav-links a { font-size: 10px; }

    .hero {
        width: calc(100% - 38px);
        min-height: 530px;
        gap: 26px;
    }

    .hero h1 { font-size: clamp(37px, 5vw, 52px); }
    .hero-trust { gap: 16px; }

    .section {
        width: calc(100% - 38px);
        padding: 76px 0;
    }

    .why-section, .contact-section { gap: 30px; }

    .prod-grid, .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }

    .process-line { display: none; }
}

/* MOBILE */

@media (max-width: 760px) {
    :root { --header-height: 68px; }

    html { scroll-padding-top: 80px; }

    body { padding-bottom: 68px; }

    section { scroll-margin-top: 80px; }

    .nav-container { width: calc(100% - 28px); }

    .logo { gap: 8px; }

    .logo-icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 21px;
    }

    .logo strong { font-size: 13px; }

    .logo small {
        font-size: 8px;
        letter-spacing: 1.4px;
    }

    .nav-actions { gap: 6px; }

    .theme-btn, .menu-toggle {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .menu-toggle {
        display: grid;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 10px 18px 16px;
        border-bottom: 1px solid var(--border);
        background: var(--bg);
        box-shadow: 0 20px 30px rgba(0, 0, 0, .15);
    }

    .nav-links.open, .nav-links.active {
        display: flex;
        flex-direction: column;
    }

    .nav-links a {
        padding: 13px 5px;
        border-bottom: 1px solid var(--border);
        font-size: 12px;
    }

    .nav-links a:last-child { border-bottom: 0; }
    .nav-links a::after { display: none; }

    .hero {
        width: calc(100% - 34px);
        min-height: auto;
        padding: 49px 0 42px;
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .hero h1 {
        margin-top: 19px;
        font-size: clamp(37px, 9.5vw, 53px);
        letter-spacing: -1.5px;
    }

    .hero-content > p { font-size: 13px; }

    .hero-trust {
        margin-top: 28px;
        gap: 18px;
    }

    .hero-visual { width: 100%; }
    .camera-card { max-width: 440px; }

    .quick-actions {
        width: calc(100% - 34px);
        gap: 10px;
    }

    .quick-card {
        padding: 12px 10px;
        gap: 9px;
    }

    .quick-icon {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
        font-size: 16px;
    }

    .quick-card strong { font-size: 11px; }
    .quick-card small { font-size: 9px; }

    .section {
        width: calc(100% - 34px);
        padding: 66px 0;
    }

    .section-heading { margin-bottom: 27px; }

    .section-heading h2,
    .why-content h2,
    .about-card h2,
    .contact-content h2,
    .map-info h2 {
        font-size: clamp(31px, 7.8vw, 42px);
        letter-spacing: -1px;
    }

    .services-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .service-card {
        padding: 23px;
        border-radius: 18px;
    }

    .service-card h3 { font-size: 21px; }

    .advisor-section { padding-top: 12px; }

    .advisor-card {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .advisor-checks { grid-template-columns: minmax(0, 1fr); }

    .advisor-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-section, .contact-section, .map-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 29px;
    }

    .why-visual { min-height: 300px; }

    .security-ring { width: 190px; }
    .ring-two { width: 250px; }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .process-step { padding: 18px 14px; }

    .prod-grid, .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .prod-card, .product-card {
        min-height: 205px;
        padding: 14px;
        border-radius: 14px;
    }

    .prod-card h3, .product-card h3 { font-size: 13px; }

    .prod-card > p, .product-card > p { font-size: 10px; }

    .prod-actions {
        flex-wrap: wrap;
        gap: 6px;
    }

    .prod-quote { font-size: 9px; }

    .prod-mini {
        width: 32px;
        height: 34px;
        flex-basis: 32px;
    }

    .products-bottom-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px;
    }

    .brand-list { gap: 12px 20px; }
    .brand-list span { font-size: 14px; }

    .work-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
    }

    .work-card { min-height: 245px; }

    .about-section { padding-top: 25px; }

    .about-card {
        padding: 23px 17px;
        border-radius: 20px;
    }

    .management-heading h3 { font-size: 19px; }

    .management-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .management-person { padding: 16px; }

    .contact-section { padding-top: 54px; }

    .quote-card { padding: 21px 16px; }

    .map-section { padding-top: 15px; }

    .map-frame iframe { height: 290px; }

    .mobile-bottom-bar {
        position: fixed;
        z-index: 999;
        right: 0;
        bottom: 0;
        left: 0;
        min-height: 63px;
        padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        border-top: 1px solid var(--border);
        background: var(--bg);
        background: color-mix(in srgb, var(--bg) 94%, transparent);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .mobile-bottom-bar a {
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: var(--surface);
        color: var(--text);
        font-size: 14px;
    }

    .mobile-bottom-bar a span {
        font-size: 10px;
        font-weight: 800;
    }

    .mobile-bottom-bar a:last-child {
        border-color: transparent;
        background: var(--accent);
        color: #061018;
    }

    .footer { padding-bottom: 25px; }
}

/* SMALL PHONES */

@media (max-width: 390px) {
    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-buttons .btn { width: 100%; }

    .hero-trust { gap: 12px; }
    .hero-trust span { font-size: 9px; }

    .quick-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .advisor-big-options, .advisor-options {
        grid-template-columns: minmax(0, 1fr);
    }

    .prod-grid, .products-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .prod-card, .product-card { padding: 18px; }

    .prod-card h3, .product-card h3 { font-size: 15px; }

    .process-grid { grid-template-columns: minmax(0, 1fr); }

    .footer-owner {
        flex-direction: column;
        gap: 4px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
