/* ==============================
   Ofiura Visual - style.css
   ============================== */
:root {
    --accent: #07e4ef;
    --bg: #0a0e29;
    --text: #e9f1f1;
    --muted: #b8c7c7;
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg);
    color: var(--text)
}

/* NAVBAR */
.navbar {
    backdrop-filter: saturate(120%) blur(6px);
    background: rgba(1, 3, 17, .6) !important
}

.navbar .nav-link {
    color: var(--text);
    position: relative;
    border-radius: .75rem;
    padding: .5rem .9rem
}

.navbar .nav-link:hover {
    color: var(--accent)
}

.navbar .nav-link:focus-visible,
.navbar .nav-link.active {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(7, 228, 239, .15);
    color: var(--accent);
}

.navbar-toggler:focus{
    box-shadow:none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* helper to see current section in ScrollSpy */
section {
    scroll-margin-top: 84px
}

#img_logo {
    height: 22px;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: radial-gradient(80vw 80vh at 80% 20%, rgba(7, 228, 239, .08), transparent 60%),
        radial-gradient(60vw 60vh at 10% 80%, rgba(7, 228, 239, .06), transparent 65%),
        linear-gradient(180deg, #232f73 0%, #000 100%);
}

.hero h1 {
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: .5px
}

.headline {
    font-size: clamp(2.6rem, 5vw, 5rem)
}

.subline {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: var(--muted);
    margin-top: 70px;
    margin-bottom: 60px;
}

.btn-info:hover {
    --bs-btn-hover-bg: #b7e3eb;
}

.btn-outline-info:hover {
    --bs-btn-hover-bg: #b7e3eb;
}

/* Underline loader */
.underline {
    position: relative;
    display: inline-block
}

.underline::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -.25em;
    height: 8px;
    background: var(--accent);
    transform-origin: left;
    width: 0;
}

.underline.loaded::after {
    animation: loadline .9s ease forwards
}

@keyframes loadline {
    to {
        width: 100%
    }
}

/* SERVICIOS */
.titulos {
    color: white;
}

.espacio_titulos {
    margin-bottom: 45px;
}

.py-5 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}


/* TRABAJEMOS JUNTOS */
.mt-2 {
    font-size: 1.07rem;
    padding-top: 25px;
}

/* REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translate3d(0, 20px, 0)
}

.reveal.in-view {
    opacity: 1;
    transform: none;
    transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .6s ease
}

.reveal[data-anim="down"].in-view {
    transform: none
}

.reveal[data-anim="up"] {
    transform: translate3d(0, 24px, 0)
}

.reveal[data-anim="up"].in-view {
    transform: none
}

.reveal[data-anim="left"] {
    transform: translate3d(-28px, 0, 0)
}

.reveal[data-anim="left"].in-view {
    transform: none
}

.reveal[data-anim="right"] {
    transform: translate3d(28px, 0, 0)
}

.reveal[data-anim="right"].in-view {
    transform: none
}

/* CARDS / BLOQUES */
.service-card {
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 1.25rem;
    padding: 1.5rem;
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease
}

.service-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(7, 228, 239, .08);
    border-color: rgba(7, 228, 239, .35)
}

/* FOTO CAROUSEL */
.photo-wrap {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08)
}

/* CONTACT over background */
.contact-bg {
    position: relative;
    isolation: isolate;
}

.contact-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url(../imagenes/ofiura2.png) center/cover no-repeat
}

.contact-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(1, 3, 17, .75), rgba(1, 3, 17, .9))
}

.contact-card {
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(6px);
    border-radius: 1rem
}

/* FOOTER */
footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, .08)
}

.social a {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: .85rem;
    border: 1px solid rgba(255, 255, 255, .12);
    transition: transform .18s ease, border-color .18s ease
}

.social a:hover {
    transform: scale(1.08);
    border-color: var(--accent)
}

#final {
    padding-top: 70px;
}

/* Utility */
.accent {
    color: var(--accent)
}

.muted {
    color: var(--muted);
    margin-top: 10px;
    margin-bottom: 25px;
}

#correo {
    margin-top: 25px;
}


.h5 {
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    .hero h1 {
        line-height: 1.2;
    }

    .navbar-nav {
    margin-top: revert;
    }
}