/* CSS Variables: Concrete Grey & Beige Wood Palette */
:root {
    /* Colors */
    --clr-bg: #F4F3F0; /* Light concrete/plaster */
    --clr-bg-alt: #EBEAE6; /* Slightly darker concrete */
    --clr-bg-dark: #2C2B2A; /* Charcoal/Dark concrete for footer */
    
    --clr-primary: #C69F7A; /* Warm Beige / Wood */
    --clr-primary-dark: #A8815E;
    --clr-primary-light: #DFBB9A;
    
    --clr-text: #373533;
    --clr-text-light: #7E7A75;
    --clr-white: #FFFFFF;
    
    --clr-border: #D1CEC6;

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Spacing & Sizes */
    --nav-height: 80px;
    --section-padding: 100px 0;
    --container-width: 1200px;
    
    /* Effects */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(198, 159, 122, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--clr-text);
    background-color: var(--clr-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: var(--section-padding);
}

.text-center { text-align: center; }
.bg-light { background-color: var(--clr-bg-alt); }
.bg-dark { background-color: var(--clr-bg-dark); color: var(--clr-white); }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--clr-white); }
.bg-dark p { color: #AFAAA3; }

.section-tag {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--clr-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--clr-text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hl {
    color: var(--clr-primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
    background-color: var(--clr-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-text);
    border-color: var(--clr-text);
}
.btn-secondary:hover {
    background-color: var(--clr-text);
    color: var(--clr-white);
}

.btn-nav {
    padding: 0.5rem 1.2rem;
    background-color: var(--clr-primary);
    color: var(--clr-white);
    font-size: 0.95rem;
}
.btn-nav:hover { background-color: var(--clr-primary-dark); }

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(244, 243, 240, 0.85); /* Frost effect on bg */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(209, 206, 198, 0.3);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(244, 243, 240, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-text);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-primary);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after { width: 100%; }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--clr-text);
    transition: var(--transition);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background-color: var(--clr-bg);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: var(--transition);
}

.mobile-nav.active { left: 0; }
.mobile-nav a { font-size: 1.5rem; font-weight: 500; }

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(244, 243, 240, 0.95) 0%, rgba(244, 243, 240, 0.6) 50%, rgba(244, 243, 240, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding-top: var(--nav-height);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--clr-text);
}

.hero-text {
    font-size: 1.05rem;
    color: var(--clr-text-light);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius);
}

.about-image {
    width: 100%;
    border-radius: var(--radius);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-soft);
}

.image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--clr-primary);
    border-radius: var(--radius);
    z-index: 1;
}

.about-text p {
    margin-bottom: 1.2rem;
    color: var(--clr-text-light);
}

.about-features {
    list-style: none;
    margin-top: 2rem;
}

.about-features li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--clr-primary);
    font-weight: bold;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    display: block;
    color: inherit;
    text-decoration: none;
    background: var(--clr-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(209, 206, 198, 0.2);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: var(--clr-primary-light);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(198, 159, 122, 0.1);
    border-radius: 50%;
    line-height: 1;
}

.service-card p {
    color: var(--clr-text-light);
    font-size: 0.95rem;
}

/* Pricing */
.pricing-container {
    max-width: 800px;
}

.pricing-info {
    background: var(--clr-white);
    padding: 2rem;
    border-radius: var(--radius);
    margin: 2rem 0;
    box-shadow: var(--shadow-soft);
    text-align: left;
}

.pricing-info p { margin-bottom: 0.5rem; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info { padding-right: 2rem; }

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.c-icon {
    font-size: 1.5rem;
    color: var(--clr-primary);
    background: rgba(198, 159, 122, 0.15);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.c-text h4 { margin-bottom: 0.2rem; }
.c-text a:hover { color: var(--clr-primary); }

.rounded-image {
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    height: 100%;
    object-fit: cover;
}

/* Legal Pages Styling */
.legal-page {
    min-height: calc(100vh - var(--nav-height));
    background-color: var(--clr-bg);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.legal-updated {
    font-size: 0.95rem;
    color: var(--clr-text-light);
    margin-top: -0.5rem;
}

.legal-content {
    background: var(--clr-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--clr-border);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.35rem;
    color: var(--clr-text);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--clr-bg-alt);
}

.legal-section p {
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 0.9rem;
    color: var(--clr-text);
}

.legal-section ul, .legal-section ol {
    padding-left: 1.5rem;
    margin: 0.8rem 0 1.2rem;
}

.legal-section li {
    font-size: 0.96rem;
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.legal-box {
    background: var(--clr-bg);
    padding: 1.2rem 1.4rem;
    border-radius: 10px;
    border-left: 4px solid var(--clr-primary);
    margin: 1.2rem 0;
}

.legal-box p {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.legal-box p:last-child {
    margin-bottom: 0;
}

.legal-footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* Comprehensive Footer */
.footer {
    padding: 4.5rem 0 2rem 0;
    background-color: var(--clr-bg-dark);
    color: #AFAAA3;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 3rem;
}

.footer .logo {
    color: var(--clr-white);
    font-size: 1.45rem;
}

.footer-col h4 {
    color: var(--clr-white);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--clr-primary);
}

.footer-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 1rem 0;
    color: #AFAAA3;
}

.footer-operator {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #9E9A95;
    background: rgba(255,255,255,0.03);
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
}

.footer-contact-list, .footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li, .footer-links-list li {
    margin-bottom: 0.85rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.footer-contact-list a, .footer-links-list a {
    color: #AFAAA3;
    transition: var(--transition);
}

.footer-links-list a:hover, .footer-contact-list a:hover {
    color: var(--clr-primary);
    transform: translateX(3px);
}

.footer-payment-strip {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 1.2rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.payment-intro {
    font-size: 0.92rem;
    color: #D1CEC6;
}

.payment-intro strong {
    color: var(--clr-white);
}

.payment-logos-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.payment-badge {
    background: #FFFFFF;
    border-radius: 6px;
    padding: 5px 9px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.payment-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.payment-badge img {
    height: 18px;
    max-height: 18px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: #7E7A75;
}

/* Input zoom prevention on iOS */
input, select, textarea, button {
    font-family: inherit;
    font-size: 16px; /* Prevents auto-zoom on iOS Safari */
    -webkit-tap-highlight-color: transparent;
}

/* Animations - Reveal on scroll */
.reveal, .reveal-left, .reveal-right, .reveal-up {
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal { transform: scale(0.96); }
.reveal-left { transform: translateX(-35px); }
.reveal-right { transform: translateX(35px); }
.reveal-up { transform: translateY(35px); }

.reveal.active, .reveal-left.active, .reveal-right.active, .reveal-up.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ─────────────────────────────────────────────────────────────
   MOBILE & RESPONSIVE OPTIMIZATION
   ───────────────────────────────────────────────────────────── */
@media (max-width: 992px) {
    :root {
        --nav-height: 70px;
        --section-padding: 70px 0;
    }
    .about-grid, .contact-grid { 
        grid-template-columns: 1fr; 
        gap: 2.5rem; 
    }
    .hero-title { 
        font-size: clamp(2.5rem, 7vw, 3.8rem); 
    }
    .overlay { 
        background: linear-gradient(to right, rgba(244, 243, 240, 0.94) 0%, rgba(244, 243, 240, 0.85) 60%, rgba(244, 243, 240, 0.6) 100%); 
    }
    .about-image-wrapper {
        max-width: 480px;
        margin: 0 auto;
    }
    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
        --section-padding: 55px 0;
    }
    .container {
        padding: 0 1.25rem;
    }
    
    /* Navigation */
    .nav-links { display: none; }
    .mobile-menu-btn { 
        display: flex; 
        padding: 6px;
        margin-right: -6px;
    }
    .mobile-nav {
        position: fixed;
        top: 0;
        left: 100%;
        width: 100%;
        height: 100vh;
        height: 100dvh; /* Mobile dynamic viewport */
        background: rgba(244, 243, 240, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.6rem;
        padding: 2rem 1.5rem;
        transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
        transform: translateX(0);
    }
    .mobile-nav.active { 
        left: 0; 
    }
    .mobile-nav a { 
        font-size: 1.35rem; 
        font-weight: 600;
        color: var(--clr-text);
        padding: 0.4rem 1rem;
        border-radius: 8px;
    }
    .mobile-nav a:active {
        background: rgba(198, 159, 122, 0.15);
        color: var(--clr-primary);
    }
    .btn-mobile {
        margin-top: 1rem;
        width: 100%;
        max-width: 280px;
        padding: 0.9rem 1.5rem;
        font-size: 1.05rem;
        font-weight: 600;
        background-color: var(--clr-primary);
        color: var(--clr-white);
        box-shadow: 0 8px 20px rgba(198, 159, 122, 0.3);
    }

    /* Hero */
    .hero {
        min-height: 560px;
        height: 100svh; /* Small viewport height for mobile browser URL bar */
        padding-top: var(--nav-height);
    }
    .hero-content {
        padding-top: 1rem;
        max-width: 100%;
    }
    .hero-title { 
        font-size: clamp(2.2rem, 8.5vw, 3.2rem); 
        letter-spacing: -0.5px;
        margin-bottom: 0.8rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.45;
        margin-bottom: 0.8rem;
    }
    .hero-text {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }
    .hero-buttons { 
        flex-direction: column; 
        gap: 0.75rem;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
        padding: 0.95rem 1.5rem;
        font-size: 1.05rem;
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.95rem;
        margin-bottom: 1rem;
    }
    .section-subtitle {
        font-size: 0.98rem;
        margin-bottom: 2rem;
    }
    .section-tag {
        font-size: 0.78rem;
        letter-spacing: 1.5px;
    }

    /* About section image accent on mobile */
    .image-accent {
        top: -10px;
        left: -10px;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .service-card {
        padding: 1.8rem 1.4rem;
    }
    .service-icon {
        font-size: 2rem;
        padding: 0.75rem;
        margin-bottom: 1rem;
    }

    /* Pricing */
    .pricing-info {
        padding: 1.4rem;
        margin: 1.5rem 0;
    }

    /* Contact items */
    .contact-item {
        gap: 1rem;
        margin-bottom: 1.4rem;
    }
    .c-icon {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

    /* Footer & Legal Responsive */
    .footer {
        padding: 3.5rem 0 2rem 0;
    }
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 2.2rem; 
        text-align: left; 
    }
    .footer-payment-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.2rem;
    }
    .payment-logos-row {
        justify-content: flex-start;
        width: 100%;
    }
    .legal-content {
        padding: 1.6rem 1.25rem;
        border-radius: 12px;
    }
    .legal-footer-nav {
        flex-direction: column;
        align-items: stretch;
    }
    .legal-footer-nav .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .container {
        padding: 0 1rem;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .service-card {
        padding: 1.5rem 1.2rem;
    }
}

