/* Explain: Styles for website components, including header, hero, cards, and floating WhatsApp button. */
.site-header {
    border-bottom: 1px solid var(--nav-dark-border);
    background: var(--nav-dark);
    box-shadow: 0 10px 30px rgba(3, 12, 24, 0.35);
}

.header-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    transition: opacity 300ms ease;
}

.header-brand:hover {
    opacity: 0.85;
}

.brand-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.05;
    text-align: center;
}

.brand-name-main {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.brand-name-accent {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.36em;
    padding-left: 0.36em;
}

.brand-logo {
    display: block;
    height: 3rem;
    width: auto;
    border-radius: 0.7rem;
    background: #ffffff;
    padding: 0.3rem;
    object-fit: contain;
    box-shadow: 0 8px 22px rgba(3, 12, 24, 0.28);
}

.brand-logo-footer {
    height: 3.5rem;
    box-shadow: 0 10px 26px rgba(3, 12, 24, 0.35);
}

.header-link {
    position: relative;
    padding: 0.5rem 1.15rem;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 300ms ease;
}

.header-link + .header-link::before {
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 1.15rem;
    background: rgba(255, 255, 255, 0.28);
    content: "";
    transform: translateY(-50%);
}

.header-link:hover,
.header-link.is-active {
    color: var(--cyan-strong);
}

.header-consult {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    transition: opacity 300ms ease;
}

.header-consult:hover {
    opacity: 0.85;
}

.header-consult-icon {
    display: inline-flex;
    width: 2.4rem;
    height: 2.4rem;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1.5px solid rgba(143, 230, 238, 0.55);
    color: var(--cyan-strong);
    font-size: 1rem;
}

.header-menu-button {
    display: inline-flex;
    width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    transition: background 300ms ease;
}

.header-menu-button:hover {
    background: rgba(255, 255, 255, 0.16);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.2rem;
    height: 2px;
    background: var(--accent-color);
    content: "";
}

.section-kicker-navy {
    color: var(--accent-ink);
}

.section-kicker-navy::before {
    background: var(--accent-ink);
}

.hero-title {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: clamp(2.7rem, 8.8vw, 5.2rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.02;
    text-transform: uppercase;
}

.hero-title-accent {
    color: var(--accent-color);
}

.hero-subtitle {
    max-width: 34rem;
    margin-top: 1.25rem;
    color: var(--hero-text-soft);
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 2.6vw, 1.15rem);
    font-weight: 500;
    line-height: 1.6;
}

.hero-illustration {
    width: 100%;
    max-width: 80rem;
    margin: 1.5rem auto 2rem;
}

.hero-illustration svg {
    display: block;
    width: 100%;
    height: auto;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-align: left;
}

.hero-feature-icon {
    display: inline-flex;
    width: 3.25rem;
    height: 3.25rem;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid rgba(143, 240, 247, 0.6);
    color: #cdf6fa;
    font-size: 1.4rem;
    box-shadow: 0 0 24px rgba(46, 200, 216, 0.5), inset 0 0 14px rgba(46, 200, 216, 0.28);
}

.hero-feature-text {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.15;
    text-transform: uppercase;
}

.hero-cta-primary,
.hero-cta-secondary,
.hero-cta-whatsapp {
    display: flex;
    min-height: 3.9rem;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-radius: 0.9rem;
    padding: 1.05rem 1.7rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 300ms ease, transform 300ms ease, box-shadow 300ms ease;
}

.hero-cta-primary {
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 18px 44px rgba(247, 148, 30, 0.42);
}

.hero-cta-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.hero-cta-secondary {
    border: 2px solid var(--cyan-strong);
    background: rgba(46, 200, 216, 0.05);
    color: #ffffff;
    box-shadow: 0 0 28px rgba(86, 220, 232, 0.55), inset 0 0 22px rgba(46, 200, 216, 0.18);
}

.hero-cta-secondary:hover {
    background: rgba(46, 200, 216, 0.16);
    transform: translateY(-2px);
}

.hero-cta-whatsapp {
    background: var(--whatsapp-color);
    color: #ffffff;
    box-shadow: 0 18px 44px rgba(37, 211, 102, 0.42);
}

.hero-cta-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
}

.service-card {
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    background: var(--background-color);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.service-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 28px 60px rgba(11, 37, 69, 0.14);
    transform: translateY(-6px);
}

.service-icon {
    display: inline-flex;
    width: 3.5rem;
    height: 3.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: var(--sage-soft);
    color: var(--accent-color);
    font-size: 1.5rem;
}

.differential-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 2rem;
    backdrop-filter: blur(8px);
    transition: transform 300ms ease, background 300ms ease;
}

.differential-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-6px);
}

.differential-icon {
    display: inline-flex;
    width: 3.5rem;
    height: 3.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: var(--accent-color);
    color: #ffffff;
    font-size: 1.4rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    background: var(--background-color);
    padding: 1.1rem 1.35rem;
    transition: border-color 300ms ease, transform 300ms ease, box-shadow 300ms ease;
}

.contact-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 16px 40px rgba(11, 37, 69, 0.1);
    transform: translateY(-3px);
}

.contact-card-icon {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    background: var(--surface-color);
    color: var(--accent-color);
    font-size: 1.15rem;
}

.contact-card-icon-wa {
    background: var(--whatsapp-color);
    color: #ffffff;
}

.quote-form {
    border: 1px solid var(--border-color);
    border-radius: 1.75rem;
    background: var(--background-color);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-soft);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-status {
    min-height: 1.25rem;
    font-size: 0.9rem;
}

.form-status.success {
    color: #1B7A3D;
}

.form-status.error {
    color: #C2321B;
}

.wa-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 50;
    display: inline-flex;
    width: 6rem;
    height: 6rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--whatsapp-color);
    color: #ffffff;
    font-size: 3.1rem;
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.45);
    transition: transform 300ms ease, background 300ms ease;
}

.wa-float:hover {
    background: var(--whatsapp-hover);
    transform: scale(1.06);
}

.wa-float::after {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 2px solid var(--whatsapp-color);
    content: "";
    animation: wa-pulse 2.4s ease-out infinite;
}

@keyframes wa-pulse {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.6);
    }
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .service-card,
    .differential-card {
        padding: 1.6rem;
    }

    .hero-feature {
        gap: 0.7rem;
    }

    .hero-feature-icon {
        width: 2.85rem;
        height: 2.85rem;
        font-size: 1.2rem;
    }

    .wa-float {
        right: 1rem;
        bottom: 1rem;
        width: 5rem;
        height: 5rem;
        font-size: 2.6rem;
    }
}