/* =============================================
   PRIMEVISTA CLEANING — styles.css
   ============================================= */

/* RESET & GLOBAL */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --teal:       #1AA3B0;
    --teal-dark:  #158a96;
    --teal-light: #E6F4F7;
    --navy:       #0B2A3F;
    --navy-80:    rgba(11,42,63,0.80);
    --navy-50:    rgba(11,42,63,0.50);
    --navy-30:    rgba(11,42,63,0.30);
    --white:      #ffffff;
    --off-white:  #F7FAFC;
    --shadow-sm:  0 4px 16px rgba(11,42,63,0.07);
    --shadow-md:  0 8px 32px rgba(11,42,63,0.10);
    --radius:     14px;
    --transition: 0.22s ease;
}

body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--navy);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    margin: 0;
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    letter-spacing: -0.01em;
}

a {
    color: inherit;
}

.center {
    text-align: center;
}

/* =============================================
   NAVBAR
   ============================================= */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(11,42,63,0.07);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 24px rgba(11,42,63,0.08);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    height: 72px;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo {
    height: 72px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--navy-80);
    text-decoration: none;
    letter-spacing: 0.01em;
    position: relative;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--teal);
    transition: width var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    flex-shrink: 0;
    padding: 9px 20px;
    font-size: 0.88rem;
    margin-left: auto;
    border-radius: 10px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 5% 20px;
    border-top: 1px solid rgba(11,42,63,0.07);
    gap: 2px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--navy-80);
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(11,42,63,0.05);
    transition: color var(--transition);
}

.mobile-menu a:hover {
    color: var(--teal);
}

.mobile-menu .mobile-cta {
    margin-top: 10px;
    display: inline-block;
    text-align: center;
    background: var(--teal);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    text-align: center;
    padding: 90px 10% 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26,163,176,0.10) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeUp 0.7s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

.microtag {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 16px;
    font-weight: 600;
    background: rgba(26,163,176,0.08);
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(26,163,176,0.2);
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--navy);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--navy-50);
    margin-bottom: 42px;
    letter-spacing: 0.05em;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.97rem;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    background: var(--teal);
    color: var(--white);
    box-shadow: 0 4px 18px rgba(26,163,176,0.35);
}

.btn.primary:hover {
    background: var(--teal-dark);
    box-shadow: 0 6px 24px rgba(26,163,176,0.45);
}

.btn.secondary {
    border: 1.5px solid var(--teal);
    color: var(--teal);
    background: transparent;
}

.btn.secondary:hover {
    background: rgba(26,163,176,0.06);
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hero-note {
    margin-top: 28px;
    font-size: 0.9rem;
    color: var(--navy-30);
    letter-spacing: 0.02em;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
    padding: 90px 10%;
}

.section.alt {
    background: var(--off-white);
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-tag {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 600;
    margin: 0 0 10px;
}

.section h2 {
    text-align: center;
    margin-bottom: 52px;
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    color: var(--navy);
}

.subtitle-section {
    color: var(--navy-50);
    margin-top: -30px;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

/* =============================================
   SERVICES GRID
   ============================================= */
.services-grid {
    display: grid;
    gap: 28px;
}

@media (min-width: 800px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(11,42,63,0.05);
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-light);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--teal);
    flex-shrink: 0;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--navy);
}

.card p {
    color: var(--navy-80);
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.7;
}

/* =============================================
   AREA LIST
   ============================================= */
.area-list {
    text-align: center;
    margin-top: 10px;
}

.area-list span {
    display: inline-block;
    margin: 7px;
    padding: 10px 22px;
    background: var(--white);
    border: 1.5px solid rgba(26,163,176,0.25);
    border-radius: 24px;
    font-size: 0.95rem;
    color: var(--navy);
    font-weight: 500;
    transition: background var(--transition), border-color var(--transition);
}

.area-list span:hover {
    background: var(--teal-light);
    border-color: var(--teal);
}

/* =============================================
   WHY GRID
   ============================================= */
.why-grid {
    display: grid;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.why-item {
    text-align: center;
    padding: 28px 20px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid rgba(11,42,63,0.06);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
}

.why-item:hover {
    transform: translateY(-3px);
}

.icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-light);
    border-radius: 50%;
    margin: 0 auto 14px;
    color: var(--teal);
}

.why-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--navy-80);
    font-weight: 500;
}

/* =============================================
   CONTACT
   ============================================= */
.contact .cta-group {
    justify-content: center;
    margin-bottom: 0;
}

.contact-info {
    text-align: center;
    margin-top: 22px;
    color: var(--navy-50);
    font-size: 0.92rem;
}

.contact-info a {
    color: var(--teal);
    text-decoration: none;
    transition: opacity var(--transition);
}

.contact-info a:hover {
    opacity: 0.75;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 32px 20px;
    font-size: 0.88rem;
}

.footer p {
    margin: 0;
}

/* =============================================
   SCROLL ANIMATION
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 600px) {
    .hero {
        padding: 60px 6% 70px;
    }

    .section {
        padding: 60px 6%;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.93rem;
    }

    .card {
        padding: 26px;
    }
}
