/* ============================================================
   suntype.cl — páginas estáticas (sobre-mi, contacto, etc.)
   ============================================================ */

/* ── Páginas WordPress genéricas (despachos, pagos, faq, términos...) ───
   Estas páginas ya tienen contenido real (Fase 8) pero el theme parent
   (Astra) las renderizaba sin contenedor ni tipografía de marca: .entry-content
   quedaba a max-width:none, padding:0, a ancho completo de viewport. No
   afecta a /sobre-suntype/ (usa su propio page-template, sin .entry-content)
   ni a WooCommerce (tienda/PDP/carrito/checkout tienen sus propios templates). */
body:not(.woocommerce-page) .page .entry-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 28px 88px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft, var(--suntype-muted));
}
body:not(.woocommerce-page) .page .entry-content > :first-child { margin-top: 0; }
body:not(.woocommerce-page) .page .entry-content h1,
body:not(.woocommerce-page) .page .entry-content h2 {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--ink, var(--suntype-text));
  margin: 1.6em 0 .5em;
}
body:not(.woocommerce-page) .page .entry-content h1 { font-size: clamp(32px, 4vw, 44px); margin-top: 0; }
body:not(.woocommerce-page) .page .entry-content h2 { font-size: clamp(22px, 2.4vw, 28px); }
body:not(.woocommerce-page) .page .entry-content p { margin: 0 0 1.1em; }
body:not(.woocommerce-page) .page .entry-content strong { color: var(--ink, var(--suntype-text)); }
body:not(.woocommerce-page) .page .entry-content a { color: var(--pink-deep, var(--suntype-pink-hover)); text-decoration: underline; }
body:not(.woocommerce-page) .page .page-title,
body:not(.woocommerce-page) .page .entry-title {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 28px 0;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 44px);
  color: var(--ink, var(--suntype-text));
}
@media (max-width: 640px) {
  body:not(.woocommerce-page) .page .entry-content,
  body:not(.woocommerce-page) .page .page-title,
  body:not(.woocommerce-page) .page .entry-title { padding-left: 20px; padding-right: 20px; }
}

/* ── Homepage ─────────────────────────────────────────────────────────── */

/* Hero */
.hp-hero {
  position: relative;
  min-height: 580px;
  background-color: var(--suntype-bg);
  overflow: hidden;
}
.hp-hero__slide {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  opacity: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}
.hp-hero__slide.is-active { opacity: 1; pointer-events: auto; }
.hp-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--suntype-bg) 16%, color-mix(in srgb, var(--suntype-bg) 50%, transparent) 40%, transparent 62%);
}
.hp-hero__content {
  position: relative; z-index: 2;
  max-width: var(--container, 1200px);
  width: 100%;
  margin: 0 auto;
  padding: 0 28px;
}
.hp-hero__text { max-width: 470px; }
.hp-hero__title {
  font-family: var(--font-hand, "Gaegu", cursive);
  font-size: clamp(48px, 5.4vw, 78px);
  line-height: 1.05;
  color: var(--suntype-text);
  margin: 0 0 28px;
}
.hp-hl-yellow {
  background: var(--suntype-yellow);
  padding: 0 .12em; border-radius: 2px;
}
.hp-hl-pink {
  background: var(--suntype-pink-soft);
  padding: 0 .12em; border-radius: 2px;
}
.hp-hero__sub {
  font-family: var(--font-body, "Nunito Sans", sans-serif);
  font-size: 16px; line-height: 1.65;
  color: var(--suntype-muted);
  max-width: 420px; margin: 0 0 32px;
}
.hp-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--suntype-pink);
  color: var(--suntype-text);
  border-radius: 999px;
  padding: 13px 28px;
  font-family: var(--font-body, "Nunito Sans", sans-serif);
  font-weight: 800; font-size: 14px;
  text-transform: uppercase; letter-spacing: .06em;
  transition: background .2s;
  text-decoration: none;
}
.hp-btn-primary:hover { background: var(--suntype-pink-hover); }

.hp-hero__dots {
  position: absolute; z-index: 3;
  left: 0; right: 0; bottom: 22px;
  display: flex; justify-content: center; gap: 10px;
}
.hp-hero__dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: none; padding: 0; cursor: pointer;
  background: color-mix(in srgb, var(--suntype-text) 30%, transparent);
  transition: background .2s, transform .2s;
}
.hp-hero__dot:hover { background: color-mix(in srgb, var(--suntype-text) 55%, transparent); }
.hp-hero__dot.is-active { background: var(--suntype-pink); transform: scale(1.15); }

/* Features */
.hp-features { background: var(--suntype-surface); padding: 56px 0; }
.hp-features__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.hp-feature { text-align: center; padding: 0 8px; }
.hp-feature img { display: block; margin: 0 auto 16px; }
.hp-feature h3 {
  margin: 0 0 6px;
  font-family: var(--font-body, "Nunito Sans", sans-serif);
  font-size: 13px; font-weight: 700;
  letter-spacing: .04em;
  text-transform: lowercase;
  color: var(--suntype-text);
}
.hp-feature p {
  margin: 0; font-size: 13px;
  color: var(--suntype-muted); line-height: 1.45;
}
.hp-features__dots { display: none; }

/* Featured products */
.hp-featured { padding: 72px 0 40px; background: var(--suntype-bg); }
.hp-featured__head {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
}
.hp-featured__head h2 {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-body, "Nunito Sans", sans-serif);
  font-size: 12px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--suntype-text); margin: 0;
}
.hp-featured__more {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-body, "Nunito Sans", sans-serif);
  font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--suntype-muted);
  text-decoration: none; transition: color .2s;
}
.hp-featured__more:hover { color: var(--suntype-text); }
.hp-featured__carousel { position: relative; }
.hp-featured__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* padding amplio en los 4 lados: overflow-x:auto obliga a que overflow-y
     también recorte, y los extremos izq/der del track recortan la sombra
     del hover del producto (box-shadow 0 12px 28px) si no hay colchón */
  padding: 20px 28px 40px;
  /* sin esto, scroll-snap-align:start en la 1ª tarjeta hace que el navegador
     "consuma" el padding izquierdo apenas carga la página (auto-corrige
     scrollLeft a 28 para alinear el borde real de la tarjeta), dejando la
     sombra otra vez pegada al borde recortado */
  scroll-padding-left: 28px;
  scroll-padding-right: 28px;
}
.hp-featured__track::-webkit-scrollbar { display: none; }
.hp-featured__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--suntype-surface);
  border: 1px solid var(--suntype-border);
  color: var(--suntype-text);
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(31,37,44,.12);
  transition: background .2s, opacity .2s;
  z-index: 2;
}
.hp-featured__arrow:hover:not(:disabled) { background: var(--suntype-pink); }
.hp-featured__arrow:disabled { opacity: .35; cursor: default; }
.hp-featured__arrow--prev { left: 0; }
.hp-featured__arrow--next { right: 0; }
.hp-featured__dots { display: none; }
.hp-product-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--suntype-surface);
  border: 1px solid var(--suntype-border);
  border-radius: 16px; overflow: hidden;
  text-decoration: none;
  transition: box-shadow .25s, transform .25s;
}
.hp-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(31,37,44,.10);
}
.hp-product-card__img {
  position: relative;
  aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--suntype-bg);
}
.hp-product-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.hp-product-card:hover .hp-product-card__img img { transform: scale(1.04); }
.hp-product-card__info { padding: 16px 16px 18px; flex: 1; }
.hp-product-card__title {
  font-family: var(--font-body, "Nunito Sans", sans-serif);
  font-size: 14px; font-weight: 600;
  color: var(--suntype-text); margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hp-product-card__price {
  font-family: var(--font-body, "Nunito Sans", sans-serif);
  font-size: 15px; font-weight: 700;
  color: var(--suntype-text); margin-top: 6px;
}

/* About strip */
.hp-about {
  background: linear-gradient(180deg, var(--suntype-lilac) 0%, color-mix(in srgb, var(--suntype-lilac) 50%, var(--suntype-bg)) 100%);
  padding: 64px 0;
}
.hp-about__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px; align-items: center;
}
.hp-about__copy h2 {
  font-family: var(--font-hand, "Gaegu", cursive);
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1.1; margin: 0 0 16px;
  color: var(--suntype-text);
}
.hp-heart { color: var(--suntype-pink-hover); font-size: .65em; }
.hp-about__copy p {
  font-family: var(--font-body, "Nunito Sans", sans-serif);
  font-size: 14px; color: var(--suntype-muted);
  line-height: 1.65; margin: 0 0 24px;
}
.hp-about__photo {
  aspect-ratio: 1 / 1; border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(31,37,44,.12);
}
.hp-about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* Newsletter */
.hp-newsletter { background: var(--suntype-pink-soft); padding: 64px 0; }
.hp-newsletter__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 48px; align-items: center;
}
.hp-newsletter__inner h2 {
  font-family: var(--font-hand, "Gaegu", cursive);
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.18; margin: 0;
  color: var(--suntype-text);
}
.hp-newsletter__form-col h3 {
  font-family: var(--font-body, "Nunito Sans", sans-serif);
  font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  margin: 0 0 10px; color: var(--suntype-text);
  display: flex; align-items: center; gap: 8px;
}
.hp-newsletter__form-col p {
  font-family: var(--font-body, "Nunito Sans", sans-serif);
  font-size: 13px; color: var(--suntype-muted);
  margin: 0 0 18px; line-height: 1.55;
}
.hp-news-form {
  display: flex; gap: 8px;
  background: var(--suntype-surface);
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
}
.hp-news-form input {
  flex: 1; border: none; background: transparent;
  font-family: var(--font-body, "Nunito Sans", sans-serif);
  font-size: 14px; outline: none; color: var(--suntype-text);
}
.hp-news-form input::placeholder { color: var(--suntype-muted); }
.hp-news-form button {
  padding: 12px 22px; border-radius: 999px; border: none; cursor: pointer;
  background: var(--suntype-pink); color: var(--suntype-text);
  font-family: var(--font-body, "Nunito Sans", sans-serif);
  font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; font-size: 12px;
  transition: background .2s;
}
.hp-news-form button:hover { background: var(--suntype-pink-hover); }
.hp-news-form button:disabled { opacity: .7; cursor: default; }
.hp-news-form__msg { margin: 10px 0 0; font-size: 13px; color: var(--suntype-text); min-height: 1.2em; }
.hp-news-form__msg.is-error { color: #b3413a; }
.hp-newsletter__photo img {
  width: 100%; max-width: 280px; height: auto;
  display: block; margin: 0 auto;
  transform: rotate(-2deg);
  filter: drop-shadow(0 16px 28px rgba(80,50,30,.20));
}

/* Instagram grid */
.hp-insta { background: var(--suntype-bg); padding: 56px 0; }
.hp-insta > h2 {
  text-align: center; margin: 0 0 32px;
  font-family: var(--font-body, "Nunito Sans", sans-serif);
  font-size: 13px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--suntype-text);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.hp-insta__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.hp-insta__cell {
  aspect-ratio: 1 / 1; border-radius: 12px;
  display: grid; place-items: center;
  text-align: center; padding: 14px;
  cursor: pointer; transition: transform .25s;
}
.hp-insta__cell:hover { transform: scale(1.04); }
.hp-insta__frase {
  font-family: var(--font-hand, "Gaegu", cursive);
  font-size: 18px; line-height: 1.2;
  color: var(--suntype-text);
}
.hp-insta__carousel { position: relative; margin-bottom: 28px; }
.hp-insta__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 28px 12px;
  scroll-padding-left: 28px;
  scroll-padding-right: 28px;
}
.hp-insta__track::-webkit-scrollbar { display: none; }
.hp-insta__photo {
  flex: 0 0 200px;
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  transition: transform .25s;
}
.hp-insta__photo:hover { transform: scale(1.04); }
.hp-insta__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-insta__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--suntype-surface);
  border: 1px solid var(--suntype-border);
  color: var(--suntype-text);
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(31,37,44,.12);
  transition: background .2s, opacity .2s;
  z-index: 2;
}
.hp-insta__arrow:hover:not(:disabled) { background: var(--suntype-pink); }
.hp-insta__arrow:disabled { opacity: .35; cursor: default; }
.hp-insta__arrow--prev { left: 0; }
.hp-insta__arrow--next { right: 0; }
.hp-insta__dots { display: none; }
.hp-insta__cta { text-align: center; margin-top: 8px; }

/* Responsive */
@media (max-width: 980px) {
  .hp-hero { min-height: 460px; }
  .hp-hero__scrim { background: linear-gradient(90deg, var(--suntype-bg) 30%, color-mix(in srgb, var(--suntype-bg) 55%, transparent) 60%, transparent 88%); }
  .hp-features__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .hp-product-card { flex-basis: 240px; }
  .hp-about__inner,
  .hp-newsletter__inner { grid-template-columns: 1fr; gap: 32px; }
  .hp-insta__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .hp-hero { min-height: 420px; }
  .hp-hero__title { font-size: clamp(38px, 11vw, 52px); }
  .hp-hero__scrim { background: linear-gradient(180deg, color-mix(in srgb, var(--suntype-bg) 80%, transparent) 0%, color-mix(in srgb, var(--suntype-bg) 40%, transparent) 55%, transparent 100%), linear-gradient(90deg, var(--suntype-bg) 20%, transparent 75%); }
  .hp-featured__arrow { display: none; }
  .hp-featured__track {
    gap: 16px;
    padding: 20px 11% 40px;
    margin: 0 -18px;
  }
  .hp-product-card { flex-basis: 78%; scroll-snap-align: center; }
  .hp-featured__dots {
    display: flex; justify-content: center; gap: 8px;
    margin-top: 4px;
  }
  .hp-featured__dot {
    width: 7px; height: 7px; border-radius: 50%;
    border: none; padding: 0;
    background: var(--suntype-border);
    transition: background .2s, transform .2s;
  }
  .hp-featured__dot.is-active {
    background: var(--suntype-pink);
    transform: scale(1.25);
  }
  .hp-features__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 11% 8px;
    margin: 0 -28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hp-features__grid::-webkit-scrollbar { display: none; }
  .hp-feature { scroll-snap-align: center; padding: 0; }
  .hp-feature img { width: 64px; height: 64px; margin-bottom: 10px; }
  .hp-features__dots {
    display: flex; justify-content: center; gap: 8px;
    margin-top: 4px;
  }
  .hp-features__dot {
    width: 7px; height: 7px; border-radius: 50%;
    border: none; padding: 0;
    background: var(--suntype-border);
    transition: background .2s, transform .2s;
  }
  .hp-features__dot.is-active {
    background: var(--suntype-pink);
    transform: scale(1.25);
  }
  .hp-insta__grid { grid-template-columns: repeat(2, 1fr); }
  .hp-insta__arrow { display: none; }
  .hp-insta__track {
    gap: 12px;
    padding: 4px 11% 12px;
    margin: 0 -18px;
  }
  .hp-insta__photo { flex-basis: 68%; scroll-snap-align: center; }
  .hp-insta__dots {
    display: flex; justify-content: center; gap: 8px;
    margin-top: 4px;
  }
  .hp-insta__dot {
    width: 7px; height: 7px; border-radius: 50%;
    border: none; padding: 0;
    background: var(--suntype-border);
    transition: background .2s, transform .2s;
  }
  .hp-insta__dot.is-active {
    background: var(--suntype-pink);
    transform: scale(1.25);
  }
}

/* ── Sobre mí ──────────────────────────────────────────────────────────── */

.about-page { background: var(--cream); }

/* Hero */
.about-hero {
  background: linear-gradient(180deg, var(--lilac-soft), var(--cream));
  padding: 80px 0 60px;
}
.about-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin: 0 0 16px;
  font-family: var(--font-ui);
  font-weight: 700;
}
.about-hero__copy h1 {
  font-family: var(--font-script);
  font-size: clamp(54px, 5.4vw, 86px);
  line-height: 1;
  margin: 0 0 22px;
  color: var(--ink);
}
.about-heart { color: var(--pink-deep); }
.about-heart-sm { color: var(--pink-deep); font-size: .6em; }
.about-hero__copy p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  max-width: 480px;
  margin: 0 0 14px;
}
.about-hero__photo {
  aspect-ratio: 1 / 1.1;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, #efd9c2, #d6b08d);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.about-hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
}
.photo-cap {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--paper);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 12px;
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
}

/* Story */
.about-story {
  padding: 64px 28px;
  max-width: 720px;
  margin: 0 auto;
}
.about-story h2 {
  font-family: var(--font-script);
  font-size: 44px;
  margin: 0 0 18px;
  color: var(--ink);
}
.about-story p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 18px;
}
.story-em {
  color: var(--pink-deep);
  font-style: normal;
  font-family: var(--font-script);
  font-size: 22px;
}

/* Stats */
.about-stats {
  background: var(--peach-soft);
  padding: 56px 0;
}
.about-stats__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-script);
  font-size: 64px;
  line-height: 1;
  color: var(--ink);
}
.stat__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* Values */
.about-values { padding: 72px 0; }
.about-values__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.about-values h2 {
  text-align: center;
  font-family: var(--font-script);
  font-size: 48px;
  margin: 0 0 40px;
  color: var(--ink);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--paper);
  padding: 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--rule);
}
.value-card__icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
}
.value-card h3 {
  font-size: 16px;
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}
.value-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* Timeline */
.about-timeline {
  background: var(--cream-2);
  padding: 64px 0;
}
.about-timeline__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}
.about-timeline h2 {
  text-align: center;
  font-family: var(--font-script);
  font-size: 44px;
  margin: 0 0 36px;
  color: var(--ink);
}
.ti-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--rule);
}
.ti-year {
  font-family: var(--font-script);
  font-size: 36px;
  color: var(--pink-deep);
  line-height: 1;
}
.ti-text h4 {
  margin: 4px 0 4px;
  font-size: 15px;
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--ink);
}
.ti-text p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ============================================================
   Contacto / Personalizados / Ferias y eventos
   ============================================================ */
.brand-page__hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 28px 32px;
  text-align: center;
}
.brand-page__hero .kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--pink-deep); margin: 0 0 12px;
}
.brand-page__hero h1 {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 56px);
  color: var(--ink);
  margin: 0 0 14px;
}
.brand-page__hero p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

.brand-form__wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 28px 72px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
}
.brand-form {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 32px;
}
.brand-form h3 {
  margin: 0 0 18px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand-form .field { margin-bottom: 16px; }
.brand-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.brand-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.brand-form .input,
.brand-form .textarea {
  width: 100%;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--ink);
}
.brand-form .input::placeholder,
.brand-form .textarea::placeholder { color: var(--ink-soft); }
.brand-form .input:focus,
.brand-form .textarea:focus { outline: none; border-color: var(--pink); }
.brand-form .textarea { resize: vertical; min-height: 120px; }
.brand-form__notice {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
}
.brand-form__notice--ok { background: var(--mint-soft, #e3efe6); color: var(--ink); }
.brand-form__notice--error { background: var(--pink-soft, #fbe3e3); color: var(--ink); }
.brand-form__consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 18px;
  cursor: pointer;
}
.brand-form__consent input { flex-shrink: 0; }
.brand-form__consent a { color: var(--pink-deep); font-weight: 600; }

.brand-side h4 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 6px;
}
.brand-side .side-block { margin-bottom: 28px; }
.brand-side .side-block p { margin: 2px 0; color: var(--ink-soft); font-size: 15px; }
.brand-side .side-block a { color: var(--pink-deep); }

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg, 20px);
  padding: 20px 22px;
  margin-bottom: 14px;
}
.contact-card__icon {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-card h4 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 4px;
}
.contact-card p { margin: 2px 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.5; }
.contact-card a { color: var(--pink-deep); font-weight: 700; }

.brand-quote {
  background: linear-gradient(135deg, var(--lilac-soft), var(--pink-soft));
  padding: 26px 24px;
  border-radius: var(--r-lg, 20px);
  text-align: center;
  margin-top: 6px;
}
.brand-quote__text {
  font-family: var(--font-script);
  font-size: 24px;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}
.brand-quote small {
  display: block;
  font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft); margin-top: 10px;
}

/* ── Hero de fondo completo (borde a borde), con contenido centrado adentro ──
   .brand-page__hero ya trae max-width + margin:0 auto (para el caso plano).
   Este modificador lo anula SOLO en ancho/padding (nunca en margin-left/right,
   ese fue el bug: pisar "margin: 0 auto" con un shorthand de 3 valores dejaba
   todo el contenido pegado a la izquierda) y mueve el padding a .hero-inner. */
.brand-page__hero--full-bleed {
  max-width: none;
  width: 100%;
  padding: 0;
}
.brand-page__hero--full-bleed .hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 28px 32px;
}

/* ── Personalizados: hero degradado, tarjetas de tipo con ícono, galería ── */
.brand-page__hero--personalizados {
  background: linear-gradient(180deg, var(--lilac-soft), var(--cream));
  margin-bottom: -8px;
}

.type-cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.type-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg, 20px);
  padding: 26px;
}
.type-card__ic {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 14px;
}
.type-card h3 { margin: 0 0 8px; font-size: 17px; color: var(--ink); }
.type-card p { margin: 0 0 14px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
.type-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.type-card li { font-size: 13px; color: var(--ink-soft); display: flex; gap: 8px; }
.type-card li::before { content: '♥'; color: var(--pink-deep); flex-shrink: 0; }
@media (min-width: 760px) { .type-cards { grid-template-columns: repeat(3, 1fr); } }

.ps-examples { background: var(--cream-2); padding: 48px 28px; }
.ps-examples__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.ps-examples .ex { aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; }
.ps-examples .ex img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ps-examples .ex--note {
  display: grid; place-items: center; text-align: center; padding: 16px;
  background: linear-gradient(135deg, var(--peach-soft), var(--pink-soft));
}
.ps-examples .ex--note .frase { font-family: var(--font-script); font-size: 24px; color: var(--ink); line-height: 1.15; }
@media (min-width: 760px) { .ps-examples__grid { grid-template-columns: repeat(4, 1fr); } }

.brand-form .select {
  width: 100%;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--ink);
}
.brand-form .select:focus { outline: none; border-color: var(--pink); }
.brand-form .help { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }

.brand-page__section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 28px;
}
.brand-page__section h2 {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--ink);
  margin: 0 0 24px;
  text-align: center;
}
.brand-page__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.brand-page__steps .step { text-align: center; }
.brand-page__steps .step-num {
  width: 36px; height: 36px;
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pink-soft, #fbe3e3);
  border-radius: 50%;
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--pink-deep);
}
.brand-page__steps h4 { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--ink); }
.brand-page__steps p { margin: 0; font-size: 13px; color: var(--ink-soft); line-height: 1.55; }

.brand-page__empty {
  background: var(--peach-soft);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.brand-page__empty h3 { margin: 0 0 8px; font-family: var(--font-script); font-weight: 400; font-size: 26px; color: var(--ink); }
.brand-page__empty p { margin: 0; color: var(--ink-soft); }

.brand-page__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.brand-page__card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 24px;
}
.brand-page__card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: var(--ink); }
.brand-page__card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

/* ── Ferias y eventos: hero lila, tarjetas de punto de venta con pill, CTA ── */
.brand-page__hero--ferias {
  background: var(--lilac-soft);
  border-bottom: 1px solid var(--rule);
}

.points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.point {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg, 20px);
  padding: 26px;
}
.point__tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px; margin-bottom: 14px;
}
.point__tag.now  { background: var(--mint-soft); color: #3f6b48; }
.point__tag.soon { background: var(--lilac-soft); color: var(--lilac-deep); }
.point h3 { margin: 0 0 8px; font-size: 17px; color: var(--ink); }
.point p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.point a { color: var(--pink-deep); font-weight: 700; }
@media (max-width: 720px) { .points { grid-template-columns: 1fr; } }

.fairs-cta__inner {
  background: var(--peach-soft);
  border-radius: var(--r-lg, 20px);
  padding: 44px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.fairs-cta__inner .fairs-cta__text { flex: 1 1 320px; text-align: left; }
.fairs-cta__inner h2 {
  font-family: var(--font-script); font-weight: 400; font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.1; margin: 0 0 8px; color: var(--ink); text-align: left;
}
.fairs-cta__inner p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 720px) {
  .fairs-cta__inner { flex-direction: column; align-items: flex-start; }
  .fairs-cta__inner h2, .fairs-cta__inner p { text-align: left; }
}

.brand-page__faq { max-width: 700px; margin: 0 auto; }
.brand-page__faq details {
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
}
.brand-page__faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand-page__faq summary::-webkit-details-marker { display: none; }
.brand-page__faq summary::after {
  content: '+';
  color: var(--pink-deep);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .2s;
}
.brand-page__faq details[open] summary::after { transform: rotate(45deg); }
.brand-page__faq p { margin: 10px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

/* ============================================================
   Journal (home.php — posts page)
   ============================================================ */
.jr-hero { padding: 56px 0 28px; text-align: center; background: var(--cream); }
.jr-hero h1 {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.1;
  margin: 0 0 8px;
  color: var(--ink);
}
.jr-hero p { color: var(--ink-soft); margin: 0; font-size: 15px; }

.jr-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 28px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
.jr-card {
  background: var(--paper);
  border-radius: var(--r-lg, 20px);
  overflow: hidden;
  border: 1px solid var(--rule);
  transition: transform .25s, box-shadow .25s;
}
.jr-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card, 0 12px 28px rgba(31,37,44,.12)); }
.jr-card__cover {
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  text-align: center; padding: 12%;
  background: var(--peach-soft);
}
.jr-card__img { width: 100%; height: 100%; object-fit: cover; }
.jr-card__cover .frase { font-family: var(--font-script); font-size: 28px; line-height: 1.15; color: var(--ink); }
.jr-card__body { padding: 22px 24px 24px; }
.jr-card__cat { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-deep); margin-bottom: 8px; }
.jr-card__title { margin: 0 0 8px; font-family: var(--font-script); font-size: 24px; line-height: 1.1; }
.jr-card__title a { color: var(--ink); text-decoration: none; }
.jr-card__title a:hover { color: var(--pink-deep); }
.jr-card__excerpt { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin: 0 0 14px; }
.jr-card__meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-mute); }

.jr-empty {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 24px 96px;
  text-align: center;
}
.jr-empty__icon {
  width: 72px; height: 72px;
  margin: 0 auto 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--peach-soft);
  color: var(--ink-soft);
}
.jr-empty h2 { font-family: var(--font-script); font-weight: 400; font-size: 32px; margin: 0 0 10px; color: var(--ink); }
.jr-empty p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin: 0 0 24px; }

/* ============================================================
   Journal — detalle de post (single.php)
   ============================================================ */
.journal-single { padding: 0 0 80px; }
.js-head {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 28px 32px;
  text-align: center;
}
.js-back {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
}
.js-back:hover { color: var(--pink-deep); }
.js-cat {
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--pink-deep);
  margin-bottom: 10px;
}
.js-title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 14px;
  color: var(--ink);
}
.js-meta { font-size: 13px; color: var(--ink-mute); display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }

.js-cover {
  max-width: 920px;
  margin: 0 auto 40px;
  padding: 0 28px;
}
.js-cover img { width: 100%; border-radius: var(--r-lg, 20px); display: block; }

.js-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 28px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.js-content > :first-child { margin-top: 0; }
.js-content h2, .js-content h3 { font-family: var(--font-script); font-weight: 400; color: var(--ink); margin: 1.6em 0 .5em; }
.js-content h2 { font-size: 28px; }
.js-content h3 { font-size: 22px; }
.js-content p { margin: 0 0 1.2em; }
.js-content a { color: var(--pink-deep); text-decoration: underline; }
.js-content blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 20px;
  border-left: 3px solid var(--pink);
  font-family: var(--font-script);
  font-size: 22px; color: var(--ink);
}
.js-content img { max-width: 100%; border-radius: var(--r-sm, 12px); }

.js-comments {
  max-width: 680px;
  margin: 56px auto 0;
  padding: 40px 28px 0;
  border-top: 1px solid var(--rule);
}
.js-comments .comments-title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 26px;
  color: var(--ink);
  margin: 0 0 24px;
}
.js-comments #respond { margin-top: 8px; }
.js-comments .comment-reply-title { font-family: var(--font-script); font-weight: 400; font-size: 22px; color: var(--ink); }
.js-comments .comment-form-comment label,
.js-comments .comment-form-author label,
.js-comments .comment-form-email label,
.js-comments .comment-form-url label {
  display: block; margin-bottom: 6px;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
}
.js-comments input[type="text"],
.js-comments input[type="email"],
.js-comments input[type="url"],
.js-comments textarea {
  width: 100%;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--ink);
}
.js-comments input:focus, .js-comments textarea:focus { outline: none; border-color: var(--pink); }
.js-comments .comment-notes { font-size: 13px; color: var(--ink-mute); }
.js-comments .form-submit input[type="submit"] {
  background: var(--pink);
  color: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 12px 26px;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}
.js-comments .form-submit input[type="submit"]:hover { background: var(--pink-deep); }
.js-comments .ast-comment-list { list-style: none; margin: 0 0 32px; padding: 0; }
.js-comments .ast-comment-list .comment-body { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.js-comments .comment-author .fn { font-weight: 700; color: var(--ink); font-size: 14px; }
.js-comments .comment-meta .comment-metadata { font-size: 12px; color: var(--ink-mute); }
.js-comments .comment-content p { font-size: 14px; color: var(--ink-soft); }

@media (max-width: 640px) {
  .js-head { padding: 36px 20px 24px; }
  .js-cover, .js-content, .js-comments { padding-left: 20px; padding-right: 20px; }
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .about-hero__inner { grid-template-columns: 1fr; }
  .about-hero__photo { max-width: 420px; }
  .about-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .brand-form__wrap { grid-template-columns: 1fr; }
  .brand-page__steps { grid-template-columns: repeat(2, 1fr); }
  .brand-page__cards { grid-template-columns: 1fr; }
  .jr-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .about-hero { padding: 48px 0 40px; }
  .stat__num { font-size: 48px; }
  .about-story h2, .about-timeline h2 { font-size: 36px; }
  .about-values h2 { font-size: 40px; }
  .brand-form { padding: 22px; }
  .brand-form .field-row { grid-template-columns: 1fr; }
  .brand-page__steps { grid-template-columns: 1fr; }
  .jr-grid { grid-template-columns: 1fr; padding: 32px 20px; }
}
