:root {
    /* Colors from DESIGN.md */
    --surface: #031522;
    --surface-container: #0f212e;
    --primary: #b0c7f1;
    /* Light blue accent */
    --primary-dark: #1d3557;
    /* Deep Navy */
    --accent: #2bb728;
    /* Green CTA */
    --text: #d2e5f7;
    --text-dim: #97a9ba;
    --white: #ffffff;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 12px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 80px;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--surface);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Header */
header {
    background: rgba(3, 21, 34, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(142, 144, 153, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-weight: 800;
    font-size: 22px;
    color: var(--white);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.logo-subtext {
    font-size: 11px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
    white-space: nowrap;
}

/* Navigation Menu */
.nav-menu {
    display: none;
    gap: 30px;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--white);
}

/* Pulsing Phone Button in Header */
.header-cta {
    position: relative;
    justify-self: end;
}

.header-phone-pill {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--accent) 0%, #1e871b 100%);
    color: var(--white);
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 15px;
    position: relative;
    z-index: 2;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(43, 183, 40, 0.3);
    transform: skew(-12deg);
}

.header-phone-pill:hover {
    transform: scale(1.05) skew(-12deg);
    filter: brightness(1.1);
}

.header-phone-pill:active {
    transform: scale(0.98) skew(-12deg);
}

.header-phone-pill>* {
    transform: skew(12deg);
}

.header-phone-pill::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background: var(--accent);
    z-index: -1;
    animation: headerPulse 2s infinite;
}

@keyframes headerPulse {
    0% {
        transform: scale(1) skew(-12deg);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.15, 1.3) skew(-12deg);
        opacity: 0;
    }

    100% {
        transform: scale(1) skew(-12deg);
        opacity: 0;
    }
}


/* Responsive Header Adjustments */
@media (max-width: 1024px) {
    header {
        display: flex;
        justify-content: space-between;
        padding: 10px 15px;
    }

    .logo-img {
        height: 32px;
    }

    .logo-text {
        font-size: 15px;
        white-space: nowrap;
    }

    .logo-subtext {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .header-phone-pill {
        padding: 8px 15px;
        font-size: 13px;
        white-space: nowrap;
    }

    .header-phone-pill img {
        width: 14px !important;
        height: 14px !important;
        margin-right: 5px !important;
    }
}

@media (max-width: 380px) {
    .logo-text-group {
        display: none;
    }

    .logo-container {
        gap: 0;
    }
}

/* Hero Section with Background Slider */
.hero {
    position: relative;
    padding: 100px 20px 140px;
    text-align: center;
    overflow: hidden;
    background-color: var(--surface-container);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
    transition: opacity 1.5s ease-in-out, transform 10s linear;
}

.hero-img.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--surface) 0%, rgba(3, 21, 34, 0.4) 50%, rgba(3, 21, 34, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 15px;
    line-height: 1;
    color: var(--white);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero p {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 35px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* CTA Box removed in favor of Hero CTA, keeping styles for components */
.cta-section {
    display: none;
}

.main-card {
    background: var(--surface-container);
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    text-align: center;
    border: 1px solid rgba(142, 144, 153, 0.1);
}

.hero .status-badge {
    margin-bottom: 25px;
    background: rgba(43, 183, 40, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(43, 183, 40, 0.3);
}

.phone-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, #1e871b 100%);
    color: var(--white);
    text-decoration: none;
    width: 100%;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 800;
    transition: all 0.2s;
    box-shadow: 0 10px 20px rgba(43, 183, 40, 0.2);
    transform: skew(-12deg);
}

.phone-link:hover {
    transform: scale(1.05) skew(-12deg);
    filter: brightness(1.1);
}

.phone-link:active {
    transform: scale(0.98) skew(-12deg);
}

.phone-link>* {
    transform: skew(12deg);
}


.whatsapp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    text-decoration: none;
    width: 100%;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s;
    backdrop-filter: blur(5px);
    min-height: 56px;
    transform: skew(-12deg);
}

.whatsapp-link>* {
    transform: skew(12deg);
}

.whatsapp-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.05) skew(-12deg);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(43, 183, 40, 0.15);
    color: var(--accent);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(43, 183, 40, 0.3);
    margin-bottom: 20px;
}

/* Reviews Section - Google Style Masonry */
.reviews-summary {
    text-align: center;
    margin-bottom: 40px;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 10px;
}

.rating-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
}

.rating-count {
    color: var(--text-dim);
    font-weight: 400;
}

.masonry-container {
    column-count: 1;
    column-gap: 20px;
    width: 100%;
}

@media (min-width: 768px) {
    .masonry-container {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .masonry-container {
        column-count: 3;
    }
}

.review-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    break-inside: avoid;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.review-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}

.avatar-blue {
    background-color: #4285F4;
}

.avatar-green {
    background-color: #0F9D58;
}

.avatar-red {
    background-color: #DB4437;
}

.avatar-yellow {
    background-color: #F4B400;
}

.avatar-purple {
    background-color: #AB47BC;
}

.reviewer-info {
    flex-grow: 1;
}

.reviewer-name {
    display: block;
    color: #1a0b0b;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 2px;
}

.google-label {
    display: block;
    color: #70757a;
    font-size: 12px;
}

.google-icon-top {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.review-content {
    color: #3c4043;
    font-size: 14px;
    line-height: 1.5;
}

.more-reviews-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-container);
    color: var(--white);
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    transition: all 0.2s;
    transform: skew(-12deg);
}

.more-reviews-btn>* {
    transform: skew(12deg);
}

.more-reviews-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: scale(1.05) skew(-12deg);
}

/* Final CTA Section */
.cta-final {
    background: linear-gradient(135deg, var(--accent) 0%, #1e871b 100%);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255, 255, 255, 0.03) 20px, rgba(255, 255, 255, 0.03) 40px);
    pointer-events: none;
}

.cta-final h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-final p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-final .phone-btn-large {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    color: #1e871b;
    padding: 20px 45px;
    border-radius: 8px;
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: skew(-12deg);
}

.cta-final .phone-btn-large:hover {
    transform: scale(1.05) skew(-12deg);
    filter: brightness(0.95);
}

.cta-final .phone-btn-large>* {
    transform: skew(12deg);
}


.cta-final .benefits-footer {
    margin-top: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-final h2 {
        font-size: 28px;
    }

    .cta-final p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .cta-final .phone-btn-large {
        font-size: 22px;
        padding: 15px 30px;
    }
}

/* Content Sections */
.section {
    padding: var(--spacing-lg) 0;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: var(--spacing-md);
    font-weight: 800;
    color: var(--white);
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.card {
    background: var(--surface-container);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(142, 144, 153, 0.1);
}

.card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: var(--primary);
}

.card p {
    margin: 0;
    font-size: 15px;
    color: var(--text-dim);
}

/* List Items */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
}

.feature-item svg {
    color: var(--accent);
    flex-shrink: 0;
    width: 24px;
    margin-top: 2px;
}

/* Process Steps */
.steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.step-num {
    width: 32px;
    height: 32px;
    background: var(--primary-dark);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
    border: 1px solid var(--primary);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

/* Floating CTA */
.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--accent) 0%, #1e871b 100%);
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    border-radius: 8px;
    font-weight: 800;
    box-shadow: 0 15px 30px rgba(43, 183, 40, 0.3);
    z-index: 999;
    transform: translateY(30px) skew(-12deg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-btn.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) skew(-12deg);
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    transform: scale(1.05) skew(-12deg);
    filter: brightness(1.1);
    animation-play-state: paused;
}

.floating-btn:active {
    transform: scale(0.98) skew(-12deg);
}

.floating-btn>* {
    transform: skew(12deg);
}

@keyframes pulse {
    0% {
        transform: translateY(0) scale(1) skew(-12deg);
    }

    50% {
        transform: translateY(0) scale(1.03) skew(-12deg);
    }

    100% {
        transform: translateY(0) scale(1) skew(-12deg);
    }
}

footer {
    padding: 60px 20px 140px;
    text-align: center;
    background: var(--surface-container);
    border-top: 1px solid rgba(142, 144, 153, 0.1);
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Tablet/Desktop */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 72px;
    }

    .hero-cta-container {
        flex-direction: column;
        max-width: 450px;
    }

    .hero-cta-container .phone-link,
    .hero-cta-container .whatsapp-link {
        width: 100%;
    }

    .hero-img-container {
        height: 400px;
    }

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

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

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid img {
        height: 200px;
    }

    .floating-btn {
        width: auto;
        left: auto;
        right: 30px;
        bottom: 30px;
        padding: 18px 30px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-15 { margin-bottom: 15px; }

.bg-dim { background: rgba(15, 33, 46, 0.4); }
.bg-surface { background: var(--surface-container); }
.bg-card-light { background: rgba(255, 255, 255, 0.03) !important; }

.feature-icon-large { font-size: 32px; margin-bottom: 10px; }
.btn-icon { margin-right: 12px; filter: brightness(0) invert(1); }
.btn-icon-small { margin-right: 10px; }
.btn-icon-large { margin-right: 15px; }

.btn-phone-cta { width: auto !important; padding: 14px 40px !important; font-size: 18px !important; }
.accent-link { color: var(--accent); text-decoration: none; font-weight: 700; }

.footer-seo-text {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.6;
    margin-top: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.footer-secondary-link { color: #64748b; }
.footer-text-link { color: inherit; text-decoration: none; }
