/* =============================================
   LORENA SOL — Estilos principales
   ============================================= */

:root {
  --white:       #FDFAF5;
  --beige-light: #F5EDE2;
  --beige:       #E8DDD0;
  --beige-dark:  #D4C4B0;
  --earth-light: #C4906A;
  --earth:       #A97850;
  --earth-dark:  #5C3D28;
  --text:        #3A2A1E;
  --text-muted:  #7A6555;
  --pad:         clamp(60px, 8vw, 110px);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { display: block; max-width: 100%; }
a    { color: inherit; }

/* === Cursor Flor de la Vida (solo dispositivos con ratón) === */
@media (pointer: fine) {
  *, *::before, *::after { cursor: none !important; }

  .cursor-flor {
    position: fixed;
    top: 0; left: 0;
    width: 38px; height: 38px;
    pointer-events: none;
    z-index: 9999;
    color: var(--earth);
    opacity: 0.8;
    will-change: transform;
    transition: opacity 0.3s, color 0.3s;
  }
  .cursor-flor svg { width: 100%; height: 100%; }
  .cursor-flor.is-hover { color: var(--earth-dark); opacity: 1; }
  .cursor-flor.is-hidden { opacity: 0; }
}

body {
  background: var(--white);
  color: var(--text);
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

/* === Tipografía === */
h1, h2, h3, h4, blockquote, .serif { font-family: 'Cormorant Garamond', serif; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 300; letter-spacing: 0.04em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem);   font-weight: 300; letter-spacing: 0.03em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 400; }

.label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--earth);
  margin-bottom: 0.6rem;
}

.section-title {
  color: var(--earth-dark);
  margin-bottom: 0.4rem;
}

/* === Layout === */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
}

/* === Ornamento separador === */
.ornament {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.5rem 0;
}
.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--beige-dark);
}
.ornament-icon {
  width: 8px;
  height: 8px;
  border: 1px solid var(--earth-light);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* === Botones === */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  padding: 0.95rem 2.8rem;
  background: var(--earth);
  color: var(--white);
}
.btn-primary:hover { background: var(--earth-dark); transform: translateY(-2px); }

.btn-outline {
  padding: 0.85rem 2.2rem;
  border: 1px solid var(--earth);
  color: var(--earth);
}
.btn-outline:hover { background: var(--earth); color: var(--white); }

.btn-whatsapp {
  padding: 1rem 2.4rem;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); }

/* === HEADER / NAV === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.2rem clamp(1.2rem, 4vw, 3rem);
  background: rgba(253, 250, 245, 0.5);
  backdrop-filter: blur(10px);
  transition: background 0.35s, box-shadow 0.35s;
}
.site-header.scrolled {
  background: rgba(253, 250, 245, 0.97);
  box-shadow: 0 1px 24px rgba(58, 42, 30, 0.08);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--earth-dark);
}
.logo-svg { width: 34px; height: 34px; color: var(--earth); flex-shrink: 0; }
.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--text);
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--earth);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--earth); }
.nav-links a:hover::after { width: 100%; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--beige-dark);
  list-style: none;
  min-width: 230px;
  box-shadow: 0 10px 40px rgba(58, 42, 30, 0.12);
  /* El padding-top crea el espacio visual sin romper el área de hover */
  padding: 1.2rem 0 0.6rem;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 0.55rem 1.6rem;
  white-space: nowrap;
  font-size: 0.72rem;
}
.dropdown li a:hover { background: var(--beige-light); }
.dropdown li a::after { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--earth-dark);
  transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(6rem, 10vw, 9rem) clamp(2rem, 6vw, 5rem) clamp(3rem, 5vw, 6rem);
  background: var(--white);
}

.hero-logo-svg {
  width: 72px;
  height: 72px;
  color: var(--earth);
  margin-bottom: 2.5rem;
}

.hero-services {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 3rem;
}

.hero-service-item {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--earth-dark);
  padding: 0.5rem 0;
}

.hero-quote {
  border-left: 1px solid var(--earth-light);
  padding-left: 1.4rem;
  margin-bottom: 3rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.hero-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  margin-top: 0.5rem;
  color: var(--earth);
}

.hero-photo {
  position: relative;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ojos al ~22% Y, ~48% X de la imagen original */
  object-position: 48% 22%;
}
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--white) 0%, transparent 20%);
  z-index: 1;
  pointer-events: none;
}

/* ===========================
   SOBRE MÍ
   =========================== */
.about {
  padding: var(--pad) 0;
  background: var(--beige-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.about-img-wrap {
  position: relative;
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -14px; left: -14px;
  right: 14px; bottom: 14px;
  border: 1px solid var(--beige-dark);
  z-index: 0;
}
.about-img-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}

.about-content { padding-top: 0.5rem; }

.about-bio {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 2.5rem;
}
.about-bio p + p { margin-top: 1.1rem; }

.formation h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--earth);
  margin-bottom: 1rem;
  font-weight: 400;
}
.formation ul {
  list-style: none;
}
.formation ul li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--beige);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.formation ul li::before {
  content: '—';
  color: var(--earth-light);
  flex-shrink: 0;
}

/* ===========================
   SERVICIOS
   =========================== */
.services {
  padding: var(--pad) 0;
  background: var(--white);
}

.services-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.services-header p {
  max-width: 560px;
  margin: 0.8rem auto 0;
  color: var(--text-muted);
  font-size: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.service-card {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: var(--beige-light);
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(58, 42, 30, 0.12);
}

.service-card-img-wrap { overflow: hidden; }
.service-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  filter: sepia(0.22) saturate(1.1) brightness(1.03) contrast(1.04);
  transition: transform 0.5s ease, filter 0.5s ease;
}
.service-card:hover img { transform: scale(1.05); }

.service-card-body { padding: 1.4rem 1.5rem 1.8rem; }

.service-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--earth-dark);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.service-card-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.service-card-price {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--earth);
}
.service-card-arrow {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--earth);
  transition: letter-spacing 0.25s;
}
.service-card:hover .service-card-arrow { letter-spacing: 0.3em; }

/* Card destacada — Entreamados */
.service-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--earth-dark);
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
  transition: opacity 0.3s;
}
.service-card-featured:hover { opacity: 0.92; }

.service-card-featured .featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: auto;
  min-height: 360px;
}
.service-card-featured .featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
}
.service-card-featured .featured-label {
  color: var(--earth-light);
  margin-bottom: 0.8rem;
}
.service-card-featured h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--beige-light);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}
.service-card-featured p {
  color: var(--beige);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.service-card-featured .featured-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--earth-light);
  transition: gap 0.25s;
}
.service-card-featured:hover .featured-link { gap: 0.9rem; }

/* ===========================
   CONTACTO
   =========================== */
.contact {
  padding: var(--pad) 0;
  background: var(--beige-light);
  text-align: center;
}
.contact-intro {
  max-width: 520px;
  margin: 0.8rem auto 3.5rem;
  color: var(--text-muted);
}

.contact-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3rem;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.8rem 2.4rem;
  background: var(--white);
  border: 1px solid var(--beige-dark);
  text-decoration: none;
  color: var(--text);
  min-width: 170px;
  transition: all 0.3s;
}
.contact-card:hover {
  background: var(--earth);
  color: var(--white);
  border-color: var(--earth);
}
.contact-card svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.contact-card-label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.contact-card-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: var(--earth-dark);
  color: var(--beige);
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}
footer a { color: var(--earth-light); text-decoration: none; }
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  color: var(--beige-light);
}

/* ===========================
   PÁGINAS INTERIORES
   =========================== */
.page-hero {
  height: clamp(55vh, 65vh, 70vh);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58,42,30,0.75) 0%, rgba(58,42,30,0.1) 60%, transparent 100%);
}
.page-hero-text {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--white);
}
.page-hero-text .label { color: var(--beige-light); opacity: 0.8; }
.page-hero-text h1 { font-weight: 300; }

.page-body {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.2rem, 4vw, 3rem);
}
.page-body p {
  font-size: 1rem;
  line-height: 1.95;
  color: var(--text);
  margin-bottom: 1.4rem;
}
.page-body h3 {
  margin: 2.5rem 0 0.8rem;
  color: var(--earth-dark);
}

.service-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin: 3rem 0;
}
.service-detail {
  padding: 1.8rem 1.2rem;
  background: var(--beige-light);
  text-align: center;
}
.service-detail .label { justify-content: center; }
.service-detail .value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--earth-dark);
}

.page-cta {
  background: var(--beige-light);
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 2rem;
}
.page-cta h3 {
  color: var(--earth-dark);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.8rem;
}
.page-cta p {
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto 2rem;
}
.page-cta .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 100vh;
  }
  .hero-photo { height: 55vw; min-height: 280px; order: -1; }
  /* En tablet el contenedor es muy landscape → subir el ancla para no perder los ojos */
  .hero-photo img { object-position: 48% 12%; }
  .hero-photo::before {
    background: linear-gradient(to bottom, transparent 60%, var(--white) 100%);
  }
  .hero-text {
    padding: 3rem clamp(1.5rem, 5vw, 4rem) 4rem;
  }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-wrap::before { display: none; }
  .about-img-wrap img { aspect-ratio: 4/3; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-featured { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  /* En móvil el crop vertical es extremo → ancla en la parte más alta */
  .hero-photo img { object-position: 48% 8%; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    padding: 1.2rem 1.5rem 2rem;
    gap: 1rem;
    box-shadow: 0 8px 30px rgba(58,42,30,0.12);
    align-items: flex-start;
  }
  .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0.4rem 0 0 1rem;
    display: block;
    min-width: auto;
  }

  .services-grid { grid-template-columns: 1fr; }
  .service-card-featured {
    grid-template-columns: 1fr;
    grid-column: 1;
  }
  .service-card-featured .featured-img { min-height: 260px; }

  .service-details { grid-template-columns: 1fr; }

  .contact-cards { flex-direction: column; align-items: center; }
}

@media (min-width: 1190px) {
  .hero { height: 100vh; min-height: unset; }
}
