/* ==========================================================================
   LANDING PAGE EMPRESARIAL - INSTITUCIONAL ONE-PAGE
   ESTILO CORPORATIVO - SAPPHIRE & PLATINUM IDENTITY
   ========================================================================== */



:root {
    /* Color Palette */
    --sapphire-primary: #3A78F2;
    --sapphire-hover: #1E5CD4;
    --dark-bg: #070B18;
    --dark-card: #0E1528;
    --dark-card-hover: #151F3A;
    --text-white: #FFFFFF;
    --text-cream: #E8EEFC;
    --text-muted: #8795B5;
    --sapphire-border: rgba(58, 120, 242, 0.12);
    --sapphire-border-hover: rgba(58, 120, 242, 0.35);
    
    /* Fonts */
    --font-display-gold: 'Playfair Display', serif;
    --font-sans-gold: 'Outfit', sans-serif;
    
    /* Gradients */
    --sapphire-gradient: linear-gradient(135deg, #3A78F2 0%, #E8EEFC 60%, #15305B 100%);
    --dark-gradient: linear-gradient(180deg, #070B18 0%, #0C1226 100%);
}

/* Base resets specifically for biz template */
body.biz-body {
    background-color: var(--dark-bg);
    background-image: var(--dark-gradient);
    color: var(--text-cream);
    font-family: var(--font-sans-gold);
    line-height: 1.7;
}

.serif-title {
    font-family: var(--font-display-gold);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-white);
}

/* Demo Header specifically in sapphire theme */
.demo-header.sapphire-theme {
    background: rgba(7, 11, 24, 0.85);
    border-bottom: 1px solid var(--sapphire-border);
}

.demo-title-badge.sapphire-theme {
    background: rgba(58, 120, 242, 0.08);
    border: 1px solid rgba(58, 120, 242, 0.2);
    color: var(--sapphire-primary);
}

.demo-cta-btn.sapphire-theme {
    background: var(--sapphire-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(58, 120, 242, 0.25);
}

.demo-cta-btn.sapphire-theme:hover {
    background: var(--sapphire-hover);
    box-shadow: 0 6px 18px rgba(30, 92, 212, 0.45);
}

/* Corporate Badge */
.badge-business {
    background: rgba(58, 120, 242, 0.06);
    border: 1px solid rgba(58, 120, 242, 0.25);
    color: var(--sapphire-primary);
    padding: 0.45rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Sapphire Gradient Text */
.sapphire-grad-text {
    background: var(--sapphire-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Floating Navigation menu */
.biz-nav-wrapper {
    position: sticky;
    top: 70px; /* Right after demo bar */
    left: 0;
    width: 100%;
    z-index: 95;
    background: rgba(7, 11, 24, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sapphire-border);
    transition: all 0.3s ease;
}

.biz-nav-wrapper.scrolled {
    background: rgba(7, 11, 24, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.biz-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.biz-logo {
    font-family: var(--font-sans-gold);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.05em;
    color: var(--text-white);
}

.biz-logo span {
    color: var(--sapphire-primary);
}

.biz-links {
    display: none;
    gap: 2.25rem;
    list-style: none;
}

.biz-links a {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.biz-links a:hover,
.biz-links a.active {
    color: var(--text-white);
    text-shadow: 0 0 10px rgba(232, 238, 252, 0.3);
}

.mobile-biz-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.25rem;
    cursor: pointer;
}

/* Hero Section */
.biz-hero {
    padding: 100px 0 80px 0;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(58, 120, 242, 0.04) 0%, transparent 60%);
}

.biz-hero h1 {
    font-size: 2.75rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.biz-hero p {
    color: var(--text-cream);
    opacity: 0.85;
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto 2.5rem auto;
    font-weight: 300;
}

/* Corporate Buttons */
.btn-biz {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-sans-gold);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    padding: 0.9rem 2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

.btn-biz-primary {
    background: var(--sapphire-primary);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(58, 120, 242, 0.25);
}

.btn-biz-primary:hover {
    background: var(--sapphire-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 92, 212, 0.45);
}

.btn-biz-outline {
    background: transparent;
    border: 1px solid var(--sapphire-border);
    color: var(--text-white);
}

.btn-biz-outline:hover {
    background: rgba(58, 120, 242, 0.05);
    border-color: var(--sapphire-primary);
    color: var(--sapphire-primary);
    transform: translateY(-2px);
}

/* Services Grid */
.section-tag-sapphire {
    color: var(--sapphire-primary);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3.5rem;
}

.service-biz-card {
    background: rgba(14, 21, 40, 0.6);
    border: 1px solid var(--sapphire-border);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.service-biz-card:hover {
    transform: translateY(-5px);
    border-color: var(--sapphire-border-hover);
    background: var(--dark-card-hover);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.service-biz-icon {
    font-size: 2rem;
    color: var(--sapphire-primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.service-biz-card:hover .service-biz-icon {
    transform: scale(1.1);
}

.service-biz-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-sans-gold);
    color: var(--text-white);
}

.service-biz-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Showcase Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3.5rem;
}

.portfolio-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid var(--sapphire-border);
    aspect-ratio: 16/10;
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background-size: cover;
    background-position: center;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(7, 11, 24, 0.95) 0%, rgba(7, 11, 24, 0.15) 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: var(--sapphire-primary);
    box-shadow: 0 15px 35px rgba(58, 120, 242, 0.15);
}

.portfolio-card:hover::before {
    background: linear-gradient(to top, rgba(7, 11, 24, 0.98) 0%, rgba(7, 11, 24, 0.3) 100%);
}

.portfolio-info {
    position: relative;
    z-index: 2;
    text-align: left;
}

.portfolio-info span {
    font-size: 0.75rem;
    color: var(--sapphire-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.portfolio-info h4 {
    font-size: 1.35rem;
    margin-top: 0.25rem;
    color: var(--text-white);
}

/* Contact layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: start;
    margin-top: 3.5rem;
}

.contact-info-list {
    list-style: none;
    margin-top: 2rem;
    text-align: left;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-cream);
}

.contact-info-list li i {
    width: 45px;
    height: 45px;
    background: rgba(58, 120, 242, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sapphire-primary);
    border: 1px solid var(--sapphire-border);
    font-size: 1.15rem;
}

.contact-info-list li h4 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.contact-info-list li span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-white);
}

/* Glassmorphic contact form card */
.glass-card.sapphire-card {
    background: rgba(14, 21, 40, 0.7);
    border: 1px solid var(--sapphire-border);
    border-radius: 1.25rem;
    padding: 3rem 2.25rem;
}

.glass-card.sapphire-card:hover {
    border-color: var(--sapphire-border-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transform: none; /* keep flat for layout stability */
}

.form-group-sapphire {
    margin-bottom: 1.5rem;
    text-align: left;
}

.sapphire-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sapphire-primary);
    margin-bottom: 0.5rem;
}

.sapphire-control {
    width: 100%;
    background: rgba(7, 11, 24, 0.5);
    border: 1px solid var(--sapphire-border);
    border-radius: 0.75rem;
    padding: 0.9rem 1.25rem;
    color: var(--text-white);
    font-family: var(--font-sans-gold);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.sapphire-control:focus {
    outline: none;
    border-color: var(--sapphire-primary);
    background: rgba(58, 120, 242, 0.02);
    box-shadow: 0 0 15px rgba(58, 120, 242, 0.15);
}

/* options select override */
.sapphire-control option {
    background-color: #0c1226;
    color: #ffffff;
}

/* Success Modal Sapphire */
.success-modal.sapphire-modal .success-modal-content {
    background: var(--dark-card);
    border: 1px solid var(--sapphire-primary);
    border-radius: 1.25rem;
    position: relative;
    max-width: 450px;
    padding: 3rem;
}

.success-modal.sapphire-modal .success-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--sapphire-gradient);
    border-radius: 1.25rem 1.25rem 0 0;
}

.success-modal.sapphire-modal .success-icon {
    background: rgba(58, 120, 242, 0.05);
    color: var(--sapphire-primary);
    border-color: var(--sapphire-primary);
}

/* Responsive constraints */
@media (min-width: 768px) {
    .biz-links { display: flex; }
    .mobile-biz-toggle { display: none; }
    .biz-hero h1 { font-size: 3.5rem; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr 1.25fr; }
}

@media (min-width: 1024px) {
    .biz-hero h1 { font-size: 4rem; }
}
