/* ============================================
   A and R Cleaning Specialists — Custom Styles
   ============================================ */

/* --- Base & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 60px;
    }
}

/* --- Section Eyebrow --- */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #F97583;
    margin-bottom: 16px;
}

.section-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: #F97583;
}

.section-eyebrow--light {
    color: rgba(255, 255, 255, 0.7);
}

.section-eyebrow--light::before {
    background: rgba(249, 117, 131, 0.6);
}

/* --- Section Heading --- */
.section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: #2D2D2D;
    margin-bottom: 20px;
}

.section-heading--light {
    color: #ffffff;
}

.section-heading-accent {
    color: #F97583;
    font-style: italic;
}

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666666;
    max-width: 560px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn--primary {
    background: #F97583;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(249, 117, 131, 0.35);
}

.btn--primary:hover {
    background: #e0525c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 117, 131, 0.45);
}

.btn--ghost {
    background: transparent;
    color: #2D2D2D;
    border: 2px solid #2D2D2D;
}

.btn--ghost:hover {
    background: #2D2D2D;
    color: #ffffff;
}

.btn--outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--outline-light:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.btn--large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 45, 45, 0.08);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 32px;
}

@media (min-width: 768px) {
    .nav__inner {
        padding: 0 40px;
    }
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav__logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2D2D2D;
}

.nav__logo-accent {
    color: #F97583;
}

.nav__links {
    display: none;
    align-items: center;
    gap: 32px;
    flex: 1;
}

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

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a4a4a;
    transition: color 0.2s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F97583;
    transition: width 0.25s ease;
}

.nav__link:hover {
    color: #2D2D2D;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #F97583;
    padding: 10px 20px;
    border: 2px solid #F97583;
    border-radius: 8px;
    transition: all 0.25s ease;
}

@media (min-width: 1280px) {
    .nav__cta {
        display: inline-flex;
    }
}

.nav__cta:hover {
    background: #F97583;
    color: #ffffff;
}

.nav__menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
}

@media (min-width: 1024px) {
    .nav__menu-btn {
        display: none;
    }
}

.nav__menu-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #2D2D2D;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav__menu-btn.active .nav__menu-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__menu-btn.active .nav__menu-line:nth-child(2) {
    opacity: 0;
}

.nav__menu-btn.active .nav__menu-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.nav__links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(45, 45, 45, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.nav__links.mobile-open .nav__link {
    font-size: 1.05rem;
}

/* --- Hero --- */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #ffffff;
    overflow: hidden;
}

.hero__grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero__grid {
        padding: 80px 60px;
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #F97583;
    margin-bottom: 24px;
}

.hero__eyebrow-line {
    display: block;
    width: 40px;
    height: 2px;
    background: #F97583;
}

.hero__headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.hero__accent {
    color: #F97583;
    font-style: italic;
}

.hero__subheadline {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #666666;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a4a4a;
}

.hero__image {
    position: relative;
}

.hero__image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.hero__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: #F97583;
    border-radius: 16px;
    z-index: -1;
    opacity: 0.3;
}

@media (min-width: 1024px) {
    .hero__image-accent {
        width: 160px;
        height: 160px;
        bottom: -32px;
        right: -32px;
    }
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: #ffffff;
}

.services__header {
    text-align: center;
    margin-bottom: 64px;
}

.services__header .section-subtitle {
    margin: 0 auto;
}

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

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

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

.service-card {
    background: #ffffff;
    border: 1px solid rgba(45, 45, 45, 0.1);
    border-radius: 16px;
    padding: 36px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #F97583;
    box-shadow: 0 12px 40px rgba(249, 117, 131, 0.12);
    transform: translateY(-4px);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 117, 131, 0.1);
    border-radius: 12px;
    color: #F97583;
    margin-bottom: 20px;
}

.service-card__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2D2D2D;
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666666;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: #f9f9f9;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.about__image-stack {
    position: relative;
}

.about__image-main {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.1);
}

.about__image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about__image-secondary {
    position: absolute;
    bottom: -24px;
    right: -16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border: 4px solid #f9f9f9;
}

.about__image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 16px;
    background: #ffffff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2D2D2D;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.about__badge svg {
    color: #F97583;
}

.about__content .section-heading {
    margin-bottom: 24px;
}

.about__body {
    font-size: 1rem;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 16px;
}

.about__stats {
    display: flex;
    gap: 32px;
    margin: 32px 0;
    flex-wrap: wrap;
}

.about__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about__stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #F97583;
}

.about__stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666666;
}

.about__content .btn {
    margin-top: 8px;
}

/* --- Why Us --- */
.why-us {
    padding: 100px 0;
    background: #2D2D2D;
}

.why-us__header {
    text-align: center;
    margin-bottom: 64px;
}

.why-us__header .section-heading {
    color: #ffffff;
}

.why-us__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

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

.why-card {
    padding: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(249, 117, 131, 0.4);
    transform: translateY(-4px);
}

.why-card__number {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(249, 117, 131, 0.3);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.why-card__desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Testimonials --- */
.testimonials {
    padding: 100px 0;
    background: #ffffff;
}

.testimonials__header {
    text-align: center;
    margin-bottom: 64px;
}

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

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

.testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(45, 45, 45, 0.1);
    border-radius: 16px;
    padding: 36px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.testimonial-card__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-card__text {
    font-size: 1rem;
    line-height: 1.75;
    color: #4a4a4a;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-card__name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #2D2D2D;
}

.testimonial-card__location {
    font-size: 0.85rem;
    color: #999999;
}

/* --- CTA --- */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2D2D2D 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 117, 131, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) {
    .cta__inner {
        grid-template-columns: 1fr auto;
        gap: 64px;
    }
}

.cta__content .section-eyebrow {
    margin-bottom: 16px;
}

.cta__headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta__headline-accent {
    color: #F97583;
    font-style: italic;
}

.cta__body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
    max-width: 480px;
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: #f9f9f9;
}

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

@media (min-width: 1024px) {
    .contact__grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.contact__info .section-heading {
    margin-bottom: 16px;
}

.contact__body {
    font-size: 1rem;
    line-height: 1.75;
    color: #666666;
    margin-bottom: 36px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact__detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contact__detail:hover {
    opacity: 0.7;
}

.contact__detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 117, 131, 0.1);
    border-radius: 12px;
    color: #F97583;
    flex-shrink: 0;
}

.contact__detail-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #999999;
    margin-bottom: 4px;
}

.contact__detail-value {
    font-size: 1rem;
    font-weight: 500;
    color: #2D2D2D;
    line-height: 1.5;
}

/* --- Form --- */
.contact__form {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(45, 45, 45, 0.06);
}

.contact__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 639px) {
    .contact__form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2D2D2D;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(45, 45, 45, 0.15);
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    color: #2D2D2D;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: #F97583;
    box-shadow: 0 0 0 3px rgba(249, 117, 131, 0.15);
}

.form-input::placeholder {
    color: #b3b3b3;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 48px 36px;
}

.form-success__icon {
    margin-bottom: 20px;
}

.form-success__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2D2D2D;
    margin-bottom: 8px;
}

.form-success__text {
    font-size: 0.95rem;
    color: #666666;
    margin-bottom: 24px;
}

.form-success__btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* --- Footer --- */
.footer {
    background: #1a1a1a;
    padding: 64px 0 32px;
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

@media (min-width: 1024px) {
    .footer__top {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.footer__brand {
    max-width: 320px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer__logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.footer__logo-accent {
    color: #F97583;
}

.footer__tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer__link:hover {
    color: #F97583;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #F97583;
    transition: opacity 0.2s ease;
}

.footer__phone:hover {
    opacity: 0.8;
}

.footer__address {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Mobile-specific --- */
@media (max-width: 639px) {
    .hero__grid {
        padding: 40px 24px;
    }
    
    .hero__image-accent {
        width: 80px;
        height: 80px;
        bottom: -12px;
        right: -12px;
    }
    
    .services,
    .about,
    .why-us,
    .testimonials,
    .cta,
    .contact {
        padding: 72px 0;
    }
}
