/* src/main/resources/static/css/estilosHermano.css */
:root {
    --bg-dark: #070e0b;
    --bg-card: rgba(14, 26, 22, 0.65);
    --border-glow: rgba(197, 160, 89, 0.15);
    --border-glow-active: rgba(197, 160, 89, 0.45);
    --text-primary: #f5f7f6;
    --text-secondary: #a3b0aa;
    --accent-gold: #c5a059;
    --accent-gold-hover: #e0bb73;
    --accent-emerald: #14532d;
    --accent-emerald-light: #22c55e;
    --font-family: 'Outfit', sans-serif;
    --transition-premium: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Custom premium scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-emerald);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(20, 83, 45, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(197, 160, 89, 0.08) 0%, transparent 45%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 5.5rem;
    position: relative;
    overflow-x: hidden;
}

/* Cosmic ambient glows */
.ambient-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
    border-radius: 50%;
}

/* NAVBAR */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5.5rem;
    z-index: 100;
    background: rgba(7, 14, 11, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    display: flex;
    align-items: center;
    transition: var(--transition-premium);
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-premium);
}

.brand:hover {
    transform: scale(1.02);
}

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

.brand-title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(245, 247, 246, 0.15);
}

.brand-subtitle {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-weight: 700;
    color: var(--accent-gold);
    margin-top: -1px;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    transition: var(--transition-premium);
    font-size: 0.95rem;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-premium);
}

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

.nav-link:hover::after {
    width: 100%;
}

.btn-nav {
    background: linear-gradient(135deg, var(--accent-gold) 0%, rgba(197,160,89,0.7) 100%);
    color: var(--bg-dark);
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.9rem;
    transition: var(--transition-premium);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(197, 160, 89, 0.3);
    background: var(--accent-gold-hover);
}

/* HERO SECTION */
.hero {
    min-height: 85vh;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 50%, rgba(20, 83, 45, 0.18) 0%, transparent 60%);
    z-index: 1;
}

.hero-container {
    width: 100%;
    max-width: 1150px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 4rem;
    z-index: 2;
}

@media (min-width: 992px) {
    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
    }
}

.hero-content {
    flex: 1.1;
    text-align: center;
}

@media (min-width: 992px) {
    .hero-content {
        text-align: left;
    }
}

.badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(197, 160, 89, 0.25);
    background-color: rgba(197, 160, 89, 0.08);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ffdf9e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(197, 160, 89, 0.2);
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .hero-desc {
        margin-left: 0;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
}

@media (min-width: 576px) {
    .hero-actions {
        flex-direction: row;
    }
}

@media (min-width: 992px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ecd39d 100%);
    color: var(--bg-dark);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 1.2rem 2.8rem;
    border-radius: 18px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition-premium);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.45);
    filter: brightness(1.1);
}

.btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1.2rem 2.8rem;
    border-radius: 18px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-premium);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

/* PORTRAIT */
.hero-media {
    flex: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.photo-frame {
    position: relative;
    padding: 1.5rem;
    background-color: rgba(14, 26, 22, 0.4);
    border-radius: 50%;
    border: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    transition: var(--transition-premium);
}

.photo-glow-ring {
    position: absolute;
    inset: 0.25rem;
    border: 2px dashed rgba(197, 160, 89, 0.4);
    border-radius: 50%;
    animation: spin 60s linear infinite;
}

.hero-photo {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--accent-gold);
    box-shadow: 0 0 60px rgba(197, 160, 89, 0.25);
    display: block;
    transition: var(--transition-premium);
}

@media (min-width: 768px) {
    .hero-photo {
        width: 410px;
        height: 410px;
    }
}

.photo-frame:hover {
    box-shadow: 0 50px 100px rgba(197, 160, 89, 0.35);
    transform: scale(1.03) rotate(1deg);
    border-color: var(--accent-gold);
}

.photo-frame:hover .hero-photo {
    border-color: #ffffff;
    box-shadow: 0 0 80px rgba(197, 160, 89, 0.45);
}

/* SECTION STRUCTURE WITH SMOOTH INVIEW ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* EL ESPEJO SECTION (TRUST & NEUROMARKETING) */
.espejo {
    padding: 10rem 2rem;
    display: flex;
    justify-content: center;
    position: relative;
}

.espejo-container {
    width: 100%;
    max-width: 1150px;
    text-align: center;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.section-title span {
    color: var(--accent-gold);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.35rem;
    line-height: 1.8;
    max-width: 850px;
    margin: 0 auto 6rem auto;
    font-weight: 300;
}

.espejo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .espejo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.espejo-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 28px;
    padding: 4rem 2.5rem;
    transition: var(--transition-premium);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.espejo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(197, 160, 89, 0.03) 100%);
    opacity: 0;
    transition: var(--transition-premium);
}

.espejo-card:hover {
    transform: translateY(-12px);
    border-color: var(--border-glow-active);
    box-shadow: 0 30px 60px rgba(197, 160, 89, 0.12);
}

.espejo-card:hover::before {
    opacity: 1;
}

.espejo-icon-box {
    width: 5rem;
    height: 5rem;
    border-radius: 24px;
    background-color: rgba(197, 160, 89, 0.06);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem auto;
    transition: var(--transition-premium);
    border: 1px solid rgba(197, 160, 89, 0.15);
}

.espejo-card:hover .espejo-icon-box {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #aa853c 100%);
    color: var(--bg-dark);
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.25);
}

.espejo-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.espejo-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 400;
}

/* EL METODO (HUMAN PORTRAIT CON NEUROMARKETING) */
.metodo {
    padding: 10rem 2rem;
    background-color: rgba(7, 14, 11, 0.98);
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(197, 160, 89, 0.08);
    border-bottom: 1px solid rgba(197, 160, 89, 0.08);
    position: relative;
}

.metodo-container {
    width: 100%;
    max-width: 1150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6rem;
}

@media (min-width: 992px) {
    .metodo-container {
        flex-direction: row;
    }
}

.metodo-media {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.isotype-glowing-wrapper {
    position: relative;
    padding: 3rem;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.07) 0%, transparent 75%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.metodo-content {
    flex: 1.2;
}

.metodo-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.metodo-content h2 span {
    color: var(--accent-gold);
}

.metodo-desc {
    font-size: 1.3rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    font-weight: 300;
}

.metodo-desc strong {
    color: var(--text-primary);
    font-weight: 700;
}

.metodo-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.metodo-item {
    display: flex;
    align-items: flex-start;
    gap: 1.8rem;
}

.metodo-bullet {
    margin-top: 0.2rem;
    flex-shrink: 0;
    color: var(--accent-gold);
    background-color: rgba(197, 160, 89, 0.08);
    padding: 0.8rem;
    border-radius: 18px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    transition: var(--transition-premium);
}

.metodo-item:hover .metodo-bullet {
    color: var(--bg-dark);
    background-color: var(--accent-gold);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

.metodo-item-content h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.metodo-item-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* RESERVATION FORM (SACRED ALTAR - STRICTLY PERSONALIZED) */
.reserva {
    padding: 10rem 2rem;
    position: relative;
    display: flex;
    justify-content: center;
}

.reserva-container {
    width: 100%;
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.reserva-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.reserva-title span {
    color: var(--accent-gold);
}

.reserva-desc {
    color: var(--text-secondary);
    font-size: 1.35rem;
    margin-bottom: 5rem;
    font-weight: 300;
    line-height: 1.7;
}

.reserva-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 36px;
    padding: 4.5rem 2.5rem;
    color: var(--text-primary);
    text-align: left;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

@media (min-width: 576px) {
    .reserva-card {
        padding: 5rem 4.5rem;
    }
}

.reserva-card h3 {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
    padding-bottom: 1.75rem;
    letter-spacing: -0.02em;
    color: var(--accent-gold);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 1.25rem 1.6rem;
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 16px;
    font-family: inherit;
    font-size: 1.05rem;
    color: var(--text-primary);
    background-color: rgba(7, 14, 11, 0.85);
    transition: var(--transition-premium);
    outline: none;
}

.form-textarea {
    resize: none;
    min-height: 120px;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.25);
    background-color: rgba(14, 26, 22, 0.95);
    transform: translateY(-2px);
}

.btn-submit {
    background: linear-gradient(135deg, var(--accent-gold) 0%, rgba(197,160,89,0.8) 100%);
    color: var(--bg-dark);
    border: none;
    width: 100%;
    padding: 1.4rem;
    border-radius: 18px;
    font-size: 1.2rem;
    font-weight: 850;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: var(--transition-premium);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.45);
    filter: brightness(1.1);
}

.form-footer-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 1.8rem;
    line-height: 1.6;
}

/* FOOTER & LOGOS */
footer {
    background-color: #040806;
    border-top: 1px solid rgba(197, 160, 89, 0.08);
    padding: 5rem 2rem;
    display: flex;
    justify-content: center;
}

.footer-container {
    width: 100%;
    max-width: 1150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.footer-brand span {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.copyright {
    font-size: 0.92rem;
    color: var(--text-secondary);
    text-align: center;
}

@media (min-width: 768px) {
    .copyright {
        text-align: left;
    }
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition-premium);
}

.powered-by:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(197, 160, 89, 0.25));
}

.powered-by-text {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

.arkero-logo-svg {
    width: 24px;
    height: 24px;
    transition: var(--transition-premium);
}

.powered-by:hover .arkero-logo-svg {
    transform: rotate(12deg);
}

/* KEYFRAMES & MICRO-INTERACTIONS */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(1.5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}
