/* ==========================================================
   RAHLUXI — ESTILOS GENERALES
   Paleta principal:
   Dorado normal: #ac9965
   Dorado hover:  #716443
   Dorado mobile: #b39f6c
   ========================================================== */

:root {
    --gold: #ac9965;
    --gold-dark: #716443;
    --gold-mobile: #b39f6c;
    --ink: #070b17;
    --white: #ffffff;
    --header-height: 142px;
    --page-width: 1120px;
}

/* Reseteo básico */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

button,
input,
textarea {
    font: inherit;
}

/* ==========================================================
   MARCA / LOGOTIPO CSS
   Puede reemplazarse por una imagen real dentro de .brand.
   ========================================================== */

.brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--gold);
    flex: 0 0 auto;
}

.brand-symbol {
    position: relative;
    width: 60px;
    height: 60px;
    border: 7px solid var(--gold);
    border-radius: 50%;
    transform: rotate(-12deg);
    box-shadow: 8px -7px 0 -6px rgba(172, 153, 101, .75);
}

.brand-symbol::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border-top: 2px solid transparent;
    border-right: 2px solid var(--gold);
    opacity: .7;
}

.brand-symbol span {
    position: absolute;
    width: 10px;
    height: 10px;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    background: var(--gold);
    transform: translate(-50%, -50%);
}

.brand-name {
    font-size: 17px;
    letter-spacing: .02em;
}

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

.site-header {
    position: fixed;
    z-index: 1000;
    inset: 0 0 auto 0;
    height: var(--header-height);
    transition: background-color .35s ease, box-shadow .35s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 7px 30px rgba(0, 0, 0, .06);
    backdrop-filter: blur(12px);
}

.page-home .site-header:not(.is-scrolled),
.page-contact .site-header:not(.is-scrolled) {
    background: transparent;
}

.page-contact .site-header.is-scrolled {
    background: rgba(5, 9, 20, .9);
}

.header-inner {
    width: min(var(--page-width), calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(28px, 3vw, 52px);
}

.desktop-nav a {
    position: relative;
    padding: 13px 0;
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    transition: color .25s ease;
}

.desktop-nav a:hover {
    color: var(--gold-dark);
}

.desktop-nav a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 32px;
    height: 2px;
    background: currentColor;
    transform: translateX(-50%);
}

/* Botón hamburguesa oculto en Desktop */
.menu-toggle {
    display: none;
    width: 54px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 6px;
    margin: 7px 0;
    border-radius: 8px;
    background: var(--gold-dark);
}

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

.mobile-menu {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 40px 7vw 60px;
    color: var(--gold-mobile);
    background: rgba(0, 0, 0, .85);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-18px);
    transition: opacity .35s ease, visibility .35s ease, transform .35s ease;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-top {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
}

.brand-mobile {
    width: 50vw;
    max-width: 240px;
}

.brand-mobile .brand-symbol {
    width: 130px;
    height: 130px;
    border-width: 12px;
}

.brand-mobile .brand-symbol span {
    width: 20px;
    height: 20px;
}

.brand-mobile .brand-name {
    font-size: 34px;
}

.menu-close {
    position: absolute;
    right: 0;
    top: 36px;
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 74px;
    font-weight: 900;
    line-height: .7;
    cursor: pointer;
}

.mobile-nav {
    width: 100%;
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(36px, 7vh, 72px);
}

.mobile-nav a {
    color: var(--gold-mobile);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 500;
    text-align: center;
}

/* ==========================================================
   HOME
   ========================================================== */

.page-home {
    /*background: #cdeafa;*/
	background-image:url(../img/background_home_desktop.jpg);
	background-size:cover;
}

.home-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
}

.home-background {
    position: absolute;
    z-index: -5;
    inset: 0;
    /*background:
        radial-gradient(circle at 25% 9%, rgba(255,255,255,.65) 0 55px, transparent 56px),
        radial-gradient(circle at 84% 39%, rgba(255,255,255,.55) 0 70px, transparent 72px),
        linear-gradient(180deg, #b9e2f7 0%, #c9ebfb 57%, #8898aa 100%);*/
}

/* Para utilizar una imagen:
.home-background { background: url("../img/home-fondo.jpg") center/cover no-repeat; }
*/

.word-streams {
    position: absolute;
    z-index: -3;
    inset: 19vh 0 8vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    overflow: hidden;
    pointer-events: none;
}

.word-line {
    width: 100%;
    white-space: nowrap;
    font-size: clamp(80px, 10vw, 190px);
    font-weight: 800;
    line-height: .88;
    color: rgba(255,255,255,.27);
}

.word-line span {
    display: inline-block;
    min-width: max-content;
    will-change: transform;
}

.move-right span {
    animation: marquee-right 34s linear infinite;
}

.move-left span {
    animation: marquee-left 38s linear infinite;
}

.word-line.slow span {
    animation-duration: 47s;
}

@keyframes marquee-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes marquee-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.hero-person {
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: 0;
    width: min(620px, 44vw);
    height: 78vh;
    transform: translateX(-50%);
    animation: subtle-float 7s ease-in-out infinite;
}

/* Al agregar la imagen:
.hero-person {
    background: url("../img/home-mujer.png") center bottom / contain no-repeat;
}
.hero-person .image-placeholder { display: none; }
*/

@keyframes subtle-float {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -5px); }
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
	margin-top: 60px;
    place-content: center;
    gap: 8px;
    text-align: center;
    color: rgba(255,255,255,.85);
    border: 1px dashed rgba(255,255,255,.4);
    border-radius: 46% 46% 0 0;
    /*background: linear-gradient(180deg, rgba(15,19,28,.08), rgba(7,11,23,.9));*/
}

.image-placeholder img {
    width: 100%;
}

.image-placeholder span {
    font-size: 13px;
    letter-spacing: .16em;
}

.image-placeholder strong {
    font-size: 16px;
}

.image-placeholder.light {
    color: var(--gold-dark);
    /*border-color: rgba(113,100,67,.35);*/
    background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(172,153,101,.12));
}

.hero-bottom-fade {
    position: absolute;
    z-index: 5;
    inset: auto 0 0;
    height: 32vh;
    background: linear-gradient(180deg, transparent, #070b17 95%);
    pointer-events: none;
}

/* ==========================================================
   QUIÉNES SOMOS
   ========================================================== */

.page-about {
    color: #766b47;
    /*background: #f8f8f7;*/
	background-image:url(../img/background_nosotros_desktop.jpg);
	background-size:cover;
}

.about-main {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-height);
    overflow: hidden;
}

.about-background {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        radial-gradient(circle at 87% 21%, rgba(230,230,232,.48), transparent 34%),
        linear-gradient(90deg, #fff 0%, #fbfbfb 58%, #eeeeef 100%);
}

/* Para utilizar una imagen:
.about-background { background: url("../img/nosotros-fondo.jpg") center/cover no-repeat; }
*/

.about-layout {
    /*width: min(1500px, 100%);*/
    min-height: calc(100vh - var(--header-height));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(380px, 31%) 1fr;
    align-items: center;
}

.about-photo {
    align-self: stretch;
    min-height: 640px;
}

/* Al agregar la imagen:
.about-photo {
    background: url("../img/nosotros-mujer.png") left bottom / contain no-repeat;
}
.about-photo .image-placeholder { display: none; }
*/

.about-copy {
    padding: 55px clamp(60px, 7vw, 130px) 55px 0;
    font-size: clamp(15px, 1.15vw, 19px);
    line-height: 1.16;
}

.about-copy p {
    margin: 0 0 25px;
}

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

.page-contact {
    color: var(--ink);
    background:url(../img/background_contacto_desktop.jpg);
	background-image:url(../img/background_contacto_desktop.jpg);
	background-size:cover;
}

.contact-main {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--header-height) + 18px) 24px 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.contact-background {
    position: absolute;
    z-index: -5;
    inset: 0;
    background:
        radial-gradient(circle at 50% 48%, rgba(40,50,74,.46), transparent 36%),
        linear-gradient(145deg, #050916, #0a1020 55%, #050814);
}

/* Para utilizar una imagen:
.contact-background { background: url("../img/contacto-fondo.jpg") center/cover no-repeat; }
*/

.contact-words {
    position: absolute;
    z-index: -3;
    inset: 20vh 2vw 0;
    overflow: hidden;
    color: rgba(255,255,255,.15);
    font-size: clamp(78px, 10vw, 175px);
    font-weight: 900;
    line-height: .72;
    letter-spacing: -.035em;
    user-select: none;
}

.contact-card {
    width: min(680px, 100%);
    padding: 24px 26px 30px;
    border-radius: 9px;
    background: rgba(196, 173, 107, .82);
    backdrop-filter: blur(4px);
}

.contact-card-header {
    padding: 0 16px 15px;
}

.contact-card h1 {
    margin: 0 0 15px;
    text-align: center;
    font-size: 28px;
}

.contact-card-header p {
    margin: 0;
    font-size: 20px;
    line-height: 1.14;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form label {
    position: relative;
    display: block;
}

.contact-form label > span {
    position: absolute;
    z-index: 2;
    left: 17px;
    top: 15px;
    font-size: 18px;
    font-weight: 800;
    pointer-events: none;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #131313;
    border-radius: 4px;
    color: var(--ink);
    background: rgba(255,255,255,.05);
    outline: none;
    transition: background-color .2s ease, box-shadow .2s ease;
}

.contact-form input {
    height: 54px;
    padding: 18px 16px 8px;
}

.contact-form textarea {
    min-height: 250px;
    padding: 52px 16px 16px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: rgba(255,255,255,.16);
    box-shadow: 0 0 0 2px rgba(7,11,23,.14);
}

.contact-form button {
    min-height: 52px;
    border: 0;
    border-radius: 4px;
    color: #c9b77c;
    background: #000;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease;
}

.contact-form button:hover {
    background: #151515;
    transform: translateY(-1px);
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
}
input::placeholder{
	color:#000;
	font-family: Arial, Helvetica, sans-serif;
	}
textarea::placeholder{
	color:#000;
	font-family: Arial, Helvetica, sans-serif;
	}

/* ==========================================================
   CONFIRMACIÓN
   ========================================================== */

.thanks-main {
    min-height: 100vh;
    padding: calc(var(--header-height) + 30px) 24px 50px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 40%, rgba(172,153,101,.18), transparent 35%),
        linear-gradient(145deg, #050916, #0a1020 55%, #050814);
}

.thanks-card {
    width: min(680px, 100%);
    padding: 55px 40px;
    border-radius: 10px;
    text-align: center;
    background: rgba(196,173,107,.88);
}

.thanks-card h1 {
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 46px);
}

.thanks-card p {
    margin: 0 0 30px;
    font-size: 22px;
}

.thanks-card a {
    display: inline-block;
    padding: 17px 28px;
    border-radius: 4px;
    color: #c9b77c;
    background: #000;
    font-weight: 800;
}

/* Accesibilidad: reduce animaciones cuando el sistema lo solicita */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
