/*!
Theme Name: Fioremi Studio
Theme URI: https://fioremistudio.com
Author: Fioremi Studio
Author URI: https://fioremistudio.com
Description: Tema a medida para Fioremi Studio — diseño y desarrollo web. Todo el contenido (textos e imágenes) es editable desde el panel de WordPress con Advanced Custom Fields.
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fioremistudio
*/

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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  overflow-x: clip;
  max-width: 100vw;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: #2B1A22;
  background-color: #FFFFFF;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  border: none;
  outline: none;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: #682848;
}

h1 {
  font-size: 64px;
}

h2 {
  font-size: 48px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 22px;
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 22px;
  }
}
p {
  font-size: 16px;
  line-height: 1.7;
}

small {
  font-size: 14px;
  color: #6E6069;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background-color: #FDF5F9;
}

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D82870;
  margin-bottom: 12px;
}

.section-header {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-header p {
  color: #6E6069;
  margin-top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #ECE0E6;
}
.site-header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 84px;
}
.site-header__logo {
  display: block;
  flex-shrink: 0;
}
.site-header__logo img {
  height: 44px;
  width: auto;
}
.site-header__toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1023.98px) {
  .site-header__toggle {
    display: flex;
  }
}

.site-footer {
  background: #451B31;
  color: rgba(255, 255, 255, 0.85);
  padding-top: 96px;
}
.site-footer a {
  color: inherit;
}
.site-footer__container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
}
@media (max-width: 767.98px) {
  .site-footer__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.site-footer__logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.site-footer__tagline {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  margin-bottom: 24px;
}
.site-footer__social {
  display: flex;
  gap: 12px;
}
.site-footer__social img {
  width: 30px;
  height: 30px;
  transition: transform 250ms ease-in-out;
}
.site-footer__social a:hover img {
  transform: translateY(-3px);
}
.site-footer__col h4 {
  color: #FFFFFF;
  font-size: 16px;
  margin-bottom: 20px;
}
.site-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.site-footer__col a:hover {
  color: #F080A8;
}
.site-footer__contact li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-footer__contact .icon {
  width: 18px;
  height: 18px;
  opacity: 0.8;
  filter: brightness(0) invert(1);
}
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}
.site-footer__bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.btn .icon-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: 9999px;
  padding: 16px 32px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 250ms ease-in-out, box-shadow 250ms ease-in-out, opacity 250ms ease-in-out, background 250ms ease-in-out;
  color: #FFFFFF;
  background: linear-gradient(135deg, #D82870 0%, #A6367F 100%);
  box-shadow: 0 8px 24px rgba(104, 40, 72, 0.12);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(104, 40, 72, 0.16);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: 9999px;
  padding: 16px 32px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 250ms ease-in-out, box-shadow 250ms ease-in-out, opacity 250ms ease-in-out, background 250ms ease-in-out;
  color: #682848;
  background: transparent;
  border: 2px solid #682848;
}
.btn-outline:hover {
  background: #682848;
  color: #FFFFFF;
}
.btn-outline .icon-arrow {
  filter: none;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #D82870;
  transition: gap 150ms ease-in-out;
}
.link-more .icon-arrow {
  width: 18px;
  height: 18px;
}
.link-more:hover {
  gap: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.site-nav__list {
  display: flex;
  gap: 32px;
}
.site-nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: #2B1A22;
  padding: 8px 0;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(135deg, #D82870 0%, #A6367F 100%);
  transition: right 250ms ease-in-out;
}
.site-nav__link:hover, .site-nav__link.is-active {
  color: #D82870;
}
.site-nav__link:hover::after, .site-nav__link.is-active::after {
  right: 0;
}
.site-nav__cta {
  padding: 12px 24px;
  font-size: 14px;
}
@media (max-width: 1023.98px) {
  .site-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    background: #FFFFFF;
    padding: 24px 24px 40px;
    box-shadow: 0 8px 24px rgba(104, 40, 72, 0.12);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 250ms ease-in-out, opacity 250ms ease-in-out;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav__list {
    flex-direction: column;
    gap: 20px;
  }
  .site-nav__cta {
    align-self: flex-start;
  }
}

.page-hero {
  position: relative;
  background: linear-gradient(160deg, #FFF9FB 0%, #FBEAF2 55%, #F6DCEB 100%);
  padding: 96px 0 64px;
  overflow: hidden;
}
.page-hero > .container {
  position: relative;
  z-index: 1;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 249, 251, 0.88) 0%, rgba(251, 234, 242, 0.85) 55%, rgba(246, 220, 235, 0.85) 100%);
}
.page-hero h1 {
  margin: 16px 0 20px;
}
.page-hero__lead {
  max-width: 620px;
  margin: 0 auto;
  color: #6E6069;
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 1023.98px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 479.98px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(104, 40, 72, 0.12);
  padding: 32px;
  transition: transform 250ms ease-in-out, box-shadow 250ms ease-in-out;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(104, 40, 72, 0.16);
}
.service-card {
  text-align: center;
}
.service-card__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
}
.service-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  color: #6E6069;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
@media (max-width: 1023.98px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 479.98px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-step__number {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  color: #F080A8;
  margin-bottom: 12px;
}
.process-step h4 {
  margin-bottom: 8px;
}
.process-step p {
  font-size: 14px;
  color: #6E6069;
}

/* Fondo oscuro (violeta sólido) opcional para la sección "Cómo trabajamos". */
.proceso--oscuro {
  background-color: #451B31;
}
.proceso--blanco .eyebrow {
  color: #F080A8;
}
.proceso--blanco h2 {
  color: #FFFFFF;
}
.proceso--blanco .section-header p {
  color: rgba(255, 255, 255, 0.75);
}
.proceso--blanco .process-step__number {
  color: #F080A8;
}
.proceso--blanco .process-step h4 {
  color: #FFFFFF;
}
.proceso--blanco .process-step p {
  color: rgba(255, 255, 255, 0.75);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 767.98px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.why-copy p {
  color: #6E6069;
  margin: 16px 0 24px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.why-list li {
  display: flex;
  gap: 20px;
}
.why-list .icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.why-list h4 {
  margin-bottom: 8px;
}
.why-list p {
  font-size: 14px;
  color: #6E6069;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1023.98px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 479.98px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(104, 40, 72, 0.12);
  padding: 32px;
  transition: transform 250ms ease-in-out, box-shadow 250ms ease-in-out;
  text-align: center;
}
.value-card__icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 16px;
}
.value-card h4 {
  margin-bottom: 8px;
}
.value-card p {
  font-size: 14px;
  color: #6E6069;
}

.cta-banner {
  position: relative;
  background-color: #682848;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.cta-banner h2, .cta-banner p {
  color: #FFFFFF;
}
.cta-banner h2 {
  margin-bottom: 16px;
}
.cta-banner__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}
.cta-banner__content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.hero {
  position: relative;
  background: linear-gradient(160deg, #FFF9FB 0%, #FBEAF2 55%, #F6DCEB 100%);
  padding: 96px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero--con-fondo {
  min-height: calc(100vh - 84px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35, 17, 24, 0.15) 0%, rgba(35, 17, 24, 0.35) 100%);
}
.hero__container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.hero__copy {
  max-width: 720px;
  text-align: center;
}
.hero__copy h1 {
  margin: 16px 0 24px;
}
.hero__lead {
  font-size: 18px;
  color: #6E6069;
  max-width: 480px;
  margin: 0 auto 32px;
}
.hero__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Variante de texto blanco (para cuando el hero lleva fondo oscuro o foto). */
.hero--blanco .hero__copy .eyebrow { color: #FFFFFF; }
.hero--blanco .hero__copy h1 { color: #FFFFFF; }
.hero--blanco .hero__copy .hero__lead { color: rgba(255, 255, 255, 0.85); }
.hero--blanco .hero__copy .btn-outline {
  color: #FFFFFF;
  border-color: #FFFFFF;
}
.hero--blanco .hero__copy .btn-outline:hover {
  background: #FFFFFF;
  color: #682848;
}

/* Alineación del texto y botones del hero (dentro del ancho estándar del
   sitio, para que nunca queden pegados al borde de la pantalla). */
.hero--izquierda .hero__container { justify-content: flex-start; }
.hero--derecha .hero__container { justify-content: flex-end; }

.hero--izquierda .hero__copy { text-align: left; }
.hero--derecha .hero__copy { text-align: right; }

.hero--izquierda .hero__lead { margin-left: 0; margin-right: auto; }
.hero--derecha .hero__lead { margin-left: auto; margin-right: 0; }

.hero--izquierda .hero__actions { justify-content: flex-start; }
.hero--derecha .hero__actions { justify-content: flex-end; }

@media (max-width: 767.98px) {
  .hero { padding-top: 72px; }
  .hero--con-fondo { min-height: calc(100vh - 72px); }
}

.service-detail {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid #ECE0E6;
}
.service-detail:first-child {
  padding-top: 0;
}
.service-detail:last-child {
  border-bottom: none;
}
.service-detail__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 88px;
  height: 88px;
  border-radius: 20px;
  background: #FDF5F9;
}
.service-detail__icon img {
  width: 40px;
  height: 40px;
}
.service-detail__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}
.service-detail__list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: #6E6069;
}
.service-detail__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #D82870 0%, #A6367F 100%);
}
@media (max-width: 479.98px) {
  .service-detail {
    grid-template-columns: 1fr;
  }
  .service-detail__icon {
    width: 64px;
    height: 64px;
  }
  .service-detail__icon img {
    width: 30px;
    height: 30px;
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 1023.98px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 479.98px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(104, 40, 72, 0.12);
  transition: transform 250ms ease-in-out, box-shadow 250ms ease-in-out;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(104, 40, 72, 0.16);
}
.portfolio-card__cover {
  height: 200px;
}
.portfolio-card__body {
  padding: 24px;
}
.portfolio-card h3 {
  font-size: 18px;
  margin: 8px 0 8px;
}
.portfolio-card p {
  font-size: 14px;
  color: #6E6069;
}

.portfolio-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #D82870;
}

.portfolio-note {
  text-align: center;
  color: #6E6069;
  font-style: italic;
}

.media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #FDF5F9;
  border: 1px dashed #ECE0E6;
}
.media-placeholder__icon {
  width: 36px;
  height: 36px;
  opacity: 0.4;
}
.media-placeholder__text {
  font-size: 12px;
  color: #6E6069;
}
.media-placeholder--large {
  height: 420px;
  border-radius: 20px;
  margin-bottom: 40px;
}
.media-placeholder--large .media-placeholder__icon {
  width: 56px;
  height: 56px;
}
.media-placeholder--large .media-placeholder__text {
  font-size: 14px;
}
@media (max-width: 479.98px) {
  .media-placeholder--large {
    height: 240px;
  }
}

.project-detail__back {
  margin-bottom: 32px;
}
.project-detail__back .icon-arrow--back {
  transform: scaleX(-1);
}
.project-detail__body {
  max-width: 720px;
  margin: 0 auto;
}
.project-detail__body h3 {
  margin-bottom: 16px;
}
.project-detail__body h3:not(:first-child) {
  margin-top: 40px;
}
.project-detail__body p {
  color: #6E6069;
}

.about-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 767.98px) {
  .about-intro {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.about-intro__art {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-intro__art img {
  max-width: 280px;
}
.about-intro__copy p {
  color: #6E6069;
  margin-bottom: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 767.98px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(104, 40, 72, 0.12);
  padding: 40px;
  transition: transform 250ms ease-in-out, box-shadow 250ms ease-in-out;
}
.contact-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.contact-form .form-row label {
  font-size: 14px;
  font-weight: 600;
  color: #2B1A22;
}
.contact-form .form-row input,
.contact-form .form-row select,
.contact-form .form-row textarea {
  border: 1px solid #ECE0E6;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  background: #FDF5F9;
  transition: border-color 150ms ease-in-out;
}
.contact-form .form-row input:focus,
.contact-form .form-row select:focus,
.contact-form .form-row textarea:focus {
  border-color: #D82870;
}
.contact-form .form-row textarea {
  resize: vertical;
}

.contact-info {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(104, 40, 72, 0.12);
  padding: 32px;
  transition: transform 250ms ease-in-out, box-shadow 250ms ease-in-out;
  background: #FDF5F9;
  box-shadow: none;
}
.contact-info h3 {
  font-size: 18px;
  margin-bottom: 24px;
}
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-info li div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}
.contact-info li strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6E6069;
}
.contact-info li a {
  color: #2B1A22;
  font-weight: 500;
}
.contact-info li a:hover {
  color: #D82870;
}
.contact-info .icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.contact-info__social strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6E6069;
  margin-bottom: 12px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 767.98px) {
  .faq-list {
    grid-template-columns: 1fr;
  }
}

.faq-item h4 {
  margin-bottom: 12px;
}
.faq-item p {
  font-size: 14px;
  color: #6E6069;
}

/* Accesibilidad: WordPress core requiere esta clase para el "skip link". */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #682848;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Estado activo del menú (WordPress marca el <li> del ítem actual con .current-menu-item) */
.site-nav__list .current-menu-item > .site-nav__link {
  color: #D82870;
}
.site-nav__list .current-menu-item > .site-nav__link::after {
  right: 0;
}

/* ============================================================================
   ANIMACIONES — entrada de hero + scroll reveal + micro-interacciones
   ============================================================================ */
@media (prefers-reduced-motion: no-preference) {

  /* --- Entrada al cargar: hero de la home --- */
  .hero__copy .eyebrow,
  .hero__copy h1,
  .hero__copy .hero__lead,
  .hero__copy .hero__actions {
    opacity: 0;
    transform: translateY(22px);
    animation: fioremi-rise 750ms cubic-bezier(0.16, 0.84, 0.44, 1) forwards;
  }
  .hero__copy .eyebrow { animation-delay: 60ms; }
  .hero__copy h1 { animation-delay: 180ms; }
  .hero__copy .hero__lead { animation-delay: 340ms; }
  .hero__copy .hero__actions { animation-delay: 480ms; }

  .hero__bg img {
    opacity: 0;
    transform: scale(0.94) translateY(14px);
    animation: fioremi-rise-scale 950ms cubic-bezier(0.16, 0.84, 0.44, 1) forwards;
    animation-delay: 260ms;
  }

  /* --- Entrada al cargar: hero de páginas internas (Servicios, Portafolio, Nosotros, Contacto) --- */
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero__lead {
    opacity: 0;
    transform: translateY(20px);
    animation: fioremi-rise 700ms cubic-bezier(0.16, 0.84, 0.44, 1) forwards;
  }
  .page-hero .eyebrow { animation-delay: 60ms; }
  .page-hero h1 { animation-delay: 170ms; }
  .page-hero__lead { animation-delay: 300ms; }

  @keyframes fioremi-rise {
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fioremi-rise-scale {
    to { opacity: 1; transform: scale(1) translateY(0); }
  }

  /* --- Scroll reveal: se activa vía IntersectionObserver en main.js --- */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms cubic-bezier(0.16, 0.84, 0.44, 1), transform 700ms cubic-bezier(0.16, 0.84, 0.44, 1);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* escalonado: cada tarjeta de una misma grilla aparece un poco después que la anterior */
  .reveal:nth-child(1) { transition-delay: 0ms; }
  .reveal:nth-child(2) { transition-delay: 80ms; }
  .reveal:nth-child(3) { transition-delay: 160ms; }
  .reveal:nth-child(4) { transition-delay: 240ms; }
  .reveal:nth-child(5) { transition-delay: 320ms; }
  .reveal:nth-child(6) { transition-delay: 400ms; }
  .reveal:nth-child(7) { transition-delay: 480ms; }

  /* --- Micro-interacciones al pasar el mouse --- */
  .service-card__icon,
  .value-card__icon {
    transition: transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .service-card:hover .service-card__icon,
  .value-card:hover .value-card__icon {
    transform: scale(1.15) rotate(-6deg);
  }

  .process-step__number {
    transition: transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1), color 350ms ease-in-out;
  }
  .process-step:hover .process-step__number {
    transform: scale(1.12);
    color: #D82870;
  }

  .portfolio-card__cover,
  .portfolio-card .media-placeholder__icon {
    transition: transform 500ms cubic-bezier(0.16, 0.84, 0.44, 1);
  }
  .portfolio-card:hover .portfolio-card__cover {
    transform: scale(1.04);
  }
  .portfolio-card:hover .media-placeholder__icon {
    transform: scale(1.1);
  }

  /* Brillo que atraviesa el botón principal al pasar el mouse */
  .btn-primary {
    position: relative;
    overflow: hidden;
  }
  .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 650ms ease;
    pointer-events: none;
  }
  .btn-primary:hover::before {
    left: 130%;
  }

  .link-more .icon-arrow {
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .link-more:hover .icon-arrow {
    transform: translateX(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__copy .eyebrow,
  .hero__copy h1,
  .hero__copy .hero__lead,
  .hero__copy .hero__actions,
  .hero__bg img,
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero__lead {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ============================================================================
   COTIZADOR INTERACTIVO
   ============================================================================ */
.cotizador-wrap {
  background: linear-gradient(160deg, #FFF9FB 0%, #FBEAF2 55%, #F6DCEB 100%);
  padding: 64px 0;
}

.wizard {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(104, 40, 72, 0.16);
  padding: 40px 44px 36px;
  position: relative;
}
@media (max-width: 600px) {
  .wizard { padding: 28px 22px 24px; border-radius: 18px; }
}

.progress-row { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.progress-track { flex: 1; height: 6px; border-radius: 9999px; background: #ECE0E6; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 9999px; background: linear-gradient(90deg, #D82870, #A6367F); width: 0%; transition: width 500ms cubic-bezier(0.16, 0.84, 0.44, 1); }
.progress-label { font-size: 12px; font-weight: 600; letter-spacing: 0.5px; color: #6E6069; white-space: nowrap; }
.bloom { width: 34px; height: 40px; flex-shrink: 0; transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.bloom img { width: 100%; height: 100%; object-fit: contain; display: block; transition: filter 500ms ease; }

.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  font-family: "Poppins", sans-serif; font-size: 13px; font-weight: 500;
  color: #6E6069; padding: 0; margin-bottom: 18px;
  opacity: 0; pointer-events: none; transition: opacity 200ms ease, color 200ms ease;
}
.back-btn.show { opacity: 1; pointer-events: auto; }
.back-btn:hover { color: #D82870; }
.back-btn svg { width: 15px; height: 15px; }

.step { display: block; }
.step.active { animation: cotizadorStepIn 420ms cubic-bezier(0.16, 0.84, 0.44, 1); }
@keyframes cotizadorStepIn {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}
.step-eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #D82870; margin-bottom: 8px; }
.step h2 { font-size: 26px; line-height: 1.25; margin-bottom: 8px; }
.step-sub { font-size: 14px; color: #6E6069; margin: 0 0 24px; line-height: 1.6; }

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .options { grid-template-columns: 1fr; } }

.opt {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid #ECE0E6; border-radius: 14px;
  background: #FFFFFF; padding: 14px 16px;
  cursor: pointer; text-align: left;
  font-family: "Poppins", sans-serif; font-size: 14.5px; font-weight: 500; color: #2B1A22;
  transition: transform 220ms cubic-bezier(0.16, 0.84, 0.44, 1), border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}
.opt:hover { transform: translateY(-2px); border-color: #F080A8; box-shadow: 0 8px 20px rgba(104, 40, 72, 0.1); }
.opt.selected { border-color: transparent; background: #FDF5F9; box-shadow: 0 0 0 2px #D82870 inset; }
.opt .ico { width: 30px; height: 30px; flex-shrink: 0; color: #682848; transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.opt.selected .ico { color: #D82870; transform: scale(1.12); }
.opt .check { margin-left: auto; width: 18px; height: 18px; color: #D82870; opacity: 0; transform: scale(0.5); transition: all 250ms cubic-bezier(0.34, 1.56, 0.64, 1); flex-shrink: 0; }
.opt.selected .check { opacity: 1; transform: scale(1); }

.continue-row { margin-top: 26px; display: flex; justify-content: flex-end; }
.wizard .btn-primary { padding: 14px 28px; font-size: 15px; }
.wizard .btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.wizard .btn-primary svg { width: 16px; height: 16px; }

.wizard .field-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.wizard .field-row label { font-size: 13px; font-weight: 600; }
.wizard .field-row input, .wizard .field-row textarea {
  border: 1.5px solid #ECE0E6; border-radius: 10px; padding: 11px 14px;
  font-family: "Poppins", sans-serif; font-size: 14.5px; background: #FDF5F9;
  transition: border-color 200ms ease;
}
.wizard .field-row input:focus, .wizard .field-row textarea:focus { outline: none; border-color: #D82870; }

.summary-card { background: #FDF5F9; border-radius: 14px; padding: 18px 20px; font-size: 13.5px; color: #6E6069; line-height: 1.8; margin-bottom: 20px; }
.summary-card b { color: #682848; }

.success { padding: 10px 0 4px; }
.success-intro { text-align: center; }
@keyframes cotizadorBloomPop { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-intro p { font-size: 14.5px; color: #6E6069; line-height: 1.7; max-width: 420px; margin: 0 auto; }

.success-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 16px;
  text-align: left;
  margin-top: 26px;
  animation: cotizadorStepIn 480ms cubic-bezier(0.16, 0.84, 0.44, 1) 120ms both;
}
@media (max-width: 560px) {
  .success-grid { grid-template-columns: 1fr; }
}

.price-panel {
  background: linear-gradient(160deg, #D82870, #A6367F);
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  color: #FFFFFF;
  box-shadow: 0 14px 30px rgba(104, 40, 72, 0.22);
}
.price-panel .bloom-lg { width: 40px; height: 46px; margin-bottom: 4px; animation: cotizadorBloomPop 700ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.price-panel .bloom-lg img { width: 100%; height: 100%; object-fit: contain; display: block; filter: brightness(0) invert(1); }
.price-panel .price-label { font-size: 11.5px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.85; }
.price-panel .price-value { font-size: 21px; font-weight: 700; line-height: 1.3; font-family: "Poppins", sans-serif; }

.recap-panel { background: #FDF5F9; border-radius: 16px; padding: 18px 20px; }
.recap-panel .recap-label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #A6367F; margin-bottom: 10px; }
.recap-list { list-style: none; margin: 0; padding: 0; max-height: 220px; overflow-y: auto; }
.recap-list li { padding: 7px 0; border-bottom: 1px solid rgba(104, 40, 72, 0.08); display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.recap-list li:last-child { border-bottom: none; }
.recap-list .recap-q { font-weight: 600; color: #682848; }
.recap-list .recap-a { color: #6E6069; }
