body {
    margin: 0;
    font-family: Arial;
    font-size: 18px;
    color: white;

    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition: background-image 1s ease-in-out;

    padding-top: 110px;
}

/* NAVBAR */
.navbar {
    background: rgba(0,0,0,0.8);
    padding: 35px 20px;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 1000;
}

.nav-logo {
    position: absolute;
    left: 20px;
    top: 10px;
    width: 80px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

/* LINKS */
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    padding-bottom: 8px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #2ecc71;
}

/* 🔥 LINEA ANIMADA */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #2ecc71;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links {
    align-items: center;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    color: white;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    padding-bottom: 8px;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.nav-dropdown-trigger::before {
    content: "\25BE";
    font-size: 11px;
    margin-left: 8px;
    order: 2;
}

.nav-dropdown-trigger::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #2ecc71;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger {
    color: #2ecc71;
}

.nav-dropdown:hover .nav-dropdown-trigger::after {
    width: 100%;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    width: 320px;
    background: rgba(10,10,10,0.96);
    border: 1px solid rgba(46,204,113,0.22);
    box-shadow: 0 18px 35px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1200;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 0;
    width: 100%;
    height: 16px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-right .dropdown-menu {
    left: auto;
    right: 0;
}

.nav-dropdown-right .dropdown-menu::before {
    left: auto;
    right: 0;
}

.dropdown-menu a {
    display: block;
    color: white;
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dropdown-menu a:last-child {
    border-bottom: 0;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    color: #2ecc71;
    background: rgba(46,204,113,0.12);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu-trigger {
    display: block;
    color: white;
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dropdown-submenu-trigger::after {
    display: none;
}

.dropdown-submenu-trigger::before {
    content: "\203A";
    position: absolute;
    right: 18px;
    font-size: 18px;
    margin-left: 0;
}

.dropdown-submenu:hover .dropdown-submenu-trigger {
    color: #2ecc71;
    background: rgba(46,204,113,0.12);
}

.dropdown-submenu-menu {
    position: absolute;
    top: 0;
    left: calc(100% + 8px);
    width: 240px;
    background: rgba(10,10,10,0.98);
    border: 1px solid rgba(46,204,113,0.22);
    box-shadow: 0 18px 35px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1250;
}

.dropdown-submenu:hover .dropdown-submenu-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-submenu-menu a {
    display: block;
}

/* CONTENIDO */
.overlay {
    background: rgba(0,0,0,0.6);
    padding: 40px 0;
}

.container {
    max-width: 1000px;
    margin: auto;
    padding: 30px;
}

/* EFECTO VIDRIO */
.glass {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* INICIO */
.inicio-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.inicio-texto {
    flex: 1;
}

.inicio-logo {
    flex: 1;
    text-align: center;
}

.inicio-logo img {
    width: 260px;
    max-width: 100%;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
    transition: transform 0.3s;
}

.inicio-logo img:hover {
    transform: scale(1.05);
}

h1, h2 {
    text-align: center;
}

/* TARJETAS */
.servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: rgba(255,255,255,0.25);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

/* 🔥 GALERIA VERTICAL */
.galeria {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.galeria img,
.galeria video {
    width: 100%;
    max-height: 400px;
    border-radius: 10px;
    object-fit: cover;
}

/* 🔥 SLIDER LOGOS */
.slider {
    overflow: hidden;
    width: 100%;
    margin-top: 20px;
}

.slide-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll 55s linear infinite;
}

.logo-slide {
    min-width: 190px;
    height: 96px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: transform 0.3s, opacity 0.3s;
}

.logo-slide img {
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
}

.logo-slide:hover {
    opacity: 1;
    transform: scale(1.08);
}

.logo-placeholder {
    color: white;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ANIMACIÓN */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* BOTONES */
.whatsapp, .instagram {
    position: fixed;
    right: 20px;
    width: 60px;
    z-index: 1000;
}

.whatsapp {
    bottom: 20px;
}

.instagram {
    bottom: 90px;
}

.whatsapp img, .instagram img {
    width: 100%;
    border-radius: 50%;
    transition: transform 0.2s;
}

.whatsapp img:hover, .instagram img:hover {
    transform: scale(1.1);
}

/* FOOTER */
.footer {
    text-align: center;
    color: white;
}

/* FOOTER PRO */
.footer-pro {
    background: rgba(0,0,0,0.8);
    padding: 50px 20px;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-container {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h3 {
    margin-bottom: 15px;
    color: #2ecc71;
}

.footer-col p,
.footer-col a,
.footer-col li {
    color: white;
    font-size: 14px;
    text-decoration: none;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

/* hover elegante */
.footer-col a:hover {
    color: #2ecc71;
    text-decoration: underline;
}

/* redes */
.socials {
    margin-top: 15px;
}

.socials a {
    display: inline-block;
    margin-right: 12px;
    font-size: 14px;
    transition: 0.3s;
}

.socials a:hover {
    color: #2ecc71;
}

/* LOGO FOOTER */
.footer-logo {
    width: 120px;
    margin-bottom: 15px;
    display: block;
    filter: brightness(0) invert(1);
}

/* SERVICIOS PRO */
.servicios-pro {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 30px;
    text-align: center;
}

.servicio-item img {
    width: 60px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.servicio-item h3 {
    color: #2ecc71;
    font-size: 16px;
    margin-bottom: 10px;
}

.servicio-item p {
    font-size: 14px;
    color: #ddd;
    line-height: 1.5;
}

/* hover pro */
.servicio-item {
    transition: 0.3s;
}

.servicio-item:hover {
    transform: translateY(-5px);
}

.page-gip {
    background: linear-gradient(180deg, #edf2ea 0%, #f8faf7 100%);
    color: #203024;
}

.page-gip .overlay {
    background:
        radial-gradient(circle at top left, rgba(46, 204, 113, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(243,247,241,0.96) 100%);
}

.gip-overlay {
    padding-top: 36px;
    padding-bottom: 56px;
}

.gip-container {
    max-width: 1180px;
}

.gip-hero {
    min-height: 290px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 32px;
    margin-bottom: 42px;
    background:
        linear-gradient(rgba(7, 30, 15, 0.45), rgba(7, 30, 15, 0.52)),
        url('/img/fondo2.jpeg') center/cover no-repeat;
    box-shadow: 0 24px 50px rgba(31, 49, 35, 0.18);
}

.gip-hero-content {
    max-width: 760px;
    color: #fff;
}

.gip-kicker {
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    color: rgba(255,255,255,0.82);
}

.gip-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.08;
}

.gip-lead {
    margin: 18px auto 0;
    max-width: 640px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.92);
}

.gip-section {
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(27, 53, 34, 0.08);
    border-radius: 24px;
    padding: 42px 36px;
    box-shadow: 0 18px 45px rgba(35, 50, 39, 0.08);
    margin-bottom: 34px;
}

.gip-section-heading {
    text-align: center;
    margin-bottom: 30px;
}

.gip-section-heading h2 {
    margin: 0;
    color: #173c25;
    font-size: 30px;
}

.gip-section-heading p {
    margin: 12px auto 0;
    max-width: 720px;
    color: #526355;
    line-height: 1.7;
}

.gip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.gip-card {
    min-height: 170px;
    background: #fff;
    border-radius: 20px;
    padding: 26px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    box-shadow: 0 14px 32px rgba(27, 44, 31, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gip-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(27, 44, 31, 0.12);
}

.gip-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(46,204,113,0.14), rgba(25,102,54,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.gip-card-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: invert(20%) sepia(19%) saturate(847%) hue-rotate(86deg) brightness(95%) contrast(88%);
}

.gip-card h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #28392c;
    text-transform: uppercase;
}

.gip-card-wide {
    grid-column: span 2;
}

.gip-carousel {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
}

.gip-carousel-viewport {
    overflow: hidden;
    border-radius: 24px;
}

.gip-carousel-track {
    display: flex;
    transition: transform 0.45s ease;
}

.gip-slide {
    min-width: 100%;
    margin: 0;
}

.gip-slide img,
.gip-slide video {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    background: #101812;
}

.gip-carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(20, 44, 27, 0.7);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.gip-carousel-button.prev {
    left: 16px;
}

.gip-carousel-button.next {
    right: 16px;
}

.gip-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.gip-carousel-dots button {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 0;
    background: rgba(27, 44, 31, 0.2);
    cursor: pointer;
}

.gip-carousel-dots button.active {
    background: #2ecc71;
}

.page-cipla-system {
    background: linear-gradient(180deg, #eff4ee 0%, #fafcf8 100%);
    color: #203024;
}

.page-cipla-system .overlay {
    background:
        radial-gradient(circle at top right, rgba(46, 204, 113, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(245,248,243,0.97) 100%);
}

.cipla-system-overlay {
    padding-top: 36px;
    padding-bottom: 56px;
}

.cipla-system-container {
    max-width: 1180px;
}

.cipla-system-hero {
    min-height: 280px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 32px;
    margin-bottom: 42px;
    background:
        linear-gradient(rgba(15, 34, 17, 0.46), rgba(15, 34, 17, 0.52)),
        url('/img/fondo2.jpeg') center/cover no-repeat;
    box-shadow: 0 24px 50px rgba(31, 49, 35, 0.18);
}

.cipla-system-hero-content {
    max-width: 760px;
    color: #fff;
}

.cipla-system-kicker {
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    color: rgba(255,255,255,0.82);
}

.cipla-system-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.08;
}

.cipla-system-lead {
    margin: 18px auto 0;
    max-width: 660px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.92);
}

.cipla-system-section {
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(27, 53, 34, 0.08);
    border-radius: 24px;
    padding: 42px 36px;
    box-shadow: 0 18px 45px rgba(35, 50, 39, 0.08);
    margin-bottom: 34px;
}

.cipla-system-heading {
    text-align: center;
    margin-bottom: 30px;
}

.cipla-system-heading h2 {
    margin: 0;
    color: #173c25;
    font-size: 30px;
}

.cipla-system-heading p {
    margin: 12px auto 0;
    max-width: 720px;
    color: #526355;
    line-height: 1.7;
}

.cipla-system-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.cipla-system-card {
    min-height: 180px;
    background: #fff;
    border-radius: 22px;
    padding: 26px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    box-shadow: 0 14px 32px rgba(27, 44, 31, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cipla-system-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(27, 44, 31, 0.12);
}

.cipla-system-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(46,204,113,0.14), rgba(25,102,54,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.cipla-system-icon svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: #73808b;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cipla-system-card h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: #28392c;
    text-transform: uppercase;
}

.cipla-system-carousel .gip-slide {
    padding: 0;
}

.cipla-system-carousel .gip-carousel-viewport {
    background: linear-gradient(180deg, #f4f7f4 0%, #eef2ed 100%);
}

.cipla-system-real-slide {
    min-height: 560px;
    background: linear-gradient(180deg, #f4f7f4 0%, #eef2ed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.cipla-system-real-slide img {
    width: 100%;
    height: 528px;
    object-fit: contain;
    display: block;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 48px rgba(28, 41, 31, 0.12);
}

.cipla-system-preview {
    min-height: 520px;
    padding: 16px;
    background: linear-gradient(180deg, #f5f7f4 0%, #eef2ed 100%);
}

.preview-window {
    height: 100%;
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 22px 48px rgba(28, 41, 31, 0.12);
    border: 1px solid rgba(24, 46, 28, 0.08);
}

.preview-toolbar {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    background: #edf2ee;
    border-bottom: 1px solid rgba(24, 46, 28, 0.08);
}

.preview-toolbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c2cbc0;
}

.preview-body {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 458px;
}

.preview-sidebar {
    background: linear-gradient(180deg, #f2f8f1 0%, #e3f3df 100%);
    padding: 22px 18px;
    border-right: 1px solid rgba(23, 60, 37, 0.08);
}

.preview-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #2ecc71;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.preview-line {
    height: 10px;
    border-radius: 999px;
    background: rgba(23, 60, 37, 0.14);
    margin-bottom: 12px;
}

.preview-line.short {
    width: 62%;
}

.preview-content {
    padding: 24px;
}

.preview-header {
    height: 74px;
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(46,204,113,0.18), rgba(24,135,74,0.08));
    margin-bottom: 18px;
}

.preview-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.preview-box {
    border-radius: 18px;
    background: #f2f5f2;
    min-height: 140px;
}

.preview-box.tall {
    min-height: 180px;
    background:
        linear-gradient(180deg, rgba(46,204,113,0.08), rgba(46,204,113,0.02)),
        repeating-linear-gradient(0deg, transparent, transparent 17px, rgba(32,48,36,0.05) 17px, rgba(32,48,36,0.05) 18px);
}

.preview-chart-bars {
    height: 148px;
    border-radius: 18px;
    background: #17201a;
    display: flex;
    align-items: flex-end;
    justify-content: space-evenly;
    padding: 18px;
}

.preview-chart-bars span {
    width: 22px;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(180deg, #2ecc71 0%, #22a35a 100%);
}

.preview-chart-bars span:nth-child(1) { height: 34%; }
.preview-chart-bars span:nth-child(2) { height: 58%; }
.preview-chart-bars span:nth-child(3) { height: 46%; }
.preview-chart-bars span:nth-child(4) { height: 72%; }
.preview-chart-bars span:nth-child(5) { height: 40%; }
.preview-chart-bars span:nth-child(6) { height: 80%; }
.preview-chart-bars span:nth-child(7) { height: 52%; }
.preview-chart-bars span:nth-child(8) { height: 64%; }

.preview-analytics .preview-window {
    padding-bottom: 24px;
}

.preview-table-head {
    height: 62px;
    margin: 24px 24px 14px;
    border-radius: 16px;
    background: linear-gradient(90deg, #3cb566, #1f8747);
}

.preview-table-grid {
    margin: 0 24px 22px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.preview-table-grid span {
    height: 32px;
    border-radius: 8px;
    background: #e7ece6;
}

.preview-graph {
    margin: 0 24px;
    height: 248px;
    border-radius: 18px;
    background: #181f1a;
    position: relative;
    overflow: hidden;
}

.preview-graph-grid {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.06) 39px, rgba(255,255,255,0.06) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 54px, rgba(255,255,255,0.04) 54px, rgba(255,255,255,0.04) 55px);
}

.preview-graph-bars {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.preview-graph-bars span {
    width: 42px;
    background: linear-gradient(180deg, #ffd75e 0%, #ef7d32 100%);
    border-radius: 12px 12px 0 0;
}

.preview-graph-bars span:nth-child(1) { height: 38%; }
.preview-graph-bars span:nth-child(2) { height: 72%; }
.preview-graph-bars span:nth-child(3) { height: 48%; }
.preview-graph-bars span:nth-child(4) { height: 82%; }
.preview-graph-bars span:nth-child(5) { height: 60%; }
.preview-graph-bars span:nth-child(6) { height: 54%; }
.preview-graph-bars span:nth-child(7) { height: 88%; }

.preview-plan-layout {
    display: grid;
    grid-template-columns: 190px 1fr;
    min-height: 458px;
}

.preview-plan-panel {
    background: #eef5ea;
    border-right: 1px solid rgba(23, 60, 37, 0.08);
    padding: 24px 18px;
}

.preview-plan-canvas {
    position: relative;
    margin: 18px;
    border-radius: 20px;
    background:
        radial-gradient(circle at center, rgba(46,204,113,0.08), transparent 55%),
        repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(23, 60, 37, 0.05) 31px, rgba(23, 60, 37, 0.05) 32px),
        repeating-linear-gradient(90deg, transparent, transparent 31px, rgba(23, 60, 37, 0.05) 31px, rgba(23, 60, 37, 0.05) 32px),
        #fff;
    overflow: hidden;
}

.plan-room {
    position: absolute;
    border: 3px solid #6f7f73;
    border-radius: 12px;
    background: rgba(255,255,255,0.76);
}

.room-a {
    top: 36px;
    left: 34px;
    width: 160px;
    height: 120px;
}

.room-b {
    top: 54px;
    left: 230px;
    width: 230px;
    height: 92px;
}

.room-c {
    top: 188px;
    left: 72px;
    width: 210px;
    height: 104px;
}

.room-d {
    top: 198px;
    left: 332px;
    width: 198px;
    height: 132px;
}

.room-e {
    top: 86px;
    right: 44px;
    width: 138px;
    height: 224px;
    border-radius: 28px;
}

.plan-point {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2ecc71;
    border: 3px solid #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.point-1 { top: 58px; left: 118px; }
.point-2 { top: 126px; left: 286px; }
.point-3 { top: 210px; left: 154px; }
.point-4 { top: 242px; left: 392px; }
.point-5 { top: 144px; right: 94px; }
.point-6 { bottom: 52px; right: 168px; }

.page-documentacion {
    background: linear-gradient(180deg, #eef4ec 0%, #f8fbf7 100%);
    color: #203024;
}

.page-documentacion .overlay {
    background:
        radial-gradient(circle at top left, rgba(46, 204, 113, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(245,248,243,0.97) 100%);
}

.documentacion-overlay {
    padding-top: 36px;
    padding-bottom: 56px;
}

.documentacion-container {
    max-width: 1180px;
}

.documentacion-hero {
    min-height: 280px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 32px;
    margin-bottom: 42px;
    background:
        linear-gradient(rgba(12, 34, 17, 0.5), rgba(12, 34, 17, 0.56)),
        url('/img/fondo1.jpeg') center/cover no-repeat;
    box-shadow: 0 24px 50px rgba(31, 49, 35, 0.18);
}

.documentacion-hero-content {
    max-width: 760px;
    color: #fff;
}

.documentacion-kicker {
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    color: rgba(255,255,255,0.82);
}

.documentacion-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.08;
}

.documentacion-lead {
    margin: 18px auto 0;
    max-width: 660px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.92);
}

.documentacion-layout {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: 28px;
}

.documentacion-layout-public {
    grid-template-columns: minmax(0, 820px);
    justify-content: center;
}

.documentacion-panel {
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(27, 53, 34, 0.08);
    border-radius: 24px;
    padding: 34px 30px;
    box-shadow: 0 18px 45px rgba(35, 50, 39, 0.08);
}

.documentacion-heading {
    margin-bottom: 22px;
}

.documentacion-heading h2 {
    margin: 0;
    color: #173c25;
    font-size: 30px;
}

.documentacion-heading p {
    margin: 10px 0 0;
    color: #526355;
    line-height: 1.7;
}

.documentacion-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.documentacion-empty {
    margin: 0;
    padding: 22px 20px;
    border-radius: 18px;
    background: #f4f7f4;
    color: #607361;
    text-align: center;
}

.documentacion-item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(27, 44, 31, 0.08);
}

.documentacion-item-icon {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(46,204,113,0.16), rgba(25,102,54,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a6e3c;
    font-weight: bold;
    letter-spacing: 0.08em;
}

.documentacion-item-content h3 {
    margin: 0 0 6px;
    color: #173c25;
    font-size: 19px;
}

.documentacion-item-content p {
    margin: 0;
    color: #607361;
    font-size: 14px;
}

.documentacion-item-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.documentacion-item-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: 12px 16px;
    border-radius: 14px;
    background: #eff4ee;
    color: #173c25;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.documentacion-item-actions a:hover {
    background: #2ecc71;
    color: #fff;
}

.page-productos {
    background: linear-gradient(180deg, #eef4ec 0%, #f8fbf7 100%);
    color: #203024;
}

.page-productos .overlay {
    background:
        radial-gradient(circle at top right, rgba(46, 204, 113, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(245,248,243,0.97) 100%);
}

.productos-overlay {
    padding-top: 36px;
    padding-bottom: 56px;
}

.productos-container {
    max-width: 1180px;
}

.productos-hero {
    min-height: 260px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 42px 32px;
    margin-bottom: 42px;
    background:
        linear-gradient(rgba(12, 34, 17, 0.5), rgba(12, 34, 17, 0.56)),
        url('/img/fondo3.jpeg') center/cover no-repeat;
    box-shadow: 0 24px 50px rgba(31, 49, 35, 0.18);
}

.productos-hero-content {
    max-width: 760px;
    color: #fff;
}

.productos-kicker {
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    color: rgba(255,255,255,0.82);
}

.productos-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.08;
}

.productos-lead {
    margin: 18px auto 0;
    max-width: 660px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.92);
}

.productos-panel {
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(27, 53, 34, 0.08);
    border-radius: 24px;
    padding: 34px 30px;
    box-shadow: 0 18px 45px rgba(35, 50, 39, 0.08);
}

.productos-heading {
    text-align: center;
    margin-bottom: 26px;
}

.productos-heading h2 {
    margin: 0;
    color: #173c25;
    font-size: 30px;
}

.productos-heading p {
    margin: 10px auto 0;
    max-width: 720px;
    color: #526355;
    line-height: 1.7;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.producto-card {
    border-radius: 22px;
    padding: 26px 22px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(27, 44, 31, 0.08);
    text-decoration: none;
    color: #203024;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 220px;
}

.producto-card-image {
    height: 190px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8faf7 0%, #eef4ee 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
}

.producto-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}

.producto-card-download:hover .producto-card-image img {
    transform: scale(1.04);
}

.producto-card-badge {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(46,204,113,0.16), rgba(25,102,54,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a6e3c;
    font-weight: bold;
    letter-spacing: 0.08em;
}

.producto-card-badge.muted {
    color: #6e7d72;
    background: #edf2ee;
}

.producto-card h3 {
    margin: 0;
    color: #173c25;
    font-size: 24px;
}

.producto-card p {
    margin: 0;
    color: #607361;
    line-height: 1.7;
    flex: 1;
}

.producto-card span {
    font-size: 14px;
    font-weight: bold;
    color: #1f8747;
}

.producto-card-download:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(27, 44, 31, 0.12);
}

.producto-card-placeholder {
    border: 2px dashed rgba(46, 204, 113, 0.22);
    background: linear-gradient(180deg, rgba(46,204,113,0.04), rgba(46,204,113,0.02));
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar {
        padding: 28px 16px 20px;
    }

    .nav-links {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-logo {
        width: 68px;
        top: 14px;
    }

    .dropdown-menu {
        left: 50%;
        width: min(320px, calc(100vw - 32px));
        transform: translate(-50%, 8px);
    }

    .nav-dropdown:hover .dropdown-menu {
        transform: translate(-50%, 0);
    }

    .dropdown-submenu-menu {
        position: static;
        width: 100%;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255,255,255,0.03);
    }

    .dropdown-submenu-trigger {
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .dropdown-submenu-trigger::before {
        content: "\25BE";
        right: 18px;
    }

    .dropdown-submenu-menu a {
        padding-left: 28px;
    }

    .servicios-pro {
        grid-template-columns: 1fr;
    }

    .gip-hero {
        min-height: 240px;
        padding: 36px 22px;
        border-radius: 20px;
    }

    .gip-section {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .gip-grid {
        grid-template-columns: 1fr;
    }

    .gip-card-wide {
        grid-column: span 1;
    }

    .gip-slide img,
    .gip-slide video {
        height: 260px;
    }

    .gip-carousel-button {
        width: 42px;
        height: 42px;
        font-size: 28px;
    }

    .gip-carousel-button.prev {
        left: 10px;
    }

    .gip-carousel-button.next {
        right: 10px;
    }

    .cipla-system-hero {
        min-height: 238px;
        padding: 36px 22px;
        border-radius: 20px;
    }

    .cipla-system-section {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .cipla-system-grid {
        grid-template-columns: 1fr;
    }

    .cipla-system-preview {
        min-height: 380px;
        padding: 10px;
    }

    .cipla-system-real-slide {
        min-height: 320px;
        padding: 10px;
    }

    .cipla-system-real-slide img {
        height: 300px;
        border-radius: 16px;
    }

    .preview-body,
    .preview-plan-layout {
        grid-template-columns: 1fr;
    }

    .preview-sidebar,
    .preview-plan-panel {
        border-right: 0;
        border-bottom: 1px solid rgba(23, 60, 37, 0.08);
    }

    .preview-row {
        grid-template-columns: 1fr;
    }

    .preview-chart-bars span {
        width: 14px;
    }

    .preview-graph-bars span {
        width: 22px;
    }

    .room-a {
        top: 28px;
        left: 22px;
        width: 104px;
        height: 82px;
    }

    .room-b {
        top: 34px;
        left: 140px;
        width: 122px;
        height: 72px;
    }

    .room-c {
        top: 136px;
        left: 38px;
        width: 138px;
        height: 74px;
    }

    .room-d {
        top: 148px;
        left: 188px;
        width: 108px;
        height: 96px;
    }

    .room-e {
        top: 62px;
        right: 22px;
        width: 76px;
        height: 160px;
    }

    .point-1 { top: 48px; left: 76px; }
    .point-2 { top: 84px; left: 176px; }
    .point-3 { top: 148px; left: 92px; }
    .point-4 { top: 176px; left: 228px; }
    .point-5 { top: 120px; right: 48px; }
    .point-6 { bottom: 42px; right: 92px; }

    .documentacion-hero {
        min-height: 238px;
        padding: 36px 22px;
        border-radius: 20px;
    }

    .documentacion-layout {
        grid-template-columns: 1fr;
    }

    .documentacion-panel {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .documentacion-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .documentacion-item-icon {
        margin: 0 auto;
    }

    .documentacion-item-actions {
        justify-content: center;
    }

    .productos-hero {
        min-height: 220px;
        padding: 34px 22px;
        border-radius: 20px;
    }

    .productos-panel {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .productos-grid {
        grid-template-columns: 1fr;
    }
}
