/* Premium Redesign - Dark Slate/Golden Yellow/Emerald Green Layout */

:root {
    --bg-main: #141414;
    /* Deep dark slate/charcoal */
    --bg-secondary: #1a1a1a;
    --bg-card: #222222;
    --bg-darker: #0d0d0d;

    --primary: #ffc629;
    /* Golden Yellow */
    --primary-hover: #e0ac1e;

    --accent: #00b85c;
    /* Emerald Green */

    --text-white: #ffffff;
    --text-muted: #888888;
    --text-dark: #111111;

    --badge-bg: #2a1111;
    --badge-text: #ff6b6b;

    --border-color: #333333;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Typography Utilities */
.text-white {
    color: var(--text-white) !important;
}

.text-yellow {
    color: var(--primary) !important;
}

.text-green {
    color: var(--accent) !important;
}

.text-black {
    color: var(--text-dark) !important;
}

.text-black-muted {
    color: #333333 !important;
}

/* Structural Utils */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-flush {
    padding: 0 1rem;
}

.section {
    padding: 6rem 0;
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-nav {
    background: var(--primary);
    color: var(--text-dark);
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.btn-primary-large {
    background: var(--primary);
    color: var(--text-dark);
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 4px;
}

.btn-primary-large:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-primary-massive {
    background: var(--primary);
    color: var(--text-dark);
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 800;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1rem;
}

.btn-primary-massive:hover {
    background: var(--primary-hover);
}

.btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
    border-radius: 4px;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-style: italic;
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-block;
    margin-top: 1rem;
    border-bottom: 2px solid var(--text-dark);
    line-height: 1;
    padding-bottom: 0.2rem;
    transition: all 0.2s;
}

.btn-text:hover {
    opacity: 0.7;
}

/* Navbar */
.navbar {
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 900;
    color: var(--primary);
    font-size: 1.5rem;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--text-white);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    margin-bottom: 5px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 0;
    background-color: var(--bg-main);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('ricky-logo.png') no-repeat center right;
    /* Subtle mechanic outline */
    background-size: 50%;
    opacity: 0.05;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge-red {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--badge-bg);
    color: var(--badge-text);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.dot-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--badge-text);
    box-shadow: 0 0 10px var(--badge-text);
    animation: flash 1s infinite alternate;
}

@keyframes flash {
    from {
        opacity: 0.2;
    }

    to {
        opacity: 1;
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8vw, 7.5rem);
    font-style: italic;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stats-box {
    background: var(--text-dark);
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.stats-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.2rem;
}

.stats-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
}

/* Floating Card */
.hero-floating-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem 2.5rem;
    border-radius: 6px;
    border-top: 4px solid var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card-icons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.logo-container-clear {
    display: flex;
    align-items: flex-start;
}

.large-badge-logo {
    width: 110px;
    height: auto;
    object-fit: contain;
}

.icon-shape-bg {
    opacity: 0.1;
}

.hero-floating-card .card-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-style: italic;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.hero-floating-card .card-p {
    font-size: 0.9rem;
    color: #aaaaaa;
    margin-bottom: 1.5rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

/* Features Bar */
.services-bar {
    padding: 0 0 6rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-box {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.feature-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0.02em;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Section Headers */
.section-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-style: italic;
    font-size: 3rem;
    line-height: 1;
}

.section-desc-right {
    max-width: 400px;
    text-align: right;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
        "large large large yellow"
        "std1 std2 std3 std3";
    gap: 1.5rem;
}

.bento-card {
    background: var(--bg-card);
    border-radius: 4px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.bento-large {
    grid-area: large;
    background: #111 url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Ccircle cx="50" cy="50" r="40" fill="none" stroke="%23333" stroke-width="20" opacity="0.3" /%3E%3C/svg%3E') no-repeat center right;
    background-size: cover;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
}

.card-content-overlay {
    max-width: 60%;
    position: relative;
    z-index: 2;
}

.bento-yellow {
    grid-area: yellow;
    background: var(--primary);
    color: var(--text-dark);
}

.bento-yellow .bento-desc {
    color: rgba(0, 0, 0, 0.6) !important;
}

.bento-icon-dark {
    width: 40px;
    height: 40px;
    background: var(--text-dark);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.bento-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 900;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.bento-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.bento-tags span {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.bento-standard {
    border: 1px solid var(--border-color);
}

.bento-standard:nth-child(3) {
    grid-area: std1;
}

.bento-standard:nth-child(4) {
    grid-area: std2;
}

.bento-standard:nth-child(5) {
    grid-area: std3;
}

/* Expands slightly larger in the ref */

.card-icon-bottom {
    position: absolute;
    bottom: 2rem;
    left: 2.5rem;
}

/* Coverage Grid */
.coverage {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
}

.coverage-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.coverage-map {
    background: #1e1e1e;
    height: 450px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.real-map-iframe {
    position: absolute;
    top: -160px;
    left: -160px;
    width: calc(100% + 320px);
    height: calc(100% + 320px);
    border: none;
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(85%) grayscale(80%);
    z-index: 0;
}

.map-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    z-index: 2;
}

.pin-icon {
    width: 48px;
    height: 48px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.2rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

.pin-text {
    display: none;
}

.map-float-box {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(20, 20, 20, 0.65);
    padding: 1.25rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    z-index: 2;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.map-float-title {
    font-size: 0.7rem;
    color: var(--text-white);
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-bottom: 0.4rem;
}

.map-float-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.coverage-content {
    padding: 2rem 0;
}

.coverage-text {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.cities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.city-box {
    border-left: 2px solid var(--border-color);
    padding-left: 1.5rem;
}

.city-box h4 {
    font-size: 0.9rem;
    color: var(--text-white);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.city-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Massive CTA */
.cta-massive {
    text-align: center;
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cta-icon-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    margin-bottom: 2rem;
}

.cta-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-style: italic;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.cta-desc {
    color: var(--text-white);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.cta-bullets {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: var(--bg-main);
}

.footer-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-p {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    max-width: 300px;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-white);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
}

.footer-navs {
    display: contents;
    /* Push columns to the main grid */
}

.footer-heading {
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a:hover {
    color: var(--text-white);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

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

    .bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "large large"
            "yellow std1"
            "std2 std3";
    }

    .coverage-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cta-actions {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .cta-bullets {
        text-align: center;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .btn-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .section-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .section-desc-right {
        text-align: left;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "large" "yellow" "std1" "std2" "std3";
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .card-content-overlay {
        max-width: 100%;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}