:root {
    --bg-color: #161618;
    --bg-color-2: #f1f1f1;
    --linear-gradient: linear-gradient(180deg, #001172 0%, #0f29b9 100%);
    --text-black: #000000;
    --text-primary: #ffffff;
    --text-primary-2: #474747;
    --text-secondary: #8b8b8b;
    --border-color: rgba(255, 255, 255, 0.1);
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

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

body {
    background: var(--bg-color-2);
    /* background: var(--bg-color); */
    color: var(--text-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

h2 {
    color: var(--text-black);
}

/* section {
    background: var(--bg-color);
    border-radius: 50px;
    margin: 8px;
} */

strong {
    font-weight: 500;
    color: var(--text-primary);
    /* text-shadow: 0 0 10px rgba(27, 27, 27, 0.938); */
}

.strong-dark {
    color: var(--text-black);
    font-weight: 500;
}

/* ================== HERO ENTRANCE ANIMATIONS ================== */
@keyframes heroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroExpandLine {
    0% {
        transform: scaleX(0);
        transform-origin: left;
        opacity: 0;
    }

    100% {
        transform: scaleX(1);
        transform-origin: left;
        opacity: 1;
    }
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes heroRevealChar {
    0% {
        opacity: 0;
        transform: translateY(60px) skewY(5deg);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) skewY(0deg);
        filter: blur(0);
    }
}

/* Clases de animación — se aplican al cargar */
.anim-navbar {
    animation: heroFadeDown 0.9s cubic-bezier(0.19, 1, 0.22, 1) both;
    animation-delay: 0.1s;
}

.anim-line {
    animation: heroExpandLine 1s cubic-bezier(0.19, 1, 0.22, 1) both;
    animation-delay: 0.5s;
}

.anim-title-1 {
    display: inline-block;
    animation: heroRevealChar 1s cubic-bezier(0.19, 1, 0.22, 1) both;
    animation-delay: 0.7s;
}

.anim-title-2 {
    display: inline-block;
    animation: heroRevealChar 1s cubic-bezier(0.19, 1, 0.22, 1) both;
    animation-delay: 0.9s;
}

.anim-title-3 {
    display: inline-block;
    animation: heroRevealChar 1s cubic-bezier(0.19, 1, 0.22, 1) both;
    animation-delay: 1.1s;
}

.anim-btn {
    animation: heroFadeUp 0.9s cubic-bezier(0.19, 1, 0.22, 1) both;
    animation-delay: 1.4s;
}

.anim-bottom {
    animation: heroFadeUp 0.9s cubic-bezier(0.19, 1, 0.22, 1) both;
    animation-delay: 1.7s;
}

.anim-circular {
    animation: heroFadeIn 1.5s ease both;
    animation-delay: 1.2s;
}

/* ================== NAVBAR ================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    /* mix-blend-mode: difference; */
    background: linear-gradient(180deg, #161618 0%, #0f28b900 100%);
    /* margin: 8px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px; */
}

.navbar-section {
    background: var(--bg-color);
    border-radius: 50px;
    margin: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 250px;
    height: auto;
    opacity: 1;
}

.menu-btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}

.menu-btn span {
    width: 30px;
    height: 1px;
    background-color: var(--text-primary);
    transition: transform 0.3s ease;
}

.menu-btn.open span:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out-expo);
}

.menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.menu-overlay-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.menu-link {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    transition: color 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    letter-spacing: -0.08em;
}

.menu-link:hover {
    color: var(--text-primary);
}

.btn-contact-overlay {
    margin-top: 2rem;
    font-size: 1.5rem;
    border: 1px solid var(--text-primary);
    padding: 1rem 3rem;
    border-radius: 40px;
}

.btn-contact-overlay:hover {
    background: var(--text-primary);
    color: var(--text-primary);
    /* Use primary text instead of bg-color */
}

.btn-contact {
    border: 1px solid var(--text-black);
    color: var(--text-black);
}

/* ================== HERO ================== */
.hero {
    min-height: 100vh;
    padding: 8rem 4rem 4rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    margin-top: -10px;
    /* Prevent the circle from causing scrollbars */
    /* background: var(--bg-color);
    border-radius: 50px;
    margin: 8px; */
}

/* Hero Background Slider */
.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    /* Fade out over 2s. Delayed transform reset so it doesn't jump while visible */
    transition: opacity 2s ease-in-out, transform 0s 2s;
}

.hero-bg-slide.active {
    opacity: 1;
    transform: scale(1.1);
    /* Fade in over 2s. Smooth linear zoom over 10s */
    transition: opacity 2s ease-in-out, transform 10s linear;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 22, 24, 0.8);
    /* Dark semi-transparent overlay */
    z-index: 1;
    border-radius: inherit;
}

/* Circular Text Animation */
.circular-text {
    position: absolute;
    top: -8vw;
    right: -12vw;
    width: 85vw;
    height: 85vw;
    max-width: 800px;
    max-height: 800px;
    min-width: 300px;
    min-height: 300px;
    z-index: 2;
    pointer-events: none;
    animation: rotateText 25s linear infinite;
}

.circular-text2 {
    position: absolute;
    top: -8vw;
    right: -13vw;
    width: 85vw;
    height: 85vw;
    max-width: 710px;
    max-height: 710px;
    min-width: 250px;
    min-height: 250px;
    z-index: 2;
    pointer-events: none;
    animation: rotateText2 25s linear infinite;
}

.circular-text2 text {
    fill: var(--text-primary);
    font-size: 18px;
    font-weight: 900;
}

.circular-text svg {
    width: 100%;
    height: 100%;
}

.circular-text text {
    font-family: 'montserrat', sans-serif;
    font-size: 20px;
    font-weight: 900;
    /* fill: transparent;
    stroke: var(--text-primary);
    stroke-width: 1px;
    letter-spacing: -1px;
    text-transform: uppercase; */
    fill: rgba(0, 0, 0, 0.863);
    color: transparent;
    text-shadow:
        -1px -1px 0 white,
        1px -1px 0 white,
        -1px 1px 0 white,
        1px 1px 0 white;

}

@keyframes rotateText {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateText2 {
    0% {
        transform: rotate(-0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.hero-top-line {
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 4rem;
}

.hero-content {
    display: flex;
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero-left {
    flex: 0 0 20%;
    padding-top: 1.5rem;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -0.08em;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: left;
    /* margin-bottom: 0; */
    /* margin-top: auto; */
    margin: auto 0;
}

.btn-hero {
    display: flex;
    justify-content: left;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.light-btn {
    display: inline-block;
    color: white;
    border: 1px solid white;
    padding: 1rem 2.5rem;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.3s ease, color 0.3s ease;
}

.dark-btn {
    display: inline-block;
    color: rgb(0, 0, 0);
    border: 1px solid rgb(0, 0, 0);
    padding: 1rem 2.5rem;
    margin-top: 2rem;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.3s ease, color 0.3s ease;
}

.light-btn:hover {
    background: rgb(255, 255, 255);
    color: var(--bg-color);
}

.light-btn:hover .inline-arrow,
.dark-btn:hover .inline-arrow {
    transform: translate(2px, -2px);
}

.dark-btn:hover {
    background: rgb(0, 0, 0);
    color: var(--bg-color-2);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5vw;
    font-weight: 700;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    display: flex;
    flex-direction: column;
    text-shadow: 0 0 10px rgb(27, 27, 27);
}

.hero-title .indent {
    margin-left: 15vw;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 6rem;
    position: relative;
    z-index: 2;
}

.hero-description {
    max-width: 500px;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: -0.06em;
    text-shadow: 0 0 10px rgba(27, 27, 27, 0.938);
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator .line {
    width: 80px;
    height: 1px;
    background-color: var(--text-primary);
    margin-right: 80px;
}

.animacion_parpadeo {
    animation: parpadear 1s infinite;
}

@keyframes parpadear {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* ================== GLOBAL SECTIONS ================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.section-header p {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--text-black);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--text-black);
}

.description-title {
    max-width: 500px;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: -0.06em;
    color: var(--text-black);
}

.section-count {
    font-family: var(--font-body);
    color: var(--text-secondary);
    font-size: 3rem;
}

/* ================== SERVICES ================== */
.services {
    padding: 8rem 4rem;
}

.services-list {
    list-style: none;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3.5rem 0;
    border-bottom: 1px solid black;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.service-item:hover {
    transition: all 0.5s ease-in-out;
    padding-left: 3rem;
}

.service-info h3 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: black;
    transition: color 0.4s ease;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.service-info {
    transform: translateY(0);
    transition: transform 0.6s var(--ease-out-expo);
}

.service-item:hover .service-info {
    transform: translateY(-4px);
}

.service-item:hover .service-info h3 {
    color: var(--text-primary-2);
}

.arrow_look {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-black);
    font-weight: 100;
    letter-spacing: -0.02em;
    border: 1px solid rgba(0, 0, 0, 0);
    padding: 1rem 2.5rem;
    border-radius: 40px;
}

.display-none {
    display: none;
}

/* .arrow_look p {
    text-decoration: underline;
    text-underline-offset: 0.3rem;
} */

.service-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s var(--ease-out-expo);
}

.service-item:hover .service-info p {
    opacity: 1;
    transform: translateY(0);
}

.service-arrow {
    width: 2.5rem;
    height: 2.5rem;
    color: black;
    transition: transform 0.5s var(--ease-out-expo), color 0.4s ease;
}

.inline-arrow {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: middle;
    margin-left: 0.3em;
    transition: transform 0.3s ease;
}

.tattoo-cta-btn:hover .inline-arrow,
.cta-visit-web:hover .inline-arrow,
.btn-cta:hover .inline-arrow {
    transform: translate(2px, -2px);
}

.service-item:hover .service-arrow {
    transform: translate(15px, -15px);
    color: var(--text-secondary);
}

/* ================== PORTFOLIO ================== */
.portfolio {
    padding: 8rem 4rem;
}

.item-overlay .text-small {
    font-size: 1.8rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 4rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    height: 600px;
    border-radius: 30px;
    cursor: pointer;
}

/* Grid span logic for 2fr 1fr 1fr (top) and 1fr 1fr 2fr (bottom) */
.portfolio-item:nth-child(1) {
    grid-column: span 2;
}

.portfolio-item:nth-child(2) {
    grid-column: span 1;
}

.portfolio-item:nth-child(3) {
    grid-column: span 1;
}

.portfolio-item:nth-child(4) {
    grid-column: span 1;
}

.portfolio-item:nth-child(5) {
    grid-column: span 1;
}

.portfolio-item:nth-child(6) {
    grid-column: span 2;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 2s var(--ease-out-expo);
    filter: brightness(0.7);
    /* filter: contrast(0.7)grayscale(10%); */
}

.portfolio-item:hover img {
    transform: scale(1.08);
    filter: contrast(0.7)grayscale(10%);
    transition: transform 2s var(--ease-out-expo), filter 1s var(--ease-out-expo);
}

/* Overlay for Title and Description */
.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    /* opacity: ; */
    transition: opacity 0.5s ease;
}

.portfolio-item:hover .item-overlay {
    opacity: 1;
}

.item-overlay h4 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    transform: translateY(20px);
    transition: transform 0.5s var(--ease-out-expo);
    margin-bottom: 0.5rem;
}

.item-overlay p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    transform: translateY(20px);
    transition: transform 0.5s var(--ease-out-expo) 0.1s;
    opacity: 0;
    /* Slight delay */
}

.item-overlay .service-arrow {
    font-size: 2.5rem;
    align-self: flex-end;
    opacity: 0.5;
    color: var(--text-primary);
    transition: transform 0.5s var(--ease-out-expo), color 0.4s ease;
}

.portfolio-item:hover .item-overlay p {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.portfolio-item:hover .item-overlay h4,
.portfolio-item:hover .item-overlay p {
    transform: translateY(0);
}

.box-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-ver-mas {
    display: inline-block;
    margin-top: 5rem;
    border: 1px solid var(--text-black);
    color: var(--text-black);
    padding: 1.2rem 3.5rem;
    border-radius: 40px;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease;

}

.btn-ver-mas:hover {
    color: var(--bg-color-2);
    background-color: black;
    transition: background 0.3s ease, color 0.3s ease;
}


/* ================== REVIEWS ================== */
.rewiews {
    padding: 8rem 4rem;
}

.rewiews-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.rewiew-item {
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    cursor: pointer;
    border: 1px solid black;
}

.link-rewiew {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.5;
    letter-spacing: -0.05em;
    transition: transform 0.5s var(--ease-out-expo) 0.1s;
    /* Slight delay */
}

.rewiew-item:hover .link-rewiew {
    opacity: 1;
    transform: translateY(-5px);
}

.rewiew-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 80%;
    width: 80%;
}

.rewiew-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    color: black;
    transform: translateY(20px);
    transition: transform 0.5s var(--ease-out-expo);
    margin-bottom: 0.5rem;
    margin-top: -50px;
}

.rewiew-info p {
    max-width: 500px;
    color: black;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: -0.06em;
    border-bottom: 1px solid black;
    padding-bottom: 1rem;
    /* Slight delay */
}

.comillas {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    color: black;
}


/* Adjust top margin of second row to keep grid tight */
.rewiew-item:nth-child(n+4) {
    margin-top: 2rem;
}

.rewiew-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-out-expo);
}

.rewiew-item:hover img {
    transform: scale(1.08);
}

/* Overlay for Title and Description */
.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    /* opacity: ; */
    transition: opacity 0.5s ease;
}

.rewiew-item:hover .item-overlay {
    opacity: 1;
}

.item-overlay h4 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    transform: translateY(20px);
    transition: transform 0.5s var(--ease-out-expo);
    margin-bottom: 0.5rem;
}

.item-overlay p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
    transform: translateY(20px);
    transition: transform 0.5s var(--ease-out-expo) 0.1s;
    opacity: 0;
    /* Slight delay */
}

.rewiew-item:hover .item-overlay p {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.rewiew-item:hover .item-overlay h4,
.rewiew-item:hover .item-overlay p {
    transform: translateY(0);
}

/* ================== FOOTER ================== */
.footer {
    padding: 10rem 4rem 2rem;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-color);
    /* To ensure text is behind */
}

.footer-subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: -0.06em;
    position: relative;
    display: flex;
    padding-bottom: 8px;
    transition: color 0.3s ease;
    margin-bottom: 2rem;
}


.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25vw;
    position: relative;
    z-index: 2;
}

.footer-cta h2 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 5rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.email-link {
    font-size: 1.5rem;
    color: var(--text-secondary);
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    font-family: var(--font-body);
}

.email-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-secondary);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
}

.email-link:hover {
    color: var(--text-primary);
}

.email-link:hover::after {
    transform: scaleX(0);
    transform-origin: left;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: right;
}

.footer-social a {
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-social a:hover {
    color: var(--text-primary);
}

/* New Footer Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: -15vw;
    margin-bottom: 10vw;
    position: relative;
    z-index: 2;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 800;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.212);
}


.footer-col a {
    font-size: 1rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
    font-weight: 300;
}

.footer-col a:hover {
    color: var(--text-secondary);
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bg-text {
    position: absolute;
    bottom: 10vw;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 10vw;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.02);
    z-index: 1;
    pointer-events: none;
    line-height: 1;
    white-space: nowrap;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #128c7e;
    box-shadow: 2px 5px 25px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ================== ANIMATIONS ================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ======================================= Politicas de privacidad y terminos y condiciones ==============================================*/



.politicas {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.5;
    letter-spacing: -0.05em;
}

ul.politicas {
    list-style-type: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

ul.politicas li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

ul.politicas li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.legal-page {
    padding: 12rem 5% 8rem;
    max-width: 1000px;
    margin: 0 auto;
    background-color: rgba(128, 128, 128, 0.432);

}

.legal-header {
    margin-bottom: 6rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 4rem;
}

.legal-header h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.legal-block {
    margin-bottom: 4rem;
}

.legal-block h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: var(--text-primary);
}

.legal-block h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 8rem 5% 4rem;
    }
}

/* ================== RESPONSIVE ================== */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .portfolio-item {
        height: 400px;
        grid-column: span 1 !important;
    }

    .hero-title {
        font-size: 13vw;
    }

    .service-info h3 {
        font-size: 3.5rem;
    }

    .rewiews {
        padding: 20px 10px;
    }

    .rewiews-content {
        display: grid;
        grid-template-columns: repeat(1, 1fr, 1fr);
        gap: 2rem;
        margin-top: 4rem;
    }

    .rewiew-info h3 {
        font-family: var(--font-heading);
        font-size: 1.5rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: -0.05em;
        color: var(--text-black);
        transform: translateY(20px);
        transition: transform 0.5s var(--ease-out-expo);
        margin-bottom: 0.5rem;
        margin-top: -50px;
    }

    .rewiew-info p {
        max-width: 500px;
        font-size: 1rem;
        font-weight: 300;
        line-height: 1.6;
        letter-spacing: -0.06em;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1rem;
        /* Slight delay */
    }

    .link-rewiew {
        font-family: var(--font-body);
        font-size: 1.2rem;
        color: var(--text-secondary);
        line-height: 1.5;
        letter-spacing: -0.05em;
        transition: transform 0.5s var(--ease-out-expo) 0.1s;
        /* Slight delay */
    }

    .comillas {
        font-size: 4rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: -0.05em;
        color: var(--text-black);
    }


}

@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem 2rem;
    }

    .hero {
        padding: 8rem 2rem 4rem;
        background: var(--bg-color);
        border-radius: 0px;
        margin: 0;
        margin-top: -20px;
    }

    .menu-link {
        font-family: var(--font-heading);
        font-size: 2rem;
        font-weight: 700;
        transition: color 0.3s ease;
        border-bottom: 1px solid var(--border-color);
        letter-spacing: -0.08em;
    }

    .logo img {
        width: 180px;
        height: auto;
        opacity: 1;
    }

    .title-h1 {
        font-size: 15vw;
    }

    .circular-text {
        width: 80vw;
        height: 80vw;
        top: -15vh;
        right: -35vw;
        opacity: 0.8;
        display: none;
        /* Make it more subtle on mobile */
    }

    .circular-text2 {
        width: 79vw;
        height: 79vw;
        top: -18vh;
        right: -40vw;
        opacity: 0.7;
        display: none;
        /* Make it more subtle on mobile */
    }

    .hero-top-line {
        display: none;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-title {
        font-size: 10vw;
        /* margin-top: auto; */
        margin: auto 0;
        font-family: var(--font-heading);
        font-weight: 700;
        line-height: 1;
        text-transform: uppercase;
        letter-spacing: -0.04em;
        display: flex;
        flex-direction: column;
        text-shadow: 0 0 10px rgb(27, 27, 27);
    }

    .hero-title .indent {
        margin-left: 0;
    }

    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
        margin-top: 4rem;
    }

    .services {
        padding: 8rem 1rem;
    }

    .footer {
        padding: 6rem 2rem;
    }

    .display-none {
        display: block;
    }

    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .arrow_look {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1.1rem;
        color: var(--text-black);
        font-weight: 100;
        letter-spacing: -0.02em;
        border: 1px solid black;
        padding: 0.8rem 2.3rem;
        border-radius: 40px;
    }

    .service-item:hover {
        padding-left: 0;
    }

    .service-info h3 {
        font-size: 2.5rem;
    }

    .service-info p {
        opacity: 1;
        transform: translateY(0);
        margin-top: 1rem;
    }

    .display-none-btn {
        display: none;
    }

    .portfolio {
        padding: 20px 10px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .portfolio-item {
        height: 450px;
    }

    .portfolio-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 2s var(--ease-out-expo);
        filter: brightness(1);
        /* filter: contrast(0.7)grayscale(10%); */
    }

    .item-overlay {
        opacity: 1;
        /* Always show text on mobile */
        padding: 1.5rem;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
    }

    .item-overlay p {
        opacity: 1;
    }

    .item-overlay h4,
    .item-overlay p {
        transform: none;
    }

    .rewiews {
        padding: 20px 10px;
    }

    .rewiews-content {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
        margin-top: 4rem;
    }

    .rewiew-info h3 {
        font-family: var(--font-heading);
        font-size: 1.5rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: -0.05em;
        color: var(--text-black);
        transform: translateY(20px);
        transition: transform 0.5s var(--ease-out-expo);
        margin-bottom: 0.5rem;
        margin-top: -50px;
    }

    .rewiew-info p {
        max-width: 500px;
        font-size: 1rem;
        font-weight: 300;
        line-height: 1.6;
        letter-spacing: -0.06em;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1rem;
        /* Slight delay */
    }

    .link-rewiew {
        font-family: var(--font-body);
        font-size: 1.2rem;
        color: var(--text-secondary);
        line-height: 1.5;
        letter-spacing: -0.05em;
        transition: transform 0.5s var(--ease-out-expo) 0.1s;
        /* Slight delay */
    }

    .comillas {
        font-size: 4rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: -0.05em;
        color: var(--text-black);
    }



    /* Footer mobile */


    .footer-top {
        flex-direction: column;
        gap: 4rem;
        margin-bottom: 40vw;
    }

    .footer-cta h2 {
        font-size: 3.5rem;
    }

    .footer-social {
        text-align: left;
    }

    .footer-bg-text {
        font-size: 38vw;
        bottom: 0;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 0;
        margin-bottom: 5rem;
    }

    .footer-col h4 {
        margin-bottom: 1.5rem;
    }
}

/* Tablet Landscape Fix */
@media (min-width: 769px) and (max-width: 1280px) and (orientation: landscape) {

    .circular-text,
    .circular-text2 {
        display: none !important;
    }

    .hero-title {
        font-family: var(--font-heading);
        font-size: 6vw;
        font-weight: 700;
        line-height: 0.9;
        text-transform: uppercase;
        letter-spacing: -0.04em;
        display: flex;
        flex-direction: column;
        text-shadow: 0 0 10px rgb(27, 27, 27);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}