/* =============================================
   Fernando's Inspections — Custom Styles
   Color Palette: Burgundy (#7B2D3B) + Blush (#F5C6D0)
   ============================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #3D2B2B;
    background: #FDF6F6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: #7B2D3B;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #5A1F2A;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #7B2D3B;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    z-index: 200;
    font-weight: 700;
}

.skip-link:focus {
    top: 16px;
}

/* ── Typography ───────────────────────────── */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.25;
    color: #2A1A1A;
}

/* ── Buttons ──────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: #7B2D3B;
    color: #fff;
    border-color: #7B2D3B;
}

.btn-primary:hover {
    background: #5A1F2A;
    border-color: #5A1F2A;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 45, 59, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

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

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.9rem;
}

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

/* ── Section Shared ───────────────────────── */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7B2D3B;
    background: rgba(123, 45, 59, 0.08);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 16px;
    color: #2A1A1A;
}

.section-desc {
    font-size: 1.1rem;
    color: #6B5050;
    line-height: 1.7;
}

/* ── Header ───────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 246, 246, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: box-shadow 0.3s;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(123, 45, 59, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2A1A1A;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-text span {
    color: #7B2D3B;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: #3D2B2B;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.2s;
}

.main-nav a:hover {
    color: #7B2D3B;
    background: rgba(123, 45, 59, 0.06);
}

/* Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #3D2B2B;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero ─────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(42, 26, 26, 0.82) 0%,
        rgba(123, 45, 59, 0.72) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 198, 208, 0.2);
    border: 1px solid rgba(245, 198, 208, 0.4);
    color: #F5C6D0;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
    letter-spacing: 0.04em;
}

.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.15;
}

.accent-text {
    color: #F5C6D0;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-item svg {
    color: #F5C6D0;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ── Services ─────────────────────────────── */
.services {
    background: #FDF6F6;
}

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

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.3s ease;
    border: 1px solid rgba(123, 45, 59, 0.06);
    box-shadow: 0 4px 16px rgba(123, 45, 59, 0.04);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(123, 45, 59, 0.12);
    border-color: rgba(123, 45, 59, 0.12);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(123, 45, 59, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background 0.3s;
}

.service-card:hover .service-icon {
    background: rgba(123, 45, 59, 0.14);
}

.service-card h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #2A1A1A;
}

.service-card p {
    font-size: 0.95rem;
    color: #6B5050;
    margin-bottom: 20px;
    line-height: 1.7;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #7B2D3B;
    transition: gap 0.2s;
}

.link-arrow:hover {
    gap: 10px;
}

/* ── Why Choose ───────────────────────────── */
.why-section {
    background: #fff;
}

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

.why-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(123, 45, 59, 0.15);
}

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

.why-stat-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: #7B2D3B;
    color: #fff;
    padding: 20px 28px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(123, 45, 59, 0.4);
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.9;
}

.why-content .section-tag {
    margin-bottom: 12px;
}

.why-content .section-title {
    margin-bottom: 16px;
}

.why-intro {
    font-size: 1.05rem;
    color: #6B5050;
    margin-bottom: 32px;
    line-height: 1.7;
}

.why-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(123, 45, 59, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.why-feature strong {
    display: block;
    font-size: 1rem;
    color: #2A1A1A;
    margin-bottom: 4px;
}

.why-feature p {
    font-size: 0.9rem;
    color: #6B5050;
    line-height: 1.6;
}

/* ── Process ──────────────────────────────── */
.process-section {
    background: linear-gradient(135deg, #7B2D3B 0%, #5A1F2A 100%);
    color: #fff;
}

.process-section .section-tag {
    background: rgba(245, 198, 208, 0.2);
    color: #F5C6D0;
}

.process-section .section-title {
    color: #fff;
}

.process-section .section-desc {
    color: rgba(255, 255, 255, 0.75);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    background: rgba(245, 198, 208, 0.15);
    border: 2px solid rgba(245, 198, 208, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #F5C6D0;
}

.step-content h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.step-content a {
    color: #F5C6D0;
    text-decoration: underline;
    text-decoration-color: rgba(245, 198, 208, 0.4);
    text-underline-offset: 3px;
}

.step-content a:hover {
    color: #fff;
    text-decoration-color: #fff;
}

/* ── Areas ────────────────────────────────── */
.areas-section {
    background: #FDF6F6;
}

.areas-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.areas-text .section-tag {
    margin-bottom: 12px;
}

.areas-text .section-title {
    margin-bottom: 16px;
}

.areas-desc {
    font-size: 1.05rem;
    color: #6B5050;
    margin-bottom: 28px;
    line-height: 1.7;
}

.areas-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.areas-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #3D2B2B;
}

.areas-note {
    font-size: 0.95rem;
    color: #6B5050;
}

.areas-note a {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(123, 45, 59, 0.3);
    text-underline-offset: 3px;
}

.areas-note a:hover {
    text-decoration-color: #7B2D3B;
}

.areas-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(123, 45, 59, 0.1);
}

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

/* ── CTA ──────────────────────────────────── */
.cta-section {
    background: #FDF6F6;
    padding: 80px 0;
}

.cta-card {
    background: linear-gradient(135deg, #7B2D3B 0%, #913646 100%);
    border-radius: 28px;
    padding: 64px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 20px 60px rgba(123, 45, 59, 0.25);
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #fff;
    margin-bottom: 12px;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    flex-shrink: 0;
}

.cta-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.6);
}

.cta-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

/* ── Contact ──────────────────────────────── */
.contact-section {
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-tag {
    margin-bottom: 12px;
}

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1.05rem;
    color: #6B5050;
    margin-bottom: 32px;
    line-height: 1.7;
}

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

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(123, 45, 59, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #7B2D3B;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.95rem;
    color: #3D2B2B;
    line-height: 1.6;
}

.contact-item a {
    color: #3D2B2B;
}

.contact-item a:hover {
    color: #7B2D3B;
}

.contact-form-wrapper {
    background: #FDF6F6;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(123, 45, 59, 0.06);
    box-shadow: 0 8px 32px rgba(123, 45, 59, 0.06);
}

.contact-form h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    color: #2A1A1A;
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #3D2B2B;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(123, 45, 59, 0.12);
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: #3D2B2B;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #7B2D3B;
    box-shadow: 0 0 0 4px rgba(123, 45, 59, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #B09090;
}

.form-note {
    font-size: 0.8rem;
    color: #9A7070;
    margin-top: 12px;
    text-align: center;
}

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

.form-success .success-icon {
    width: 72px;
    height: 72px;
    background: rgba(123, 45, 59, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #2A1A1A;
}

.form-success p {
    color: #6B5050;
    margin-bottom: 24px;
    line-height: 1.6;
}

.form-success .btn {
    margin: 0 auto;
}

/* ── Footer ───────────────────────────────── */
.site-footer {
    background: #2A1A1A;
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #F5C6D0;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.footer-links a:hover {
    color: #F5C6D0;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-list a:hover {
    color: #F5C6D0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: #F5C6D0;
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
    .why-grid,
    .areas-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-image {
        max-width: 500px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #FDF6F6;
        padding: 100px 32px 40px;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 100;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .main-nav a {
        display: block;
        padding: 12px 0;
        font-size: 1.05rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(123, 45, 59, 0.06);
        width: 100%;
    }

    .main-nav .btn {
        margin-top: 16px;
        text-align: center;
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

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

    .hero-trust {
        gap: 16px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .areas-list {
        grid-template-columns: 1fr;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 28px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 72px 0;
    }

    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .service-card {
        padding: 28px 22px;
    }
}

/* ── Reduced Motion ───────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .process-step,
    .why-feature {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .service-card.reveal,
    .process-step.reveal,
    .why-feature.reveal {
        opacity: 0;
        transform: translateY(24px);
    }
}
