/* Isolated high-fidelity homepage styles (Stitch “Orlas Luminosa”).
   Loaded ONLY from templates/front/home.html.twig — must not style other views. */

body.page-home {
  --fh-primary: #e30613;
  --fh-primary-dark: #b80510;
  --fh-ink: #111111;
  --fh-ink-soft: #2c2c2c;
  --fh-paper: #f8f5f6;
  --fh-paper-warm: #fdfbfb;
  --fh-muted: #6b6b6b;
  --fh-white: #ffffff;
  --fh-line: rgba(17, 17, 17, 0.08);
  --fh-max: 80rem;
  --fh-font-display: "Oswald", "Arial Narrow", sans-serif;
  --fh-font-body: "Manrope", "Segoe UI", sans-serif;
  background: var(--fh-white);
  color: var(--fh-ink);
}

body.page-home .site-header.site-header--brand {
  background: var(--fh-primary);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

body.page-home .site-footer {
  background: var(--fh-paper);
  border-top: 1px solid var(--fh-line);
}

body.page-home .material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  font-size: 1.25rem;
}

.fh-main {
  isolation: isolate;
}

.fh-container {
  width: min(100% - 3rem, var(--fh-max));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .fh-container {
    width: min(100% - 6rem, var(--fh-max));
  }
}

.fh-label {
  font-family: var(--fh-font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fh-label--primary {
  color: var(--fh-primary);
}

.fh-body--spaced {
  margin-top: 1rem;
}

.fh-display {
  font-family: var(--fh-font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--fh-ink);
}

.fh-body {
  font-family: var(--fh-font-body);
  color: var(--fh-ink-soft);
  line-height: 1.65;
}

.fh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  font-family: var(--fh-font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.fh-btn:hover { color: inherit; }
.fh-btn:active { transform: scale(0.97); }

.fh-btn--primary {
  background: var(--fh-primary);
  color: var(--fh-white);
  box-shadow: 0 4px 14px rgba(227, 6, 19, 0.25);
}
.fh-btn--primary:hover {
  background: var(--fh-primary-dark);
  color: var(--fh-white);
  box-shadow: 0 8px 20px rgba(227, 6, 19, 0.28);
}

.fh-btn--ghost {
  background: var(--fh-white);
  color: var(--fh-ink);
  border-color: #d4d4d4;
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
}
.fh-btn--ghost:hover {
  background: var(--fh-paper);
  border-color: var(--fh-ink);
  color: var(--fh-ink);
}

.fh-btn--ink {
  background: var(--fh-ink);
  color: var(--fh-white);
}
.fh-btn--ink:hover {
  background: #262626;
  color: var(--fh-white);
}

.fh-btn--on-red {
  background: var(--fh-white);
  color: var(--fh-primary);
}
.fh-btn--on-red:hover {
  background: #fff5f5;
  color: var(--fh-primary-dark);
}

.fh-btn--on-red-ghost {
  background: transparent;
  color: var(--fh-white);
  border-color: rgba(255, 255, 255, 0.45);
}
.fh-btn--on-red-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--fh-white);
}

.fh-btn--block {
  width: 100%;
}

/* ---------- Hero ---------- */
.fh-hero {
  position: relative;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  background: linear-gradient(180deg, #f8f5f6 0%, #ffffff 100%);
  border-bottom: 1px solid var(--fh-line);
  overflow: hidden;
}

.fh-hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .fh-hero__grid {
    grid-template-columns: 7fr 5fr;
    gap: 3rem;
  }
}

.fh-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.fh-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  align-self: flex-start;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: #fef2f2;
  color: var(--fh-primary);
  border: 1px solid rgba(254, 202, 202, 0.7);
}

.fh-pill__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--fh-primary);
  animation: fh-pulse 1.6s ease-in-out infinite;
}

@keyframes fh-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.fh-hero__title {
  margin: 0;
  font-size: clamp(2.15rem, 5.2vw, 3.75rem);
  max-width: 16ch;
}

.fh-hero__title-accent {
  color: var(--fh-primary);
  /* text-decoration: underline;
  text-decoration-color: #fecaca;
  text-underline-offset: 0.12em; */
}

.fh-hero__lead {
  margin: 0;
  max-width: 42rem;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
}

.fh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.25rem;
}

.fh-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 0;
  padding: 1.5rem 0 0;
  list-style: none;
  border-top: 1px solid var(--fh-line);
}

.fh-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--fh-font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fh-ink-soft);
}

.fh-trust .material-symbols-outlined {
  color: #059669;
  font-size: 1.15rem;
}

.fh-hero__visual {
  position: relative;
  width: 100%;
  max-width: 28rem;
  min-width: 0;
  margin-inline: auto;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(17, 17, 17, 0.28);
}

@media (min-width: 1024px) {
  .fh-hero__visual { max-width: none; }
}

.fh-hero-carousel {
  width: 100%;
  border-radius: inherit;
}

.fh-hero-carousel.is-animated {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: inherit;
}

.fh-hero-carousel.is-animated::-webkit-scrollbar {
  display: none;
}

.fh-hero-carousel.is-animated .fh-hero-card {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  scroll-snap-align: start;
  box-sizing: border-box;
}

.fh-hero-card {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 4px solid var(--fh-white);
  background: var(--fh-white);
}

.fh-hero-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.fh-hero-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fh-hero-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(17, 17, 17, 0.08);
  font-family: var(--fh-font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fh-ink);
}

.fh-hero-card__badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #10b981;
}

.fh-hero-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid #f5f5f5;
  background: var(--fh-white);
}

.fh-hero-card__meta strong {
  display: block;
  font-family: var(--fh-font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fh-hero-card__meta > div span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--fh-muted);
}

.fh-hero-card__score {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 0.25rem;
  line-height: 1;
  color: var(--fh-primary);
  font-family: var(--fh-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.fh-hero-card__score .material-symbols-outlined {
  font-size: 1rem;
  line-height: 1;
}

.fh-hero-float {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  display: none;
  align-items: center;
  gap: 0.9rem;
  max-width: 17.5rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: var(--fh-white);
  border: 1px solid #e5e5e5;
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.14);
}

@media (min-width: 640px) {
  .fh-hero-float {
    display: flex;
    left: -2rem;
  }
}

.fh-hero-float img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.25rem;
  object-fit: cover;
  border: 1px solid #e5e5e5;
  flex: 0 0 auto;
}

.fh-hero-float .fh-label {
  color: var(--fh-primary);
  letter-spacing: 0.12em;
}

.fh-hero-float strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  line-height: 1.25;
  color: var(--fh-ink);
}

.fh-hero-float em {
  display: block;
  margin-top: 0.1rem;
  font-style: normal;
  font-size: 0.7rem;
  color: var(--fh-muted);
}

/* ---------- Section shells ---------- */
.fh-section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.fh-section--white { background: #ffffff; }
.fh-section--paper {
  background: var(--fh-paper);
  border-block: 1px solid var(--fh-line);
}
.fh-section--warm {
  background: var(--fh-paper-warm);
  border-top: 1px solid var(--fh-line);
}

.fh-section__intro {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3.5rem;
}

.fh-section__intro .fh-display {
  font-size: clamp(1.85rem, 4vw, 3rem);
  margin: 0.55rem 0 0;
}

.fh-section__intro .fh-body {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: var(--fh-muted);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
}

.fh-rule-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fh-primary);
}

.fh-rule-label::before,
.fh-rule-label::after {
  content: "";
  width: 1.25rem;
  height: 2px;
  background: var(--fh-primary);
}

/* ---------- Steps ---------- */
.fh-steps {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .fh-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.fh-step {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  border-radius: 0.5rem;
  background: var(--fh-paper);
  border: 1px solid var(--fh-line);
  transition: border-color 0.2s ease;
}

.fh-step:hover { border-color: rgba(227, 6, 19, 0.4); }

.fh-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.fh-step__num {
  font-family: var(--fh-font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--fh-primary);
  line-height: 1;
}

.fh-step__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fh-white);
  color: var(--fh-primary);
  border: 1px solid #fee2e2;
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.05);
}

.fh-step__title {
  margin: 0 0 0.75rem;
  font-family: var(--fh-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.25;
}

.fh-step:hover .fh-step__title { color: var(--fh-primary); }

.fh-step__lead {
  margin: 0;
  font-size: 0.92rem;
  color: var(--fh-ink-soft);
  line-height: 1.65;
}

.fh-step__note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  font-family: var(--fh-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fh-muted);
}

.fh-step__note .material-symbols-outlined {
  color: var(--fh-primary);
  font-size: 1rem;
}

/* ---------- Finish / sample split ---------- */
.fh-finish {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .fh-finish { grid-template-columns: 1fr 1.05fr; gap: 3.5rem; }
}

.fh-finish__media {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--fh-line);
  background: var(--fh-white);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
}

.fh-finish__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.fh-finish__chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.95);
  font-family: var(--fh-font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fh-ink);
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.1);
}

.fh-finish__badge {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(227, 6, 19, 0.1);
  color: var(--fh-primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fh-finish .fh-display {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin: 0.4rem 0 0;
}

.fh-finish .fh-body { margin-top: 1rem; }

.fh-check {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.fh-check li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.fh-check__mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.25rem;
  background: var(--fh-primary);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

.fh-check strong {
  display: block;
  color: var(--fh-ink);
  margin-bottom: 0.15rem;
  font-size: 0.95rem;
}

.fh-check span {
  color: var(--fh-ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.fh-finish__cta { margin-top: 1.75rem; }

/* ---------- Red band ---------- */
.fh-band {
  padding: clamp(3rem, 5vw, 3.75rem) 0;
  background: var(--fh-primary);
  color: var(--fh-white);
}

.fh-band__inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .fh-band__inner {
    grid-template-columns: 1.4fr auto;
    gap: 2rem;
  }
}

.fh-band .fh-label { color: rgba(255, 255, 255, 0.85); }

.fh-band .fh-display {
  color: var(--fh-white);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  max-width: 22ch;
  margin: 0.4rem 0 0;
}

.fh-band .fh-body {
  color: rgba(255, 255, 255, 0.92);
  margin-top: 0.75rem;
  max-width: 40rem;
}

.fh-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------- Social ---------- */
.fh-social {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .fh-social { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
}

.fh-social .fh-display {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin: 0.4rem 0 0;
}

.fh-social-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.fh-social-point {
  padding: 1rem 1.1rem;
  border-radius: 0.5rem;
  background: var(--fh-paper);
  border: 1px solid var(--fh-line);
}

.fh-social-point strong {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.3rem;
  color: var(--fh-ink);
  font-size: 0.95rem;
}

.fh-social-point strong .material-symbols-outlined {
  color: var(--fh-primary);
  font-size: 1.1rem;
}

.fh-social-point p {
  margin: 0;
  color: var(--fh-ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.fh-social__media {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--fh-line);
  background: var(--fh-white);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.1);
}

.fh-social__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.fh-social__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid #f5f5f5;
  font-size: 0.78rem;
}

.fh-social__caption strong {
  color: var(--fh-ink-soft);
  font-weight: 600;
}

.fh-social__caption span {
  color: var(--fh-primary);
  font-family: var(--fh-font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Reviews ---------- */
.fh-reviews {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .fh-reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.fh-review {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: var(--fh-white);
  border: 1px solid var(--fh-line);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
}

.fh-review__stars {
  margin: 0 0 0.75rem;
  color: #f59e0b;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.fh-review__text {
  margin: 0;
  font-style: italic;
  color: var(--fh-ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.fh-review__meta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.fh-review__meta strong {
  display: block;
  font-family: var(--fh-font-display);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fh-review__meta span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  color: var(--fh-muted);
}

/* ---------- Portal ---------- */
.fh-portal {
  display: grid;
  gap: 2rem;
  max-width: 64rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .fh-portal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.fh-portal-card {
  padding: 2rem;
  border-radius: 0.75rem;
  background: var(--fh-paper);
  border: 2px solid var(--fh-line);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
  transition: border-color 0.2s ease;
}

.fh-portal-card:hover { border-color: rgba(227, 6, 19, 0.4); }

.fh-portal-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fh-portal-card__pill--red {
  background: #fee2e2;
  color: var(--fh-primary);
}

.fh-portal-card__pill--neutral {
  background: #e5e5e5;
  color: var(--fh-ink);
}

.fh-portal-card .fh-display {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.fh-portal-card .fh-body {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
}

.fh-portal-card__actions {
  display: grid;
  gap: 0.75rem;
}

/* ---------- Close ---------- */
.fh-close {
  text-align: center;
  max-width: 56rem;
  margin-inline: auto;
}

.fh-close .fh-display {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 0.75rem auto 0;
  max-width: 18ch;
}

.fh-close .fh-body {
  margin: 1rem auto 0;
  max-width: 36rem;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
}

.fh-close__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

@media (max-width: 639px) {
  .fh-hero__actions .fh-btn,
  .fh-close__actions .fh-btn,
  .fh-band__actions .fh-btn {
    width: 100%;
  }

  .fh-hero {
    padding-bottom: 3.5rem;
  }
}
