/* =====================================================
   FRESA SOTARÁ · Custom CSS sobre Bootstrap 5
   ===================================================== */

:root {
  --fs-green-deep: #1a3d2e;
  --fs-green: #245c43;
  --fs-green-light: #4a8a6c;
  --fs-green-soft: #d8e4dc;
  --fs-strawberry: #d63838;
  --fs-strawberry-d: #b32828;
  --fs-cream: #faf6ef;
  --fs-cream-dark: #f1eadc;
  --fs-ink: #1a1a17;
  --fs-ink-soft: #4a4a45;
  --fs-line: #e5dfd1;
  --fs-white: #ffffff;
  --fs-radius: 18px;
  --fs-radius-lg: 26px;
  --fs-font-display: "Fraunces", Georgia, serif;
  --fs-font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

/* ============ BASE ============ */
body {
  font-family: var(--fs-font-body);
  color: var(--fs-ink);
  background: var(--fs-cream);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

em {
  font-style: italic;
  font-weight: 500;
  color: var(--fs-strawberry);
}

/* ============ HELPERS ============ */
.fs-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--fs-cream-dark);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fs-green-deep);
}
.fs-section-label__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fs-strawberry);
  box-shadow: 0 0 0 3px rgba(214, 56, 56, 0.18);
}

/* ============ NAV ============ */
.fs-nav {
  background: var(--fs-green-deep);
  box-shadow: 0 2px 12px rgba(26, 61, 46, 0.18);
  transition:
    background 0.4s ease,
    padding 0.4s ease;
  z-index: 1030;
}
.fs-nav .navbar-brand img {
  display: block;
}
.fs-nav__link {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.25s;
}
.fs-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 1.5px;
  background: var(--fs-white);
  transition: width 0.3s ease;
}
.fs-nav__link:hover {
  color: var(--fs-white) !important;
}
.fs-nav__link:hover::after {
  width: 100%;
}

/* CTA blanco con texto verde por defecto */
.fs-btn--white {
  background: var(--fs-white);
  color: var(--fs-green-deep);
  border-radius: 100px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.fs-btn--white:hover {
  background: var(--fs-cream);
  color: var(--fs-green-deep);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

/* Estado scrolled = rojo */
.fs-nav.is-scrolled {
  background: var(--fs-strawberry);
  box-shadow: 0 4px 24px rgba(214, 56, 56, 0.25);
}
.fs-nav.is-scrolled .fs-btn--white {
  color: var(--fs-strawberry);
}

/* Burger */
.fs-nav__burger {
  width: 36px;
  height: 36px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
  background: transparent;
}
.fs-nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fs-white);
  transition:
    transform 0.3s,
    opacity 0.3s;
  margin: 0 auto;
}

/* Off-canvas mobile */
.fs-offcanvas {
  background: var(--fs-strawberry);
  color: var(--fs-white);
}
.fs-offcanvas__link {
  color: var(--fs-white);
  font-family: var(--fs-font-display);
  font-style: italic;
  font-size: 2rem;
  font-weight: 500;
  margin: 18px 0;
  letter-spacing: -0.01em;
}
.fs-offcanvas__link:hover {
  opacity: 0.85;
}

/* ============ BUTTONS ============ */
.fs-btn {
  font-family: var(--fs-font-body);
  font-weight: 600;
  border-radius: 100px;
  padding: 14px 30px;
  font-size: 1rem;
  letter-spacing: 0.005em;
  border: 0;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fs-btn--primary {
  background: var(--fs-strawberry);
  color: var(--fs-white);
  box-shadow: 0 12px 28px rgba(214, 56, 56, 0.3);
}
.fs-btn--primary:hover {
  background: var(--fs-strawberry-d);
  color: var(--fs-white);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(214, 56, 56, 0.4);
}
.fs-btn--ghost-dark {
  background: transparent;
  color: var(--fs-green-deep);
  border: 2px solid var(--fs-green-deep);
}
.fs-btn--ghost-dark:hover {
  background: var(--fs-green-deep);
  color: var(--fs-white);
}

/* ============ HERO ============ */
.fs-hero {
  position: relative;
  padding: 130px 0 90px;
  background: var(--fs-cream);
  overflow: hidden;
  isolation: isolate;
}
.fs-hero__decoration {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.fs-hero__deco-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.fs-hero__deco-blob--1 {
  top: -100px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: var(--fs-green-soft);
}
.fs-hero__deco-blob--2 {
  bottom: -80px;
  left: 50%;
  width: 280px;
  height: 280px;
  background: rgba(214, 56, 56, 0.1);
}

.fs-hero__title {
  font-family: var(--fs-font-display);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--fs-green-deep);
  margin-bottom: 20px;
}
.fs-hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--fs-strawberry);
}
.fs-hero__lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--fs-ink-soft);
  max-width: 540px;
  margin-bottom: 36px;
  font-weight: 400;
}

/* Visual del hero */
.fs-hero__visual {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}
.fs-hero__visual-frame {
  position: relative;
  transform: rotate(-1deg);
  transition: transform 0.6s ease;
}
.fs-hero__visual-frame:hover {
  transform: rotate(0deg);
}
.fs-hero__visual-frame img.img-fluid {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--fs-radius-lg);
  box-shadow: 0 30px 60px rgba(26, 61, 46, 0.18);
}

/* Logo Fresa Sotará arriba del poster */
.fs-hero__visual-logo {
  display: block;
  width: clamp(140px, 32%, 240px);
  height: auto;
  margin: 0 auto 22px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.12));
}

/* Badge circular "Proyecto Fresa Sotará Desde 2022" */
.fs-hero__visual-badge {
  position: absolute;
  top: -28px;
  left: -22px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--fs-strawberry);
  color: var(--fs-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  font-family: var(--fs-font-display);
  font-style: italic;
  box-shadow: 0 16px 32px rgba(214, 56, 56, 0.35);
}
.fs-hero__visual-badge span {
  font-size: 0.65rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: var(--fs-font-body);
  font-weight: 600;
  opacity: 0.9;
}
.fs-hero__visual-badge strong {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 4px 0 2px;
}
.fs-hero__visual-badge em {
  font-size: 0.7rem;
  color: var(--fs-white);
  opacity: 0.85;
}
.fs-hero__visual-badge::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px dashed rgb(255 0 0 / 40%);
  animation: fs-rotate 18s linear infinite;
}
@keyframes fs-rotate {
  to {
    transform: rotate(360deg);
  }
}

/* ============ STORIES ============ */
.fs-stories {
  padding: 60px 0;
  background: var(--fs-cream);
}
.fs-stories__title {
  font-family: var(--fs-font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--fs-green-deep);
  max-width: 920px;
  margin: 0 auto;
}
.fs-stories__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--fs-strawberry);
}

.fs-storycard {
  background: var(--fs-white);
  border-radius: var(--fs-radius-lg);
  border: 1px solid var(--fs-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}
.fs-storycard:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(26, 61, 46, 0.12);
}
.fs-storycard__media {
  background: var(--fs-green-deep);
}
.fs-storycard__media iframe {
  border: 0;
  display: block;
}
.fs-storycard__body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.fs-storycard__num {
  font-family: var(--fs-font-display);
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--fs-strawberry);
  text-transform: uppercase;
}
.fs-storycard__quote {
  font-family: var(--fs-font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--fs-ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.fs-storycard__author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fs-ink-soft);
  margin: 0;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--fs-line);
}

/* ============ EL PROYECTO ============ */
.fs-purpose {
  padding: 60px 0;
  background: var(--fs-cream-dark);
}
.fs-purpose__title {
  font-family: var(--fs-font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--fs-green-deep);
}
.fs-purpose__lead {
  font-family: var(--fs-font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--fs-strawberry);
  font-weight: 400;
}
.fs-purpose__prose p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--fs-ink-soft);
  margin-bottom: 22px;
}
.fs-purpose__prose em {
  font-style: italic;
  font-weight: 600;
  color: var(--fs-green-deep);
}

/* Quote block */
.fs-purpose__quote {
  background: var(--fs-cream);
  border-left: 4px solid var(--fs-strawberry);
  border-radius: var(--fs-radius);
  padding: 32px 40px;
  margin: 0 auto 40px;
  position: relative;
  text-align: left;
}
.fs-purpose__quote i {
  color: var(--fs-strawberry);
  font-size: 1.5rem;
  margin-bottom: 10px;
  opacity: 0.5;
}
.fs-purpose__quote p {
  font-family: var(--fs-font-display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.45;
  color: var(--fs-green-deep);
  margin: 0;
  font-weight: 400;
}
.fs-purpose__quote em {
  font-style: italic;
  color: var(--fs-strawberry);
  font-weight: 600;
}

/* ============ FORM ============ */
.fs-form {
  padding: 60px 0;
  background: var(--fs-cream);
}
.fs-form__title {
  font-family: var(--fs-font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--fs-green-deep);
}
.fs-form__title em {
  font-style: italic;
  color: var(--fs-strawberry);
  font-weight: 500;
}
.fs-form__lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fs-ink-soft);
  margin-top: 14px;
}
.fs-form__contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--fs-ink-soft);
}
.fs-form__contact i {
  color: var(--fs-strawberry);
}

.fs-form__form {
  background: var(--fs-white);
  border: 1px solid var(--fs-line);
  border-radius: var(--fs-radius-lg);
  padding: 40px 36px;
  position: relative;
}
.fs-form__form .form-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fs-ink-soft);
  margin-bottom: 6px;
}
.fs-input {
  background: var(--fs-cream);
  border: 1px solid var(--fs-line);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--fs-font-body);
  font-size: 0.95rem;
  color: var(--fs-ink);
  transition:
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.25s;
}
.fs-input:focus {
  background: var(--fs-white);
  border-color: var(--fs-strawberry);
  box-shadow: 0 0 0 3px rgba(214, 56, 56, 0.12);
  outline: none;
}

.fs-check {
  margin-bottom: 10px;
  padding-left: 1.8em;
}
.fs-check .form-check-input {
  margin-top: 0.3em;
  border: 1.5px solid var(--fs-line);
  border-radius: 4px;
}
.fs-check .form-check-input:checked {
  background-color: var(--fs-strawberry);
  border-color: var(--fs-strawberry);
}
.fs-check .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(214, 56, 56, 0.15);
}
.fs-check .form-check-label {
  font-size: 0.88rem;
  color: var(--fs-ink-soft);
  line-height: 1.55;
}
.fs-check .form-check-label a {
  color: var(--fs-strawberry);
  font-weight: 600;
  text-decoration: underline;
}

/* ============ MODELO + 4 COMPONENTES ============ */
.fs-model {
  padding: 60px 0;
  background: var(--fs-cream-dark);
}
.fs-model__title {
  font-family: var(--fs-font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--fs-green-deep);
}
.fs-model__title em {
  font-style: italic;
  color: var(--fs-strawberry);
  font-weight: 500;
}
.fs-model__subtitle {
  font-family: var(--fs-font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--fs-ink-soft);
}

.fs-area {
  background: var(--fs-cream);
  border: 1px solid var(--fs-line);
  border-radius: var(--fs-radius);
  padding: 28px 22px;
  height: 100%;
  transition:
    transform 0.35s,
    box-shadow 0.35s,
    border-color 0.35s;
}
.fs-area:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26, 61, 46, 0.08);
  border-color: var(--fs-strawberry);
}
.fs-area__num {
  display: block;
  font-family: var(--fs-font-display);
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--fs-strawberry);
  margin-bottom: 10px;
}
.fs-area h4 {
  font-family: var(--fs-font-display);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--fs-green-deep);
  margin: 0;
}

/* ============ FOOTER ============ */
.fs-footer {
  background: var(--fs-green-deep);
  color: rgba(255, 255, 255, 0.85);
}
.fs-footer small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

/* Social buttons */
.fs-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--fs-white);
  transition:
    background 0.25s,
    transform 0.25s,
    color 0.25s;
  font-size: 0.95rem;
}
.fs-social-btn:hover {
  background: var(--fs-strawberry);
  color: var(--fs-white);
  transform: translateY(-2px);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991.98px) {
  .fs-hero {
    padding: 110px 0 70px;
  }
  .fs-hero__visual-badge {
    width: 100px;
    height: 100px;
    top: -14px;
    right: -8px;
  }
  .fs-hero__visual-badge strong {
    font-size: 0.92rem;
  }
  .fs-hero__visual-badge span,
  .fs-hero__visual-badge em {
    font-size: 0.6rem;
  }

  .fs-stories,
  .fs-purpose,
  .fs-form,
  .fs-model {
    padding: 40px 0;
  }

  .fs-form__form {
    padding: 28px 22px;
  }
  .fs-purpose__quote {
    padding: 26px 24px;
  }
  .fs-purpose__quote p {
    font-size: 1.15rem;
  }
  .fs-hero__visual-frame {
    transform: rotate(0deg);
  }
}

@media (max-width: 575.98px) {
  .fs-hero__visual-badge {
    width: 88px;
    height: 88px;
    top: -10px;
    right: -6px;
  }
  .fs-hero__title {
    font-size: 1.7rem;
  }
  .fs-storycard__quote {
    font-size: 1.05rem;
  }
  .fs-area {
    padding: 22px 18px;
  }
  .fs-area h4 {
    font-size: 1rem;
  }
}
