/* ==============================================================================
   ARRIAGA MERA SERVICE - MAIN STYLESHEET
   Design System & Components
   ============================================================================== */

:root {
    --primary-navy: #064A8E;
    --secondary-blue: #1479C9;
    --light-blue: #43B5E8;
    --very-light-blue: #EAF6FC;
    --dark-text: #142B45;
    --body-text: #5F6B78;
    --white: #FFFFFF;
    --accent-gold: #E6C84A;
    --border-color: #E2E8F0;
    --shadow-sm: 0 2px 8px rgba(6, 74, 142, 0.06);
    --shadow-md: 0 6px 20px rgba(6, 74, 142, 0.10);
    --shadow-lg: 0 12px 32px rgba(6, 74, 142, 0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--body-text);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark-text);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.15rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-navy);
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--secondary-blue);
    color: var(--white);
}

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

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-gold);
    color: var(--dark-text);
}

.btn-accent:hover {
    background-color: #d8b835;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Top Info Bar */
.top-bar {
    background-color: var(--dark-text);
    color: #A0AEC0;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span, .top-bar-right span {
    margin-right: 1.5rem;
}

.top-bar-left a {
    color: #CBD5E0;
}

.top-bar-left a:hover {
    color: var(--light-blue);
}

.badge-swiss {
    color: var(--accent-gold);
    font-weight: 500;
}

/* Header & Navbar */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 90px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-logo-img {
    max-height: 75px;
    width: auto;
    object-fit: contain;
}

.footer-logo-img {
    max-height: 70px;
    margin-bottom: 0.75rem;
}

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

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-list a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark-text);
    padding: 0.5rem 0;
    position: relative;
}

.nav-list a:hover, .nav-list a.active {
    color: var(--secondary-blue);
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-blue);
    border-radius: 2px;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: var(--dark-text);
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background-color: var(--very-light-blue);
    color: var(--primary-navy);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    border-radius: 2px;
    transition: var(--transition);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: 560px;
    background-color: var(--primary-navy);
    background-image: url('../assets/images/hero-cleaning.jpg');
    background-size: cover;
    background-position: center right;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        #064A8E 0%, 
        rgba(20, 121, 201, 0.92) 35%, 
        rgba(67, 181, 232, 0.75) 60%, 
        rgba(67, 181, 232, 0.05) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: var(--white);
    padding: 4rem 0;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
}

.hero-title {
    color: var(--white);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #E2E8F0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

/* Page Header (Subpages) */
.page-header {
    background: linear-gradient(135deg, rgba(6, 74, 142, 0.9) 0%, rgba(20, 121, 201, 0.85) 100%), url('../assets/images/hero-cleaning.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 4.5rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.page-header p {
    color: var(--very-light-blue);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-bg-light {
    background-color: var(--very-light-blue);
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3.5rem auto;
}

.section-subtitle {
    color: var(--secondary-blue);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--body-text);
    font-size: 1.05rem;
}

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

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--light-blue);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--very-light-blue);
    color: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-list {
    margin: 1.25rem 0 1.75rem 0;
    flex-grow: 1;
}

.service-list li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-list li::before {
    content: '✓';
    color: var(--secondary-blue);
    font-weight: bold;
}

/* Feature Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border-color);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 2.5rem 2rem;
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    border: 2px solid var(--secondary-blue);
    box-shadow: var(--shadow-md);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--secondary-blue);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
}

.pricing-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.pricing-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin: 1rem 0 0.5rem 0;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--body-text);
    font-weight: 400;
}

.disclaimer-box {
    background-color: #FFF8E6;
    border-left: 4px solid var(--accent-gold);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: #7A5E0B;
    margin-top: 2rem;
}

/* Interactive Calculator Container */
.calculator-box {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background-color: #FAFAFA;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-blue);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(20, 121, 201, 0.15);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.checkbox-card {
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.checkbox-card:hover {
    border-color: var(--light-blue);
}

.checkbox-card input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--secondary-blue);
}

.calc-summary {
    background: var(--very-light-blue);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid rgba(67, 181, 232, 0.3);
}

.calc-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.calc-total {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--primary-navy);
    border-top: 2px dashed rgba(6, 74, 142, 0.2);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

/* Process 1-2-3 Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-blue);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--secondary-blue);
    background-color: #F8FAFC;
}

.faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
    display: none;
    color: var(--body-text);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
}

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

.review-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.review-stars {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.review-author {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark-text);
    margin-top: 1rem;
}

.review-loc {
    font-size: 0.85rem;
    color: #A0AEC0;
}

/* Final CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--very-light-blue);
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 2rem auto;
}

/* Footer */
.main-footer {
    background-color: var(--dark-text);
    color: #A0AEC0;
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand .brand-title {
    color: var(--white);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.footer-heading {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-links li, .footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a, .footer-contact a {
    color: #A0AEC0;
    font-size: 0.9rem;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--light-blue);
}

.footer-contact li {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.badge-tag {
    font-size: 0.85rem;
    color: var(--light-blue);
}

.footer-bottom {
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal a {
    color: #A0AEC0;
}

.footer-legal .sep {
    margin: 0 0.5rem;
}

/* Alert Notification Boxes */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-success {
    background-color: #DEF7EC;
    color: #03543F;
    border: 1px solid #BCF0DA;
}

.alert-error {
    background-color: #FDE8E8;
    color: #9B1C1C;
    border: 1px solid #FBD5D5;
}
