:root {
    --primary: #073763;
    --primary-dark: #052744;
    --secondary: #0b5f73;
    --teal: #0f9f8f;
    --teal-soft: #e4fbf7;
    --gold: #f4b942;
    --gold-soft: #fff4d8;
    --blue-soft: #eaf3ff;
    --purple-soft: #f0ebff;
    --green-soft: #e8f8ef;
    --folder-soft: #e9f8f6;
    --dark: #0f172a;
    --muted: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --border: rgba(15, 23, 42, 0.08);
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: var(--dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.topbar-nav {
    padding: 12px 0;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 58px;
    height: auto;
}

.brand-text strong {
    display: block;
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.3px;
    line-height: 1.1;
}

.brand-text span {
    display: block;
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
}

.nav-link {
    color: var(--dark);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 13px !important;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    background: rgba(7, 55, 99, 0.08);
}

.nav-contact {
    color: var(--teal) !important;
}

.hero-ik {
    position: relative;
    min-height: 520px;
    padding: 82px 0 120px;
    color: #ffffff;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(5, 39, 68, 0.96), rgba(7, 55, 99, 0.90), rgba(11, 95, 115, 0.86)),
        url('img/bg-brida.jpg');
    background-size: cover;
    background-position: center;
}

.hero-ik::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(15, 159, 143, 0.18), transparent 28%),
        radial-gradient(circle at 90% 78%, rgba(244, 185, 66, 0.12), transparent 25%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    width: 180px;
    height: 180px;
    opacity: 0.28;
    background-image: radial-gradient(rgba(255, 255, 255, 0.85) 2px, transparent 2px);
    background-size: 22px 22px;
}

.hero-pattern-left {
    left: -10px;
    top: 70px;
}

.hero-pattern-right {
    right: 30px;
    top: 60px;
}

.hero-curve {
    position: absolute;
    right: -180px;
    bottom: -230px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(15, 159, 143, 0.85), rgba(11, 95, 115, 0.55));
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.hero-badge {
    background: linear-gradient(135deg, var(--teal), #25c0b2);
    color: #ffffff;
    box-shadow: 0 12px 25px rgba(15, 159, 143, 0.35);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.06;
    margin-bottom: 20px;
}

.hero-subtitle {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.92);
}

.hero-features {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    justify-content: center;
}

.hero-feature-item i {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: #7ef4e8;
}

.hero-feature-item span {
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.35;
}

.intro-floating {
    position: relative;
    z-index: 5;
    margin-top: -58px;
    padding-bottom: 30px;
}

.intro-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 26px;
    background: #ffffff;
    border-radius: 18px;
    padding: 26px 34px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.intro-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: #eef6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
}

.intro-text p {
    margin: 0;
    color: #243244;
    line-height: 1.75;
    font-weight: 600;
}

.btn-outline-gold,
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 900;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-outline-gold {
    border: 1.5px solid #d6971b;
    color: #a66c05;
    background: #ffffff;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, #ffd76a, var(--gold));
    color: var(--primary-dark);
    box-shadow: 0 14px 28px rgba(244, 185, 66, 0.28);
}

.btn-gold:hover {
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(244, 185, 66, 0.36);
}

.service-section {
    padding: 48px 0 60px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.section-heading span,
.section-heading h2 {
    color: var(--primary);
    font-weight: 900;
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: -0.8px;
}

.section-heading::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    background: var(--teal);
    border-radius: 999px;
    margin-left: 8px;
    transform: translateY(22px);
}

.section-description {
    max-width: 680px;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 28px;
}

.service-card {
    height: 100%;
    min-height: 286px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 18px 18px;
    box-shadow: var(--shadow-soft);
    transition: all 0.25s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
    border-color: rgba(15, 159, 143, 0.25);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 8px;
}

.icon-teal {
    background: var(--teal-soft);
    color: var(--teal);
}

.icon-gold {
    background: var(--gold-soft);
    color: #cc8707;
}

.icon-blue {
    background: var(--blue-soft);
    color: var(--primary);
}

.icon-green {
    background: var(--green-soft);
    color: #149d5a;
}

.icon-purple {
    background: var(--purple-soft);
    color: #673ab7;
}

.icon-folder {
    background: var(--folder-soft);
    color: #168f86;
}

.service-card h3 {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: var(--primary);
    font-size: 0.98rem;
    line-height: 1.35;
    font-weight: 900;
}

.service-card p {
    flex: 1;
    margin: 0;
    color: #334155;
    font-size: 0.83rem;
    line-height: 1.65;
}

.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    min-height: 42px;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    transition: all 0.2s ease;
}

.service-link:hover {
    color: #ffffff;
    background: var(--secondary);
    transform: translateY(-2px);
}

.link-teal {
    background: linear-gradient(135deg, var(--teal), #16b7a8);
}

.link-teal:hover {
    background: linear-gradient(135deg, #0b8f82, var(--teal));
}

.collaboration-section {
    padding: 0 0 56px;
}

.collaboration-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 34px 38px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(7, 55, 99, 0.98), rgba(5, 39, 68, 0.95)),
        url('img/bg-brida.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 22px 45px rgba(7, 55, 99, 0.24);
}

.collaboration-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 84% 10%, rgba(15, 159, 143, 0.35), transparent 25%);
    pointer-events: none;
}

.collab-icon,
.collab-content,
.collab-action {
    position: relative;
    z-index: 2;
}

.collab-icon {
    width: 84px;
    height: 84px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
}

.collab-content h2 {
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 900;
    margin-bottom: 8px;
}

.collab-content p {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.contact-strip {
    padding: 34px 0;
    background: linear-gradient(180deg, #f8fbff, #eef6ff);
    border-top: 1px solid var(--border);
}

.contact-item {
    display: flex;
    gap: 16px;
    min-height: 120px;
    padding: 10px 18px;
    border-right: 1px solid rgba(7, 55, 99, 0.18);
}

.contact-item > i {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal);
    color: #ffffff;
}

.contact-item h4 {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.contact-item p {
    margin: 0;
    color: #0f172a;
    font-size: 0.88rem;
    line-height: 1.65;
    font-weight: 600;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #ffffff;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--teal);
    transform: translateY(-3px);
}

.footer-main {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #ffffff;
    padding: 22px 0;
}

.footer-main-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.footer-brand-bottom {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-brand-bottom img {
    width: 56px;
    height: auto;
}

.footer-brand-bottom h5 {
    margin: 0;
    font-weight: 900;
    letter-spacing: 0.2px;
}

.footer-brand-bottom p,
.footer-copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.86rem;
}

.visitor-counter {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.86rem;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--teal);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(15, 159, 143, 0.35);
    z-index: 50;
    transition: all 0.2s ease;
}

.back-to-top:hover {
    color: #ffffff;
    background: var(--primary);
    transform: translateY(-4px);
}

@media (max-width: 1199px) {
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        min-height: 268px;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 14px;
        padding-top: 12px;
        border-top: 1px solid var(--border);
    }

    .intro-card,
    .collaboration-card,
    .footer-main-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .intro-icon,
    .collab-icon {
        margin: 0 auto;
    }

    .contact-item {
        border-right: 0;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.07);
    }

    .footer-brand-bottom {
        justify-content: center;
    }

    .visitor-counter {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .brand-logo {
        width: 48px;
    }

    .brand-text strong {
        font-size: 1.05rem;
    }

    .brand-text span {
        font-size: 0.67rem;
    }

    .hero-ik {
        min-height: auto;
        padding: 62px 0 94px;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-feature-item {
        justify-content: flex-start;
        background: rgba(255, 255, 255, 0.08);
        padding: 12px 14px;
        border-radius: 16px;
    }

    .intro-card {
        padding: 24px 20px;
        gap: 18px;
    }

    .service-section {
        padding: 38px 0 48px;
    }

    .service-card {
        min-height: auto;
    }

    .collaboration-card {
        padding: 28px 22px;
    }

    .footer-brand-bottom {
        flex-direction: column;
    }

    .footer-copy {
        text-align: center;
    }
}
