/* =========================================================
   ECOM Soluciones Informáticas
   Archivo: assets/css/style.css
========================================================= */

/* ========= RESET ========= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0b1020;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========= VARIABLES ========= */
:root {
    --primary: #46c1d6;
    --primary-dark: #1d2346;
    --secondary: #0f172a;
    --dark: #0a0f1f;
    --dark-2: #11182d;
    --dark-3: #16203a;
    --light: #f5f7fa;
    --white: #ffffff;
    --text: #d8e4f0;
    --muted: #9fb0c4;
    --border: rgba(255, 255, 255, 0.08);
    --glow: 0 0 30px rgba(70, 193, 214, 0.18);
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    --radius: 18px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
    --container: 1200px;
}

/* ========= UTILIDADES ========= */
.container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}

.section {
    padding: 100px 0;
    position: relative;
}

.alt-bg {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));
}

.center {
    text-align: center;
}

.section-header {
    max-width: 760px;
    margin: 0 auto 55px;
}

.section-tag {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid rgba(70, 193, 214, 0.25);
    border-radius: 999px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(70, 193, 214, 0.08);
    margin-bottom: 16px;
    letter-spacing: 0.4px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--white);
}

.section-header p {
    font-size: 1.02rem;
    color: var(--muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    min-height: 50px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #2ea7bd);
    color: #06131a;
    box-shadow: 0 10px 24px rgba(70, 193, 214, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(70, 193, 214, 0.32);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(70, 193, 214, 0.35);
}

/* ========= NAVBAR ========= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(11, 16, 32, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.navbar-logo {
    width: 170px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(70, 193, 214, 0.18));
}

.navbar-brand-text {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--white);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.navbar-links a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.98rem;
    position: relative;
    transition: var(--transition);
}

.navbar-links a:hover {
    color: var(--primary);
}

.navbar-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--primary);
    transition: var(--transition);
}

.navbar-links a:hover::after {
    width: 100%;
}

.navbar-cta {
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(70, 193, 214, 0.10);
    border: 1px solid rgba(70, 193, 214, 0.28);
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.navbar-cta:hover {
    background: rgba(70, 193, 214, 0.16);
    transform: translateY(-2px);
}

.navbar-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: var(--white);
    transition: var(--transition);
    border-radius: 99px;
}

/* ========= HERO PREMIUM ========= */
.hero-section {
    position: relative;
    padding: 130px 0 110px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(70, 193, 214, 0.22), transparent 20%),
        radial-gradient(circle at 85% 15%, rgba(70, 193, 214, 0.12), transparent 18%),
        radial-gradient(circle at 50% 100%, rgba(29, 35, 70, 0.45), transparent 40%),
        linear-gradient(135deg, #070b16 0%, #0d1430 45%, #0a0f1f 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -120px;
    left: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(70, 193, 214, 0.18), transparent 70%);
    filter: blur(30px);
    pointer-events: none;
    animation: floatGlow 7s ease-in-out infinite;
}

.hero-section::after {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(70, 193, 214, 0.12), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    animation: floatGlow 9s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.6;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 95%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 70px;
}

.hero-text {
    animation: fadeUp 0.9s ease both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(70, 193, 214, 0.08);
    border: 1px solid rgba(70, 193, 214, 0.24);
    margin-bottom: 22px;
    box-shadow: 0 0 18px rgba(70, 193, 214, 0.08);
}

.hero-badge::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px rgba(70, 193, 214, 0.7);
}

.hero-text h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 1.02;
    margin-bottom: 24px;
    color: var(--white);
    letter-spacing: -1.5px;
    max-width: 760px;
}

.hero-text p {
    max-width: 650px;
    color: var(--text);
    font-size: 1.08rem;
    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-visual {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeUp 1.1s ease both;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 40px;
    border-radius: 30px;
    border: 1px solid rgba(70, 193, 214, 0.10);
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    backdrop-filter: blur(6px);
}

.hero-card {
    position: relative;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.30),
        0 0 30px rgba(70, 193, 214, 0.08);
}

.hero-card-main {
    width: 100%;
    max-width: 430px;
    padding: 42px 36px;
    text-align: center;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-card-main:hover {
    transform: translateY(-6px);
    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.34),
        0 0 38px rgba(70, 193, 214, 0.14);
}

.hero-card-main::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(70,193,214,0.35), rgba(255,255,255,0.02), rgba(70,193,214,0.18));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.hero-logo {
    width: 125px;
    margin: 0 auto 24px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(70, 193, 214, 0.22));
}

.hero-card-main h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--white);
}

.hero-card-main p {
    color: var(--muted);
    font-size: 0.98rem;
    max-width: 300px;
    margin: 0 auto;
}

.hero-card-floating {
    position: absolute;
    right: -8px;
    bottom: 28px;
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(8, 12, 24, 0.88);
    border: 1px solid rgba(70, 193, 214, 0.18);
    box-shadow: 0 0 24px rgba(70, 193, 214, 0.10);
    z-index: 3;
    animation: softFloat 4.5s ease-in-out infinite;
}

.hero-card-floating span {
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(70, 193, 214, 0.08);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(70, 193, 214, 0.12);
}

/* ========= ABOUT PREVIEW ========= */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-box {
    padding: 30px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid var(--border);
    transition: var(--transition);
}

.about-box:hover {
    transform: translateY(-6px);
    border-color: rgba(70, 193, 214, 0.18);
    box-shadow: var(--glow);
}

.about-box h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    color: var(--white);
}

.about-box p {
    color: var(--muted);
}

/* ========= SERVICES ========= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 32px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(17, 24, 45, 0.96), rgba(12, 18, 36, 0.98));
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0.85;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(70, 193, 214, 0.20);
    box-shadow: var(--glow);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    background: rgba(70, 193, 214, 0.12);
    color: var(--primary);
    font-weight: 700;
    font-size: 1.05rem;
    border: 1px solid rgba(70, 193, 214, 0.18);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
    color: var(--white);
}

.service-card p {
    color: var(--muted);
    margin-bottom: 22px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    opacity: 0.85;
}

/* ========= HIGHLIGHT ========= */
.highlight-container {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 36px;
    align-items: center;
}

.highlight-text h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.12;
    margin-bottom: 18px;
}

.highlight-text p {
    color: var(--muted);
    margin-bottom: 16px;
    max-width: 700px;
}

.highlight-panel {
    position: relative;
    padding: 36px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(70, 193, 214, 0.08), rgba(255,255,255,0.02));
    border: 1px solid rgba(70, 193, 214, 0.18);
    box-shadow: var(--glow);
    overflow: hidden;
}

.panel-line {
    position: absolute;
    top: 0;
    left: 24px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(70,193,214,0), rgba(70,193,214,0.85), rgba(70,193,214,0));
}

.panel-box {
    margin-left: 24px;
}

.panel-box h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: var(--white);
}

.panel-box ul {
    display: grid;
    gap: 14px;
}

.panel-box li {
    position: relative;
    padding-left: 22px;
    color: var(--text);
}

.panel-box li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px rgba(70, 193, 214, 0.45);
}

/* ========= FEATURES ========= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-card {
    padding: 28px 24px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(70, 193, 214, 0.22);
    box-shadow: var(--glow);
}

.feature-card h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.97rem;
}

/* ========= CTA ========= */
.cta-section {
    background:
        radial-gradient(circle at top center, rgba(70,193,214,0.18), transparent 25%),
        linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0));
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 30px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(17,24,45,0.92), rgba(10,15,31,0.98));
    border: 1px solid rgba(70, 193, 214, 0.14);
    box-shadow: var(--shadow);
}

.cta-container h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 14px;
    color: var(--white);
}

.cta-container p {
    max-width: 720px;
    margin: 0 auto 24px;
    color: var(--muted);
}

.cta-contact-box {
    margin-bottom: 24px;
}

.email-link {
    display: inline-block;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 700;
    color: var(--primary);
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(70, 193, 214, 0.10);
    border: 1px solid rgba(70, 193, 214, 0.20);
}

.email-link:hover {
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ========= FOOTER PREMIUM ========= */
.footer {
    position: relative;
    background:
        radial-gradient(circle at top center, rgba(70,193,214,0.08), transparent 25%),
        linear-gradient(180deg, #080c18 0%, #060913 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(70,193,214,0.08), transparent 70%);
    filter: blur(30px);
    pointer-events: none;
}

.footer-top-line {
    width: min(92%, 1200px);
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(70, 193, 214, 0.5),
        transparent
    );
    box-shadow: 0 0 20px rgba(70, 193, 214, 0.18);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1fr 1fr;
    gap: 34px;
    padding: 75px 0 42px;
    position: relative;
    z-index: 2;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-logo {
    width: 170px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(70, 193, 214, 0.18));
}

.footer-brand-text h3 {
    font-size: 1.4rem;
    line-height: 1;
    margin-bottom: 6px;
    color: var(--white);
}

.footer-brand-text span {
    font-size: 0.92rem;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.footer h4 {
    font-size: 1.05rem;
    margin-bottom: 18px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.footer p,
.footer li,
.footer-note {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.7;
}

.footer-links ul,
.footer-services ul {
    display: grid;
    gap: 12px;
}

.footer-links a {
    color: var(--text);
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-services li {
    position: relative;
    padding-left: 18px;
}

.footer-services li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(70,193,214,0.35);
}

.footer-email {
    display: inline-block;
    margin-top: 8px;
    margin-bottom: 8px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(70, 193, 214, 0.10);
    border: 1px solid rgba(70, 193, 214, 0.20);
    color: var(--primary);
    font-weight: 700;
    word-break: break-word;
    transition: var(--transition);
}

.footer-email:hover {
    transform: translateY(-2px);
    background: rgba(70, 193, 214, 0.14);
    box-shadow: 0 0 20px rgba(70,193,214,0.10);
}

.footer-cta {
    margin-top: 18px;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 18px 0;
    background: rgba(255,255,255,0.01);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* ========= CONTACT PAGE BASE / GENERALES EXTRA ========= */
.page-hero {
    padding: 100px 0 70px;
    background:
        radial-gradient(circle at top left, rgba(70, 193, 214, 0.18), transparent 25%),
        linear-gradient(135deg, #0a0f1f 0%, #101937 55%, #0b1020 100%);
}

.page-hero h1 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    margin-bottom: 14px;
}

.page-hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.05rem;
}

/* ========= SCROLLBAR ========= */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #08101c;
}

::-webkit-scrollbar-thumb {
    background: rgba(70, 193, 214, 0.35);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(70, 193, 214, 0.55);
}

/* ========= CONTACTO ========= */
.contact-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(17,24,45,0.94), rgba(10,15,31,0.98));
    border: 1px solid rgba(70, 193, 214, 0.14);
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 14px;
    color: var(--white);
}

.contact-card-content p {
    max-width: 700px;
    margin: 0 auto 24px;
    color: var(--muted);
}

.contact-email {
    display: inline-block;
    margin-bottom: 28px;
    padding: 16px 22px;
    border-radius: 14px;
    background: rgba(70, 193, 214, 0.10);
    border: 1px solid rgba(70, 193, 214, 0.20);
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
    word-break: break-word;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-info-box {
    padding: 30px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-info-box:hover {
    transform: translateY(-6px);
    border-color: rgba(70, 193, 214, 0.20);
    box-shadow: var(--glow);
}

.contact-info-box h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: var(--white);
}

.contact-info-box p {
    color: var(--muted);
}

/* LISTA DE SERVICIOS */
.service-list {
    margin: 18px 0;
    display: grid;
    gap: 10px;
}

.service-list li {
    position: relative;
    padding-left: 22px;
    color: var(--text);
    font-size: 0.95rem;
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(70,193,214,0.5);
}

/* ========= FIVEM PAGE ========= */
.fivem-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: center;
}

.fivem-intro-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--white);
}

.fivem-intro-text p {
    color: var(--muted);
    margin-bottom: 16px;
}

.fivem-intro-card {
    padding: 34px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(17,24,45,0.94), rgba(10,15,31,0.98));
    border: 1px solid rgba(70, 193, 214, 0.16);
    box-shadow: var(--shadow);
}

.fivem-intro-card h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: var(--white);
}

.fivem-intro-card ul {
    display: grid;
    gap: 14px;
}

.fivem-intro-card li {
    position: relative;
    padding-left: 22px;
    color: var(--text);
}

.fivem-intro-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(70,193,214,0.45);
}

.fivem-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fivem-service-box {
    padding: 28px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(17,24,45,0.96), rgba(12,18,36,0.98));
    border: 1px solid var(--border);
    transition: var(--transition);
}

.fivem-service-box:hover {
    transform: translateY(-6px);
    border-color: rgba(70, 193, 214, 0.20);
    box-shadow: var(--glow);
}

.fivem-service-box h3 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: 1.2rem;
}

.fivem-service-box p {
    color: var(--muted);
}

.fivem-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.fivem-benefit-card {
    padding: 28px 24px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.fivem-benefit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(70, 193, 214, 0.22);
    box-shadow: var(--glow);
}

.fivem-benefit-card h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.fivem-benefit-card p {
    color: var(--muted);
    font-size: 0.97rem;
}


/* ========= NOSOTROS ========= */
.about-story-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    align-items: start;
}

.about-story-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--white);
}

.about-story-text p {
    color: var(--muted);
    margin-bottom: 16px;
}

.about-story-card {
    padding: 34px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(17,24,45,0.94), rgba(10,15,31,0.98));
    border: 1px solid rgba(70, 193, 214, 0.16);
    box-shadow: var(--shadow);
}

.about-story-card h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: var(--white);
}

.about-story-card ul {
    display: grid;
    gap: 14px;
}

.about-story-card li {
    position: relative;
    padding-left: 22px;
    color: var(--text);
}

.about-story-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(70,193,214,0.45);
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-value-box {
    padding: 30px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.about-value-box:hover {
    transform: translateY(-6px);
    border-color: rgba(70, 193, 214, 0.20);
    box-shadow: var(--glow);
}

.about-value-box h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: var(--white);
}

.about-value-box p {
    color: var(--muted);
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.about-service-card {
    padding: 28px 24px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(17,24,45,0.96), rgba(12,18,36,0.98));
    border: 1px solid var(--border);
    transition: var(--transition);
}

.about-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(70, 193, 214, 0.20);
    box-shadow: var(--glow);
}

.about-service-card h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.about-service-card p {
    color: var(--muted);
    font-size: 0.97rem;
}


@media (max-width: 1100px) {
    .web-intro-grid {
        grid-template-columns: 1fr;
    }

    .web-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .web-services-grid {
        grid-template-columns: 1fr;
    }

    .web-intro-card,
    .web-service-box,
    .web-project-content,
    .web-note-box {
        padding: 24px;
    }

    .web-project-preview {
        height: 280px;
    }
}

.web-project-preview {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.web-project-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.web-project-card:hover .web-project-preview img {
    transform: scale(1.05);
}

/* overlay elegante */
.web-project-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,15,31,0.8), transparent 60%);
}

.web-project-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 2;
}

.web-project-overlay span {
    background: rgba(70,193,214,0.2);
    border: 1px solid rgba(70,193,214,0.4);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* LINK ACTIVO */
.navbar-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.navbar-links a.active::after {
    width: 100%;
}


.hero-light-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 1100px);
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(70, 193, 214, 0.55),
        transparent
    );
    z-index: 1;
    box-shadow: 0 0 18px rgba(70, 193, 214, 0.25);
}




/* ========= ANIMACIONES ========= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatGlow {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(18px) scale(1.04);
    }
}

@keyframes softFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ========= SCROLL REVEAL ========= */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
    will-change: opacity, transform;
}

.reveal.reveal-left {
    transform: translateX(-40px);
}

.reveal.reveal-right {
    transform: translateX(40px);
}

.reveal.reveal-scale {
    transform: scale(0.96);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.reveal-delay-1 {
    transition-delay: 0.08s;
}

.reveal-delay-2 {
    transition-delay: 0.16s;
}

.reveal-delay-3 {
    transition-delay: 0.24s;
}

.reveal-delay-4 {
    transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.reveal-left,
    .reveal.reveal-right,
    .reveal.reveal-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ========= HOME EXTRA SECTIONS ========= */

/* TRUST SECTION */
.trust-section {
    padding-top: 70px;
    padding-bottom: 30px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.trust-card {
    padding: 26px 22px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(17,24,45,0.92), rgba(10,15,31,0.98));
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.trust-card:hover {
    transform: translateY(-6px);
    border-color: rgba(70, 193, 214, 0.20);
    box-shadow: var(--glow);
}

.trust-card h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.trust-card p {
    color: var(--muted);
    font-size: 0.96rem;
}

/* PROJECTS HOME */
.projects-home-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.project-home-card {
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(17,24,45,0.96), rgba(12,18,36,0.98));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-home-card:hover {
    transform: translateY(-6px);
    border-color: rgba(70, 193, 214, 0.20);
    box-shadow: var(--glow);
}

.project-home-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.project-home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-home-card:hover .project-home-image img {
    transform: scale(1.05);
}

.project-home-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,15,31,0.75), transparent 60%);
}

.project-home-content {
    padding: 24px;
}

.project-home-content h3 {
    color: var(--white);
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.project-home-content p {
    color: var(--muted);
    margin-bottom: 18px;
}

.projects-home-action {
    margin-top: 30px;
    text-align: center;
}

/* TESTIMONIALS */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.testimonial-card {
    padding: 28px 24px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(70, 193, 214, 0.20);
    box-shadow: var(--glow);
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 16px;
    left: 18px;
    font-size: 3rem;
    line-height: 1;
    color: rgba(70, 193, 214, 0.18);
    font-weight: 700;
}

.testimonial-card p {
    color: var(--text);
    font-size: 0.98rem;
    margin-bottom: 18px;
    padding-top: 18px;
    min-height: 110px;
}

.testimonial-card h3 {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
}

/* RESPONSIVE HOME EXTRA */
@media (max-width: 1100px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .projects-home-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .trust-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .trust-card,
    .project-home-content,
    .testimonial-card {
        padding: 24px;
    }

    .project-home-image {
        height: 240px;
    }

    .testimonial-card p {
        min-height: auto;
    }
}