:root {
    --primary-blue: #48d1ff;
    --accent-pink: #ff6fb7;
    --accent-purple: #6d4bff;
    --dark-navy: #0b1020;
    --light-bg: #f7f7fb;
    --text-main: #111827;
    --text-muted: #4b5563;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #f7f7fb;
    color: var(--text-main);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
}

.section {
    padding: 80px 20px;
}

header {
    color: var(--white);
    padding: 0;
    overflow: hidden;
}

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

.hero-flex--center {
    align-items: center;
}

.hero-flex--hero {
    padding-bottom: 0;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 580px;
    padding-bottom: 48px;
}

.hero-content--hero {
    padding-bottom: 120px;
}

.hero-eyebrow {
    color: #a4e7ff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

h1 {
    font-size: 3.6rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

h1 span {
    color: var(--accent-pink);
}

.btn {
    background: #2f8f46;
    color: white;
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    margin-top: 20px;
    box-shadow: 0 14px 26px rgba(47, 143, 70, 0.24);
}

.hero-visual {
    flex: 1;
    min-width: 320px;
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 16px;
    align-items: stretch;
}

.hero-visual--single {
    grid-template-columns: 1fr;
    display: flex;
    align-items: flex-end;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
}

.nav-shell {
    background: #ffffff;
    border-bottom: none;
}

.nav-top {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nav-bottom {
    background: #19468b;
    border-bottom: none;
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 14px 0;
}

.hero {
    background:
        linear-gradient(180deg, rgb(11 16 32 / 88%), rgb(11 11 12)),
        url("images/miamibg.png") center/cover no-repeat;
    padding: 110px 0 0;
}

.logo {
    color: #000000;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1;
    font-family: 'Black Ops One', Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.logo-text span {
    display: block;
}

.logo-miami {
    color: #2f8f46;
    font-size: 0.92rem;
    line-height: 0.95;
}

.logo-weblab {
    color: #000000;
    font-size: 0.64rem;
    line-height: 1;
    letter-spacing: 0.08em;
}

.nav-phone {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.85rem;
}

.nav-links a {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.nav-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-socials a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #e2e8f0;
    background: transparent;
}

.nav-socials a:hover {
    transform: none;
    background: transparent;
}

.nav-socials svg {
    width: 16px;
    height: 16px;
}

.faq-answer {
    padding: 14px 0 16px;
    font-size: 0.95rem;
    color: #76777a;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    width: 34px;
    height: 28px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.nav-toggle-label span {
    height: 3px;
    width: 100%;
    background: var(--text-main);
    border-radius: 999px;
}

.hero-float-image {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

.portfolio-tile {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
    min-height: 180px;
    background: rgba(255, 255, 255, 0.06);
}

.portfolio-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tile-wide {
    transform: translateY(12px);
}

.tile-tall {
    transform: translateY(-12px);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

.service-card {
    padding: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card.review-card {
    padding: 28px;
    text-align: left;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.service-card.review-card .review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 12px;
}

.service-card.review-card .review-person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-card.review-card .review-avatar {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e3a8a;
    font-size: 0.95rem;
    font-weight: 700;
}

.service-card.review-card .review-name {
    font-weight: 700;
    margin: 0;
}

.service-card.review-card .review-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
}

.service-card.review-card .review-brand svg {
    width: 16px;
    height: 16px;
}

.service-card.review-card .review-body {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #64748b;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

.service-card.niche-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: var(--card-bg);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #ffffff;
    aspect-ratio: 1 / 1;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-card.niche-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 17, 33, 0);
    transition: background 0.28s ease;
}

.service-card.niche-card:hover::before {
    background: rgba(8, 17, 33, 0.42);
}

.service-card.niche-card .niche-card-overlay,
.service-card.niche-card .niche-card-copy {
    position: relative;
    z-index: 1;
}

.service-card.niche-card .niche-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.service-card.niche-card:hover .niche-card-overlay {
    opacity: 1;
}

.service-card.niche-card .niche-card-copy {
    margin-top: auto;
    padding: 22px 24px 24px;
    background: rgba(11, 16, 32, 0.9);
}

.service-card.niche-card h3 {
    margin-bottom: 8px;
    color: #ffffff;
}

.service-card.niche-card p {
    color: rgba(226, 232, 240, 0.92);
    margin: 0;
}

.niche-card-cta {
    margin-top: 0;
    background: #ffffff;
    color: #0b1020;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.24);
}

.niche-card-cta:hover {
    color: #0b1020;
}

.icon-box {
    width: 56px;
    height: 56px;
    background: rgba(45, 212, 255, 0.14);
    border-radius: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
}

.icon-box svg {
    width: 28px;
    height: 28px;
}

.feature-item {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

details {
    padding: 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

summary {
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.detail-hero {
    background:
        linear-gradient(180deg, rgb(11 16 32 / 82%), rgb(11 16 32 / 90%)),
        var(--detail-bg, url("images/miamibg.png")) center/cover no-repeat;
    color: #ffffff;
    padding: 92px 20px 80px;
}

.detail-hero h1 {
    max-width: 760px;
    margin-bottom: 18px;
}

.detail-hero p {
    max-width: 700px;
    color: rgba(226, 232, 240, 0.9);
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 32px;
    align-items: start;
}

.detail-copy-card,
.detail-side-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.detail-copy-card {
    padding: 36px;
}

.detail-copy-card p + p {
    margin-top: 18px;
}

.detail-side-card {
    padding: 28px;
}

.detail-side-card h3 {
    margin-bottom: 14px;
}

.detail-side-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.detail-side-card li + li {
    margin-top: 10px;
}

.detail-back-link {
    color: #2f8f46;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.6rem;
    }

    .hero-flex {
        flex-direction: column;
    }

    .hero-visual {
        width: 100%;
    }

    .hero {
        padding: 72px 0 0;
    }

    .hero-content--hero {
        padding-bottom: 72px;
    }

    .site-nav {
        position: relative;
    }

    .nav-toggle-label {
        display: flex;
    }

    .nav-toggle-label span {
        background: #ffffff;
    }

    .nav-links {
        position: absolute;
        top: 58px;
        right: 0;
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.12);
        border-radius: 12px;
        padding: 14px 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        min-width: 180px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-6px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav-toggle:checked + .nav-toggle-label + .nav-links {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .services-grid--two {
        grid-template-columns: 1fr;
    }

    .detail-content {
        grid-template-columns: 1fr;
    }

    .area-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
