
/* ======================================
   VERTEX BARBER STUDIO
   IDENTIDAD VISUAL Y RESPONSIVE
====================================== */

:root {
    --black: #141414;
    --black-deep: #0B0B0B;
    --charcoal: #202020;
    --graphite: #333538;
    --gold: #BBA98D;
    --gold-light: #D3C3AA;
    --ivory: #F2EFEA;
    --muted: #A5A5A5;
    --border: rgba(255,255,255,.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    color: var(--ivory);
    background: var(--black);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img,
svg {
    max-width: 100%;
}

img {
    display: block;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.container {
    width: min(1360px, calc(100% - 100px));
    margin: 0 auto;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    background: white;
    color: black;
    padding: 12px 18px;
    z-index: 500;
}

.skip-link:focus {
    top: 15px;
}

/* TIPOGRAFÍA GLOBAL */

h1, h2, h3, p {
    margin-top: 0;
}

h1, h2, h3 {
    font-family: 'Barlow Condensed', Impact, sans-serif;
}

em {
    color: var(--gold);
    font-style: normal;
}

.section {
    padding: 110px 0;
}

.section-kicker {
    display: inline-block;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.7px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 52px;
}

.section-head h2,
.concept h2,
.experience h2 {
    font-size: clamp(56px, 7vw, 102px);
    line-height: .86;
    letter-spacing: -1.5px;
    font-weight: 800;
    margin: 23px 0 0;
}

.section-head > p {
    max-width: 310px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

/* BARRA DEMO */

.demo-banner {
    min-height: 34px;
    background: var(--gold);
    color: #171717;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 8px 20px;
    text-align: center;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.demo-banner a {
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(17,17,17,.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 86px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-symbol {
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center;
    background: var(--charcoal);
    border: 1px solid #424242;
    border-radius: 4px;
    color: var(--ivory);
    transition: border-color .3s, transform .3s;
}

.brand-symbol svg {
    width: 33px;
}

.brand:hover .brand-symbol {
    transform: rotate(-5deg);
    border-color: var(--gold);
}

.brand-name {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-name strong {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 29px;
    letter-spacing: 1px;
    line-height: .9;
}

.brand-name strong span,
.footer-brand > span {
    color: var(--gold);
}

.brand-name small {
    color: var(--gold);
    letter-spacing: 2.2px;
    font-size: 8px;
    font-weight: 700;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(13px, 2vw, 30px);
    flex: 1;
}

.main-nav a {
    color: #BDBDBD;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    transition: color .25s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
}

.header-cta {
    border: 1px solid var(--gold);
    padding: 14px 20px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .25s, background .25s;
}

.header-cta span {
    margin-left: 12px;
}

.header-cta:hover {
    color: var(--black);
    background: var(--gold);
}

.menu-toggle {
    display: none;
}

/* HERO */

.hero {
    position: relative;
    min-height: 730px;
    overflow: hidden;
    isolation: isolate;
    background: #171717;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: -3;

    background-image: url("../assets/img/portada.avif");

    background-size: cover;
    background-position: center 45%;
    filter: grayscale(55%);
    transform: scale(1.035);
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(8,8,8,.98) 0%,
            rgba(8,8,8,.87) 38%,
            rgba(8,8,8,.30) 76%,
            rgba(8,8,8,.15) 100%
        ),
        linear-gradient(
            to top,
            rgba(8,8,8,.75),
            transparent 35%
        );
}

.hero-inner {
    min-height: 730px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-content {
    padding: 115px 0 70px;
    max-width: 920px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.7px;
}

.small-square {
    width: 9px;
    height: 9px;
    background: var(--gold);
    transform: rotate(45deg);
}

.hero h1 {
    font-size: clamp(70px, 9.3vw, 148px);
    font-weight: 900;
    line-height: .81;
    letter-spacing: -1.8px;
    margin: 34px 0;
}

.hero h1 em {
    display: inline-block;
    margin-top: 10px;
}

.hero-content > p {
    max-width: 465px;
    font-size: 15px;
    line-height: 1.9;
    color: #D0D0D0;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 17px 22px;
    min-height: 52px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .8px;
    border: 1px solid transparent;
    transition:
        transform .3s,
        background .3s,
        color .3s,
        border-color .3s;
}

.button:hover {
    transform: translateY(-4px);
}

.button-gold {
    background: var(--gold);
    color: var(--black);
}

.button-gold:hover {
    background: var(--gold-light);
}

.button-ghost {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.4);
}

.button-ghost:hover {
    background: rgba(255,255,255,.15);
}

.hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 27px 0;
    border-top: 1px solid rgba(255,255,255,.25);
    color: #CECECE;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

/* TICKER */

.ticker {
    overflow: hidden;
    background: var(--gold);
    color: var(--black);
    padding: 15px 0;
}

.ticker-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 35px;
    white-space: nowrap;
    animation: tickerMove 30s linear infinite;
}

.ticker-track span {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
}

.ticker-track b {
    font-size: 19px;
}

/* CONCEPTO */

.concept {
    background: var(--black);
}

.concept-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 90px;
    align-items: center;
}

.concept h2 {
    margin-top: 30px;
}

.concept-right {
    padding-top: 40px;
}

.concept-line {
    width: 48px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 35px;
}

.concept-lead {
    color: var(--ivory);
    font-size: 20px;
    line-height: 1.5;
    font-weight: 700;
}

.concept-right p:not(.concept-lead) {
    color: var(--muted);
    line-height: 1.9;
    font-size: 14px;
}

.underlined-link {
    display: inline-flex;
    gap: 25px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--gold);
    color: var(--gold);
    margin-top: 20px;
    font-size: 11px;
    font-weight: 700;
    transition: gap .3s;
}

.underlined-link:hover {
    gap: 35px;
}

/* SERVICIOS */

.services {
    background: var(--charcoal);
}

.services-list {
    border-top: 1px solid var(--border);
}

.service-row {
    display: grid;
    grid-template-columns: 65px minmax(0,1fr) 130px 50px;
    align-items: center;
    gap: 25px;
    padding: 31px 0;
    border-bottom: 1px solid var(--border);
    transition: padding .3s, background .3s;
}

.service-row:hover {
    padding-left: 12px;
    padding-right: 12px;
    background: rgba(255,255,255,.035);
}

.service-index {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
}

.service-info h3 {
    font-size: clamp(34px, 3.6vw, 52px);
    line-height: .95;
    margin: 0 0 8px;
}

.service-info p {
    color: #ABABAB;
    line-height: 1.7;
    font-size: 12px;
    max-width: 520px;
    margin-bottom: 0;
}

.service-price {
    color: var(--gold);
    font-size: 19px;
    font-weight: 700;
    white-space: nowrap;
}

.service-arrow {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid #666;
    font-size: 23px;
    transition: color .3s, background .3s;
}

.service-arrow:hover {
    background: var(--gold);
    color: var(--black);
}

.disclaimer {
    color: #959595;
    margin-top: 25px;
    font-size: 11px;
    line-height: 1.8;
}

/* GALERÍA */

.styles {
    background: #111111;
}

.styles-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: repeat(2, 250px);
    gap: 18px;
}

.style-card {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: #333;
    isolation: isolate;
}

.style-feature {
    grid-row: span 2;
}

.style-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(70%);
    transition: transform .65s, filter .65s;
}

.style-card:hover img {
    transform: scale(1.06);
    filter: grayscale(15%);
}

.style-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.85),
        transparent 65%
    );
}

.style-card figcaption {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 27px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.style-card figcaption span {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
}

.style-card figcaption strong {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(25px, 3vw, 42px);
    font-weight: 800;
}

/* EXPERIENCIA */

.experience {
    background: var(--ivory);
    color: var(--black);
}

.experience-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 9%;
    align-items: center;
}

.experience-art {
    position: relative;
    min-height: 435px;
    padding: 35px;
    overflow: hidden;
    background: #161616;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.experience-art::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -100px;
    top: -100px;
    background: rgba(187,169,141,.18);
    border-radius: 50%;
    filter: blur(70px);
}

.experience-symbol {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(160px, 20vw, 280px);
    line-height: .8;
    letter-spacing: -12px;
}

.experience-art > span {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.experience h2 {
    margin: 25px 0 30px;
}

.experience-content > p {
    max-width: 500px;
    color: #646464;
    font-size: 14px;
    line-height: 1.9;
}

.experience-points {
    display: grid;
    gap: 0;
    margin-top: 35px;
}

.experience-points > div {
    display: flex;
    align-items: center;
    gap: 23px;
    padding: 17px 0;
    border-top: 1px solid #D6D2CB;
}

.experience-points span {
    color: #987D59;
    font-size: 12px;
    font-weight: 700;
}

.experience-points strong {
    font-size: 12px;
    letter-spacing: 1px;
}

/* RESERVAS / CONTACTO */

.booking {
    background: var(--gold);
    color: var(--black);
    position: relative;
    overflow: hidden;
}

.booking-inner {
    position: relative;
    z-index: 1;
}

.booking .section-kicker {
    color: #4C4132;
}

.booking h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(75px, 10vw, 150px);
    font-weight: 900;
    line-height: .81;
    letter-spacing: -2px;
    margin: 32px 0;
}

.booking h2 em {
    color: #FFFFFF;
}

.booking-inner > p {
    max-width: 560px;
    line-height: 1.8;
    font-size: 14px;
}

.booking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.button-dark {
    background: var(--black);
    color: white;
}

.button-dark:hover {
    background: #343434;
}

.button-outline {
    border-color: var(--black);
    color: var(--black);
}

.button-outline:hover {
    background: rgba(255,255,255,.25);
}

.booking .booking-note {
    margin-top: 35px;
    font-size: 10px;
    letter-spacing: 1.4px;
    font-weight: 700;
}

/* FOOTER */

.footer {
    background: #0B0B0B;
    padding: 38px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 30px;
    line-height: .9;
}

.footer-brand small {
    display: block;
    margin-top: 7px;
    color: var(--gold);
    font-family: 'DM Sans', sans-serif;
    font-size: 8px;
    letter-spacing: 2px;
}

.footer-inner p,
.back-to-top {
    color: #9D9D9D;
    font-size: 10px;
    letter-spacing: 1px;
}

.back-to-top:hover {
    color: var(--gold);
}

/* ANIMACIONES */

.reveal {
    opacity: 1;
    transform: none;
}

.js .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.16,.8,.2,1);
}

.js .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes tickerMove {
    to {
        transform: translateX(-50%);
    }
}

/* TABLETS */

@media (max-width: 1100px) {

    .container {
        width: calc(100% - 64px);
    }

    .header-inner {
        gap: 16px;
    }

    .main-nav {
        gap: 13px;
    }

    .main-nav a {
        font-size: 9px;
    }

    .concept-grid {
        gap: 45px;
    }

    .hero h1 {
        font-size: clamp(75px, 9vw, 112px);
    }
}

@media (max-width: 900px) {

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #171717;
        border-bottom: 1px solid var(--border);
        padding: 20px 32px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        max-height: 75vh;
        overflow-y: auto;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 12px 0;
        font-size: 12px;
    }

    .header-cta {
        margin-left: auto;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 43px;
        height: 43px;
        border: 1px solid #4C4C4C;
        background: transparent;
        cursor: pointer;
        flex-shrink: 0;
    }

    .menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--gold);
        transition: transform .3s, opacity .3s;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    .concept-grid,
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .experience-art {
        min-height: 280px;
    }

    .concept-right {
        padding-top: 0;
    }

    .section-head {
        align-items: start;
        flex-direction: column;
    }
}

/* CELULARES */

@media (max-width: 680px) {

    .container {
        width: calc(100% - 36px);
    }

    .section {
        padding: 75px 0;
    }

    .demo-banner {
        flex-wrap: wrap;
        gap: 4px 12px;
        font-size: 8px;
        line-height: 1.6;
    }

    .header-inner {
        min-height: 74px;
    }

    .brand-symbol {
        width: 42px;
        height: 42px;
    }

    .brand-symbol svg {
        width: 29px;
    }

    .brand-name strong {
        font-size: 25px;
    }

    .brand-name small {
        font-size: 7px;
        letter-spacing: 1.5px;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        margin-left: auto;
    }

    /* PORTADA */

    .hero,
    .hero-inner {
        min-height: 690px;
    }

    .hero-image {
        background-position: 58% center;
    }

    .hero-shade {
        background:
            linear-gradient(
                90deg,
                rgba(6,6,6,.96),
                rgba(6,6,6,.76)
            ),
            linear-gradient(
                to top,
                rgba(6,6,6,.75),
                transparent
            );
    }

    .hero-content {
        padding-top: 105px;
        padding-bottom: 65px;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 1.6px;
    }

    .hero h1 {
        font-size: clamp(58px, 13.5vw, 90px);
        letter-spacing: -1px;
        line-height: .87;
        margin: 26px 0;
    }

    .hero-content > p {
        font-size: 13px;
        line-height: 1.8;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions .button {
        width: 100%;
        justify-content: space-between;
    }

    .hero-bottom {
        flex-wrap: wrap;
        justify-content: space-between;
        font-size: 8px;
        padding: 19px 0;
    }

    .hero-bottom span:last-child {
        display: none;
    }

    .section-head h2,
    .concept h2,
    .experience h2 {
        font-size: clamp(56px, 12vw, 80px);
    }

    /* SERVICIOS */

    .service-row {
        grid-template-columns: 30px minmax(0,1fr) 42px;
        gap: 12px;
        padding: 26px 0;
    }

    .service-info h3 {
        font-size: 34px;
    }

    .service-info p {
        font-size: 11px;
        line-height: 1.7;
    }

    .service-price {
        grid-column: 2;
        font-size: 16px;
        margin-top: 4px;
    }

    .service-arrow {
        grid-column: 3;
        grid-row: 1 / 3;
        width: 38px;
        height: 38px;
    }

    .service-index {
        align-self: start;
        padding-top: 5px;
    }

    /* GALERÍA */

    .styles-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 13px;
    }

    .style-card,
    .style-feature {
        grid-row: auto;
        height: 290px;
    }

    .style-feature {
        height: 380px;
    }

    .style-card figcaption {
        padding: 22px;
    }

    /* EXPERIENCIA */

    .experience-art {
        min-height: 250px;
        padding: 25px;
    }

    .experience-symbol {
        font-size: 170px;
    }

    /* RESERVAS */

    .booking h2 {
        font-size: clamp(67px, 14vw, 95px);
    }

    .booking-actions {
        flex-direction: column;
    }

    .booking-actions .button {
        width: 100%;
        justify-content: space-between;
    }

    /* FOOTER */

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* MÓVILES MUY PEQUEÑOS */

@media (max-width: 360px) {
    .hero h1 {
        font-size: 54px;
    }

    .service-info h3 {
        font-size: 30px;
    }

    .booking h2 {
        font-size: 62px;
    }
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}
