/* =========================================================
   VI-VATRA d.o.o. — Stylesheet
   Design: vatrena (fiery) tamna tema sa crvenim akcentom
   ========================================================= */

:root {
    /* Brand colors */
    --bg: #14090a;
    --bg-alt: #1a0d0e;
    --card: #1c0e0f;
    --card-2: #221112;
    --border: rgba(255, 200, 195, 0.08);
    --border-strong: rgba(255, 200, 195, 0.14);
    --text: #f5e9e8;
    --text-soft: #d8c5c3;
    --muted: #9a8482;
    --primary: #e53d1f;
    --primary-hover: #c4321a;
    --primary-glow: rgba(229, 61, 31, 0.35);
    --accent: #ff9d3a;
    --success: #4ade80;

    /* Type */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', system-ui, -apple-system, sans-serif;

    /* Sizing */
    --radius-sm: .5rem;
    --radius: .75rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.5rem;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 8px 32px rgba(229, 61, 31, 0.25);

    --container: 1200px;
    --section-y: 6rem;

    --transition: 200ms cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
svg { width: 1em; height: 1em; flex-shrink: 0; }

a { color: inherit; text-decoration: none; transition: var(--transition); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: var(--section-y) 0;
    position: relative;
}
.section--alt { background: var(--bg-alt); }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}
.section-header p { color: var(--text-soft); font-size: 1.0625rem; margin-top: .75rem; }
.section-header--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    text-align: left;
    max-width: var(--container);
}
.section-header--row p { margin: 0; }

.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: .875rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}

.text-accent {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.muted { color: var(--muted); font-size: .9375rem; }

.card {
    background: linear-gradient(180deg, var(--card-2), var(--card));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

/* ---------- Badge ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    background: rgba(229, 61, 31, 0.15);
    border: 1px solid rgba(229, 61, 31, 0.3);
    border-radius: 999px;
    color: #ffb29c;
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.badge svg { width: 1rem; height: 1rem; color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .875rem 1.5rem;
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: .9375rem;
    letter-spacing: .01em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
}
.btn svg { width: 1.125rem; height: 1.125rem; }
.btn--primary {
    background: linear-gradient(135deg, var(--primary), #c4321a);
    color: #fff;
    box-shadow: 0 6px 24px var(--primary-glow);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px var(--primary-glow);
    background: linear-gradient(135deg, #ff5a3a, var(--primary));
}
.btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border-color: var(--border-strong);
}
.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(229, 61, 31, 0.4);
}
.btn--block { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    color: var(--primary);
    font-weight: 700;
    font-size: .9375rem;
}
.link-arrow svg { width: 1rem; height: 1rem; transition: var(--transition); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(20, 9, 10, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.header.is-scrolled {
    background: rgba(20, 9, 10, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 1.5rem;
}
.header__logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}
.header__logo-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: rgba(229, 61, 31, 0.15);
    border: 1px solid rgba(229, 61, 31, 0.3);
    border-radius: var(--radius);
}
.header__logo-mark svg { width: 24px; height: 24px; }
.header__logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.header__logo-name { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; color: #fff; letter-spacing: -0.01em; }
.header__logo-tagline { font-size: .6875rem; color: var(--muted); letter-spacing: .03em; }

.header__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.header__nav a {
    color: var(--text-soft);
    font-weight: 500;
    font-size: .9375rem;
    position: relative;
    padding: .5rem 0;
}
.header__nav a:hover { color: var(--primary); }
.header__nav a.is-active { color: var(--primary); }
.header__nav a.is-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}
.header__phone {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--text);
    font-weight: 600;
    font-size: .9375rem;
}
.header__phone svg { width: 1rem; height: 1rem; color: var(--primary); }
.header__phone:hover { color: var(--primary); }

.header__cta { padding: .625rem 1.125rem; font-size: .875rem; }

.header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 10px;
    align-items: center;
    justify-content: center;
}
.header__toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}
.header__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__toggle.is-open span:nth-child(2) { opacity: 0; }
.header__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 4rem;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(229, 61, 31, 0.25), transparent 60%),
        linear-gradient(to right, rgba(20, 9, 10, 0.95) 0%, rgba(20, 9, 10, 0.7) 60%, rgba(20, 9, 10, 0.3) 100%);
    z-index: 1;
}
.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 3rem;
    align-items: center;
}
.hero__content { max-width: 640px; }
.hero h1 { margin-bottom: 1.25rem; }
.hero__lead {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    color: var(--text-soft);
    max-width: 560px;
    margin-bottom: 2rem;
}
.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.hero__actions .btn { padding: 1rem 1.75rem; font-size: 1rem; }

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-strong);
}
.stat__value {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.stat__label {
    font-size: .8125rem;
    color: var(--text-soft);
    margin-top: .375rem;
    line-height: 1.3;
}

/* Quick contact */
.quick-contact { padding: 2rem; }
.quick-contact__title {
    display: flex;
    align-items: center;
    gap: .625rem;
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: .5rem;
}
.quick-contact__title svg { width: 1.5rem; height: 1.5rem; color: var(--primary); }
.quick-contact__sub { font-size: .875rem; color: var(--text-soft); margin-bottom: 1.25rem; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form__field { display: flex; flex-direction: column; gap: .375rem; }
.form__field label {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--text-soft);
}
.form__field input,
.form__field textarea,
.form__field select {
    padding: .75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: .9375rem;
    transition: var(--transition);
    width: 100%;
    font-family: inherit;
}
.form__field input::placeholder,
.form__field textarea::placeholder {
    color: var(--muted);
}
.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(229, 61, 31, 0.15);
}
.form__field textarea { resize: vertical; min-height: 90px; }
.form__field select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a8482' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.form__status { font-size: .875rem; min-height: 1.25rem; }
.form__status.is-success { color: var(--success); }
.form__status.is-error { color: #ff7066; }

.form.is-loading button[type=submit] { opacity: 0.6; pointer-events: none; }
.form.is-loading .btn__label::after {
    content: '...';
    animation: dots 1.2s infinite;
}
@keyframes dots { 0%, 20% { content: '.'; } 40% { content: '..'; } 60%, 100% { content: '...'; } }

/* ---------- About ---------- */
.about {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}
.about__media {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.about__media img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
}
.about__badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(20, 9, 10, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
}
.about__badge svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary);
    flex-shrink: 0;
}
.about__badge h4 { margin-bottom: .125rem; }
.about__badge p { font-size: .875rem; color: var(--text-soft); }

.about__content > p { color: var(--text-soft); margin-bottom: 1rem; font-size: 1.0625rem; }
.about__content > h2 { margin-bottom: 1.5rem; }

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}
.feature {
    display: flex;
    gap: .875rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.feature:hover {
    background: rgba(229, 61, 31, 0.05);
    border-color: rgba(229, 61, 31, 0.2);
    transform: translateY(-2px);
}
.feature__icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: rgba(229, 61, 31, 0.12);
    color: var(--primary);
    border-radius: var(--radius-sm);
}
.feature__icon svg { width: 1.25rem; height: 1.25rem; }
.feature h4 { margin-bottom: .125rem; font-size: 1rem; }
.feature p { font-size: .8125rem; color: var(--text-soft); line-height: 1.4; }

/* ---------- Services ---------- */
.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}
.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(229, 61, 31, 0.3);
    box-shadow: var(--shadow-glow);
}
.service-card__media {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(.4, 0, .2, 1);
}
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__icon {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), #c4321a);
    color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-glow);
}
.service-card__icon svg { width: 1.5rem; height: 1.5rem; }
.service-card__body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}
.service-card__body p { color: var(--text-soft); font-size: .9375rem; }
.service-card__body .link-arrow { margin-top: auto; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: .625rem; }
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: .625rem;
    font-size: .9375rem;
    color: var(--text-soft);
}
.check-list li::before {
    content: '';
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: .125rem;
    background-color: rgba(74, 222, 128, 0.15);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='20 6 9 17 4 12'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: .75rem;
    border-radius: 50%;
}

/* ---------- Products / Categories / Brands ---------- */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}
.category {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.category:hover {
    border-color: rgba(229, 61, 31, 0.3);
    background: var(--card-2);
}
.category__icon {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: rgba(229, 61, 31, 0.12);
    color: var(--primary);
    border-radius: var(--radius);
}
.category__icon svg { width: 1.5rem; height: 1.5rem; }
.category h4 { margin-bottom: .5rem; }
.category p { font-size: .875rem; color: var(--text-soft); line-height: 1.5; }

.brands {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}
.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.brand:hover {
    border-color: rgba(229, 61, 31, 0.3);
    transform: translateY(-3px);
}
.brand__mark {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), #c4321a);
    color: #fff;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.125rem;
    margin-bottom: .75rem;
}
.brand__logo {
    height: 2.5rem;
    max-width: 6rem;
    width: auto;
    object-fit: contain;
    margin-bottom: .75rem;
    filter: grayscale(1) brightness(1.6) opacity(.75);
    transition: filter .25s ease;
}
.brand:hover .brand__logo { filter: none; }
.brand__logo--vivatra { filter: none; }
.brand h4 { font-size: .9375rem; margin-bottom: .125rem; }
.brand p { font-size: .75rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.filters {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.filter {
    padding: .5rem 1rem;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}
.filter:hover { color: #fff; border-color: rgba(229, 61, 31, 0.3); }
.filter.is-active {
    background: linear-gradient(135deg, var(--primary), #c4321a);
    color: #fff;
    border-color: transparent;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.gallery__item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.gallery__item.is-hidden { display: none; }
.gallery__item:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 61, 31, 0.3);
}
.gallery__item img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 500ms;
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption { padding: 1.25rem; }
.tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .5rem;
}
.gallery__item h4 { margin-bottom: .375rem; }
.gallery__item p { font-size: .875rem; color: var(--text-soft); line-height: 1.5; }

/* ---------- Calculator ---------- */
.calculator { padding: 2.5rem; }
.calculator__head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.calculator__icon {
    width: 3.5rem;
    height: 3.5rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), #c4321a);
    color: #fff;
    border-radius: var(--radius);
}
.calculator__icon svg { width: 1.75rem; height: 1.75rem; }
.calculator__head p { color: var(--text-soft); font-size: .9375rem; }

.calculator__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
}
.calculator__form { display: flex; flex-direction: column; gap: 1.5rem; }

.calc-field { display: flex; flex-direction: column; gap: .75rem; }
.calc-field > label {
    font-size: .9375rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.calc-field > label strong { color: var(--primary); font-family: var(--font-display); }

.pill-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    grid-auto-flow: column;
    gap: .5rem;
}
.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .375rem;
    padding: .75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: .875rem;
    font-weight: 600;
    color: var(--text-soft);
    transition: var(--transition);
}
.pill svg { width: 1rem; height: 1rem; }
.pill:hover { color: #fff; border-color: rgba(229, 61, 31, 0.4); }
.pill.is-active {
    background: linear-gradient(135deg, rgba(229, 61, 31, 0.2), rgba(229, 61, 31, 0.1));
    border-color: var(--primary);
    color: #fff;
}

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    outline: none;
    cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(229, 61, 31, 0.2), var(--shadow-sm);
    transition: var(--transition);
}
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type=range]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 0 4px rgba(229, 61, 31, 0.2);
}
.slider-range {
    display: flex;
    justify-content: space-between;
    font-size: .75rem;
    color: var(--muted);
    margin-top: .25rem;
}

.calculator__result {
    background: linear-gradient(135deg, rgba(229, 61, 31, 0.08), rgba(229, 61, 31, 0.02));
    border: 1px solid rgba(229, 61, 31, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.result__service { font-size: .9375rem; color: var(--text-soft); }
.result__service strong { color: #fff; }
.result__price { text-align: center; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.result__label { font-size: .8125rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: .05em; }
.result__amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .5rem;
    margin: .5rem 0;
}
.result__amount > span:first-child {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.result__currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-soft);
}
.result__note { font-size: .8125rem; color: var(--success); }

.result__breakdown h4 { font-size: .9375rem; margin-bottom: .75rem; }
.bd-row {
    display: flex;
    justify-content: space-between;
    padding: .5rem 0;
    font-size: .875rem;
    color: var(--text-soft);
    border-bottom: 1px dashed var(--border);
}
.bd-row:last-child { border-bottom: none; }
.bd-row span:last-child { color: #fff; font-weight: 600; }

.calculator__note {
    margin-top: 2rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    gap: .75rem;
    font-size: .875rem;
    color: var(--text-soft);
    line-height: 1.6;
}

/* ---------- Contact ---------- */
.contact {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}
.contact__info { display: flex; flex-direction: column; gap: 1rem; }
.info-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.info-card__icon {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: rgba(229, 61, 31, 0.12);
    color: var(--primary);
    border-radius: var(--radius-sm);
}
.info-card__icon svg { width: 1.25rem; height: 1.25rem; }
.info-card h4 { margin-bottom: .25rem; font-size: 1rem; }
.info-card p { font-size: .9375rem; color: var(--text-soft); }
.info-card a:hover { color: var(--primary); }

.hours {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(229, 61, 31, 0.06);
    border: 1px solid rgba(229, 61, 31, 0.2);
    border-radius: var(--radius);
}
.hours__icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    color: var(--primary);
}
.hours__icon svg { width: 1.5rem; height: 1.5rem; }
.hours p { font-size: .875rem; color: var(--text-soft); line-height: 1.6; }
.hours strong { color: #fff; }

.map {
    margin-top: .5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.map h4 {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}
.map iframe {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
    filter: invert(0.9) hue-rotate(180deg);
}

.contact__form { padding: 2rem; }
.contact__form h3 { margin-bottom: 1.5rem; }

/* ---------- Footer ---------- */
.footer {
    background: #0a0405;
    border-top: 1px solid var(--border);
    padding: 4rem 0 1.5rem;
    margin-top: 0;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer__brand p {
    margin-top: 1rem;
    color: var(--text-soft);
    font-size: .9375rem;
    line-height: 1.6;
}
.footer__col h4 {
    margin-bottom: 1.25rem;
    font-size: 1rem;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: .625rem; }
.footer__col a { color: var(--text-soft); font-size: .9375rem; }
.footer__col a:hover { color: var(--primary); }
.contact-list li {
    display: flex;
    align-items: center;
    gap: .625rem;
    font-size: .9375rem;
    color: var(--text-soft);
}
.contact-list svg { width: 1rem; height: 1rem; color: var(--primary); }

.socials { display: flex; gap: .625rem; margin-top: .75rem; }
.socials a {
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-soft);
    transition: var(--transition);
}
.socials a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}
.socials svg { width: 1.125rem; height: 1.125rem; }

.footer__bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .8125rem;
    color: var(--muted);
}
.footer__legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--primary); }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), #c4321a);
    color: #fff;
    border-radius: 50%;
    z-index: 50;
    box-shadow: var(--shadow-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover { transform: translateY(-3px); }
.back-to-top svg { width: 1.25rem; height: 1.25rem; }

/* ---------- Animations on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms cubic-bezier(.4, 0, .2, 1), transform 700ms cubic-bezier(.4, 0, .2, 1);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    :root { --section-y: 4.5rem; }

    .hero__inner { grid-template-columns: 1fr; }
    .quick-contact { max-width: 480px; }

    .about { grid-template-columns: 1fr; gap: 2.5rem; }
    .about__media img { min-height: 360px; }

    .services { grid-template-columns: 1fr; }
    .calculator__grid { grid-template-columns: 1fr; }
    .contact { grid-template-columns: 1fr; }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root { --section-y: 3.5rem; }

    .header__inner { height: 56px; }
    .header__logo-mark { width: 32px; height: 32px; }
    .header__logo-mark svg { width: 20px; height: 20px; }
    .header__logo-name { font-size: 1rem; }

    .header__nav {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(20, 9, 10, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: stretch;
        padding-left: 1.5rem;
        gap: 0;
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 300ms ease-out;
    }
    .header__nav.is-open { max-height: 400px; }
    .header__nav a {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
        font-size: 1rem;
    }
    .header__nav a:last-child { border-bottom: none; }

    .header__toggle { display: flex; }
    .header__cta { display: none; }
    .header__phone span { display: none; }
    .header__phone svg { width: 1.25rem; height: 1.25rem; }
    .header__logo-tagline { display: none; }

    .hero { padding: 100px 0 3rem; min-height: auto; }
    .hero h1 { font-size: 2rem; }
    .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .stat__value { font-size: 1.75rem; }

    .section-header--row {
        flex-direction: column;
        align-items: flex-start;
    }

    .about__features { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; text-align: center; }

    .form__row { grid-template-columns: 1fr; }
    .pill-group {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, 1fr);
    }

    .calculator { padding: 1.5rem; }
    .contact__form { padding: 1.5rem; }
    .quick-contact { padding: 1.5rem; }

    .about__badge { left: 1rem; right: 1rem; bottom: 1rem; padding: 1rem; }
    .about__badge svg { width: 2rem; height: 2rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    .container { padding: 0 1rem; }
    .hero__stats { grid-template-columns: 1fr; }
    .pill-group { grid-template-columns: 1fr; grid-auto-flow: row; }
    .badge { font-size: .75rem; padding: .375rem .75rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
