/* ====================================================
   Estilos personalizados - Alejandra del Castillo
   ==================================================== */

/* --- Base --- */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    font-size: 14px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

/* --- Imágenes de fondo --- */
.st-dibujo {
    background-image: url(../img/bg-dibujo.jpg);
}
.st-instalaciones {
    background-image: url(../img/bg-instalaciones.jpg);
}
.st-fichasdibujo-bg {
    background-image: url(../img/bg-dibujo.jpg);
    height: 490px;
}
.st-fichasinstalaciones-bg {
    background-image: url(../img/bg-instalaciones.jpg);
}
.st-curriculum {
    background-image: url(../img/bg-curriculum.jpg);
}
.pointer {
    cursor: pointer;
}

/* --- Gallery lightbox --- */
.blueimp-gallery > .description {
    position: absolute;
    top: 45px;
    left: 15px;
    color: #fff;
    display: none;
}
.blueimp-gallery-controls > .description {
    display: block;
}
.blueimp-gallery > .extra {
    position: absolute;
    bottom: 0;
    left: 15px;
    color: #fff;
    display: none;
}
.blueimp-gallery-controls > .extra {
    display: block;
}


/* ====================================================
   NAVEGACIÓN
   ==================================================== */
.sticky-nav.nav-border-bottom {
    background-color: #fff;
    border-bottom: 1px solid #e8e8e8 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.logo {
    max-width: 160px;
}


.navbar-default .navbar-nav > li > a {
    font-family: 'Open Sans', sans-serif;
    font-size: 10.5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #222;
    padding: 22px 9px;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #777;
    background: transparent;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover {
    color: #000;
    background: transparent;
    border-bottom: 2px solid #000;
}

/* Dropdowns */
.dropdown-menu {
    border-radius: 0;
    border: none;
    border-top: 2px solid #111;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.dropdown-menu > li > a {
    font-size: 12px;
    letter-spacing: 1px;
    padding: 8px 20px;
    color: #333;
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.dropdown-menu > li > a:hover {
    background: #f5f5f5;
    padding-left: 26px;
    color: #000;
}


/* ====================================================
   HERO / SLIDER TIPOGRAFÍA
   ==================================================== */
.st-h1 {
    font-family: 'Cormorant Garamond', serif;
    color: #fff;
    letter-spacing: 5px;
    text-transform: uppercase;
    line-height: 1.15;
    font-size: 46px;
    font-weight: 300;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.st-h3 {
    font-family: 'Cormorant Garamond', serif;
    color: #fff;
    letter-spacing: 0.3px;
    text-transform: none;
    line-height: 1.65;
    font-size: 19px;
    font-weight: 300;
    font-style: italic;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
    max-width: 820px;
    margin: 0 auto;
}

.st-p {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-top: 14px;
    font-weight: 300;
}


/* ====================================================
   SECCIONES DE CONTENIDO
   ==================================================== */
.content-section {
    padding: 70px 0 80px;
}

.bg-black {
    background: #111;
}

.bg-yellow {
    background: #fff !important;
}


/* ====================================================
   CURRICULUM
   ==================================================== */
.features-section {
    margin-bottom: 0 !important;
    padding-bottom: 10px;
}

.features-section .no-padding.text-left.f-right {
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.features-section h5 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: #111;
    margin: 0 0 10px 0;
    padding: 12px 0 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s ease;
}

.features-section h5::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: #aaa;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
    line-height: 1;
}

.features-section h5:hover {
    color: #555;
}

.features-section h5:hover::after {
    color: #555;
    transform: rotate(45deg);
}

.separator-line.bg-black {
    background: #222;
    height: 1px;
    margin-bottom: 0;
    opacity: 0.15;
}

.features-section .collapse,
.features-section .collapsing {
    padding-top: 18px;
    padding-bottom: 8px;
}

.features-section .collapse p,
.features-section .collapsing p {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 7px;
    padding: 5px 0 5px 14px;
    border-left: 2px solid transparent;
    transition: border-color 0.2s ease, padding-left 0.2s ease, color 0.2s ease;
}

.features-section .collapse p:hover {
    border-left-color: #222;
    padding-left: 18px;
    color: #222;
}


/* ====================================================
   FICHAS / PORTFOLIO CARDS
   ==================================================== */
.portfolio-short-description-bg figcaption {
    padding: 32px 38px 38px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.82) 100%);
}

.portfolio-short-description-bg figcaption h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.25;
    margin-bottom: 12px;
}

.portfolio-short-description-bg figcaption p.light-gray-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 12.5px;
    line-height: 1.75;
    letter-spacing: 0.3px;
    opacity: 0.88;
}

.separator-line.bg-yellow {
    background: rgba(255,255,255,0.5) !important;
    height: 1px;
    width: 40px;
    margin-bottom: 18px;
}

.btn-small-white-background {
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.7);
    background: transparent;
    color: #fff;
    padding: 9px 22px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-small-white-background:hover {
    background: #fff;
    color: #111;
    border-color: #fff;
}

/* Fichas individuales */
.st-fichas {
    height: 160px;
}

.st-txt-fichas {
    display: table;
    height: 100%;
    width: 100%;
    margin-top: 96px;
}

.st-txt-contacto {
    display: table;
    height: 100%;
    width: 100%;
    margin-top: 150px;
}

.st-ficha-margin {
    margin-bottom: 120px;
}

.st-fichasdibujo-bg {
    background-image: url(../img/bg-dibujo.jpg);
    height: 193px;
}

.st-fichasinstalaciones-bg {
    background-image: url(../img/bg-instalaciones.jpg);
    height: 193px;
}


/* ====================================================
   FOOTER
   ==================================================== */
footer {
    margin-top: 0;
}

.bg-dark-gray {
    background-color: #111 !important;
}

.margin-three {
    margin: 0 !important;
    padding: 28px 0;
}

footer .copyright {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #888;
    line-height: 1.9;
}

footer .copyright a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer .copyright a:hover {
    color: #fff;
}

.st-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .st-footer {
        margin-top: -38px;
    }
}

@media (min-width: 992px) {
    .st-footer {
        margin: -38px 0 0 -90px;
    }
}

@media (min-width: 1200px) {
    .st-footer {
        margin: -38px 0 0 25px !important;
    }
}

.st-footer .logo {
    max-width: 140px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    filter: brightness(0) invert(1);
}

.st-footer .logo:hover {
    opacity: 0.9;
}


/* ====================================================
   NAVBAR RESPONSIVE (dropdowns desktop)
   ==================================================== */

/* Mobile: accordion menu has dark background — text must be white */
@media (max-width: 991px) {
    .navbar-default .navbar-nav > li > a {
        color: #fff;
        height: 44px;
        line-height: 44px;
        padding: 0 15px;
    }
    .navbar-default .navbar-nav > li > a:hover,
    .navbar-default .navbar-nav > li > a:focus {
        color: rgba(255, 255, 255, 0.7);
        background: transparent;
    }
    .dropdown-menu > li > a,
    .dropdown-menu li a {
        color: #fff;
    }
    .dropdown-menu > li > a:hover {
        background: rgba(255, 255, 255, 0.08);
        padding-left: 20px;
        color: #fff;
    }
}

@media (min-width: 992px) {
    .navbar-right .dibujo      { right: 185px; }
    .navbar-right .instalaciones { right: -210px; }
    .navbar-right .curriculum  { right: -305px; }
    .navbar-right .entrevistas { right: -100px; }
    .navbar-right .dropdown-menu-left { right: auto; left: 0; }
}

@media (min-width: 1200px) {
    .navbar-right .dibujo      { right: 205px; }
    .navbar-right .instalaciones { right: -195px; }
    .navbar-right .curriculum  { right: -295px; }
    .navbar-right .dropdown-menu-left { right: auto; left: 0; }
}
