:root {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --dark: #1f2937;
    --light: #f3f4f6;
    --white: #ffffff;
    --gray: #4b5563;
    --radius: 12px;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.bg-light { background-color: var(--light); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

.header {
    background: rgba(255, 255, 255, 0.98);
    padding: 16px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; font-size: 24px; color: var(--dark); border-left: 5px solid var(--primary); padding-left: 10px; }
.nav a { text-decoration: none; color: var(--dark); margin: 0 12px; font-weight: 600; transition: var(--transition); }
.nav a:hover { color: var(--primary); }
.phone-link { text-decoration: none; color: var(--dark); font-weight: 800; font-size: 18px; }

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3); }
.btn--whatsapp { background: #25d366; color: var(--white); margin-left: 10px; }
.btn--header { background: var(--dark); color: var(--white); padding: 10px 20px; margin-left: 15px; }

.hero {
    height: 90vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('../bg.jpg') center/cover;
    color: var(--white);
    text-align: center;
}

.hero h1 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 24px; font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.hero p { font-size: 18px; max-width: 800px; margin: 0 auto 40px; opacity: 0.95; }
.hero__phone { margin-top: 32px; font-size: 20px; }
.hero__phone a { color: var(--primary); text-decoration: none; font-weight: 800; }

section { padding: 90px 0; }
.section-title { text-align: center; font-size: 36px; margin-bottom: 60px; font-weight: 800; position: relative; padding-bottom: 15px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: var(--primary); }

.card, .service-item {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover, .service-item:hover { transform: translateY(-10px); box-shadow: 0 20px 30px -10px rgba(0,0,0,0.15); }
.card__icon { font-size: 44px; margin-bottom: 20px; }
.card h3, .service-item h4 { margin-bottom: 15px; font-size: 22px; font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.step { position: relative; text-align: center; background: var(--white); padding: 30px; border-radius: var(--radius); }
.step__num { font-size: 56px; font-weight: 900; color: var(--primary); opacity: 0.15; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); }
.step p { position: relative; z-index: 1; font-weight: 600; margin-top: 20px; }

.portfolio__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 15px; }
.portfolio__item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; cursor: pointer; }
.portfolio__img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.portfolio__hover { position: absolute; inset: 0; background: rgba(245, 158, 11, 0.85); display: flex; align-items: center; justify-content: center; color: white; opacity: 0; transition: var(--transition); font-weight: 700; }
.portfolio__item:hover .portfolio__hover { opacity: 1; }
.portfolio__item:hover .portfolio__img { transform: scale(1.05); }

.faq__item { background: var(--white); margin-bottom: 15px; border-radius: var(--radius); border: 1px solid #e5e7eb; overflow: hidden; }
summary { padding: 20px; font-weight: 700; cursor: pointer; list-style: none; background: #fff; }
summary::-webkit-details-marker { display: none; }
.faq__item p { padding: 0 20px 20px; color: var(--gray); font-size: 15px; }

.cta { background: var(--dark); color: var(--white); text-align: center; }
.btn--large { background: var(--primary); color: var(--white); font-size: 26px; margin-top: 30px; padding: 20px 60px; box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4); }

.footer { padding: 80px 0 120px; background: #111827; color: var(--white); border-top: 5px solid var(--primary); }
.footer__container { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__info { flex: 1; min-width: 300px; }
.footer__info .logo { color: var(--white); margin-bottom: 20px; }
.footer__contacts p { margin-bottom: 10px; font-weight: 600; opacity: 0.8; }
.footer .phone-link { color: var(--primary); font-size: 22px; }

.mobile-actions { display: none; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 2000; height: 65px; box-shadow: 0 -5px 15px rgba(0,0,0,0.2); }
.mobile-btn { flex: 1; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; font-weight: 800; text-transform: uppercase; font-size: 14px; }
.mobile-btn--call { background: var(--primary); }
.mobile-btn--wa { background: #25d366; }

.lightbox { display: none; position: fixed; z-index: 3000; inset: 0; background: rgba(0,0,0,0.9); align-items: center; justify-content: center; padding: 20px; }
.lightbox__content { max-width: 100%; max-height: 85vh; border-radius: 8px; box-shadow: 0 0 50px rgba(0,0,0,0.5); }
.lightbox__close { position: absolute; top: 25px; right: 25px; color: white; font-size: 60px; cursor: pointer; line-height: 0.5; opacity: 0.7; transition: 0.3s; }
.lightbox__close:hover { opacity: 1; }

@media (max-width: 768px) {
    .nav, .header__contacts .btn--header { display: none; }
    .header__container { justify-content: center; flex-direction: column; gap: 10px; }
    .mobile-actions { display: flex; }
    .hero { min-height: auto; padding: 120px 0 80px; }
    .hero__actions { display: flex; flex-direction: column; gap: 12px; }
    .btn--whatsapp { margin-left: 0; }
    .footer__container { flex-direction: column; text-align: center; }
    .section-title { font-size: 28px; }
}