* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #111;
    background: #f5f2eb;
}

a {
    color: inherit;
}

.container {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    max-width: 850px;
}

.site-header {
    background: #111;
    color: white;
    padding: 20px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.text-logo {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;

    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.logo-image {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    opacity: 0.8;
}

nav a:hover {
    opacity: 1;
}

.hero {
    position: relative;
    color: white;
    padding: 55px 0 90px;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.86) 0%,
            rgba(0, 0, 0, 0.70) 42%,
            rgba(0, 0, 0, 0.20) 100%
        ),
        url("/assets/images/hero-calasound.png");
    background-size: cover;
    background-position: center right;
}


.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    opacity: 0.75;
}

h1 {
    font-size: clamp(2.3rem, 6vw, 4.8rem);
    line-height: 1.05;
    margin: 15px 0;
    max-width: 900px;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-top: 0;
}

h3 {
    margin-top: 0;
}

.intro {
    max-width: 750px;
    font-size: 1.2rem;
    opacity: 0.9;
}

.section {
    padding: 70px 0;
}

.alt {
    background: white;
}

.cards,
.price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.package-grid {
    grid-template-columns: repeat(3, 1fr);
}

.card,
.price-card {
    background: #f5f2eb;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 24px;
}

.price-card {
    background: white;
}

.price {
    font-size: 1.7rem;
    font-weight: bold;
    margin: 10px 0;
}

.note {
    margin-top: 25px;
    opacity: 0.8;
}

/* Equipment */

.equipment-section {
    background: white;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.equipment-item {
    background: #f5f2eb;
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 20px;
}

.equipment-item img {
    width: 100%;
    height: 130px;
    object-fit: contain;
    display: block;
    background: white;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 18px;
}

.equipment-item h3 {
    margin-bottom: 8px;
}

.equipment-item p {
    margin-bottom: 0;
}

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    background: #111;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 600;
    transition: background 0.2s ease;
    min-height: 52px;
}

.button:hover {
    background: #333;
}

.hero .button {
    background: white;
    color: #111;
}

.hero .button:hover {
    background: #eee;
}

.whatsapp {
    background: #25D366;
}

.whatsapp:hover {
    background: #1ea952;
}

.instagram {
    background: #E4405F;
}

.instagram:hover {
    background: #d12f50;
}

.social-icon,
.whatsapp-icon {
    width: 22px;
    height: 22px;
    display: block;
    object-fit: contain;
    flex: 0 0 22px;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.contact-button {
    width: 260px;
    margin-top: 0;
}

/* Legal */

.legal-page h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    margin-bottom: 40px;
}

.legal-block {
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 20px;
}

.legal-block h2 {
    font-size: 1.5rem;
}

/* Footer */

.site-footer {
    background: #111;
    color: white;
    padding: 48px 0;
    font-size: 0.95rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.footer-brand,
.footer-legal {
    max-width: 420px;
}

.footer-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin-bottom: 18px;
}

.site-footer p {
    margin: 8px 0;
}

.site-footer a {
    color: white;
    opacity: 0.8;
}

.site-footer a:hover {
    opacity: 1;
}

.footer-legal {
    text-align: right;
    opacity: 0.9;
}

/* Tablet */

@media (max-width: 1000px) {
    .cards,
    .price-grid,
    .package-grid,
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */

@media (max-width: 650px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    nav a {
        margin: 0 10px;
    }

    .hero {
        padding: 60px 0;
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.88) 0%,
                rgba(0, 0, 0, 0.72) 55%,
                rgba(0, 0, 0, 0.45) 100%
            ),
            url("/assets/images/hero-calasound.png");
        background-size: cover;
        background-position: 100% center;
    }

    .hero-logo {
        top: -58px;
        left: 17%;
        transform: translateX(-50%);
    }

    .hero-logo img {
        width: 116px;
        height: 116px;
    }

    .cards,
    .price-grid,
    .package-grid,
    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 50px 0;
    }

    .equipment-item img {
        height: 120px;
    }

    .button {
        width: 100%;
        text-align: center;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-button {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .footer-legal {
        text-align: left;
    }

    .legal-block {
        padding: 22px;
    }
}
