/* CONFIGURACIÓN BASE Y VARIABLES DE COLOR (DISEÑO PERSONALIZADO) */
:root {
    --bg-jade: #0a2f26;
    --bg-zafiro: #0f4c81;
    --accent-orange: #ff6b35;
    --text-light: #f4f7f6;
    --text-dark: #111b15;
    --disclaimer-bg: #fff3cd;
    --disclaimer-text: #856404;
    --card-bg: #123e34;
    --border-color: #1b5347;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-jade);
    color: var(--text-light);
    line-height: 1.6;
}

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

/* TOP DISCLAIMER BAR */
.top-disclaimer-bar {
    background-color: var(--disclaimer-bg);
    color: var(--disclaimer-text);
    padding: 12px 0;
    font-size: 0.85rem;
    border-bottom: 2px solid #ffeeba;
}

.container-disclaimer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.disclaimer-icon {
    flex-shrink: 0;
    color: #856404;
}

/* HEADER */
.main-header {
    background-color: var(--bg-zafiro);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

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

.logo-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo-accent {
    color: var(--accent-orange);
}

.main-nav {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-orange);
}

.btn-cta-header {
    background-color: var(--accent-orange);
    color: var(--text-light);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: transform 0.2s, background-color 0.3s;
}

.btn-cta-header:hover {
    transform: translateY(-2px);
    background-color: #e55a2b;
}

/* HERO SECTION */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-jade) 0%, #061f19 100%);
}

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

.hero-badge {
    background-color: rgba(255, 107, 53, 0.2);
    color: var(--accent-orange);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-lead {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #cbd5e1;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--text-light);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #e55a2b;
}

.btn-secondary {
    border: 2px solid var(--text-light);
    color: var(--text-light);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--bg-jade);
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border: 3px solid var(--border-color);
}

/* SERVICES SECTION */
.services-section {
    padding: 80px 0;
    background-color: #0d382e;
}

.section-title-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-title-wrapper h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-title-wrapper p {
    color: #a2bca6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.card-icon-wrapper {
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: #cbd5e1;
}

/* PROCESS SECTION */
.process-section {
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--bg-zafiro);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px auto;
    border: 3px solid var(--accent-orange);
}

.step-item h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 0.95rem;
    color: #cbd5e1;
}

/* LEAD SECTION & FORM */
.lead-section {
    padding: 80px 0;
    background-color: #07251e;
}

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

.lead-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.lead-info p {
    color: #cbd5e1;
    margin-bottom: 30px;
}

.security-note {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(15, 76, 129, 0.3);
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid var(--bg-zafiro);
}

.security-note span {
    font-size: 0.85rem;
    color: #a2bca6;
}

.lead-form-container {
    background-color: #11362d;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    border: 1px solid var(--border-color);
}

.interactive-form .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.interactive-form label {
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.interactive-form input[type="text"],
.interactive-form input[type="tel"],
.interactive-form input[type="email"],
.interactive-form select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    background-color: #091f1a;
    color: white;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.interactive-form input:focus,
.interactive-form select:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.checkbox-group {
    flex-direction: row !important;
    gap: 10px;
    align-items: flex-start;
}

.checkbox-group input {
    margin-top: 4px;
}

.checkbox-group label {
    font-size: 0.8rem;
    color: #cbd5e1;
}

.checkbox-group a {
    color: var(--accent-orange);
}

.error-message {
    color: #ff4a4a;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.block-error {
    margin-bottom: 15px;
}

.btn-submit {
    width: 100%;
    background-color: var(--accent-orange);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #e55a2b;
}

.form-success-box {
    background-color: #155724;
    color: #d4edda;
    padding: 25px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #c3e6cb;
    display: none;
}

.form-success-box h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* FOOTER */
.main-footer {
    background-color: #051914;
    padding: 60px 0 30px 0;
    font-size: 0.9rem;
}

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

.footer-brand-desc {
    color: #a2bca6;
    margin-top: 15px;
    max-width: 400px;
}

.footer-links-col h5 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links-col a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-links-col a:hover {
    color: var(--accent-orange);
}

.footer-separator {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.footer-legal-text {
    font-size: 0.78rem;
    color: #8fa393;
    text-align: justify;
    line-height: 1.5;
    margin-bottom: 20px;
}

.footer-copyright {
    text-align: center;
    font-size: 0.8rem;
    color: #617566;
}

/* RESPONSIVE DESIGN */
@media (max-width: 968px) {
    .hero-grid, .services-grid, .process-steps, .lead-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-image-wrapper {
        order: -1;
    }
    .main-header .container {
        flex-direction: column;
        gap: 15px;
    }
}