/* ============================================
   ADMISERVI - Custom Styles (Dossier Design)
   Colors: Navy #1A2744 | Orange #E87D2F
   ============================================ */

/* --- Variables --- */
:root {
    --navy: #1A2744;
    --navy-light: #3A4A5C;
    --navy-dark: #0F1A2E;
    --orange: #E87D2F;
    --orange-light: #F5A623;
    --cream: #F8F5F0;
    --gray-light: #E8ECF0;
    --gray-mid: #6B7B8D;
    --white: #FFFFFF;
}

/* --- Reset & Base --- */
body {
    font-family: 'Raleway', sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
}

a {
    color: var(--orange);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--navy);
}

/* --- Navbar --- */
.navbar-admiservi {
    background: var(--navy);
    padding: 0.8rem 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar-admiservi .navbar-brand img {
    height: 40px;
}
.navbar-admiservi .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.5rem 1.2rem !important;
    transition: color 0.3s;
}
.navbar-admiservi .nav-link:hover,
.navbar-admiservi .nav-link.active {
    color: var(--orange) !important;
}
.navbar-admiservi .navbar-toggler {
    border-color: rgba(255,255,255,0.3);
}
.navbar-admiservi .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
    color: white;
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232,125,47,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232,125,47,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.hero-section .hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 2rem;
}
.hero-section .hero-logo {
    max-width: 350px;
    margin-bottom: 2rem;
}
.hero-badge {
    display: inline-block;
    background: var(--orange);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* --- Section Base --- */
.section-padding {
    padding: 5rem 0;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--gray-mid);
    margin-bottom: 3rem;
}
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--orange);
    margin: 1rem auto 2rem;
}

/* --- About / Quienes Somos --- */
.about-section {
    background: var(--cream);
}
.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--navy-light);
}

/* --- Stats --- */
.stat-card {
    text-align: center;
    padding: 2rem 1rem;
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
}
.stat-label {
    font-size: 0.9rem;
    color: var(--gray-mid);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* --- Compromiso / Pillars --- */
.compromiso-section {
    background: var(--navy);
    color: white;
}
.pillar-card {
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.1);
}
.pillar-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.12);
}
.pillar-icon {
    width: 60px;
    height: 60px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.5rem;
}
.pillar-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}
.pillar-card p {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.6;
}

/* --- Service Cards --- */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border-left: 4px solid var(--orange);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: white;
    font-size: 1.3rem;
}
.service-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.8rem;
}
.service-card p, .service-card li {
    font-size: 0.9rem;
    color: var(--gray-mid);
    line-height: 1.6;
}
.service-card ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

/* --- Admin service (blue variant) --- */
.service-card-admin {
    border-left-color: var(--navy);
}
.service-card-admin .service-icon {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

/* --- Tech Section --- */
.tech-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: white;
}
.tech-card {
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    height: 100%;
    transition: transform 0.3s;
}
.tech-card:hover {
    transform: translateY(-5px);
}
.tech-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.tech-card h3 a {
    color: white;
    text-decoration: none;
    border-bottom: 2px solid var(--orange);
    padding-bottom: 2px;
    transition: color 0.3s, border-color 0.3s;
}
.tech-card h3 a:hover {
    color: var(--orange);
    border-color: white;
}
.tech-card .tech-subtitle {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1.5rem;
}
.tech-card ul {
    list-style: none;
    padding: 0;
}
.tech-card ul li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    opacity: 0.9;
}
.tech-card ul li::before {
    content: '✓';
    color: var(--orange);
    font-weight: 700;
    margin-right: 0.8rem;
}
.tech-price {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
}
.tech-price .price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--orange);
}
.tech-price .price-unit {
    font-size: 0.9rem;
    opacity: 0.7;
}
.tech-price .price-note {
    font-size: 0.75rem;
    opacity: 0.5;
}

/* --- Contact / Donde Estamos --- */
.contact-section {
    background: var(--cream);
}
.contact-info-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    height: 100%;
}
.contact-info-card .contact-icon {
    width: 50px;
    height: 50px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.contact-info-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.contact-info-card p {
    font-size: 0.95rem;
    color: var(--gray-mid);
    margin-bottom: 0;
}

/* --- Laws Section --- */
.law-link {
    display: block;
    background: white;
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border-left: 4px solid var(--orange);
}
.law-link:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: var(--orange);
}
.law-link svg {
    margin-right: 0.5rem;
    color: var(--orange);
}
.condition-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.condition-card h4 {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--orange);
}
.condition-card p {
    color: var(--gray-mid);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Footer --- */
.footer-admiservi {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 1.5rem;
}
.footer-admiservi h5 {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.footer-admiservi a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-admiservi a:hover {
    color: var(--orange);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: 0.85rem;
}

/* --- Buttons --- */
.btn-orange {
    background: var(--orange);
    color: white;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}
.btn-orange:hover {
    background: #d06a1f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232,125,47,0.4);
}
.btn-outline-white {
    border: 2px solid white;
    color: white;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    background: transparent;
    transition: all 0.3s;
}
.btn-outline-white:hover {
    background: white;
    color: var(--navy);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* --- Helpers (replace inline styles) --- */
.section-title-white {
    color: white;
}
.compromiso-intro {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}
.tech-intro {
    color: rgba(255,255,255,0.8);
}
.tech-bottom-note {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}
.about-heading {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.hero-img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.section-divider-left {
    width: 60px;
    height: 3px;
    background: var(--orange);
    margin: 1rem 0 2rem;
}
.contact-cta-text {
    color: var(--gray-mid);
    font-size: 1.05rem;
    line-height: 1.8;
}
.footer-logo {
    height: 35px;
    margin-bottom: 1rem;
    filter: brightness(2);
}
.footer-description {
    font-size: 0.9rem;
}
.footer-list {
    font-size: 0.9rem;
}
.price-unit-small {
    font-size: 1rem;
}
/* page header for subpages */
.page-header {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
}
.page-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.page-header p {
    opacity: 0.8;
    font-size: 1.05rem;
}
/* services detail page */
.services-section-bg {
    background: var(--gray-light);
}
/* contact page map */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.map-iframe {
    border: 0;
    min-height: 350px;
}
.contact-person {
    background: var(--navy);
    color: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}
.contact-person .contact-person-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    display: block;
}
.contact-person h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.contact-person p {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* --- Parallax Dividers --- */
.parallax-divider {
    height: 350px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.parallax-divider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 26, 46, 0.6);
}
.parallax-divider .parallax-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    max-width: 700px;
    padding: 0 2rem;
}
.parallax-divider .parallax-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}
.parallax-divider .parallax-content p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 0;
}
.parallax-edificio {
    background-image: url('../assets/img/dossier_ciudad.jpeg');
}
.parallax-reunion {
    background-image: url('../assets/img/dossier_edificio.jpeg');
}
.parallax-finanzas {
    background-image: url('../assets/img/dossier_reunion.jpeg');
}
.parallax-confianza {
    background-image: url('../assets/img/weaddit-linkedin-negocios-en-internet-1536x1022.jpg');
}

/* About section with image */
.about-img {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Services page header image band */
.services-img-band {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.services-img-band img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0 3rem;
        text-align: center;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section .hero-logo {
        max-width: 250px;
    }
    .section-padding {
        padding: 3rem 0;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .stat-number {
        font-size: 2.2rem;
    }
    .parallax-divider {
        background-attachment: scroll;
        height: 250px;
    }
    .parallax-divider .parallax-content h3 {
        font-size: 1.3rem;
    }
}
