:root {
    --ink: #13223a;
    --muted: #65758b;
    --line: #dce9f5;
    --soft: #f7fbff;
    --panel: #ffffff;
    --navy: #0f2c4c;
    --blue: #1377ff;
    --cyan: #23c8ff;
    --green: #21c98a;
    --orange: #ffb547;
    --shadow: 0 18px 48px rgba(19, 119, 255, 0.12);
}

* {
    letter-spacing: 0;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: var(--soft);
}

.navbar {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(19, 119, 255, 0.12);
    box-shadow: 0 8px 28px rgba(19, 34, 58, 0.08);
}

.navbar-brand img {
    height: 58px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}

.nav-link {
    color: #42536a !important;
    font-weight: 700;
    font-size: 0.94rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue) !important;
}

.btn-brand {
    background: linear-gradient(135deg, var(--blue), var(--green));
    border: 0;
    color: #fff;
    box-shadow: 0 12px 28px rgba(15, 107, 255, 0.22);
}

.btn-brand:hover {
    color: #fff;
    transform: translateY(-1px);
}

.btn-soft {
    background: #eef6ff;
    color: var(--blue);
    border: 1px solid #d8eaff;
}

.btn-outline-light {
    color: var(--blue);
    border-color: rgba(19, 119, 255, 0.35);
    background: rgba(255, 255, 255, 0.72);
}

.btn-outline-light:hover {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
}

.section {
    padding: 84px 0;
}

.section-tight {
    padding: 64px 0;
}

.hero {
    position: relative;
    color: var(--ink);
    background: linear-gradient(90deg, rgba(247, 251, 255, 0.98), rgba(233, 247, 255, 0.92), rgba(255, 255, 255, 0.7)), url('smart-home-control.jpg') center/cover no-repeat;
    overflow: hidden;
}

.page-hero {
    color: var(--ink);
    background: linear-gradient(90deg, rgba(247, 251, 255, 0.98), rgba(229, 249, 242, 0.9)), url('smart-home-control.jpg') center/cover no-repeat;
}

.hero .section {
    min-height: 680px;
    display: flex;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(35, 200, 255, 0.16);
    color: #087bd1;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 1.02;
    font-weight: 800;
}

.hero p,
.page-hero p {
    color: #4e6178;
    max-width: 760px;
}

.quick-strip {
    margin-top: -44px;
    position: relative;
    z-index: 2;
}

.quick-card,
.card-clean {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.quick-card {
    padding: 24px;
    height: 100%;
}

.quick-card strong {
    display: block;
    font-size: 1.05rem;
}

.section-title {
    max-width: 760px;
}

.section-title h2 {
    font-weight: 800;
}

.service-card,
.catalog-card,
.blog-card,
.trust-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(16, 32, 55, 0.08);
}

.service-card {
    padding: 28px;
}

.icon-box {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eaf6ff;
    color: var(--blue);
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.catalog-card img,
.blog-card img,
.wide-image {
    width: 100%;
    object-fit: cover;
    display: block;
}

.catalog-card img,
.blog-card img {
    height: 235px;
}

.article-prose {
    font-size: 1.04rem;
    line-height: 1.9;
}

.article-prose h2,
.article-prose h3 {
    font-weight: 800;
    margin-top: 34px;
}

.article-prose p,
.article-prose li {
    color: #44546a;
}

.article-note {
    border-left: 4px solid var(--blue);
    background: #eef6ff;
    border-radius: 8px;
    padding: 20px;
}

.card-body-pad {
    padding: 26px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: #eaf6ff;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 800;
}

.dark-band {
    background: linear-gradient(135deg, #e9f7ff, #ecfff6);
    color: var(--ink);
}

.dark-band p,
.dark-band li {
    color: #52657c;
}

.protocol-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.protocol-item {
    padding: 18px;
    border: 1px solid #cfe7fb;
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 10px 26px rgba(19, 119, 255, 0.08);
}

.contact-card {
    padding: 32px;
}

.form-control,
.form-select {
    border-radius: 8px;
    padding: 14px 15px;
    border-color: #d8e2ee;
}

.footer {
    background: #f4fbff;
    color: #52657c;
    border-top: 1px solid #dce9f5;
}

.footer a {
    color: #52657c;
    text-decoration: none;
}

.footer a:hover {
    color: var(--blue);
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    text-decoration: none;
    box-shadow: 0 16px 30px rgba(37, 211, 102, 0.3);
    z-index: 1000;
}

@media (max-width: 991.98px) {
    .hero .section {
        min-height: auto;
        padding-top: 92px;
        padding-bottom: 120px;
    }

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

@media (max-width: 575.98px) {
    .section {
        padding: 64px 0;
    }

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