/*INICIO FUENTES*/
@font-face {
    font-family: "ShreeDev";
    src: url("fonts/ShreeDev0714.woff2") format("woff2"),
         url("fonts/ShreeDev0714.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "ShreeDev";
    src: url("fonts/ShreeDev0714-Bold.woff2") format("woff2"),
         url("fonts/ShreeDev0714-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "ShreeDev";
    src: url("fonts/ShreeDev0714-Italic.woff2") format("woff2"),
         url("fonts/ShreeDev0714-Italic.woff") format("woff");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "ShreeDev";
    src: url("fonts/ShreeDev0714-BoldItalic.woff2") format("woff2"),
         url("fonts/ShreeDev0714-BoldItalic.woff") format("woff");
    font-weight: 700;
    font-style: italic;
}
/*FIN FUENTES*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "ShreeDev", "Cormorant Garamond", serif;
    background: #f7f5f0;
    color: #2c2c2c;
}


/* ══════════════════════════════
   STICKY NAV
══════════════════════════════ */

.sticky-nav {
    position: fixed;
    top: 25px;
    right: 40px;
    padding: 18px 35px;
    z-index: 1000;
    border-radius: 100px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, .15);
    transition: all .4s ease;
}

.sticky-nav.scrolled {
    padding: 15px 30px;
    background: rgba(255, 255, 255, .65);
    border: 1px solid rgba(255, 255, 255, .3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

.sticky-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.sticky-nav a {
    text-decoration: none;
    font-size: .85rem;
    letter-spacing: 2px;
    color: white;
    position: relative;
    transition: .3s;
}

.sticky-nav.scrolled a {
    color: #2c2c2c;
}

.sticky-nav a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: .4s;
}

.sticky-nav a:hover::after {
    width: 100%;
}


/* ══════════════════════════════
   LANG BUTTON
══════════════════════════════ */

.lang-btn {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: .3s ease;
    color: white;
}

.sticky-nav.scrolled .lang-btn {
    color: #2c2c2c;
}

.lang-btn:hover {
    opacity: .6;
}


/* ══════════════════════════════
   LOGO
══════════════════════════════ */

.logo {
    font-size: 1.7rem;
    letter-spacing: 4px;
    color: white;
    transition: .4s;
}

.sticky-nav.scrolled .logo {
    color: #2c2c2c;
}


/* ══════════════════════════════
   HERO
══════════════════════════════ */

.hero {
    height: 100vh;
    background-image: url("images/somaintro.jpeg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    /*background: rgba(0, 0, 0, .25);*/
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-family: "ShreeDev", serif;
    font-size: 7rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.hero-content p {
    letter-spacing: 3px;
    margin-bottom: 40px;
}

.btn {
    padding: 14px 30px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    transition: .4s;
}

.btn:hover {
    background: white;
    color: black;
}


/* ══════════════════════════════
   ABOUT + PROCESS
══════════════════════════════ */

.about-section,
.process {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px;
    gap: 100px;
    min-height: 100vh;
}

.about-text,
.process-text {
    flex: 1;
}

.about-text span,
.process-text span {
    letter-spacing: 3px;
    font-size: .8rem;
    color: #8f9a85;
}

.about-text h2,
.process-text h2 {
    font-family: "ShreeDev", serif;
    font-size: 4rem;
    font-weight: 300;
    margin: 20px 0;
}

.about-text p,
.process-text p {
    line-height: 2;
    max-width: 500px;
    margin-bottom: 20px;
}

.about-image,
.process-image {
    flex: 1;
}

.about-image img,
.process-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.about-image img,
.about-image video {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
}


/* ══════════════════════════════
   CLOSING
══════════════════════════════ */

.closing {
    padding: 150px 40px;
    text-align: center;
}

.closing h2 {
    font-family: "ShreeDev", serif;
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.closing p {
    letter-spacing: 2px;
}


/* ══════════════════════════════
   GALLERY
══════════════════════════════ */

.gallery {
    padding: 150px 120px;
    background: #f7f5f0;
}

.gallery-header {
    text-align: center;
    margin-bottom: 80px;
}

.gallery-header span {
    letter-spacing: 3px;
    font-size: .8rem;
    color: #8f9a85;
}

.gallery-header h2 {
    font-family: "ShreeDev", serif;
    font-size: 4rem;
    font-weight: 300;
    margin: 20px 0;
}

.gallery-header p {
    max-width: 600px;
    margin: 0 auto;
    line-height: 2;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: .4s;
    filter: saturate(.9);
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

.gallery-video {
    margin-top: 60px;
}

.gallery-video video {
    width: 100%;
    height: 600px;
    object-fit: cover;
}


/* ══════════════════════════════
   CONTACT
══════════════════════════════ */

.contact {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 100px;
    padding: 150px 120px;
    background: #f7f5f0;
}

.contact-left {
    flex: 1;
}

.contact-left h2 {
    font-family: "ShreeDev", serif;
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.contact-left p {
    line-height: 2;
    max-width: 400px;
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    gap: 14px;
    align-items: center;
}

.social {
    text-decoration: none;
    font-size: .9rem;
    letter-spacing: 2px;
    color: #2c2c2c;
    position: relative;
}

.social::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 1px;
    background: #2c2c2c;
    transition: .4s;
}

.social:hover::after {
    width: 100%;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c2c2c;
    transition: all 0.25s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    opacity: 0.6;
}

.contact-right {
    flex: 1;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact-form input,
#contact-form textarea {
    border: none;
    border-bottom: 1px solid #cfcfcf;
    background: transparent;
    padding: 12px 5px;
    font-size: 1rem;
    outline: none;
    font-family: inherit;
    width: 100%;
}

#contact-form textarea {
    min-height: 120px;
    resize: none;
}

#button {
    margin-top: 10px;
    padding: 14px 25px;
    border: 1px solid #2c2c2c;
    background: transparent;
    cursor: pointer;
    letter-spacing: 2px;
    transition: .4s;
    font-family: inherit;
}

#button:hover {
    background: #2c2c2c;
    color: white;
}


/* ══════════════════════════════
   FOOTER
══════════════════════════════ */

.footer {
    background-color: #1a1a1a;
    color: #e8e4df;
    padding: 80px 5% 30px;
    font-family: "ShreeDev", serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand h3 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 1rem;
    color: #8f9a85;
    font-style: italic;
}

.footer-logo {
    width: 140px;
    height: auto;
    object-fit: contain;
}

.footer-links {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.footer-column h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    color: #8f9a85;
    font-weight: 400;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #e8e4df;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #8f9a85;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #e8e4df;
}


/* ══════════════════════════════
   TEXTO JUSTIFICADO
══════════════════════════════ */

.about-text p,
.process-text p,
.contact-left p,
.gallery-header p {
    text-align: justify;
    text-justify: inter-word;
}


/* ══════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
══════════════════════════════ */

@media (max-width: 900px) {

    /* NAV */
    .sticky-nav {
        top: 12px;
        right: 50%;
        transform: translateX(50%);
        width: 92%;
        padding: 12px 20px;
    }

    .sticky-nav ul {
        gap: 16px;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .sticky-nav a {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    /* HERO */
    .hero-content h1 {
        font-size: 4.5rem;
    }

    /* SECCIONES */
    .about-section,
    .process {
        flex-direction: column;
        padding: 70px 36px;
        gap: 40px;
        min-height: unset;
    }

    /* Imagen arriba, texto abajo */
    .about-section .about-image,
    .process .process-image {
        order: -1;
    }

    /* Imágenes fluidas */
    .about-image img,
    .about-image video,
    .process-image img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    /* Tipografía */
    .about-text h2,
    .process-text h2 {
        font-size: 2.4rem;
        margin: 12px 0;
    }

    .about-text span,
    .process-text span {
        font-size: 0.75rem;
    }

    .about-text p,
    .process-text p {
        font-size: 0.95rem;
        line-height: 1.9;
        max-width: 100%;
        margin-bottom: 16px;
    }

    /* GALLERY */
    .gallery {
        padding: 80px 36px;
    }

    .gallery-header {
        margin-bottom: 50px;
    }

    .gallery-header h2 {
        font-size: 2.4rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-grid img {
        height: 220px;
    }

    .gallery-video {
        margin-top: 10px;
    }

    .gallery-video video {
        height: 280px;
    }

    /* CONTACT */
    .contact {
        flex-direction: column;
        padding: 80px 36px;
        gap: 50px;
    }

    .contact-left h2 {
        font-size: 2.4rem;
    }

    .contact-left p {
        max-width: 100%;
    }

    /* FOOTER */
    .footer {
        padding: 60px 24px 24px;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
        padding-bottom: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}


/* ══════════════════════════════
   RESPONSIVE — MÓVIL (≤ 480px)
══════════════════════════════ */

@media (max-width: 480px) {

    /* NAV: texto más pequeño, gap mínimo */
    .sticky-nav {
        width: 96%;
        padding: 10px 14px;
    }

    .sticky-nav ul {
        gap: 10px;
    }

    .sticky-nav a {
        font-size: 0.68rem;
        letter-spacing: 1px;
    }

    .lang-btn {
        font-size: 10px;
        letter-spacing: 1px;
    }

    /* HERO */
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 0.8rem;
        letter-spacing: 2px;
        padding: 0 16px;
    }

    /* SECCIONES */
    .about-section,
    .process {
        padding: 50px 20px;
        gap: 28px;
    }

    .about-text h2,
    .process-text h2 {
        font-size: 2rem;
    }

    .about-text p,
    .process-text p {
        font-size: 0.9rem;
        line-height: 1.85;
    }

    /* Imágenes: ratio más cuadrado en pantallas pequeñas */
    .about-image img,
    .about-image video,
    .process-image img {
        aspect-ratio: 3 / 2;
    }

    /* GALLERY: columna única */
    .gallery {
        padding: 60px 20px;
    }

    .gallery-header h2 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gallery-grid img {
        height: 260px;
    }

    .gallery-video video {
        height: 220px;
    }

    /* CONTACT */
    .contact {
        padding: 60px 20px;
        gap: 40px;
    }

    .contact-left h2 {
        font-size: 2rem;
    }

    .contact-left p {
        font-size: 0.9rem;
    }

    #contact-form input,
    #contact-form textarea {
        font-size: 0.95rem;
        padding: 10px 4px;
    }

    #button {
        width: 100%;
        padding: 14px;
        font-size: 0.85rem;
        color: #1a1a1a;
    }

    /* FOOTER */
    .footer {
        padding: 50px 20px 20px;
    }

    .footer-brand h3 {
        font-size: 1.8rem;
    }

    .footer-logo {
        width: 110px;
    }

    .footer-column h4 {
        font-size: 0.78rem;
    }

    .footer-column a,
    .footer-column li {
        font-size: 0.95rem;
    }

    .footer-bottom {
        font-size: 0.78rem;
    }
}

/* =====================================
   DROPDOWN SØMA
===================================== */

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;

    min-width: 180px;

    list-style: none;

    padding: 18px 0;
    margin: 0;

    background: rgba(247, 245, 240, 0.92);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(0, 0, 0, 0.06);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s ease;

    z-index: 1000;

    /* 🔥 ESTO ES LO IMPORTANTE */
    display: flex;
    flex-direction: column;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
}

.dropdown-menu li a {
    display: block;

    padding: 10px 24px;

    text-decoration: none;

    font-size: 0.82rem;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    color: #2c2c2c;

    transition:
        letter-spacing 0.3s ease,
        opacity 0.3s ease,
        padding-left 0.3s ease;
}

.dropdown-menu li a:hover {
    opacity: 0.55;
    letter-spacing: 0.2em;
    padding-left: 30px;
}

/* =====================================
   LINKS SØMA
===================================== */

.soma-link {
    position: relative;

    color: inherit;

    text-decoration: none;

    font-weight: 500;

    transition: opacity 0.3s ease;
}

.soma-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -3px;

    width: 0;
    height: 1px;

    background: currentColor;

    transition: width 0.4s ease;
}

.soma-link:hover {
    opacity: 0.75;
}

.soma-link:hover::after {
    width: 100%;
}

/*PRUEBA*/
.service-page .hero-content h1 {
font-size: 8rem;
}

.service-page .hero-content p {
letter-spacing: 6px;
}

.service-page .sticky-nav {
background: rgba(255,255,255,.65);
border: 1px solid rgba(255,255,255,.3);
}

.service-page .sticky-nav a {
color: #2c2c2c;
}

.about-image img.new-ritual-logo {
    width: 100%;
    max-width: 550px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* HERO CON VIDEO - SOLO PARA SØMA SESSIONS */

.hero-video-bg {
    background-image: none;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;
}

.hero-video-bg::before {
    z-index: 1;
}

.hero-video-bg .hero-content {
    z-index: 2;
}