/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    background: #030609;
    color: #F8F8F8;
}
html {
    scroll-behavior: smooth;
}
.menu a,
.logo {
    font-family: 'IBM Plex Sans', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Saira Condensed', sans-serif;
}

/* CONTENEDOR */
.container {
    width: 100%;
    max-width: 80%;
    margin: auto;
}

/* HEADER */
.header {
    background: #030609;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #00b9c340;
        padding: 10px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
     position: relative;
    z-index: 2001;
}

.logo {
    color: #003b75;
    font-weight: bold;
    font-size: 27px;
    letter-spacing: 1px;
    position: relative;
    z-index: 2001;
}
a.btn-contacto {
    font-size: 15px;
    color: #fff;
}
/* MENÚ */
.menu a {
    position: relative;
    color: #F8F8F8;
    text-decoration: none;
    margin-left: 25px;
    font-size: 16px;
    transition: 0.3s;
    font-weight: 500;
}

/* Línea oculta */
.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #E46212;
    transition: width 0.35s ease;
}

/* Hover → aparece la línea */
.menu a:hover::after {
    width: 100%;
}
.btn-contacto {
    background: #003B75;
    padding: 8px 15px;
    border-radius: 5px;
}

/* HERO */
.hero {
    height: 100vh;
    background-color: #030609;
    background: url('../img/fondo.webp') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}
/* BASE */
.corner {
    position: absolute;
    width: 50px;
    height: 50px;
    border-color: #00b4bb;
    opacity: 0.8;
    z-index: 10;
}

/* ESQUINAS */

/* arriba izquierda */
.top-left {
    top: 115px;
    left: 30px;
    border-top: 2px solid #00b9c3;
    border-left: 2px solid #00b9c3;
}

/* arriba derecha */
.top-right {
    top: 115px;
    right: 30px;
    border-top: 2px solid #00b9c3;
    border-right: 2px solid #00b9c3;
}

/* abajo izquierda */
.bottom-left {
    bottom: 40px;
    left: 30px;
    border-bottom: 2px solid #00b9c3;
    border-left: 2px solid #00b9c3;
}

/* abajo derecha */
.bottom-right {
    bottom: 40px;
    right: 30px;
    border-bottom: 2px solid #00b9c3;
    border-right: 2px solid #00b9c3;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
        background: rgb(3 6 9 / 72%);
        
}

/* CONTENIDO HERO */
.hero-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* TEXTO */
.hero-text {
    max-width: 550px;
    border-top: 1px solid #E46212;
    flex: 1;
}

.hero-text h1 {
    font-size: 4.5rem;
    margin-bottom: 10px;
}

.hero-text h2 {
    color: #E46212;
    font-size: 1.875rem;
    margin-bottom: 15px;
    font-weight: 400;
    font-family: 'IBM Plex Sans', sans-serif;
}

.hero-text .sub {
    color: #7b8186;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.hero-text .desc {
    line-height: 1.6;
    margin-bottom: 25px;
    color: color-mix(in oklab, #f8f8f8 80%, transparent);
    font-size: 1.125rem;
}

/* BOTÓN */
.btn-primary {
    display: inline-flex;
    align-items: center;    
    justify-content: center; 
    gap: 8px;        
    background: #003B75;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: 0.3s;
    font-size: .875rem;
    font-weight: 500;
}
svg.lucide.lucide-arrow-right.ml-2.h-5.w-5.group-hover\:translate-x-1.transition-transform {
    width: 1rem;
    height: 1rem;
}
.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(5px);
}
.btn-primary:hover {
    background: #01376d;
}

/* FRASE */
.frase {
    color: #E46212;
        font-size: 1.125rem;
    padding-top: 2.5rem;
}
.hero-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-left: 230px;
}
.hero-logo::before {
    content: "";
    position: absolute;
    top: 45%;
    left: 70%;
    width: 420px;
    height: 420px;
    transform: translate(-50%, -50%);
    
    background: radial-gradient(
        circle,
        rgba(228, 98, 18, 0.45) 0%,   /* centro intenso */
        rgba(228, 98, 18, 0.25) 25%,
        rgba(228, 98, 18, 0.12) 45%,
        rgba(228, 98, 18, 0.05) 60%,
        transparent 75%
    );

    filter: blur(35px);
    z-index: 0;
}

/*  GLOW EXTRA (más profundo) */
.hero-logo::after {
    content: "";
    position: absolute;
    top: 45%;
    left: 70%;
    width: 450px;
    height: 450px;
    transform: translate(-50%, -50%);
    
    background: radial-gradient(
        circle,
        rgba(255, 140, 40, 0.25),
        transparent 70%
    );

    filter: blur(50px);
    z-index: 0;
}

/* LOGO DERECHA */
.hero-logo img {
    position: relative;
    z-index: 2;
    width: 29rem;
    opacity: 0.9;
    animation: float 4s ease-in-out infinite;
    margin-top: 95px;
}
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px); /* sube */
    }
    100% {
        transform: translateY(0px);
    }
}

.about {
    background: #0c1318;
    padding: 100px 0;
}

/* HEADER */
.about-header {
    text-align: center;
    max-width: 800px;
    margin: auto;
    margin-bottom: 60px;
}

.tag {
    color: #E46212;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
}

.tag::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 2px;
    background: #E46212;
    margin-left: 10px;
    vertical-align: middle;
}

.about-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-header p {
    color: #aab4bd;
    line-height: 1.7;
    font-size: 1.25rem;
}

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

/* CARD */
.card {
    background: color-mix(in oklab, #030609 50%, transparent);
    border: 1px solid rgba(0, 180, 187, 0.2);
    border-radius: 10px;
    padding: 25px;
    transition: 0.3s;
    position: relative;
}
/* esquina superior izquierda */
.card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #00b4bb;
    border-left: 2px solid #00b4bb;
    opacity: 0.8;
}

/* esquina inferior derecha */
.card::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 18px;
    height: 18px;
    border-bottom: 2px solid #00b4bb;
    border-right: 2px solid #00b4bb;
    opacity: 0.8;
}
.card:hover {
    transform: translateY(-5px);
    border-color: #00b4bb;
}

/* ICONO */
.icon {
    width: 65px;
    height: 65px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
        padding: 5px;
    margin-bottom: 30px;
}

/* SVG */
.icon-svg {
    width: 35px;
    height: 35px;
    stroke-width: 2;
    fill: none;
}

/* COLORES */

/* azul */
.icon.blue {
    background: #01376d24;
}
.icon.blue .icon-svg {
    stroke: #003b75;
}

/* naranja */
.icon.orange {
    background: rgba(228, 98, 18, 0.1);
}
.icon.orange .icon-svg {
    stroke: #E46212;
}

/* cyan */
.icon.cyan {
    background: rgba(0, 180, 187, 0.1);
}
.icon.cyan .icon-svg {
    stroke: #00b4bb;
}

/* HOVER tipo Tailwind group-hover */
.card:hover  {
   border:1px solid #E46212;
}
.card:hover .icon.blue {
    background: #01376d4a;
}
.card:hover .icon.orange {
background: rgb(228 98 18 / 21%);
}
.card:hover .icon.cyan {
background: rgb(0 180 187 / 21%);
}
/* TEXTO */
.card h3 {
    margin-bottom: 20px;
    font-size: 1.75rem;
}

.card p {
    color: #aab4bd;
    font-size: 17px;
    margin-bottom: 35px;
}

/* IMAGEN */
.card img {
    width: 100%;
    border-radius: 6px;
}
/* HAMBURGUESA */
.hamburguesa{
    display:none;
    flex-direction:column;
    cursor:pointer;
}

.hamburguesa span{
    width:22px;
    height:2px;
    background:#F8F8F8;
    margin:2px 0;
    transition:0.3s;
}
.hamburguesa.active span:nth-child(1){
    transform: rotate(45deg) translate(5px,5px);
}

.hamburguesa.active span:nth-child(2){
    opacity: 0;
}

.hamburguesa.active span:nth-child(3){
    transform: rotate(-45deg) translate(5px,-5px);
}
    

    /* Línea separadora */
    .menu::before{
        content:"";
        position:absolute;
        top:80px;
        left:30px;
        right:30px;
        height:1px;
        background: rgba(255,255,255,0.1);
    }

    /* Botón contacto */
    .menu .btn-contacto{
        margin-top: auto;
        width: 100%;
        text-align: center;
        padding: 12px;
        border-radius: 6px;
    }
    
    .services {
    background: #030609;
    padding: 100px 0;
}

/* HEADER */
.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: 3rem;
    margin: 10px 0;
}

.services-header p {
    color: #aab4bd;
    line-height: 1.7;
    font-size: 1.25rem;
}

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

/* ITEM */
.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px;
    border: 1px solid rgba(0, 180, 187, 0.2);
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    transition: 0.3s;
    cursor: pointer;
}

/* ICON */
.icon.orange {
    width: 65px;
    height: 65px;
    background: rgba(228, 98, 18, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.icon-svg {
    width: 20px;
    height: 20px;
    stroke: #E46212;
    fill: none;
    stroke-width: 2;
}

/* TEXTO */
.service-item span {
    font-weight: 500;
    font-family: 'Saira Condensed', sans-serif;
    font-size: 1.25rem;
}

/* HOVER */
.service-item:hover {
    border-color: #E46212;
}

.service-item:hover span {
    color: #E46212;
}

/* BOTÓN */
.services-btn {
    text-align: center;
    margin-top: 50px;
}
a.btn-outline svg.lucide.lucide-arrow-right.ml-2.h-5.w-5.group-hover\:translate-x-1.transition-transform {
    margin-left: 10px;
}

.btn-outline {
    border: 1px solid rgba(0, 180, 187, 0.2);
    padding: 12px 20px;
    color: #E46212;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #E46212;
    color: #fff;
}
.icon.orange.new {
    margin-bottom: 0px !important;
    width: 40px;
    height: 40px;
}
.cases {
    background: #0c1318;
    padding: 100px 0;
}

/* HEADER */
.cases-header {
    text-align: center;
    margin-bottom: 60px;
}

.cases-header h2 {
    font-size: 3rem;
    margin: 10px 0;
}

.cases-header p {
    color: #aab4bd;
        line-height: 1.7;
    font-size: 1.25rem;
}

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

/* CARD */
.case-card {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(234, 181, 50, 0.4);
    border-radius: 10px;
    padding: 50px;
    transition: 0.3s;
}

/* HOVER */
.case-card:hover {
    border-color: #eab532;
}

/* TOP */
.case-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.case-id {
    color: #eab532;
    letter-spacing: 1px;
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem;
}

/* ICONO */
.check-icon {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(234, 181, 50, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon svg {
    width: 18px;
    height: 18px;
    stroke: #eab532;
    fill: none;
    stroke-width: 2;
}

/* TEXTO */
.case-card h3 {
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.65rem;
}

.case-card p {
    font-size: .875rem;
    color: #cbd5df;
    margin-bottom: 20px;
}

.case-card strong {
    color: #E46212;
    font-weight: 600;
    line-height: 1.5;
    font-size: 1rem;
}

.highlight {
    color: #eab532;
    font-weight: bold;
}
.contact {
    background: #030609;
    padding: 100px 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 3rem;
    margin: 10px 0;
}

.contact-header p {
    color: #aab4bd;
    max-width: 700px;
    margin: auto;
    font-size: 1.25rem;
}

/* BOX */
.contact-box {
    max-width: 900px;
    margin: auto;
    padding: 40px;
    border: 1px solid rgba(0, 180, 187, 0.2);
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
}

/* FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full {
    width: 100%;
}

.form-group label {
    font-size: 14px;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    background: transparent;
    border: 1px solid rgba(0, 180, 187, 0.2);
    padding: 12px;
    border-radius: 6px;
    color: #F8F8F8;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #00b4bb;
}

/* BOTÓN */
.btn-primary {
    background: #003B75;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
        font-weight: 600;
}

.btn-primary:hover {
    background: #0050a0;
}

/* FOOTER */
.contact-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #aab4bd;
}

.mail-icon {
    color: #E46212;
    margin-right: 8px;
}
svg.lucide.lucide-arrow-right.ml-2.h-5.w-5.group-hover\:translate-x-1.transition-transform {
    margin-left: 5px;
}
.form-message {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.form-message.success {
    color: #00b4bb;
}

.form-message.error {
    color: #E46212;
}
.footer {
    background: #030609;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #00b9c340;
}

/* TEXTO PRINCIPAL */
.footer-title {
    font-size: 19px;
    color: #f8f8f8c4;;
    margin-bottom: 20px;
}

/* LÍNEA */
.footer-line {
    width: 150px;
    height: 1px;
    background: #e4621266;
    margin: 0 auto 20px auto;
}

/* COPYRIGHT */
.footer-copy {
    font-size: 15px;
    color: #7f8c96;
    font-weight: 500;
}
/* RESPONSIVE */
@media (max-width: 1299px) {
    .hero-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-left: 0px;
    }
}
@media (max-width: 1024px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-header h2 {
        font-size: 34px;
    }
.cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        margin-top: 95px;
    }
    .hero {
    height: auto;
}
.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}
    .hero-logo img {
        margin-top: 60px;
        width: 400px;
    }
    .hero-logo::before {
    top: 75%;
        left: 50%;
}

.hero-logo::after {
    top: 75%;
        left: 50%;
}

}
@media (max-width: 767px){

    .hamburguesa{
        display:flex;
        z-index: 2000;
    }

    .menu{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #030609;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;

        padding: 100px 100px 30px 100px;
        gap: 33px;

        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }

    .menu.active{
        transform: translateY(0);
    }
    .menu a{
        font-size: 18px;
        margin: 0;
        color: #aab4bd;
        width: 100%;
    }

    .menu a:hover{
        color: #fff;
    }
    .about-grid {
    grid-template-columns: repeat(1, 1fr);
}

    .services {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-item {
        padding: 18px;
    }

    .services-header h2 {
        font-size: 28px;
    }

    .services-header p {
        font-size: 14px;
        padding: 0 10px;
    }
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .cases-header h2 {
        font-size: 28px;
    }
    .contact-box {
        padding: 25px;
    }

    .form-row {
        flex-direction: column;
    }

    .contact-header h2 {
        font-size: 28px;
    }
    .hero-content {
        margin-top: 110px;
    }
    .hero-text {
    border: none;
}
    .hero-logo img {
        width: 300px;
    }
}
@media (max-width: 480px) {

    .services-header h2 {
        font-size: 24px;
    }

    .service-item {
        gap: 10px;
    }

    .service-item span {
        font-size: 14px;
    }

    .icon.orange {
        width: 35px;
        height: 35px;
    }

    .icon-svg {
        width: 18px;
        height: 18px;
    }

}