/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #111111;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --bg-lighter: #252525;
    --gold: #c9a84c;
    --gold-dark: #b08d3e;
    --gold-light: #d4b96a;
    --text: #e8e8e8;
    --text-muted: #999999;
    --text-dim: #666666;
    --white: #ffffff;
    --green-wa: #25D366;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ANIMATIONS ===== */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #111;
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.btn--whatsapp {
    background: var(--green-wa);
    color: #fff;
}

.btn--whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: clamp(28px, 4vw, 42px);
    text-align: center;
    margin-bottom: 12px;
    color: var(--white);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 48px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    transition: all var(--transition);
}

.header--scrolled {
    background: rgba(17, 17, 17, 0.95);
    border-bottom-color: rgba(201, 168, 76, 0.2);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header__logo {
    color: var(--white);
    display: flex;
    align-items: center;
}

.logo-glass {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 16px 5px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    transition: all var(--transition);
}

.logo-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(201, 168, 76, 0.25);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.header__logo-img {
    height: 36px;
    width: auto;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--white);
}

.logo-icon {
    color: var(--gold);
    font-size: 16px;
}

.logo-accent {
    color: var(--gold);
}

.header__nav {
    display: flex;
    gap: 32px;
}

.header__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.header__link:hover {
    color: var(--white);
}

.header__link:hover::after {
    width: 100%;
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    padding: 8px 16px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: var(--radius-sm);
}

.header__phone:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: var(--gold);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
    border-radius: 2px;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-dark) 0%, #0d0d0d 100%);
}

.hero__bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
    animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.hero__inner {
    position: relative;
    z-index: 1;
}

.hero__content {
    max-width: 720px;
}

.hero__title {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--white);
    margin-bottom: 20px;
}

.hero__title br {
    display: block;
}

.hero__subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 700px;
    padding-top: 40px;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.stat__number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    color: var(--gold);
    display: block;
}

.stat__label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

/* ===== PAINS ===== */
.pains {
    padding: 100px 0;
    background: linear-gradient(180deg, #0d0d0d 0%, var(--bg-dark) 100%);
}

.pains__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pain-card {
    background: var(--bg-card);
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all var(--transition);
}

.pain-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pain-card__icon {
    color: var(--gold);
    margin-bottom: 20px;
}

.pain-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.pain-card__text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== SERVICES ===== */
.services {
    padding: 100px 0;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.service-card:nth-child(-n+4) {
    grid-column: span 3;
}

.service-card:nth-child(n+5) {
    grid-column: span 4;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: rgba(201, 168, 76, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.service-card__icon {
    color: var(--gold);
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.service-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.service-card__desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.service-card__price {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold);
}

/* ===== ADVANTAGES ===== */
.advantages {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d0d 100%);
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.adv-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all var(--transition);
}

.adv-card:hover {
    border-color: rgba(201, 168, 76, 0.2);
    background: var(--bg-card-hover);
}

.adv-card__icon {
    color: var(--gold);
    margin-bottom: 20px;
}

.adv-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.adv-card__text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== PROCESS ===== */
.process {
    padding: 100px 0;
}

.process__steps {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.process__steps::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold) 0%, rgba(201, 168, 76, 0.1) 100%);
}

.step {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    margin-bottom: 48px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step__number {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
    position: relative;
    z-index: 1;
}

.step__content {
    padding-top: 12px;
}

.step__title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.step__text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== PORTFOLIO ===== */
.portfolio {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d0d 100%);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    border-color: rgba(201, 168, 76, 0.2);
}

.portfolio-card__img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.portfolio-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.portfolio-card__tag {
    background: rgba(201, 168, 76, 0.9);
    color: #111;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.portfolio-card__info {
    padding: 16px 20px;
}

.portfolio-card__info h4 {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.portfolio-card__info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Portfolio card with real images */
.portfolio-card--gallery {
    cursor: pointer;
}

.portfolio-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: opacity var(--transition);
}

.portfolio-card:hover .portfolio-card__img img {
    opacity: 0.5;
}

.portfolio-card__count {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

/* ===== GALLERY MODAL ===== */
.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
}

.gallery-modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 36px;
    cursor: pointer;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.gallery-modal__close:hover {
    opacity: 1;
}

.gallery-modal__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all var(--transition);
}

.gallery-modal__arrow:hover {
    opacity: 1;
    background: rgba(201, 168, 76, 0.3);
}

.gallery-modal__arrow--prev {
    left: 16px;
}

.gallery-modal__arrow--next {
    right: 16px;
}

.gallery-modal__content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    user-select: none;
    -webkit-user-drag: none;
}

.gallery-modal__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 14px;
    z-index: 10;
}

@media (max-width: 768px) {
    .gallery-modal__arrow {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    .gallery-modal__arrow--prev { left: 8px; }
    .gallery-modal__arrow--next { right: 8px; }
}

/* ===== CALCULATOR ===== */
.calculator {
    padding: 100px 0;
}

/* ===== ROW EDIT MODAL ===== */
.calc-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overflow-y: auto;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calc-modal-overlay.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.calc-modal-overlay.visible {
    opacity: 1;
}

.calc-modal {
    position: relative;
    width: 100%;
    max-width: 640px;
    background: var(--bg-card);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: var(--radius);
    padding: 40px 36px;
    margin: auto;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.3s ease;
}

.calc-modal-overlay.visible .calc-modal {
    transform: translateY(0) scale(1);
}

.calc-modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all var(--transition);
    z-index: 1;
}

.calc-modal__close:hover {
    color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
}

.calc-modal__title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 28px;
}

.row-modal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.row-modal__grid .calc__field input,
.row-modal__grid .calc__field select {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-lighter);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition);
}

.row-modal__grid .calc__field input:focus,
.row-modal__grid .calc__field select:focus {
    border-color: var(--gold);
}

.row-modal__save {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

.calc-table tbody tr {
    cursor: pointer;
    transition: background var(--transition);
}

.calc-table tbody tr:hover {
    background: rgba(201, 168, 76, 0.06);
}

.calc-table-wrap {
    background: var(--bg-card);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius);
    padding: 32px;
}

.calc-table-settings {
    display: flex;
    gap: 32px;
    align-items: flex-end;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.calc-table-settings .calc__field {
    flex: 1;
    min-width: 240px;
}

.calc__field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc__field select,
.calc__field input[type="number"] {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-lighter);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.calc__field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.calc__field select:focus,
.calc__field input:focus {
    border-color: var(--gold);
}

.calc__field--checkbox label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    color: var(--text);
    text-transform: none;
    letter-spacing: 0;
    padding: 14px 0;
}

.calc__field--checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--gold);
    cursor: pointer;
}

.calc-table-scroll {
    overflow-x: auto;
    margin: 0 -8px;
    padding: 0 8px;
}

.calc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 1100px;
}

.calc-table thead th {
    background: rgba(201, 168, 76, 0.1);
    color: var(--gold);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 10px 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    white-space: nowrap;
}

.calc-table tbody td {
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: middle;
}

.calc-table tbody input,
.calc-table tbody select {
    width: 100%;
    padding: 8px 6px;
    background: var(--bg-lighter);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    outline: none;
    transition: border-color var(--transition);
    box-sizing: border-box;
}

.calc-table tbody input:focus,
.calc-table tbody select:focus {
    border-color: var(--gold);
}

.calc-table tbody input[type="number"] {
    text-align: center;
    -moz-appearance: textfield;
}

.calc-table tbody input[type="number"]::-webkit-inner-spin-button,
.calc-table tbody input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.calc-table tbody input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    cursor: pointer;
}

.calc-table tbody .cell-sqm,
.calc-table tbody .cell-cost {
    text-align: center;
    font-weight: 600;
    color: var(--white);
    padding: 8px;
    white-space: nowrap;
}

.calc-table tbody .cell-cost {
    color: var(--gold);
}

.calc-table tbody .cell-checkbox {
    text-align: center;
}

.calc-table tfoot td {
    padding: 12px 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(201, 168, 76, 0.08);
    color: var(--white);
    font-size: 14px;
    text-align: center;
}

.calc-table tfoot td:first-child {
    text-align: left;
}

.calc-table tfoot #total-cost {
    color: var(--gold);
    font-size: 16px;
    font-weight: 700;
}

.calc-table .row-delete-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all var(--transition);
}

.calc-table .row-delete-btn:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.calc-table-actions {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.calc-add-btn,
.calc-upload-btn {
    flex: 0 0 auto;
}

.calc-upload-btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.calc__order-btn {
    flex: 1;
    justify-content: center;
    padding: 14px 24px;
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.btn--outline:hover {
    background: rgba(201, 168, 76, 0.1);
}

/* ===== PROMO ===== */
.promo {
    padding: 80px 0;
}

.promo__inner {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12) 0%, rgba(176, 141, 62, 0.06) 100%);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: var(--radius);
    padding: 56px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo__inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.promo__badge {
    display: inline-block;
    background: var(--gold);
    color: #111;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.promo__title {
    font-size: clamp(26px, 3.5vw, 38px);
    color: var(--white);
    margin-bottom: 12px;
}

.promo__text {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== REVIEWS ===== */
.reviews {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d0d 100%);
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all var(--transition);
}

.review-card:hover {
    border-color: rgba(201, 168, 76, 0.15);
}

.review-card__stars {
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.review-card__text {
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.review-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.review-card__author strong {
    display: block;
    font-size: 15px;
    color: var(--white);
    margin-bottom: 2px;
}

.review-card__author span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
}

.faq__list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: color var(--transition);
}

.faq-item__question:hover {
    color: var(--gold);
}

.faq-item__arrow {
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--text-muted);
}

.faq-item.active .faq-item__arrow {
    transform: rotate(180deg);
    color: var(--gold);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-item__answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-item__answer p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== CONTACTS ===== */
.contacts {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d0d 100%);
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contacts__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contacts__item svg {
    flex-shrink: 0;
    color: var(--gold);
    margin-top: 2px;
}

.contacts__item strong {
    display: block;
    font-size: 14px;
    color: var(--white);
    margin-bottom: 4px;
}

.contacts__item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.contacts__item a {
    color: var(--gold);
}

.contacts__item a:hover {
    text-decoration: underline;
}

.contacts__form {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 36px;
}

.contacts__form h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
}

.form__field {
    margin-bottom: 16px;
}

.form__field input,
.form__field select,
.form__field textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-lighter);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color var(--transition);
    resize: vertical;
}

.form__field select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
    border-color: var(--gold);
}

.form__field input::placeholder,
.form__field textarea::placeholder {
    color: var(--text-dim);
}

.contacts__form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__logo {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white);
}

.footer__copy {
    font-size: 13px;
    color: var(--text-dim);
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__links a {
    font-size: 13px;
    color: var(--text-muted);
}

.footer__links a:hover {
    color: var(--gold);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: var(--green-wa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition);
    animation: wa-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card:nth-child(-n+4),
    .service-card:nth-child(n+5) {
        grid-column: span 1;
    }

    .advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .calc {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(17, 17, 17, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 24px;
        transition: right 0.4s ease;
        z-index: 1000;
    }

    .header__nav.active {
        right: 0;
    }

    .header__link {
        font-size: 18px;
    }

    .header__phone {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__buttons .btn {
        justify-content: center;
    }

    .pains__grid {
        grid-template-columns: 1fr;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .service-card:nth-child(-n+4),
    .service-card:nth-child(n+5) {
        grid-column: span 1;
    }

    .advantages__grid {
        grid-template-columns: 1fr;
    }

    .portfolio__grid {
        grid-template-columns: 1fr;
    }

    .reviews__grid {
        grid-template-columns: 1fr;
    }

    .contacts__inner {
        grid-template-columns: 1fr;
    }

    .calc-modal {
        padding: 24px 16px;
        margin: 8px;
    }

    .calc-modal__title {
        font-size: 20px;
        padding-right: 40px;
    }

    .row-modal__grid {
        grid-template-columns: 1fr;
    }

    .calc-table-wrap {
        padding: 16px;
    }

    .promo__inner {
        padding: 36px 24px;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .process__steps::before {
        left: 27px;
    }

    .step__number {
        width: 56px;
        height: 56px;
        font-size: 18px;
    }

    .step {
        gap: 20px;
    }

    .section-title {
        margin-bottom: 8px;
    }

    .section-subtitle {
        margin-bottom: 32px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero__title {
        font-size: 28px;
    }

    .stat__number {
        font-size: 24px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* Select option styling for dark theme */
select option {
    background: var(--bg-card);
    color: var(--white);
}
