
/* =========================================
   EIRAVA STUDIO
   IDENTIDAD VISUAL
========================================= */

:root {
    --orange: #F47732;
    --orange-dark: #D95D1C;
    --black: #151515;
    --graphite: #454545;
    --gray: #757575;
    --cream: #F6F5F2;
    --white: #FFFFFF;
    --border: #E3E1DC;

    --radius: 14px;
    --transition: 0.3s ease;
}

/* RESET */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    font-family: "DM Sans", Arial, sans-serif;
    color: var(--black);
    background: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

button {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
}

.container {
    width: min(1380px, 100%);
    margin: auto;
    padding-left: clamp(22px, 6vw, 95px);
    padding-right: clamp(22px, 6vw, 95px);
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    padding: 12px 18px;
    background: white;
    z-index: 999;
}

.skip-link:focus {
    top: 12px;
}

/* =========================================
   HEADER
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(246, 245, 242, 0.93);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 88px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-icon {
    width: 49px;
    height: 49px;
    display: block;
}

.brand-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform var(--transition);
}

.brand:hover .brand-icon svg {
    transform: rotate(-6deg) scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-text strong {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2.5px;
    line-height: 1;
}

.brand-text strong span {
    color: var(--orange);
}

.brand-text small {
    color: var(--gray);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 3px;
}

/* NAVEGACIÓN */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex: 1;
}

.main-nav a {
    position: relative;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    transition: color var(--transition);
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;

    width: 0;
    height: 2px;
    background: var(--orange);

    transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--black);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-contact {
    display: inline-flex;
    gap: 13px;
    align-items: center;

    background: var(--black);
    color: white;
    padding: 13px 22px;
    border-radius: 30px;

    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;

    transition:
        background var(--transition),
        transform var(--transition);
}

.header-contact span {
    color: var(--orange);
    font-size: 16px;
}

.header-contact:hover {
    background: #303030;
    transform: translateY(-3px);
}

.menu-toggle {
    display: none;
}

/* =========================================
   HERO / PORTADA
========================================= */

.hero {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 75% 45%,
            rgba(244, 119, 50, 0.09),
            transparent 45%
        ),
        var(--cream);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 35px;

    min-height: 660px;
}

.hero-content {
    padding: 70px 0;
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.6px;
    line-height: 1.6;
}

.eyebrow-line {
    display: inline-block;
    width: 21px;
    height: 2px;
    flex-shrink: 0;
    background: var(--orange);
}

.hero h1 {
    margin: 28px 0 25px;

    font-size: clamp(48px, 5.2vw, 78px);
    font-weight: 800;
    letter-spacing: -4px;
    line-height: 1.07;
}

.hero h1 span,
.section-heading h2 span,
.about-content h2 span {
    color: var(--orange);
}

.hero-content > p {
    color: #666;
    font-size: 16px;
    line-height: 1.85;
    max-width: 460px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;

    padding: 17px 24px;
    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;

    transition:
        background var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.btn:hover {
    transform: translateY(-4px);
}

.btn-primary {
    background: var(--black);
    color: white;
}

.btn-primary:hover {
    background: var(--orange-dark);
    box-shadow: 0 14px 25px rgba(244,119,50,0.2);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    padding: 8px 0;
    border-bottom: 1px solid var(--orange);

    font-size: 13px;
    font-weight: 700;

    transition:
        gap var(--transition),
        color var(--transition);
}

.btn-text:hover {
    color: var(--orange-dark);
    gap: 22px;
}

.hero-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 80px;

    color: #888;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.scroll-indicator {
    display: grid;
    place-items: center;

    height: 35px;
    width: 25px;
    border: 1px solid #aaa;
    border-radius: 20px;

    font-size: 16px;
}

/* LOGOTIPO GRANDE */

.hero-visual {
    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    isolation: isolate;
}

.glow {
    position: absolute;

    width: 470px;
    height: 470px;
    max-width: 100%;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(244, 119, 50, 0.25),
        transparent 68%
    );

    filter: blur(22px);
    z-index: -1;

    animation: glowPulse 6s ease-in-out infinite alternate;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(140,140,140,0.19);
    border-radius: 50%;
    z-index: -1;
}

.orbit-1 {
    width: 85%;
    height: 55%;
    transform: rotate(-28deg);
}

.orbit-2 {
    width: 96%;
    height: 63%;
    transform: rotate(30deg);
}

.hero-logo {
    width: min(72%, 360px);
    aspect-ratio: 1;

    filter: drop-shadow(23px 27px 28px rgba(0,0,0,0.15));

    animation: floating 6s ease-in-out infinite;
}

.hero-logo svg {
    display: block;
    width: 100%;
    height: 100%;
}

.visual-label {
    position: absolute;
    bottom: 20px;
    right: 5px;

    color: #888;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* =========================================
   SECCIONES
========================================= */

.section {
    padding: 105px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;

    margin-bottom: 48px;
}

.section-heading h2 {
    margin-top: 20px;

    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -2px;
    line-height: 1.15;
}

.section-heading > p {
    max-width: 355px;

    color: var(--gray);
    font-size: 14px;
    line-height: 1.8;
}

/* =========================================
   SERVICIOS
========================================= */

.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.service-card {
    padding: 35px 35px 38px 0;
    transition: transform var(--transition);
}

.service-card:not(:first-child) {
    padding-left: 35px;
    border-left: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-6px);
}

.service-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.service-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    background: rgba(244,119,50,0.10);
    border-radius: 15px;

    font-size: 23px;
    font-weight: 700;
    color: var(--orange-dark);

    transition:
        background var(--transition),
        transform var(--transition);
}

.service-card:hover .service-icon {
    transform: rotate(-7deg);
    background: rgba(244,119,50,0.22);
}

.service-number {
    color: #aaa;
    font-size: 12px;
}

.service-card h3 {
    margin: 28px 0 14px;
    font-size: 20px;
}

.service-card p {
    min-height: 93px;
    max-width: 310px;

    color: var(--gray);
    font-size: 13px;
    line-height: 1.8;
}

.service-card a {
    display: inline-block;
    margin-top: 26px;

    font-size: 12px;
    font-weight: 700;
    color: var(--orange-dark);
}

.service-card a:hover {
    text-decoration: underline;
}

/* =========================================
   PROYECTOS
========================================= */

.projects {
    background: var(--black);
    color: white;
}

.eyebrow-light {
    color: #dedede;
}

.projects .section-heading > p {
    color: #aaa;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.project-card {
    min-width: 0;
}

.project-preview {
    position: relative;
    height: 340px;
    overflow: hidden;
    border-radius: 12px;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.project-card:hover .project-preview {
    transform: translateY(-5px);
    box-shadow: 0 17px 30px rgba(0,0,0,0.25);
}

.preview-nav {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 25px;
}

.preview-nav strong {
    font-size: 20px;
    letter-spacing: -1px;
}

.preview-nav > span {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

.preview-content {
    position: relative;
    z-index: 2;

    padding: 44px 32px;
}

.preview-content > span:first-child {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.preview-content h3 {
    margin: 18px 0 22px;

    font-size: clamp(30px, 3vw, 43px);
    line-height: 1.07;
    letter-spacing: -2px;
}

.preview-button {
    display: inline-block;
    padding-bottom: 7px;
    border-bottom: 1px solid currentColor;
    font-size: 10px;
    font-weight: 700;
}

/* DEMO BRUMA CAFÉ */

.preview-cafe {
    background: linear-gradient(
        130deg,
        #ead5bf 0%,
        #d4b08d 60%,
        #bd8b64 100%
    );

    color: #34251a;
}

.coffee-circle {
    position: absolute;

    width: 260px;
    height: 260px;

    background: rgba(255,255,255,0.16);
    border-radius: 50%;

    right: -10px;
    bottom: -30px;
}

.coffee-cup {
    position: absolute;

    width: 145px;
    height: 145px;

    right: 10%;
    top: 40%;

    border-radius: 50%;
    border: 18px solid #eee2d3;

    background: radial-gradient(
        circle,
        #68432e 0%,
        #43291b 56%,
        #d1ab8d 58%,
        #eee2d3 72%
    );

    box-shadow: 17px 25px 25px rgba(70,35,15,0.2);
}

.coffee-cup::after {
    content: "";

    position: absolute;
    width: 46px;
    height: 48px;

    border: 13px solid #eee2d3;
    border-radius: 50%;

    right: -50px;
    top: 25px;
    z-index: -1;
}

/* DEMO FORMA STUDIO */

.preview-atelier {
    background: linear-gradient(
        125deg,
        #e6e4e0,
        #c6c4c0
    );

    color: #202020;
}

.preview-atelier .preview-content h3 i {
    font-family: Georgia, serif;
    font-weight: 400;
}

.atelier-object {
    position: absolute;

    right: 4%;
    bottom: -12%;

    width: 42%;
    height: 76%;

    transform: rotate(-14deg);

    background: linear-gradient(
        135deg,
        #505050,
        #1b1b1b 45%,
        #777 65%,
        #242424
    );

    clip-path: polygon(
        20% 0,
        85% 8%,
        100% 70%,
        60% 100%,
        5% 78%,
        0 25%
    );
}

.project-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding-top: 24px;
}

.project-info small {
    color: var(--orange);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.project-info h3 {
    margin: 10px 0 6px;
    font-size: 21px;
}

.project-info p {
    color: #aaa;
    font-size: 12px;
}

.project-arrow {
    flex-shrink: 0;

    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    border-radius: 50%;
    border: 1px solid #555;

    font-size: 22px;
    transition: background var(--transition);
}

.project-card:hover .project-arrow {
    background: var(--orange-dark);
}

/* =========================================
   PROCESO
========================================= */

.process {
    background: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;

    border-top: 1px solid var(--border);
}

.process-step {
    padding-top: 28px;
}

.process-step > span {
    color: var(--orange-dark);
    font-size: 13px;
    font-weight: 800;
}

.process-step h3 {
    margin: 30px 0 12px;
    font-size: 20px;
}

.process-step p {
    max-width: 250px;
    color: var(--gray);
    font-size: 13px;
    line-height: 1.8;
}

/* =========================================
   NOSOTROS
========================================= */

.about {
    background: #F0EEEA;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 9%;
}

.about-art {
    position: relative;

    min-height: 350px;
    padding: 35px;

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

    border-radius: 15px;
    background: var(--black);
    overflow: hidden;
}

.about-art::after {
    content: "";
    position: absolute;

    right: -100px;
    top: -100px;

    width: 350px;
    height: 350px;

    border-radius: 50%;
    background: rgba(244,119,50,0.25);
    filter: blur(80px);
}

.about-symbol {
    position: relative;
    z-index: 1;

    color: #fff;
    font-size: clamp(100px, 12vw, 170px);
    font-weight: 800;
    letter-spacing: -16px;
    line-height: 1;
}

.about-symbol span {
    color: var(--orange);
}

.about-art > span {
    position: relative;
    z-index: 1;

    color: #aaa;
    font-size: 10px;
    letter-spacing: 2px;
}

.about-content h2 {
    margin: 22px 0 24px;

    font-size: clamp(38px, 4vw, 55px);
    line-height: 1.13;
    letter-spacing: -2px;
}

.about-content p {
    max-width: 480px;
    margin-bottom: 20px;

    color: #666;
    font-size: 14px;
    line-height: 1.9;
}

.about-content .btn-text {
    margin-top: 13px;
}

/* =========================================
   CONTACTO
========================================= */

.contact {
    position: relative;
    overflow: hidden;

    background: var(--orange);
    color: #fff;
}

.contact-inner {
    position: relative;
    isolation: isolate;
}

.contact h2 {
    margin: 30px 0 25px;

    font-size: clamp(55px, 7vw, 100px);
    line-height: 1.03;
    letter-spacing: -4px;
}

.contact h2 span {
    color: var(--black);
}

.contact p {
    max-width: 480px;

    color: #fff5ef;
    font-size: 16px;
    line-height: 1.8;
}

.btn-contact {
    margin-top: 30px;

    background: var(--black);
    color: #fff;
}

.btn-contact:hover {
    background: #333;
}

.contact-email {
    margin-top: 20px;
    color: #fff5ef;
    font-size: 13px;
}

.contact-watermark {
    position: absolute;
    z-index: -1;

    right: 2%;
    top: 0;

    font-size: clamp(180px, 35vw, 520px);
    font-weight: 800;
    letter-spacing: -50px;
    line-height: 1;

    color: rgba(255,255,255,0.1);
    pointer-events: none;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: var(--black);
    color: white;
}

.footer-inner {
    min-height: 110px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-brand strong {
    font-size: 21px;
    letter-spacing: 3px;
}

.footer-brand strong span {
    color: var(--orange);
}

.footer-brand small {
    color: #aaa;
    font-size: 8px;
    letter-spacing: 3px;
}

.footer-inner p,
.back-top {
    color: #aaa;
    font-size: 11px;
}

.back-top:hover {
    color: var(--orange);
}

/* =========================================
   ANIMACIONES
========================================= */

/* Sin JavaScript, el contenido sigue visible */

.js .reveal {
    opacity: 0;
    transform: translateY(26px);

    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(.2,.75,.2,1);
}

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

@keyframes floating {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-13px) rotate(0);
    }
}

@keyframes glowPulse {
    from {
        opacity: 0.5;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1.15);
    }
}

/* =========================================
   TABLETS
========================================= */

@media (max-width: 1100px) {

    .main-nav {
        gap: 14px;
    }

    .main-nav a {
        font-size: 11px;
    }

    .header-inner {
        gap: 16px;
    }

    .hero h1 {
        font-size: clamp(47px, 5vw, 65px);
    }

    .hero-grid {
        min-height: 580px;
    }

    .hero-visual {
        min-height: 420px;
    }

    .service-card {
        padding-right: 20px;
    }

    .service-card:not(:first-child) {
        padding-left: 20px;
    }
}

/* =========================================
   MENÚ MÓVIL
========================================= */

@media (max-width: 900px) {

    .main-nav {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        padding: 22px 7%;

        background: var(--cream);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 15px 25px rgba(0,0,0,0.06);

        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 13px 0;
        font-size: 14px;
    }

    .main-nav a::after {
        display: none;
    }

    .header-contact {
        margin-left: auto;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;

        width: 42px;
        height: 42px;

        background: transparent;
        border: 1px solid var(--border);
        border-radius: 9px;

        cursor: pointer;
    }

    .menu-toggle span {
        width: 19px;
        height: 2px;
        background: var(--black);

        transition: transform 0.3s, opacity 0.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);
    }
}

/* =========================================
   CELULARES
========================================= */

@media (max-width: 700px) {

    html {
        scroll-padding-top: 80px;
    }

    .header-inner {
        min-height: 76px;
    }

    .brand-icon {
        width: 43px;
        height: 43px;
    }

    .brand-text strong {
        font-size: 16px;
    }

    .header-contact {
        padding: 11px 16px;
        font-size: 11px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: 0;
    }

    .hero-content {
        padding: 70px 0 10px;
    }

    .hero h1 {
        font-size: clamp(45px, 9vw, 65px);
        letter-spacing: -2.5px;
    }

    .hero-content > p {
        font-size: 14px;
    }

    .hero-buttons {
        gap: 20px;
    }

    .hero-bottom {
        margin-top: 45px;
    }

    .hero-visual {
        min-height: 320px;
    }

    .hero-logo {
        width: min(65%, 235px);
    }

    .glow {
        width: 320px;
        height: 320px;
    }

    .visual-label {
        bottom: 10px;
    }

    .section {
        padding: 75px 0;
    }

    .section-heading {
        display: block;
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 37px;
    }

    .section-heading > p {
        margin-top: 20px;
    }

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

    .service-card,
    .service-card:not(:first-child) {
        padding: 27px 5px 28px 0;
        border-left: none;
        border-bottom: 1px solid var(--border);
    }

    .service-card:last-child {
        border-bottom: 0;
    }

    .service-card p {
        min-height: 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .project-preview {
        height: 310px;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-art {
        min-height: 250px;
    }

    .about-content h2 {
        font-size: 40px;
    }

    .contact h2 {
        font-size: clamp(53px, 10vw, 75px);
        letter-spacing: -3px;
    }

    .contact-watermark {
        font-size: 220px;
        letter-spacing: -25px;
        right: -30px;
        top: 15%;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-top: 35px;
        padding-bottom: 35px;
    }
}

/* CELULARES PEQUEÑOS */

@media (max-width: 400px) {

    .header-contact {
        display: none;
    }

    .menu-toggle {
        margin-left: auto;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .btn {
        padding: 15px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .project-preview {
        height: 270px;
    }

    .preview-nav > span {
        display: none;
    }

    .preview-content h3 {
        font-size: 30px;
    }

    .coffee-cup {
        width: 100px;
        height: 100px;
        right: 9%;
        top: 52%;
    }
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =====================================
   EIRAVA - LOGOTIPO OFICIAL
===================================== */

/* Logo pequeño del encabezado */

.brand-icon {
    display: block;
    width: 49px;
    height: 49px;
    flex-shrink: 0;
}

.brand-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 22%;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.brand:hover .brand-icon img {
    transform: rotate(-6deg) scale(1.05);
    filter: drop-shadow(
        0 5px 10px rgba(244, 119, 50, 0.15)
    );
}

/* Logo grande de la portada */

.hero-logo {
    width: min(72%, 360px);
    aspect-ratio: 1;

    filter: drop-shadow(
        22px 26px 30px rgba(0, 0, 0, 0.14)
    );

    animation: floating 6s ease-in-out infinite;
}

.hero-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 21%;
}

/* Animación de entrada del logotipo */

@keyframes logoEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Adaptación para celulares */

@media (max-width: 700px) {
    .brand-icon {
        width: 43px;
        height: 43px;
    }

    .hero-logo {
        width: min(65%, 235px);
    }
}

/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {
    .hero-logo {
        animation: none;
    }
}

/* ENLACES DEL PORTAFOLIO */

a.project-preview {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

a.project-preview:focus-visible {
    outline: 3px solid #F47732;
    outline-offset: 5px;
}

/* ENLACES DEL PORTAFOLIO EIRAVA */

.project-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.project-link .project-preview {
    cursor: pointer;
}

.project-link:hover .project-preview {
    transform: translateY(-5px);
    box-shadow: 0 17px 30px rgba(0, 0, 0, 0.25);
}

.project-link:hover .project-arrow {
    background: #F47732;
    border-color: #F47732;
}

.project-link:focus-visible {
    outline: 3px solid #F47732;
    outline-offset: 6px;
    border-radius: 12px;
}
