* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy: #0f1b3d;
    --navy-soft: #1a2a55;
    --blue: #1e56a0;
    --blue-bright: #2e7dd1;
    --ink: #1a1f2e;
    --ink-soft: #4a5165;
    --line: #e6e9f0;
    --bg: #fafbfd;
    --cream: #f5f1ea;
    --accent: #e8a93b;
    --white: #ffffff;
    --wa: #25d366;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* === Topbar === */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
}
.topbar-zone { letter-spacing: 0.3px; }
.topbar-phone {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.topbar-phone:hover { color: var(--accent); }

/* === Header === */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}
.logo img { height: 56px; display: block; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color .2s;
    position: relative;
}
.nav a:not(.nav-cta):hover { color: var(--blue); }
.nav-cta {
    background: var(--navy);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 999px;
    transition: background .2s;
}
.nav-cta:hover { background: var(--blue); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: .3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* === Hero === */
.hero {
    background:
        radial-gradient(ellipse at top right, rgba(46,125,209,0.08), transparent 60%),
        var(--bg);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--line), transparent);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: center;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(30, 86, 160, 0.08);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.05;
    color: var(--navy);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
}
.hero h1 .accent {
    color: var(--blue);
    position: relative;
    display: inline-block;
}
.hero h1 .accent::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--accent);
    opacity: 0.4;
    z-index: -1;
}
.hero-lead {
    font-size: 1.1rem;
    color: var(--ink-soft);
    margin-bottom: 32px;
    max-width: 480px;
}
.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all .25s;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--navy);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15,27,61,0.25);
}
.btn-ghost {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-ghost:hover {
    background: var(--navy);
    color: var(--white);
}
.hero-trust {
    list-style: none;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.hero-trust li {
    font-size: 0.9rem;
    color: var(--ink-soft);
    position: relative;
    padding-left: 22px;
}
.hero-trust li::before {
    content: "";
    position: absolute;
    left: 0; top: 7px;
    width: 14px; height: 14px;
    background: var(--blue);
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 4px var(--blue);
}
.hero-trust strong { color: var(--navy); font-weight: 700; }

.hero-visual {
    position: relative;
}
.hero-card {
    background: var(--navy);
    color: var(--white);
    padding: 36px 32px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
}
.hero-card::before {
    content: "";
    position: absolute;
    top: -40px; right: -40px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(46,125,209,0.4), transparent 70%);
    border-radius: 50%;
}
.hero-card::after {
    content: "";
    position: absolute;
    bottom: -60px; left: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(232,169,59,0.15), transparent 70%);
    border-radius: 50%;
}
.hero-card > * { position: relative; z-index: 1; }
.hero-card-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.hero-card h3 {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 12px;
    font-weight: 700;
}
.hero-card p {
    color: rgba(255,255,255,0.75);
    margin-bottom: 24px;
    font-size: 0.98rem;
}
.hero-card-link {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 4px;
    transition: gap .2s;
}
.hero-card-link:hover { color: var(--accent); }

/* === Section head === */
.section-head { margin-bottom: 56px; max-width: 700px; }
.section-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
}
.section-head h2,
.about h2,
.contact h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    line-height: 1.15;
    color: var(--navy);
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* === Services === */
.services {
    padding: 100px 0;
    background: var(--white);
}
.services-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 60px;
}
.service-feature {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 44px 36px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(15,27,61,0.15);
    border-color: var(--blue);
}
.service-feature-alt {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.service-feature-alt:hover { border-color: var(--blue); }
.service-feature-mark {
    font-family: 'Manrope';
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: 2px;
    margin-bottom: 24px;
}
.service-feature-alt .service-feature-mark { color: var(--accent); }
.service-feature h3 {
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 14px;
    font-weight: 800;
    line-height: 1.2;
}
.service-feature-alt h3 { color: var(--white); }
.service-feature p {
    color: var(--ink-soft);
    margin-bottom: 24px;
    font-size: 1rem;
}
.service-feature-alt p { color: rgba(255,255,255,0.75); }
.service-feature-list {
    list-style: none;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}
.service-feature-alt .service-feature-list { border-top-color: rgba(255,255,255,0.12); }
.service-feature-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--ink);
    position: relative;
    padding-left: 22px;
}
.service-feature-alt .service-feature-list li { color: rgba(255,255,255,0.9); }
.service-feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
}
.service-feature-alt .service-feature-list li::before { color: var(--accent); }

.services-list {
    background: var(--cream);
    border-radius: 18px;
    padding: 44px;
}
.services-list-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 24px;
}
.services-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px 32px;
}
.services-list li {
    padding: 16px 0;
    border-bottom: 1px solid rgba(15,27,61,0.08);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.services-list li strong {
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 700;
}
.services-list li span {
    color: var(--ink-soft);
    font-size: 0.88rem;
}
.services-list li a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(15,27,61,0.25);
    text-underline-offset: 3px;
    transition: text-decoration-color .15s ease, color .15s ease;
}
.services-list li a:hover {
    color: var(--blue);
    text-decoration-color: var(--blue);
}

/* === Galerie === */
.gallery {
    padding: 100px 0;
    background: var(--cream);
}
.section-head-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.media-viewer {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
}
.media-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: var(--navy);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 60px -25px rgba(15,27,61,0.35);
}
.media-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: mediaFade .35s ease;
}
@keyframes mediaFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
.media-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(15,27,61,0.2);
    transition: all .2s;
    z-index: 2;
}
.media-nav:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-50%) scale(1.08);
}
.media-prev { left: -24px; }
.media-next { right: -24px; }
.media-counter {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(15,27,61,0.7);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    z-index: 2;
}

@media (max-width: 768px) {
    .gallery { padding: 60px 0; }
    .media-prev { left: 8px; }
    .media-next { right: 8px; }
    .media-nav {
        width: 44px;
        height: 44px;
        background: rgba(255,255,255,0.92);
    }
}

/* === About === */
.about {
    padding: 100px 0;
    background: var(--navy);
    color: var(--white);
}
.about .section-eyebrow { color: var(--accent); }
.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 70px;
    align-items: center;
}
.about h2 { color: var(--white); margin-bottom: 24px; }

.about-portrait {
    position: relative;
}
.portrait-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    overflow: hidden;
    background: var(--navy-soft);
    box-shadow: 0 30px 60px -25px rgba(0,0,0,0.5);
}
.portrait-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}
.portrait-img.active { opacity: 1; }
.portrait-tag {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--navy);
    padding: 16px 26px;
    border-radius: 12px;
    box-shadow: 0 15px 35px -10px rgba(0,0,0,0.4);
    text-align: center;
    min-width: 80%;
}
.portrait-tag-name {
    display: block;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.3px;
}
.portrait-tag-role {
    display: block;
    font-size: 0.82rem;
    color: var(--ink-soft);
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.about-intro {
    color: rgba(255,255,255,0.92) !important;
    font-size: 1.15rem !important;
    font-weight: 500;
}
.about-text p {
    color: rgba(255,255,255,0.72);
    font-size: 1.02rem;
    margin-bottom: 18px;
    max-width: 560px;
    line-height: 1.65;
}
.about-quote {
    font-style: italic;
    color: var(--accent) !important;
    font-size: 1.1rem !important;
    border-left: 3px solid var(--accent);
    padding-left: 18px;
    margin-top: 24px !important;
    margin-bottom: 32px !important;
}

.qualities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}
.quality {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    transition: all .2s;
}
.quality:hover {
    background: var(--accent);
    color: var(--navy);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* === Contact === */
.contact {
    padding: 100px 0;
    background: var(--bg);
}
.contact-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 56px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    box-shadow: 0 20px 50px -20px rgba(15,27,61,0.12);
}
.contact-card-text p {
    color: var(--ink-soft);
    font-size: 1.05rem;
    margin-top: 16px;
}
.contact-card-actions { display: flex; flex-direction: column; gap: 12px; }
.contact-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 2px solid var(--line);
    border-radius: 12px;
    padding: 18px 24px;
    transition: all .25s;
}
.contact-link:hover {
    border-color: var(--navy);
    background: var(--navy);
}
.contact-link:hover .contact-link-label,
.contact-link:hover .contact-link-value { color: var(--white); }
.contact-link-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ink-soft);
    font-weight: 700;
    margin-bottom: 4px;
}
.contact-link-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}
.contact-link-wa:hover { background: var(--wa); border-color: var(--wa); }
.contact-link-wa:hover .contact-link-label,
.contact-link-wa:hover .contact-link-value { color: var(--white); }

/* === Footer === */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 56px 0 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 24px;
}
.footer-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.footer-owner {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
}
.footer-meta {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 0.95rem;
}
.footer-meta a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}
.footer-meta a:hover { color: var(--accent); }
.footer-meta span { color: rgba(255,255,255,0.3); }
.footer-copy {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
}

/* === WhatsApp float === */
.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 56px;
    height: 56px;
    background: var(--wa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37,211,102,0.45);
    z-index: 99;
    transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* === Mobile === */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .services-layout { grid-template-columns: 1fr; }
    .services-list ul { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-card { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
}

@media (max-width: 768px) {
    .topbar-zone { display: none; }
    .topbar-inner { justify-content: center; }

    .nav-toggle { display: flex; }
    .nav {
        position: absolute;
        top: 78px;
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 6px 20px rgba(0,0,0,0.06);
        display: none;
    }
    .nav.open { display: flex; }
    .nav-cta { width: 100%; text-align: center; }

    .hero { padding: 50px 0 60px; }
    .hero h1 { font-size: 2.1rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { justify-content: center; width: 100%; }
    .hero-trust { flex-direction: column; gap: 12px; }

    .services { padding: 60px 0; }
    .services-list { padding: 28px; }
    .services-list ul { grid-template-columns: 1fr; }
    .service-feature { padding: 32px 24px; }

    .about { padding: 60px 0; }
    .portrait-tag { padding: 12px 20px; }
    .portrait-tag-name { font-size: 1rem; }

    .contact { padding: 60px 0; }
    .contact-card { padding: 28px; }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-meta { justify-content: center; }
}
