/* ================================================== */
/* ================= SABON FONT ====================== */
/* ================================================== */

@font-face {
  font-family: "SabonCustom";
  src: url("./fonts/SabonCE-Roman-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
/* ================================================== */
/* ================= RESET GENERAL ================== */
/* ================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================================================== */
/* ==================== VARIABLES =================== */
/* ================================================== */
:root {
  --gray-purple: #968cb1;
  --gray-green: #93a996;
  --light-yellow-green: #f1f3e9;
  --grey-neon-pink: #8e4585;
  --light-blue: #d3d3ff;

  --bg: #f5f3ef;
  --surface: #ffffff;
  --surface-soft: #fcfbf8;

  --text: #3a3340;
  --muted: #6c6673;

  --heading: #8e4585;
  --heading-soft: #968cb1;
  --link: #8e4585;
  --link-hover: #6f3769;
  --eyebrow: #93a996;

  --border: rgba(150, 140, 177, 0.22);

  --shadow-soft: 0 12px 30px rgba(58, 44, 70, 0.08);
  --shadow: 0 20px 48px rgba(58, 44, 70, 0.12);

  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 34px;

  --max-width: 1200px;
}

/* ================================================== */
/* =================== BASE GLOBAL ================== */
/* ================================================== */
html {
  scroll-behavior: smooth;
}

body {
  background: #f5f3ef;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.72;
}

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

main {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

section {
  margin: 110px 0;
}

a {
  color: inherit;
}

p {
  color: #6c6673;
}

/* ================================================== */
/* ================= TIPOGRAFÍA BASE ================ */
/* ================================================== */
h1,
h2,
h3,
.brand-name,
.footer-brand h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.hero-script,
.script-accent,
.card-script,
.footer-script {
  font-family: "Allura", cursive;
}

h1,
h2,
h3 {
  color: #8e4585;
}

.eyebrow {
  color: #93a996;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.eyebrow-light {
  color: var(--light-yellow-green);
}

.script-accent {
  font-size: clamp(2.1rem, 3vw, 3.2rem);
  color: #8e4585;
  line-height: 1;
  margin-bottom: 6px;
}

.script-accent.left {
  text-align: left;
}

/* ================================================== */
/* ===================== HEADER ===================== */
/* ================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 0;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  z-index: 1000;
}

.header-inner {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.brand {
  display: none;
}

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

.brand-name {
  font-size: 1.7rem;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.brand-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 6px;
}

/* ================================================== */
/* ================== NAVEGACIÓN ==================== */
/* ================================================== */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.main-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 10px 16px;
  border-radius: 999px;
  transition: 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.nav-cta {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
}

/* ================================================== */
/* ===================== TEXTOS ===================== */
/* ================================================== */
.section-heading {
  margin-bottom: 28px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 3vw, 3.8rem);
  line-height: 1.08;
  font-weight: 500;
  color: #8e4585;
  max-width: 920px;
  margin: 0 auto;
}

.section-intro {
  max-width: 700px;
  margin: 14px auto 0;
  font-size: 1rem;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: var(--link);
  border-bottom: 1px solid rgba(142, 69, 133, 0.24);
  padding-bottom: 3px;
  transition: 0.22s ease;
}

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

/* ================================================== */
/* ===================== BOTONES ==================== */
/* ================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 24px;
  transition: 0.25s ease;
  cursor: pointer;
  font: inherit;
  font-size: 0.97rem;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--grey-neon-pink),
    var(--gray-purple)
  );
  color: var(--light-yellow-green);
  border: none;
  box-shadow: 0 14px 30px rgba(142, 69, 133, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(142, 69, 133, 0.24);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-secondary {
  color: var(--heading);
  border: 1px solid rgba(150, 140, 177, 0.35);
  background: rgba(255, 255, 255, 0.82);
}

.btn-secondary:hover {
  background: rgba(211, 211, 255, 0.35);
  transform: translateY(-1px);
}

/* ================================================== */
/* ================ HOME / HERO BASE ================ */
/* ================================================== */
.hero-editorial {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  margin-left: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-editorial::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 15, 25, 0.6) 0%,
    rgba(20, 15, 25, 0.2) 40%,
    rgba(20, 15, 25, 0.05) 100%
  );
  z-index: 1;
}

.hero-editorial::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px; /* 🔥 evita línea rara */
  width: 100%;
  height: 220px;

  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.85) 60%,
    #ffffff 100%
  );

  z-index: 5; /* 🔥 CLAVE */
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: 120px 24px 80px;
  text-align: center;
}

.hero-logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.95;
  font-weight: 500;
  color: #f1f3e9;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 3;
}

.hero-sub {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  position: relative;
  z-index: 3;
}

/* ================================================== */
/* ================= BLOQUE PUENTE ================== */
/* ================================================== */
.transition-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  padding: 100px 20px 140px;
  background: linear-gradient(to bottom, #ffffff 0%, #ffffff 100%);
}

.transition-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.transition-eyebrow {
  color: rgba(58, 51, 64, 0.58);
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.transition-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.1;
  color: #8e4585;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}

/* ================================================== */
/* ==================== STORY BRAND ================= */
/* ================================================== */
.brand-story {
  max-width: 930px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.brand-story-copy h2 {
  font-size: clamp(2.2rem, 3vw, 3.8rem);
  line-height: 1.08;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--heading);
}

.brand-story-copy p {
  max-width: 720px;
  margin: 0 auto 10px;
  font-size: 1.02rem;
  color: var(--muted);
}

/* ================================================== */
/* ====================== PIEZAS ==================== */
/* ================================================== */
.offerings-section {
  margin-bottom: 150px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(150, 140, 177, 0.14);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
  transition: 0.28s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.offering-card {
  display: flex;
  flex-direction: column;
}

.card-main-image {
  margin-bottom: 14px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--gray-purple);
}

.card-main-image .main-preview {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.card:hover .main-preview {
  transform: scale(1.02);
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.thumb {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.82;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    border-color 0.2s ease;
}

.thumb:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.thumb.active {
  border-color: var(--grey-neon-pink);
  opacity: 1;
  box-shadow: 0 6px 16px rgba(142, 69, 133, 0.15);
}

.card-script {
  font-size: 2rem;
  color: var(--gray-green);
  line-height: 1;
  margin-bottom: 4px;
}

.offering-copy h3 {
  color: var(--heading);
  font-size: 1.9rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.offering-copy p {
  color: var(--muted);
}

/* ================================================== */
/* ====================== GALERÍA =================== */
/* ================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(150, 140, 177, 0.12);
  cursor: zoom-in;
  background: rgba(255, 255, 255, 0.72);
}

.gallery-item img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* ================================================== */
/* ======================= VIDEO ==================== */
/* ================================================== */
.video-section {
  text-align: center;
}

.video-container {
  background: linear-gradient(
    135deg,
    rgba(150, 140, 177, 0.14),
    rgba(142, 69, 133, 0.08)
  );
  border: 1px solid rgba(150, 140, 177, 0.12);
  padding: 18px;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.video-container video {
  width: 100%;
  border-radius: 20px;
  display: block;
}

/* ================================================== */
/* ===================== CONTACTO =================== */
/* ================================================== */
.contact-section {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.contact-intro {
  text-align: center;
  margin-bottom: 30px;
  color: var(--muted);
}

.contact-form {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(150, 140, 177, 0.14);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  padding: 32px;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-row label {
  margin-bottom: 8px;
  color: var(--heading);
  font-size: 0.95rem;
  font-weight: 500;
}

.form-row input,
.form-row select,
.form-row textarea {
  border: 1px solid rgba(150, 140, 177, 0.22);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gray-purple);
  box-shadow: 0 0 0 4px rgba(211, 211, 255, 0.35);
  background: #ffffff;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(108, 102, 115, 0.7);
}

.form-row select option {
  color: #2f2933;
  background: #f1f3e9;
}

.form-status {
  margin-top: 16px;
  min-height: 24px;
  font-size: 0.98rem;
}

.form-status.success {
  color: #4c7255;
}

.form-status.error {
  color: #a14f7a;
}

/* ================================================== */
/* ====================== FOOTER ==================== */
/* ================================================== */
.site-footer {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 40px 0 56px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  border-top: 1px solid rgba(150, 140, 177, 0.14);
  padding-top: 26px;
}

.footer-script {
  font-size: 2.4rem;
  line-height: 1;
  color: var(--heading);
  margin-bottom: 6px;
}

.footer-brand h3 {
  color: var(--heading);
  font-weight: 500;
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.footer-brand p {
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: var(--heading);
}

/* ================================================== */
/* ============== BOTÓN VOLVER ARRIBA ============== */
/* ================================================== */
.icono-flotante {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
}

.icono-flotante img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  padding: 7px;
  box-shadow: 0 10px 22px rgba(74, 57, 96, 0.14);
  border: 1px solid rgba(150, 140, 177, 0.16);
  transition: transform 0.25s ease;
}

.icono-flotante img:hover {
  transform: scale(1.08);
}

/* ================================================== */
/* ====================== CHATBOX =================== */
/* ================================================== */
#chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--grey-neon-pink),
    var(--gray-purple)
  );
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(74, 57, 96, 0.2);
  z-index: 9999;
  transition: 0.22s ease;
}

#chat-toggle:hover {
  transform: translateY(-2px) scale(1.02);
}

#chatbox {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 340px;
  max-width: 92%;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(150, 140, 177, 0.18);
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(74, 57, 96, 0.16);
  overflow: hidden;
  z-index: 9999;
  backdrop-filter: blur(8px);
  font-family: Arial, sans-serif;
}

.hidden {
  display: none;
}

.chat-header {
  background: linear-gradient(
    135deg,
    var(--gray-purple),
    var(--grey-neon-pink)
  );
  color: white;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header span {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.chat-header button {
  background: transparent;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

.chat-messages {
  height: 300px;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fbfbff;
}

.bot-message,
.user-message {
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 16px;
  line-height: 1.45;
  font-size: 0.96rem;
}

.bot-message {
  background: rgba(211, 211, 255, 0.58);
  color: #2f2933;
  align-self: flex-start;
}

.user-message {
  background: var(--grey-neon-pink);
  color: #f1f3e9;
  align-self: flex-end;
}

.chat-input-area {
  display: flex;
  border-top: 1px solid rgba(150, 140, 177, 0.16);
  background: white;
}

#chat-input {
  flex: 1;
  border: none;
  padding: 13px 14px;
  outline: none;
  font: inherit;
  color: #2f2933;
  background: transparent;
}

#chat-input::placeholder {
  color: #8b8593;
}

#send-chat {
  border: none;
  background: var(--gray-purple);
  color: white;
  padding: 0 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

#send-chat:hover {
  background: var(--grey-neon-pink);
}

/* ================================================== */
/* ===================== LIGHTBOX =================== */
/* ================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.lightbox.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lightbox:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 28, 48, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: min(92vw, 1000px);
  max-height: 88vh;
  animation: lightboxPop 0.28s ease;
}

.lightbox-content img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 22px 50px rgba(28, 18, 36, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--grey-neon-pink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(28, 18, 36, 0.16);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.05);
  background: #ffffff;
}

@keyframes lightboxPop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

body.lightbox-open {
  overflow: hidden;
}

/* ================================================== */
/* ============== ANIMACIÓN AL HACER SCROLL ========= */
/* ================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================== */
/* ================== HOME / LOGO HOME ============== */
/* ================================================== */
.brand-mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
  background: transparent;
  box-shadow: none;
  outline: none;
  transition:
    transform 0.28s ease,
    filter 0.28s ease;
  transform-origin: center center;
}

.brand-mark::before,
.brand-mark::after {
  content: none !important;
  display: none !important;
}

.brand-mark:hover {
  transform: scale(1.05);
}

.brand-mark:focus,
.brand-mark:active {
  outline: none;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none;
}

.brand-mark a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
  background: transparent;
  box-shadow: none;
}

.brand-mark a::before,
.brand-mark a::after {
  content: none !important;
  display: none !important;
}

.logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none;
  transition:
    transform 0.28s ease,
    filter 0.28s ease,
    opacity 0.28s ease;
  filter: drop-shadow(0 0 6px rgba(241, 243, 233, 0.14))
    drop-shadow(0 0 14px rgba(211, 211, 255, 0.1));
}

.brand-mark:hover .logo,
.logo:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 8px rgba(241, 243, 233, 0.2))
    drop-shadow(0 0 18px rgba(211, 211, 255, 0.14))
    drop-shadow(0 0 28px rgba(142, 69, 133, 0.1));
}

.site-header .brand-mark,
.site-header .brand-mark a,
.site-header .logo {
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* ================================================== */
/* ===================== RESPONSIVE ================= */
/* ================================================== */
@media (max-width: 1100px) {
  .cards,
  .gallery,
  .footer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-inner {
    text-align: center;
  }

  .main-nav {
    justify-content: center;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 900px) {
  section {
    margin: 84px 0;
  }

  .hero-content {
    padding: 110px 32px 70px;
  }

  .hero-logo {
    font-size: clamp(3.4rem, 10vw, 6rem);
  }

  .card-main-image .main-preview {
    height: 320px;
  }

  .gallery-item img {
    height: 300px;
  }

  .offerings-section {
    margin-bottom: 120px;
  }

  .transition-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin: 0;
    padding: 100px 20px 140px;
    background: linear-gradient(
      to bottom,
      #141018 0%,
      #1f1a26 20%,
      #2a2233 40%,
      #f3f1f7 75%,
      #f5f3ef 100%
    );
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 24px, var(--max-width));
  }

  section {
    margin: 72px 0;
  }

  .hero-content {
    padding: 110px 24px 60px;
  }

  .hero-logo {
    font-size: clamp(3rem, 13vw, 5rem);
    line-height: 0.98;
  }

  .hero-sub {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
  }

  .gallery-item img {
    height: 280px;
  }

  .card-main-image .main-preview {
    height: 260px;
  }

  .thumb {
    height: 56px;
  }

  .contact-form {
    padding: 22px;
  }

  #chatbox {
    right: 12px;
    bottom: 84px;
    width: calc(100% - 24px);
  }

  #chat-toggle {
    right: 14px;
    bottom: 14px;
  }

  .transition-title {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }
}

/* ================================================== */
/* ================= INDEX / PORTADA ================ */
/* ================================================== */
.landing-page main {
  width: 100%;
  margin: 0;
}

.landing-page .landing-hero {
  min-height: 100vh;
  margin: 0;
}

/* ================================================== */
/* ============ INDEX / HERO EDITORIAL ============== */
/* ================================================== */
.hero-editorial {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  margin-left: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-editorial::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 15, 25, 0.6) 0%,
    rgba(20, 15, 25, 0.2) 40%,
    rgba(20, 15, 25, 0.05) 100%
  );
  z-index: 1;
}

.hero-editorial::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 220px;
  background: linear-gradient(
    to bottom,
    rgba(20, 15, 25, 0) 0%,
    rgba(20, 15, 25, 0.7) 60%,
    #141018 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: 120px 24px 80px;
  text-align: center;
}

.hero-logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.95;
  font-weight: 500;
  color: #f1f3e9;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 3;
  transition:
    transform 0.45s ease,
    text-shadow 0.45s ease;
}

.hero-sub {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  position: relative;
  z-index: 3;
  transition:
    text-shadow 0.45s ease,
    letter-spacing 0.45s ease;
}

/* ================================================== */
/* =========== INDEX / LOGO PORTADA BASE ============ */
/* ================================================== */
.hero-logo-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  background: transparent;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none;
  overflow: visible;
  isolation: isolate;
  transition: transform 0.35s ease;
}

.hero-logo-button::before,
.hero-logo-button::after {
  content: none !important;
  display: none !important;
}

.hero-logo-button:hover {
  transform: scale(1.02);
}

.hero-logo-button:focus,
.hero-logo-button:active,
.hero-logo-button:visited {
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none;
}

.hero-logo-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 10px;
  border-radius: 20px;
}

/* ================================================== */
/* ============== HOME / LOGO HOME BASE ============= */
/* ================================================== */
.home-logo-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  background: transparent;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none;
  overflow: visible;
  isolation: isolate;
  transition: transform 0.28s ease;
}

.home-logo-button::before,
.home-logo-button::after {
  content: none !important;
  display: none !important;
}

.home-logo-button:hover {
  transform: scale(1.03);
}

.home-logo-button:focus,
.home-logo-button:active,
.home-logo-button:visited {
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none;
}

/* ================================================== */
/* ============== CONTENEDOR VISUAL LOGO ============ */
/* ================================================== */
.logo-light-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 30px;
  z-index: 2;
}

.home-aura-wrap {
  position: relative;
}

/* ================================================== */
/* ================= LOGO / TEXTO BASE ============== */
/* ================================================== */
.hero-logo {
  position: relative;
  z-index: 3;
  line-height: 0.88;
  margin: 0 0 6px;
  display: block;
  transition:
    transform 0.4s ease,
    text-shadow 0.4s ease;
}

.hero-sub {
  display: block;
  margin-top: 16px;
  position: relative;
  z-index: 3;
  top: 0;
  transition:
    text-shadow 0.4s ease,
    letter-spacing 0.4s ease;
}

/* brillo base del logo en ambas páginas */
.hero-logo-button .hero-logo,
.home-logo-button .hero-logo {
  text-shadow:
    0 0 10px rgba(241, 243, 233, 0.22),
    0 0 26px rgba(211, 211, 255, 0.18),
    0 0 42px rgba(142, 69, 133, 0.12);
}

/* ================================================== */
/* ================= AURA CONFIG BASE =============== */
/* ================================================== */
.logo-aura-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity, filter;
}

/* ================================================== */
/* ================ AURA PRINCIPAL ================== */
/* ================================================== */
.aura-one {
  width: clamp(220px, 50vw, 340px);
  height: clamp(220px, 50vw, 340px);
  z-index: 1;
  opacity: 1;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.58) 0%,
    rgba(241, 243, 233, 0.46) 18%,
    rgba(211, 211, 255, 0.34) 38%,
    rgba(142, 69, 133, 0.22) 60%,
    rgba(142, 69, 133, 0.1) 76%,
    transparent 90%
  );
  box-shadow:
    0 0 46px rgba(255, 255, 255, 0.52),
    0 0 96px rgba(241, 243, 233, 0.4),
    0 0 160px rgba(211, 211, 255, 0.34),
    0 0 250px rgba(142, 69, 133, 0.26);
  filter: blur(5.2px);
  animation: auraBreathDeep 8s ease-in-out infinite;
  transition:
    transform 0.6s ease,
    opacity 0.6s ease,
    box-shadow 0.6s ease,
    filter 0.6s ease;
}

.aura-one::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.68) 0%,
    rgba(241, 243, 233, 0.34) 40%,
    transparent 70%
  );
  filter: blur(6px);
  opacity: 0.95;
}

.aura-one::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0) 36%,
    rgba(241, 243, 233, 0.1) 52%,
    rgba(211, 211, 255, 0.1) 64%,
    rgba(142, 69, 133, 0.07) 76%,
    transparent 88%
  );
  filter: blur(12px);
  opacity: 0.95;
}

/* ================================================== */
/* ================ AURA SECUNDARIA ================= */
/* ================================================== */
.aura-two {
  width: clamp(260px, 60vw, 400px);
  height: clamp(260px, 60vw, 400px);
  z-index: 0;
  opacity: 0.66;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(241, 243, 233, 0.16) 24%,
    rgba(211, 211, 255, 0.14) 45%,
    rgba(142, 69, 133, 0.12) 65%,
    transparent 86%
  );
  filter: blur(15px);
  animation: auraBreathOuter 11s ease-in-out infinite;
  transition:
    transform 0.8s ease,
    opacity 0.8s ease,
    filter 0.8s ease;
}

/* ================================================== */
/* ================= HOVER DE LOGOS ================= */
/* ================================================== */
.hero-logo-button:hover .aura-one,
.home-logo-button:hover .aura-one {
  transform: translate(-50%, -50%) scale(1.03);
  opacity: 1;
  filter: blur(5.8px);
}

.hero-logo-button:hover .aura-two,
.home-logo-button:hover .aura-two {
  transform: translate(-50%, -50%) scale(1.04);
  opacity: 0.76;
  filter: blur(16px);
}

.hero-logo-button:hover .hero-logo,
.home-logo-button:hover .hero-logo {
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.5),
    0 0 30px rgba(241, 243, 233, 0.4),
    0 0 54px rgba(211, 211, 255, 0.28),
    0 0 84px rgba(142, 69, 133, 0.18);
}

.hero-logo-button:hover .hero-sub,
.home-logo-button:hover .hero-sub {
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.22),
    0 0 20px rgba(211, 211, 255, 0.18);
}

/* ================================================== */
/* ============== PORTADA / CLICK PORTAL ============ */
/* ================================================== */
.hero-logo-button.is-activating .aura-one {
  animation: auraOpenEndless 2.4s linear forwards;
}

.hero-logo-button.is-activating .aura-two {
  animation: auraOpenEndlessOuter 2.4s linear forwards;
}

.hero-logo-button.is-activating .hero-logo {
  transform: scale(1.045);
  text-shadow:
    0 0 26px rgba(255, 255, 255, 0.94),
    0 0 56px rgba(241, 243, 233, 0.84),
    0 0 92px rgba(211, 211, 255, 0.6),
    0 0 130px rgba(142, 69, 133, 0.28);
}

.hero-logo-button.is-activating .hero-sub {
  letter-spacing: 0.35em;
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.42),
    0 0 30px rgba(211, 211, 255, 0.24);
}

/* ================================================== */
/* ================= RESPIRACIÓN BASE =============== */
/* ================================================== */
@keyframes auraBreathDeep {
  0% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.65;
    filter: blur(3px);
  }

  45% {
    transform: translate(-50%, -50%) scale(1.18);
    opacity: 1;
    filter: blur(6px);
  }

  55% {
    transform: translate(-50%, -50%) scale(1.18);
    opacity: 1;
    filter: blur(6px);
  }

  100% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.65;
    filter: blur(3px);
  }
}

@keyframes auraBreathOuter {
  0% {
    transform: translate(-50%, -50%) scale(0.96);
    opacity: 0.32;
    filter: blur(10px);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 0.55;
    filter: blur(14px);
  }

  100% {
    transform: translate(-50%, -50%) scale(0.96);
    opacity: 0.32;
    filter: blur(10px);
  }
}

/* ================================================== */
/* =============== PORTADA / APERTURA =============== */
/* ================================================== */
@keyframes auraOpenEndless {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    filter: blur(5px);
  }

  100% {
    transform: translate(-50%, -50%) scale(4.8);
    opacity: 0;
    filter: blur(42px);
  }
}

@keyframes auraOpenEndlessOuter {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.66;
    filter: blur(15px);
  }

  100% {
    transform: translate(-50%, -50%) scale(5.8);
    opacity: 0;
    filter: blur(60px);
  }
}

/* ================================================== */
/* ========= HOME / AURA ENTRADA REVERSA ============ */
/* ================================================== */
.home-aura-wrap .aura-one,
.home-aura-wrap .aura-two {
  animation: none;
}

/* entrada */
.home-entering .aura-one {
  animation: auraEnterReverse 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.home-entering .aura-two {
  animation: auraEnterReverseOuter 1.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.home-entering .hero-logo {
  transform: scale(1.06);
  text-shadow:
    0 0 22px rgba(255, 255, 255, 0.94),
    0 0 52px rgba(241, 243, 233, 0.78),
    0 0 92px rgba(211, 211, 255, 0.56),
    0 0 130px rgba(142, 69, 133, 0.3);
}

/* después de entrar */
.home-ready .aura-one {
  animation: auraBreathDeep 8s ease-in-out infinite;
}

.home-ready .aura-two {
  animation: auraBreathOuter 11s ease-in-out infinite;
}

@keyframes auraEnterReverse {
  0% {
    transform: translate(-50%, -50%) scale(4.8);
    opacity: 0;
    filter: blur(40px);
  }

  40% {
    opacity: 0.6;
  }

  70% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
    filter: blur(8px);
  }

  100% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.65;
    filter: blur(3px);
  }
}

@keyframes auraEnterReverseOuter {
  0% {
    transform: translate(-50%, -50%) scale(5.8);
    opacity: 0;
    filter: blur(60px);
  }

  40% {
    opacity: 0.3;
  }

  70% {
    transform: translate(-50%, -50%) scale(1.25);
    opacity: 0.5;
    filter: blur(16px);
  }

  100% {
    transform: translate(-50%, -50%) scale(0.98); /* 🔥 antes de 0.96 */
    opacity: 0.34;
    filter: blur(10px);
  }
}

/* ================================================== */
/* ======= INDEX / RESPONSIVE MOBILE PORTADA ======== */
/* ================================================== */
@media (max-width: 640px) {
  .logo-light-wrap {
    padding: 18px 20px;
  }

  .hero-logo {
    font-size: clamp(3rem, 12vw, 4.5rem);
  }

  .hero-sub {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    margin-top: 14px;
  }

  .aura-one::before {
    inset: 12px;
  }

  .aura-one::after {
    inset: -12px;
  }

  .aura-two {
    width: clamp(240px, 66vw, 340px);
    height: clamp(240px, 66vw, 340px);
  }
}

/* ================================================== */
/* ========== FLORES CAYENDO / CAPA GENERAL ========= */
/* ================================================== */
.falling-flowers {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 999;
}

/* ================================================== */
/* ========== FLORES CAYENDO / CADA FLOR ============ */
/* ================================================== */
.falling-flower {
  position: absolute;
  top: -10%;
  font-size: 22px;
  opacity: 0.55;
  animation-name: flowerFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform, opacity;
  filter: blur(0.2px);
}

/* ================================================== */
/* ====== FLORES CAYENDO / ANIMACIÓN PRINCIPAL ====== */
/* ================================================== */
@keyframes flowerFall {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.55;
  }

  50% {
    transform: translate3d(20px, 50vh, 0) rotate(140deg);
    opacity: 0.5;
  }

  100% {
    transform: translate3d(-20px, 110vh, 0) rotate(320deg);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .falling-flower {
    font-size: 16px;
    opacity: 0.4;
  }
}
/* ================================================== */
/* ============== HOME / LOGO HOME REAL ============= */
/* ================================================== */
.home-logo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  background: transparent;
  outline: none;
  transition: transform 0.28s ease;
}

.home-logo-button::before,
.home-logo-button::after {
  content: none !important;
  display: none !important;
}

.home-logo-button:hover {
  transform: scale(1.04);
}

.home-logo-button:focus,
.home-logo-button:active,
.home-logo-button:visited {
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none;
}

.home-logo-button .hero-logo {
  margin: 0;
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  transition:
    transform 0.28s ease,
    text-shadow 0.28s ease;
  text-shadow:
    0 0 8px rgba(241, 243, 233, 0.16),
    0 0 18px rgba(211, 211, 255, 0.12);
}

.home-logo-button:hover .hero-logo {
  transform: scale(1.02);
  text-shadow:
    0 0 10px rgba(241, 243, 233, 0.22),
    0 0 22px rgba(211, 211, 255, 0.16),
    0 0 34px rgba(142, 69, 133, 0.1);
}
/* ================================================== */
/* ===== HOME / AJUSTE LOGO + SUBTITULO ============ */
/* ================================================== */

/* controla la altura del logo (evita que invada abajo) */
.home-logo-button .hero-logo {
  line-height: 0.88;
  margin-bottom: 6px;
}

/* separa ligeramente el subtítulo */
.hero-sub {
  margin-top: 6px;
  position: relative;
  z-index: 3;
}

/* ================================================== */
/* ============ HOME / FIX LOGO OVERLAP ============== */
/* ================================================== */

/* controla la altura real del logo */
.home-logo-button .hero-logo {
  line-height: 0.85;
  display: block;
}

/* mueve el texto de abajo sin depender del flujo */
.hero-sub {
  display: block;
  margin-top: 20px;
  position: relative;
  top: 2px;
}

/* ================================================== */
/* ========== HOME / NAV PREMIUM CREACIONES ========= */
/* ================================================== */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.main-nav a,
.nav-dropdown-toggle {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 10px 16px;
  border-radius: 999px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.nav-cta {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

/* ================================================== */
/* =============== DROPDOWN PREMIUM ================= */
/* ================================================== */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  font: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dropdown-arrow {
  font-size: 0.72rem;
  margin-left: 7px;
  opacity: 0.85;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown:focus-within .dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 250px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(20, 15, 25, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.28s ease;
  z-index: 1200;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: rgba(20, 15, 25, 0.82);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateX(-50%) rotate(45deg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-dropdown-menu a {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.94);
  background: transparent;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 0.93rem;
  letter-spacing: 0.02em;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateX(2px);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* ================================================== */
/* =========== NAV PREMIUM / RESPONSIVE ============= */
/* ================================================== */
@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
  }

  .nav-dropdown-menu {
    min-width: 220px;
  }
}

@media (max-width: 640px) {
  .main-nav {
    flex-direction: column;
    gap: 8px;
  }

  .nav-dropdown {
    width: 100%;
    justify-content: center;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    margin-top: 8px;
    min-width: min(100%, 280px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: flex;
    transform: none;
  }
}
/* ================================================== */
/* ========= HOME / AURA ENTRADA REVERSA ============ */
/* ================================================== */

.home-aura-wrap .aura-one,
.home-aura-wrap .aura-two {
  animation: none;
}

/* ===== ENTRADA FUERTE (portal inverso) ===== */
.home-entering .aura-one {
  animation: auraEnterReverse 1.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.home-entering .aura-two {
  animation: auraEnterReverseOuter 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ===== LOGO DURANTE ENTRADA ===== */
.home-entering .hero-logo {
  transform: scale(1.06);
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.9),
    0 0 50px rgba(241, 243, 233, 0.7),
    0 0 90px rgba(211, 211, 255, 0.5),
    0 0 140px rgba(142, 69, 133, 0.3);
}

/* ===== RESPIRACIÓN ===== */
.home-ready .aura-one {
  animation: auraBreathDeep 8s ease-in-out infinite;
}

.home-ready .aura-two {
  animation: auraBreathOuter 11s ease-in-out infinite;
}

/* ===== ENTRADA AURA INTERNA ===== */
@keyframes auraEnterReverse {
  0% {
    transform: translate(-50%, -50%) scale(4.8);
    opacity: 0;
    filter: blur(40px);
  }

  40% {
    opacity: 0.6;
  }

  70% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
    filter: blur(8px);
  }

  100% {
    transform: translate(-50%, -50%) scale(0.94); /* 🔥 ligeramente arriba de 0.92 */
    opacity: 0.7;
    filter: blur(3.5px);
  }
}

/* ===== ENTRADA AURA EXTERNA ===== */
@keyframes auraEnterReverseOuter {
  0% {
    transform: translate(-50%, -50%) scale(5.8);
    opacity: 0;
    filter: blur(60px);
  }

  40% {
    opacity: 0.3;
  }

  70% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.5;
    filter: blur(16px);
  }

  100% {
    transform: translate(-50%, -50%) scale(0.96);
    opacity: 0.32;
    filter: blur(10px);
  }
}

/* ================================================== */
/* ========== HOME / AURA MÁS BRILLANTE ============= */
/* ================================================== */

.home-aura-wrap .aura-one {
  opacity: 1;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(241, 243, 233, 0.4) 18%,
    rgba(211, 211, 255, 0.28) 38%,
    rgba(142, 69, 133, 0.18) 60%,
    rgba(142, 69, 133, 0.08) 75%,
    transparent 90%
  );
  box-shadow:
    0 0 40px rgba(255, 255, 255, 0.45),
    0 0 80px rgba(241, 243, 233, 0.35),
    0 0 140px rgba(211, 211, 255, 0.28),
    0 0 220px rgba(142, 69, 133, 0.22);
  filter: blur(5px);
}

.home-aura-wrap .aura-one::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(241, 243, 233, 0.3) 40%,
    transparent 70%
  );
  filter: blur(6px);
  opacity: 0.9;
}

.home-aura-wrap .aura-two {
  opacity: 0.6;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(241, 243, 233, 0.14) 25%,
    rgba(211, 211, 255, 0.12) 45%,
    rgba(142, 69, 133, 0.1) 65%,
    transparent 85%
  );
  filter: blur(14px);
}
/* ================================================== */
/* ============ HERO / FRASE PRINCIPAL =============== */
/* ================================================== */

/* ================================================== */
/* ========= HERO / FRASE FUERA DEL LOGO ============ */
/* ================================================== */

/* ================================================== */
/* ========= HERO / FRASE FUERA DEL LOGO ============ */
/* ================================================== */

.hero-content {
  position: relative;
}
/* ================================================== */
/* ===================== JOURNAL ===================== */
/* ================================================== */

.journal-section {
  text-align: center;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.journal-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(150, 140, 177, 0.12);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.journal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.journal-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.journal-content {
  padding: 20px;
}

.journal-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--heading);
}

.journal-content p {
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .journal-grid {
    grid-template-columns: 1fr;
  }
}
