/* Estilos compartidos para páginas de servicios (multipágina) */
:root {
    --primary-color: #8cb346;
    --secondary-color: #000000;
    --text-light: #666;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    overflow-x: hidden;
    background: #fff;
}

a { color: inherit; }

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    z-index: 1000;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    height: 5rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.logo-box {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: #8cb346;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.logo-img {
    display: block;
    max-height: 48px;
    height: auto;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.company-name-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

.logo-tagline {
    font-size: 0.75rem;
    color: #6c757d;
    max-width: 11em;
}

.nav-menu-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.15rem;
    align-items: center;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a,
.nav-menu > li > .nav-drop-btn {
    display: block;
    padding: 0.5rem 0.85rem;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.nav-menu > li > a:hover,
.nav-menu > li > .nav-drop-btn:hover,
.nav-menu > li.open > .nav-drop-btn {
    color: #8cb346;
    background: #f8f9fa;
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    padding: 0.5rem;
    z-index: 1100;
    border: 1px solid rgba(0,0,0,0.06);
}

.nav-menu > li.open > .nav-dropdown,
.nav-menu > li:hover > .nav-dropdown {
    display: block;
}

.nav-dropdown a {
    display: block;
    padding: 0.65rem 0.85rem;
    text-decoration: none;
    color: #1a1a1a;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    white-space: normal;
}

.nav-dropdown a:hover {
    background: #f3f7eb;
    color: #6f9430;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.whatsapp-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #25D366;
    color: #fff !important;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.whatsapp-nav-btn:hover { background: #20BA5A; }

.admin-btn {
    padding: 0.5rem 0.85rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.85rem;
    color: #333;
}

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

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    transition: 0.25s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 1rem;
    flex-direction: column;
    gap: 0.15rem;
    z-index: 1001;
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.nav-mobile.active { display: flex !important; }

.nav-mobile a,
.nav-mobile .nav-mobile-group-title {
    padding: 0.65rem 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.95rem;
}

.nav-mobile .nav-mobile-group-title {
    font-weight: 700;
    color: #8cb346;
    margin-top: 0.5rem;
}

.nav-mobile a.nav-mobile-sub {
    padding-left: 1.75rem;
    font-size: 0.9rem;
    color: #444;
}

.nav-mobile a:hover { background: var(--background-light); color: var(--primary-color); }

@media (max-width: 1024px) {
    .nav-menu-wrap,
    .nav-actions { display: none !important; }
    .mobile-menu-toggle { display: flex; }
}

@media (min-width: 1025px) {
    .nav-mobile { display: none !important; }
}

/* Page content */
.page-main {
    padding-top: 5rem;
    min-height: 70vh;
}

.page-hero {
    position: relative;
    min-height: 42vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.72) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    width: 100%;
}

.page-hero-badge {
    display: inline-block;
    background: rgba(140,179,70,0.95);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    max-width: 18ch;
}

.page-hero p {
    font-size: 1.05rem;
    max-width: 42rem;
    opacity: 0.95;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.page-section { margin-bottom: 3rem; }

.page-section h2 {
    font-size: 1.65rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.page-section h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
    color: #1a1a1a;
}

.page-section p,
.page-section li {
    color: #444;
    font-size: 1.02rem;
}

.page-section p { margin-bottom: 1rem; }

.page-section ul {
    margin: 0.75rem 0 1.25rem 1.25rem;
}

.page-section li { margin-bottom: 0.4rem; }

.page-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 900px) {
    .page-grid-2 { grid-template-columns: 1.1fr 0.9fr; }
}

.page-figure {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.page-figure img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}

.feature-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

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

@media (min-width: 1000px) {
    .feature-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 1.35rem;
    border: 1px solid rgba(0,0,0,0.04);
}

.feature-card i {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
}

.feature-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.feature-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
}

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

.process-step {
    background: #fff;
    border: 1px solid rgba(140,179,70,0.25);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    text-align: center;
}

.process-step .num {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.process-step h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.process-step p { font-size: 0.9rem; margin: 0; color: #666; }

.page-cta {
    background: linear-gradient(135deg, rgba(140,179,70,0.12), rgba(140,179,70,0.04));
    border: 1px solid rgba(140,179,70,0.28);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.page-cta h2 { margin-bottom: 0.5rem; }
.page-cta p { margin-bottom: 1.25rem; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary { background: var(--primary-color); color: #fff; }
.btn-primary:hover { filter: brightness(0.95); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-outline {
    background: #fff;
    border: 1px solid #ccc;
    color: #333;
}

.bank-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.bank-chip {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.88rem;
    font-weight: 500;
}

.alliance-banner {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    background: #0b1f17;
    color: #fff;
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
}

@media (min-width: 800px) {
    .alliance-banner { grid-template-columns: 1.2fr 0.8fr; }
}

.alliance-banner h2 { color: #fff; margin-bottom: 0.75rem; }
.alliance-banner p { color: rgba(255,255,255,0.88); }
.alliance-banner a { color: #b8e07a; }

.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.filter-chip {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
}

.filter-chip.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.properties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

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

.req-box {
    background: #fff;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
    border-radius: 0 0.75rem 0.75rem 0;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.form-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: var(--shadow);
}

.form-card .form-group { margin-bottom: 1rem; }
.form-card label { display: block; font-weight: 500; margin-bottom: 0.35rem; font-size: 0.9rem; }
.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 0.95rem;
}

.footer {
    background: #111;
    color: #ccc;
    padding: 3rem 1.5rem 2rem;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer h3 { color: #fff; margin-bottom: 1rem; font-size: 1.05rem; }
.footer a {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}
.footer a:hover { color: var(--primary-color); }
.footer p { font-size: 0.9rem; margin-bottom: 0.75rem; }

.footer-maps-wrap {
    border-radius: 10px;
    overflow: hidden;
    margin: 0.75rem 0;
    border: 1px solid rgba(255,255,255,0.12);
    background: #1a1a1a;
}
.footer-maps-wrap iframe {
    display: block;
    width: 100%;
    height: 160px;
    border: 0;
}
#footerMapsLink {
    color: var(--primary-color) !important;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-bottom {
    max-width: 1100px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    color: #777;
    text-align: center;
}

.map-embed {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #eee;
    min-height: 280px;
    background: #eee;
}

.map-embed iframe {
    width: 100%;
    height: 280px;
    border: 0;
    display: block;
}
