:root {
  --pink: #d3a2a9;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  /* rosa con un glow suave (como el estudio del diseño) */
  background: radial-gradient(125% 85% at 50% 72%, #ddafb5 0%, var(--pink) 48%, #cc98a0 100%);
  background-color: var(--pink);
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ============================================================
   MOBILE: Camelia recortada abajo (centro) y texto arriba
   ============================================================ */
.hero {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 1620px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero__photo {
  /* ===== AJUSTES DE LA FOTO EN MOVIL (mueve solo estos 3 valores) ===== */
  --photo-width: 80%;     /* TAMAÑO: mas % = mas grande (ej. 78%, 90%) */
  --photo-shift-x: -95px;   /* HORIZONTAL: negativo = izquierda, positivo = derecha */
  --photo-bottom: 0px;    /* VERTICAL: mas px = la sube; 0 = pegada abajo */
  /* =================================================================== */
  position: absolute;
  bottom: var(--photo-bottom);
  left: 50%;
  transform: translateX(calc(-50% + var(--photo-shift-x)));
  width: var(--photo-width);
  height: auto;
  max-width: min(100%, 27rem); /* completa siempre + tope para que no crezca de mas en tablets */
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 30rem;
  text-align: center;
  padding: clamp(1.5rem, 5vh, 3rem) 1.25rem 0;
}

.eyebrow {
  font-family: "Cinzel", serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.4;
  font-size: clamp(1.15rem, 5vw, 1.45rem);
  margin: 0 0 0.85rem;
  opacity: 0.96;
}

.eyebrow__br {
  display: inline;
}

.title {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.12;
  font-size: clamp(1.55rem, 7vw, 2.4rem);
  margin: 0 0 1rem;
  text-wrap: balance;
}

.lead {
  font-weight: 300;
  line-height: 1.45;
  font-size: clamp(0.85rem, 3.4vw, 1rem);
  margin: 0 0 1.05rem;
  opacity: 0.92;
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: clamp(1rem, 4vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.03em;
}

.contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(1.5rem, 6vw, 1.85rem);
  color: var(--white);
  flex-shrink: 0;
}

.contact__icon svg {
  width: 100%;
  height: auto;
  display: block;
}

.contact__number {
  white-space: nowrap;
}

/* ============================================================
   Footer / credito comercial — compacto
   ============================================================ */
.credit {
  position: fixed;            /* ENCIMA de la imagen: no mueve el diseño */
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 100%;
  text-align: center;
  padding: 0.35rem 1rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
  color: var(--white);
  font-size: clamp(0.58rem, 2.1vw, 0.7rem);   /* mas pequeño */
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28); /* legibilidad sobre la foto */
}

.credit__line {
  margin: 0 0 0.08rem;
  opacity: 0.95;
}

.credit__line:last-child {
  margin-bottom: 0;
}

.credit a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   DESKTOP: Camelia a la izquierda, texto a la derecha
   ============================================================ */
@media (min-width: 768px) and (orientation: landscape) {
  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem clamp(2rem, 5vw, 7rem) 2rem 0;
  }

  .hero__photo {
    /* ===== AJUSTES DE LA FOTO EN DESKTOP ===== */
    --photo-dk-height: 92%;   /* TAMAÑO (por alto) */
    --photo-dk-left: clamp(0px, 3vw, 5rem);  /* posicion desde la izquierda */
    /* ========================================= */
    left: var(--photo-dk-left);
    transform: none;
    width: auto;
    height: var(--photo-dk-height);
    max-width: none;   /* sin max-width => nunca se deforma (solo escala por alto) */
  }

  .hero__content {
    flex: 0 1 auto;
    width: 56%;
    max-width: 46rem;
    padding: 0;
  }

  .eyebrow {
    font-size: clamp(1.2rem, 1.9vw, 1.6rem);
    letter-spacing: 0.24em;
    line-height: 1.3;
    margin-bottom: 1.1rem;
  }

  .eyebrow__br {
    display: none;
  }

  .title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin-bottom: 1.6rem;
  }

  .lead {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    margin-bottom: 1.6rem;
  }

  .contact {
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  }

  .contact__icon {
    width: clamp(1.7rem, 2vw, 2rem);
  }

  .credit {
    font-size: clamp(0.72rem, 0.9vw, 0.85rem);
    padding: 0.5rem 1.5rem 0.7rem;
  }
}
