:root {
  --navy: #00267fdf;
  --navy-2: #1a2948;
  --gold: #e1b74e;
  --white: #ffffff;
  --dark: #111111;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--navy);
  color: var(--white);
  font-family: "Adamina", serif;
}

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

.page-shell {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--navy);
  background-image: url('../img/fondo-azul.png');
  background-position: top center;
  background-size: 100% ;
}

.navbar {
  min-height: 208px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.navbar-brand {
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 120px;
}

.logo-img {
  height: 45px;
  width: auto;
  display: block;
  object-fit: contain;
}

.hero-section {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote {
  position: absolute;
  font-family: "Inria Serif", serif;
  font-size: clamp(7rem, 9vw, 12rem);
  line-height: 1;
  color: var(--gold);
}

.quote-left  { left: 16%; top: 18%; }
.quote-right { right: 22%; top: 17%; transform: rotate(180deg); }

.hero-portrait {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 60vw);
  height: 560px;
  z-index: 2;
}

.hero-lucia-image {
  width: 100%;
  object-fit: cover;
  object-position: center ;

}

.section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 0 80px;
  text-align: center;
  padding-bottom: 300px;
  padding-top: 300px;
}

.hero-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.text-stage {
  width: min(900px, 90%);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-title-wrap {
  position: relative;
  z-index: 3;
  width: min(560px, 90%);
  margin: 0 auto;
  text-align: center;
}

.hero-title-wrap h1 {
  margin: 0;
  font-family: "Adamina", serif;
  font-size: clamp(2.5rem, 3vw, 5.2rem);
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.04em;
}

.hero-title-wrap .accent {
  font-family: "Inria Serif", serif;
  font-size: 1.4em;
  font-weight: 700;
  color: var(--gold);
}

.story-section {
  padding: 30px 0 60px;
}

.story-paragraph {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
}

.story-photo {
  width: min(520px, 42vw);
  min-height: 430px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 10px 12px 18px rgba(0, 0, 0, 0.2);
  transform: rotate(-6deg);
}

.photo-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 430px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.1), rgba(0,0,0,0.08)),
    url('https://images.unsplash.com/photo-1487412720507-e7ab37603c6f?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
}

.story-text {
  width: min(530px, 42vw);
  color: rgba(255, 255, 255, 0.9);
  font-family: "Adamina", serif;
  font-size: clamp(1.15rem, 1.6vw, 1.7rem);
  line-height: 1.6;
}

.story-text p {
  margin: 0 0 1.2rem;
}

.cards-section {
  padding: 40px 0 100px;
}

.story-card {
  height: 100%;
  background: rgba(255, 255, 255, 0.96);
  padding: 1.4rem 1.25rem 1.5rem;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.2), rgba(0,0,0,0.12)),
    url('https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=300&q=80') center/cover no-repeat;
}

.card-header h3 {
  margin: 0;
  font-family: "Adamina", serif;
  font-size: 1.5rem;
  color: var(--dark);
}

.site-header {
  position: relative;
  z-index: 1;
  background-image: url('../img/fondo-nav.png');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% auto;
}

.story-card p {
  margin: 0;
  font-family: "Adamina", serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--dark);
}

.site-footer {
  position: relative;
  color: var(--white);
  padding: 120px 0 40px;
}

.footer-content {
  position: relative;
  z-index: 1;
}

.site-footer h4 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  font-weight: 400;
}

.site-footer p,
.site-footer li,
.site-footer .email {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.3rem;
}

.newsletter-row {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  max-width: 360px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  overflow: hidden;
}

.newsletter-input {
  flex: 1;
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.newsletter-btn {
  width: 46px;
  height: 46px;
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.3rem;
}

/* En tu CSS */
.text-container {
  position: relative;
  z-index: 1; /* Por encima del canvas de Liquid Ether */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
}

.blur-text {
  display: inline-block;
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.3;
  text-align: center;
  font-family: "Adamina", serif;
  font-weight: 700;
  color: #ffffff;
  transition: filter 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: filter, opacity;
}

.blur-text .char {
  display: inline-block;
  font-family: "Adamina", serif;
}

.blur-text .char.bodega-word {
  font-family: "Bodega", "Georgia", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Estado de salida / inicio (desenfocado y oculto) */
.blur-text.is-blur {
  filter: blur(20px);
  opacity: 0;
}

/* Estado activo (visible y nítido) */
.blur-text.is-visible {
  filter: blur(0px);
  opacity: 1;
}

@media (max-width: 991.98px) {
  .story-paragraph {
    flex-direction: column;
    align-items: center;
  }

  .story-photo,
  .story-text {
    width: min(100%, 520px);
  }
}

@media (max-width: 767.98px) {
  .hero-section,
  .hero-content { min-height: 520px; }

  .hero-portrait {
    width: min(300px, 72vw);
    height: 360px;
    top: 46%;
  }

  .quote { font-size: 5rem; }
}