@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  src: url(/assets/fonts/font-2a30a673d9.woff2) format('woff2');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}


:root {
  --bg-1: #0a0705;
  --bg-2: #1a0f08;
  --bg-3: #2a1505;
  --accent: #ff6b1a;
}

/* El degradado va al html: cubre todo, incluido el overscroll de iOS */
html {
  background:
    radial-gradient(ellipse at 15% 20%, rgba(255, 107, 26, 0.22), transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(200, 77, 14, 0.28), transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(60, 25, 10, 0.4), transparent 70%),
    linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 50%, var(--bg-3) 100%) !important;
  background-attachment: fixed !important;
  background-size: cover !important;
}

/* Body y wrappers de Astra: TRANSPARENTES, dejan ver el degradado del html */
body,
#page,
.hfeed.site,
.site-content,
.ast-container {
  background: transparent !important;
  background-color: transparent !important;
}

body {
  position: relative;
  min-height: 100vh;
  color: #f5efe8;
}

/* La capa de ruido encima de todo, sutil */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.06;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}


/* cursor dot */
/* ==========================================================
   CURSOR DOT — Punto blanco que sigue el ratón con resplandor
   ========================================================== */

.cursor-dot {
  /* Posicionamiento */
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  pointer-events: none;        /* nunca bloquea clicks */
  z-index: 99999;               /* por encima de casi todo, pero debajo de modales si los hay */

  /* Aspecto del punto */
  background: #ffffff;
  border-radius: 50%;

  /* Resplandor blanco con varias capas para más profundidad */
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.9),
    0 0 16px rgba(255, 255, 255, 0.6),
    0 0 32px rgba(255, 255, 255, 0.4),
    0 0 60px rgba(255, 255, 255, 0.25);

  /* Centrado en su propia posición (la posición se controla por JS) */
  transform: translate(-50%, -50%);

  /* Empieza oculto hasta que el ratón se mueva por primera vez */
  opacity: 0;
  transition: opacity 0.3s ease;

  /* Optimización de renderizado para que vaya fluido */
  will-change: transform;
}

/* Una vez que el ratón empieza a moverse, lo mostramos */
.cursor-dot.is-active {
  opacity: 1;
}

/* === Ocultar en dispositivos sin ratón (móvil, tablet) === */
@media (hover: none), (pointer: coarse) {
  .cursor-dot {
    display: none;
  }
}

/*NAV HEADER*/
/* ===== HEADER DESKTOP===== */
@media (min-width: 921px) {
.ast-primary-header-bar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  z-index: 9999;
  padding-top: 0px;
  height: 100px;
  transition: all 0.3s ease;
}
	

/* Header scrolled */
.ast-primary-header-bar.scrolled {
  background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
  height: 70px;
  padding-top: 0px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 0px 0px rgba(243, 130, 0, 1);
	border-radius: 999px;

}
	
/* ===== COLOR MENÚ DESKTOP ===== */
@media (min-width: 921px) {

  /* Estado normal (no scrolled) */
  .ast-primary-header-bar .main-header-menu > li > a {
    color: #ffffff !important;
    transition: color 0.3s ease;
  }

  /* Estado scrolled */
  .ast-primary-header-bar.scrolled .main-header-menu > li > a {
    color: #ffffff !important;
  }

}

@media (max-width: 920px) {

  /* Normal */
  #ast-mobile-header .main-header-menu > li > a {
    color: #ffffff !important;
  }

  /* Scrolled */
  #ast-mobile-header .ast-primary-header-bar.scrolled .main-header-menu > li > a {
    color: #ffffff !important;
  }

}


/* ===== DESKTOP ===== */
@media (min-width: 921px) {

  /* ===== NO SCROLLED ===== */
  .ast-primary-header-bar:not(.scrolled) .main-header-menu > li > a {
    color: #d9d9d9 !important;
    transition: color 0.3s ease;
  }

  .ast-primary-header-bar:not(.scrolled) .main-header-menu > li > a:hover {
    color: #ffffff !important; /* gris claro */
  }

  .ast-primary-header-bar:not(.scrolled) .main-header-menu li.current-menu-item > a,
  .ast-primary-header-bar:not(.scrolled) .main-header-menu li.current-page-ancestor > a,
  .ast-primary-header-bar:not(.scrolled) .main-header-menu li.current-menu-ancestor > a,
  .ast-primary-header-bar:not(.scrolled) .main-header-menu li.current-menu-parent > a {
    color: #F38200 !important;
  }


  /* ===== SCROLLED ===== */
  .ast-primary-header-bar.scrolled .main-header-menu > li > a {
    color: #ffffff !important;
  }

  .ast-primary-header-bar.scrolled .main-header-menu > li > a:hover {
    color: #cccccc !important; /* gris claro */
  }

  .ast-primary-header-bar.scrolled .main-header-menu li.current-menu-item > a,
  .ast-primary-header-bar.scrolled .main-header-menu li.current-page-ancestor > a,
  .ast-primary-header-bar.scrolled .main-header-menu li.current-menu-ancestor > a,
  .ast-primary-header-bar.scrolled .main-header-menu li.current-menu-parent > a {
    color: #F38200 !important;
  }

}
	
/* ===== WRAP INTERIOR ===== */
.site-primary-header-wrap {
  height: 100%;
  transition: all 0.3s ease;
}

/* ===== LOGOTIP ===== */
.ast-primary-header-bar .custom-logo {
	padding-top: 20px;
	padding-bottom: 20px;
	transition: all 0.3s ease;
	opacity: 0.65;
}

/* Logotip quan hi ha scroll */
.ast-primary-header-bar.scrolled .custom-logo {
	visibility: visible;
  transform: scale(0.90);
	opacity: 1;
	padding-top: 20px;
	transition: all 0.3s ease;
}
}
@media (max-width: 920px) {
  #ast-mobile-header .ast-primary-header-bar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }

  #ast-mobile-header .custom-logo {
		visibility: hidden;
    width: 150px;
    transition: transform 0.3s ease;
		transition: all-scroll 0.3s ease;
  }

  #ast-mobile-header .ast-primary-header-bar.scrolled {
    background: #fffef7 !important;
		transition: all 0.3s ease-in-out;
}

  #ast-mobile-header .ast-primary-header-bar.scrolled .custom-logo {
		visibility: visible;
    transform: scale(0.85);
		transition: all-scroll 0.3s ease;
  }
}


/* BUTTON CABECERA */

.btn-contacto {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
		backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    color: #FFFFFF;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
		border: solid;
		border-width: 1px;
		border-color: #4f4f4f
}

.btn-contacto-icono {
    font-size: 18px !important;
    flex-shrink: 0;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 54;
}

.btn-contacto:hover {
    color: #FF7700;
		border: solid;
		border-width: 1px;
		border-color: #FF7700
}

/* Botón cuando el header está scrolled */
.ast-primary-header-bar.scrolled .btn-contacto {
    border-color: #cccccc;
}

/* Mantener el hover naranja también en estado scrolled */
.ast-primary-header-bar.scrolled .btn-contacto:hover {
    border-color: #FF7700;
}

/*Language Switcher*/

/* ========================================
   POLYLANG LANGUAGE SWITCHER (GLOBAL)
   ======================================== */

/* Contenedor del widget */
.widget_polylang{
  position: relative;
}

/* Ocultar label accesible */
.widget_polylang .screen-reader-text{
  display:none !important;
}

/* Select */
.widget_polylang .pll-switcher-select,
[id^="lang_choice_polylang"]{
  background-color: rgba(255, 255, 255, 0.1);
		backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
  color: #ffffff !important;

  border: 1px solid #4f4f4f !important;
  border-radius: 999px !important;

  padding: 10px 42px 10px 16px !important;
  min-height: 44px !important;

  font-size: 15px !important;
  font-family: inherit !important;
  line-height: 1.2 !important;

  box-shadow: none !important;
  cursor: pointer !important;

  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;

  transition: background .25s ease, border-color .25s ease, color .25s ease !important;
}

/* Hover normal (header NO scrolled) */
.widget_polylang .pll-switcher-select:hover,
[id^="lang_choice_polylang"]:hover{
  border-color: #FF7700 !important;
  color: #FF7700 !important;
}

/* Focus */
.widget_polylang .pll-switcher-select:focus,
[id^="lang_choice_polylang"]:focus{
  outline: none !important;
  border-color: #a1a1a1 !important;
}

/* Flecha por defecto (header NO scrolled) */
.widget_polylang::after{
  content:"";
  position:absolute;
  top:50%;
  right:16px;

  width:10px;
  height:10px;

  border-right: 1.8px solid #ffffff;
  border-bottom: 1.8px solid #ffffff;

  transform: translateY(-65%) rotate(45deg);
  pointer-events:none;

  transition: border-color .25s ease !important;
}

/* Flecha hover en estado normal */
.widget_polylang:hover::after{
  border-right-color: #FF7700 !important;
  border-bottom-color: #FF7700 !important;
}

/* /* ========================================
   HEADER DESKTOP (scroll behaviour)
   ======================================== */

@media (min-width:921px){

  .ast-primary-header-bar .widget_polylang{
    margin:0;
    transition: opacity .25s ease, visibility .25s ease !important;
  }

  .ast-primary-header-bar.scrolled .widget_polylang{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
  }

  /* Estado scrolled: mismos colores que en normal (header sigue siendo oscuro) */
  .ast-primary-header-bar.scrolled .widget_polylang .pll-switcher-select,
  .ast-primary-header-bar.scrolled [id^="lang_choice_polylang"]{
    border: 1px solid #cccccc !important;
    color: #ffffff !important;
  }

  /* Flecha en scrolled */
  .ast-primary-header-bar.scrolled .widget_polylang::after{
    border-right-color: #ffffff !important;
    border-bottom-color: #ffffff !important;
  }

  /* Hover en scrolled: texto blanco + borde más claro (igual que el botón) */
  .ast-primary-header-bar.scrolled .widget_polylang .pll-switcher-select:hover,
  .ast-primary-header-bar.scrolled [id^="lang_choice_polylang"]:hover{
    border-color: #FF7700 !important;
    color: #FF7700 !important;
  }

  /* Flecha hover en scrolled */
  .ast-primary-header-bar.scrolled .widget_polylang:hover::after{
    border-right-color: #FF7700 !important;
    border-bottom-color: #FF7700 !important;
  }
}

/* ========================================
   MOBILE LANGUAGE SWITCHER (OFFCANVAS)
   ======================================== */

#custom-lang-switcher-mobile.custom-lang-switcher-mobile{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px !important;
  background-color: rgba(255, 255, 255, 0.1);
		backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
  border: 1px solid;
	border-color: #4f4f4f; 
  border-radius: 999px !important;
  width: auto !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
	margin-top: 20px !important;
	margin-bottom: -20px !important;
}

#custom-lang-switcher-mobile .lang-btn{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 52px !important;
  min-height: 36px !important;
  padding: 8px 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-family: inherit !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: background 0.25s ease, color 0.25s ease !important;
}

#custom-lang-switcher-mobile .lang-btn:hover{
  background: rgba(255,255,255,0.07) !important;
  color: #FF7700 !important;
}

#custom-lang-switcher-mobile .lang-btn.is-active{
  background: rgba(255,255,255,0.7) !important;
  color: #FF7700 !important;
}

#custom-lang-switcher-mobile .lang-btn:focus,
#custom-lang-switcher-mobile .lang-btn:active{
  outline: none !important;
  box-shadow: none !important;
}

/* ========================================
   AJUSTES DENTRO DEL OFFCANVAS DE ASTRA
   ======================================== */

.ast-mobile-popup-content #custom-lang-switcher-mobile,
.ast-header-break-point #custom-lang-switcher-mobile,
.ast-builder-menu-mobile #custom-lang-switcher-mobile,
.ast-builder-layout-element #custom-lang-switcher-mobile{
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.ast-mobile-popup-content .custom-lang-switcher-mobile{
  margin-top: 8px !important;
}

/* Si el contenedor padre lo centra o lo estira raro */
.ast-mobile-popup-content .custom-html-widget,
.ast-mobile-popup-content .widget_text,
.ast-mobile-popup-content .widget_block{
  width: 100% !important;
}

.ast-mobile-popup-content .custom-html-widget #custom-lang-switcher-mobile,
.ast-mobile-popup-content .widget_text #custom-lang-switcher-mobile,
.ast-mobile-popup-content .widget_block #custom-lang-switcher-mobile{
  display: inline-flex !important;
}













/* PROJECTES */
/* ==========================================================
   PROJECTS SHOWCASE — Tarjetas con imagen de fondo completo
   Pill centrada superpuesta + info al lado (alternada)
   ========================================================== */

/* === SECCIÓN === */
.projects-section {
  width: 100%;
  max-width: 1800px;
  padding-left: 2rem;
	padding-right: 2rem;
  font-family: 'Inter Tight', sans-serif;
  color: #f5efe8;
}

.projects-section * {
  box-sizing: border-box;
}

.projects-section a,
.projects-section a:hover,
.projects-section a:focus,
.projects-section a:active {
  text-decoration: none !important;
}

/* ============================================================
   HEADER
   ============================================================ */

.projects-header {
  margin-bottom: 5rem;
}

.projects-title-link {
  display: inline-block;
  color: inherit;
  margin-bottom: 1.25rem;
}

.projects-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #f5efe8;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s ease;
}

.projects-title-arrow {
  display: inline-block;
  font-weight: 300;
  color: #ff6b1a;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.projects-title-link:hover .projects-title {
  color: #ff8c42;
}

.projects-title-link:hover .projects-title-arrow {
  transform: translateX(12px);
}

.projects-divider {
  position: relative;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin-top: 1.5rem;
}

.projects-counter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: #f5efe8;
  white-space: nowrap;
}

/* ============================================================
   LISTA: tarjetas centradas, una debajo de la otra
   Ancho 75% para que sean menos anchas
   ============================================================ */

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;       /* centra cada tarjeta horizontalmente */
}

/* ============================================================
   TARJETA: rectángulo con imagen de fondo completa
   ============================================================ */

.project-card {
  position: relative;
  display: block;
  width: 75%;                /* menos ancha que el contenedor */
  aspect-ratio: 21 / 9;      /* rectángulo panorámico, ajustable */
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
  background: rgba(20, 12, 6, 0.4);
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.5s ease;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 26, 0.4);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.45),
    0 0 50px rgba(255, 107, 26, 0.15);
}

/* === Imagen de fondo (ocupa toda la tarjeta) === */
.project-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.project-card:hover .project-card-bg {
  transform: scale(1.04);
}

/* Overlay degradado sobre la imagen para legibilidad del texto */
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Capa oscura semitransparente, más densa del lado del texto */
  background: linear-gradient(
    90deg,
    rgba(10, 7, 5, 0.1) 50%,
    rgba(10, 7, 5, 0.7) 100%
  );
  transition: opacity 0.4s ease;
}

/* En la segunda tarjeta, invertimos el degradado (texto a la izquierda) */
.project-card--text-left::before {
  background: linear-gradient(
    90deg,
    rgba(10, 7, 5, 0.7) 0%,
    rgba(10, 7, 5, 0.1) 50%
  );
}

/* ============================================================
   PILL "Ver proyecto" — centrada absoluta sobre la imagen
   ============================================================ */

.project-card-pill {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  background: rgba(10, 7, 5, 0.55);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  color: #f5efe8;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  z-index: 3;
  white-space: nowrap;
  transition: all 0.4s ease;
}

.project-card:hover .project-card-pill {
  background: rgba(255, 107, 26, 0.9);
  border-color: rgba(255, 107, 26, 1);
  transform: translateX(-50%) scale(1.05);
}

.project-card-pill svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.project-card:hover .project-card-pill svg {
  transform: translate(2px, -2px);
}

/* ============================================================
   INFO superpuesta — alternada izquierda/derecha
   ============================================================ */

.project-card-info {
  position: absolute;
  top: 20%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  max-width: 38%;             /* el texto no invade la zona central de la pill */
  padding: 2rem 2.5rem;
}

/* Variante 1: texto a la derecha */
.project-card--text-right .project-card-info {
  right: 0;
  text-align: right;
  align-items: flex-end;
}

/* Variante 2: texto a la izquierda */
.project-card--text-left .project-card-info {
  left: 0;
  text-align: left;
  align-items: flex-start;
}

.project-card-name {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #f5efe8;
  margin: 0 0 0.5rem 0;
  transition: color 0.3s ease;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.project-card:hover .project-card-name {
  color: #ff8c42;
}

.project-card-service {
  color: rgba(245, 239, 232, 0.75);
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.4;
  margin: 0 0 1.5rem 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.project-card-meta {
  font-weight: 400;
  font-size: 0.85rem;
  color: #ff8c42;
  letter-spacing: 0.05em;
  margin: 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .project-card {
    width: 90%;
    aspect-ratio: 16 / 9;
		
  }
}

@media (max-width: 768px) {
  .project-card {
    width: 90%;
    aspect-ratio: 4 / 3;
		margin-left: 3rem;
		margin-right: 3rem;
  }

  /* En móvil, el degradado cubre más para que el texto sea legible */
  .project-card::before,
  .project-card--text-left::before {
    background: linear-gradient(
      3deg,
      rgba(10, 7, 5, 0.2) 2%,
      rgba(10, 7, 5, 0.8) 100%
    );
  }

  /* Texto siempre abajo en móvil, ocupando todo el ancho */
  .project-card-info,
  .project-card--text-right .project-card-info,
  .project-card--text-left .project-card-info {
    top: 0;
    bottom: auto;
    left: 0;
    right: 0;
    transform: none;
    max-width: 100%;
    text-align: left;
    align-items: flex-start;
    padding: 1rem 1.75rem;
  }

  .project-card-pill {
    top: auto;
		bottom: 10px;
  }
}

@media (max-width: 640px) {
  .projects-section {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 1.25rem;
  }
  .projects-header {
    margin-bottom: 3rem;
		margin-left: 2rem;
		margin-right: 2rem;
  }
}

/* Fallback para navegadores sin backdrop-filter */
@supports not (backdrop-filter: blur(15px)) {
  .project-card-pill {
    background: rgba(10, 7, 5, 0.85);
  }
}











/*SERVICIOS CARDS*/

/* ==========================================================
   SERVICE CARDS — Estilo Glass Negro / Naranja
   Versión limpia para WordPress (sin background ni reset global)
   ========================================================== */

/* === SECCIÓN === */
.services-section {
  max-width: 1480px;
  margin: 0 auto;
  padding: 6rem 2rem;
  font-family: 'Inter Tight', sans-serif;
  color: #f5efe8;
}

.services-section * {
  box-sizing: border-box;
}

.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #ff6b1a;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: #ff6b1a;
  vertical-align: middle;
  margin: 0 1rem;
  opacity: 0.5;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #f5efe8;
}

.section-title em {
  font-style: italic;
  color: #ff6b1a;
  font-weight: 400;
}

.section-subtitle {
  color: rgba(245, 239, 232, 0.65);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === GRID === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  perspective: 1500px;
}

/* === TARJETA === */
.card {
  position: relative;
  padding: 2.25rem 1.75rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.5s ease;
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  will-change: transform, filter;
}

/* Brillo glass arriba */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, transparent 100%);
  pointer-events: none;
  border-radius: 20px 20px 0 0;
}

/* Halo naranja al hacer hover */
.card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg,
    rgba(255, 140, 66, 0.45),
    transparent 40%,
    transparent 60%,
    rgba(255, 107, 26, 0.25));
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: -1;
}

/* === INTERACCIÓN: blur al resto, destaca la enfocada === */
.cards-grid:hover .card {
  filter: blur(4px) brightness(0.6);
  opacity: 0.5;
  transform: scale(0.97);
}

.cards-grid .card:hover {
  filter: blur(0) brightness(1.05);
  opacity: 1;
  transform: scale(1.06) translateY(-6px);
  border-color: rgba(255, 107, 26, 0.45);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(255, 107, 26, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.cards-grid .card:hover::after {
  opacity: 1;
}

/* === ELEMENTOS DE LA TARJETA === */
.card-number {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  color: #ff6b1a;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: #ff6b1a;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .card-icon {
  transform: translateY(-2px) rotate(-4deg);
  color: #ff8c42;
}

.card-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.2;
  fill: none;
}

.card-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  color: #f5efe8;
}

.card-description {
  color: rgba(245, 239, 232, 0.65);
  font-size: 0.92rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #ff6b1a;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: gap 0.3s ease;
}

.card:hover .card-cta {
  gap: 0.85rem;
}

.card-cta-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.card:hover .card-cta-arrow {
  transform: translateX(2px);
}

/* === RESPONSIVE === */
@media (max-width: 640px) {
  .services-section {
    padding: 4rem 2rem;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid:hover .card {
    filter: none;
    opacity: 1;
    transform: none;
  }
}

/* Fallback para navegadores sin backdrop-filter */
@supports not (backdrop-filter: blur(20px)) {
  .card {
    background: rgba(20, 12, 6, 0.7);
  }
}

/* Añade esto al final de services-cards.css */
.services-section a,
.services-section a:hover,
.services-section a:focus,
.services-section a:active {
    text-decoration: none !important;
}
























/* SOBRENOSOTROS */
/* ==========================================================
   ABOUT SECTION — Estilos para WordPress
   Sin background ni reset global (ya los tienes definidos)
   ========================================================== */

/* === SECCIÓN === */
.about-section {
  width: 100%;
  max-width: 1800px;
  padding-left: 2rem;
	padding-right: 2rem;
  margin-top: 6rem;
  font-family: 'Inter Tight', sans-serif;
  color: #f5efe8;
}

.about-section * {
  box-sizing: border-box;
}

/* Quitar subrayado de TODOS los enlaces dentro de la sección */
.about-section a,
.about-section a:hover,
.about-section a:focus,
.about-section a:active {
  text-decoration: none !important;
}

/* ============================================================
   GRID PRINCIPAL: texto a la izquierda, imagen a la derecha
   La imagen es más ancha que su columna y se desborda hacia la izquierda
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  align-items: stretch;       /* la imagen se estira a la altura del texto */
  margin-bottom: 3.5rem;       /* separación con las tags de abajo */
}

/* ============================================================
   COLUMNA IZQUIERDA: contenido textual
   ============================================================ */

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Eyebrow */
.about-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #ff6b1a;
  font-weight: 500;
  margin-bottom: -1rem;
}

.about-eyebrow::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: #ff6b1a;
  vertical-align: middle;
  margin-right: 1rem;
  opacity: 0.5;
}

/* Título grande */
.about-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #f5efe8;
  margin: 0;
}

.about-title em {
  font-style: italic;
  color: #ff6b1a;
  font-weight: 400;
}

/* Párrafos */
.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 560px;
}

.about-paragraph {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(245, 239, 232, 0.75);
  font-weight: 300;
}

/* Línea divisoria entre párrafos */
.about-divider {
  width: 60px;
  height: 1px;
  background: #ff6b1a;
  opacity: 0.6;
}

/* ============================================================
   COLUMNA DERECHA: imagen — desbordada hacia la izquierda
   ============================================================ */

.about-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 2 / 1;
  width: 130%;                 /* la imagen es 30% más ancha que su columna */
  max-width: 720px;
  height: 100%;                /* se estira a la altura del texto */
  margin-left: -50px;           /* alineada al borde derecho */
  justify-self: end;           /* refuerzo del alineamiento dentro del grid */
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(255, 107, 26, 0.08);
}

/* Brillo glass en la parte superior de la imagen */
.about-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  border-radius: 24px 24px 0 0;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-visual:hover .about-image {
  transform: scale(1.03);
}

/* Pequeña etiqueta flotante sobre la imagen */
.about-image-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  background: rgba(10, 7, 5, 0.55);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.8rem;
  color: #f5efe8;
  letter-spacing: 0.02em;
  z-index: 3;
}

/* ============================================================
   ETIQUETAS / SKILLS — Bloque inferior a ancho completo
   ============================================================ */

.about-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.about-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(245, 239, 232, 0.85);
  letter-spacing: 0.01em;
  transition:
    border-color 0.4s ease,
    color 0.3s ease,
    background 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: default;
}

.about-tag:hover {
  border-color: rgba(255, 107, 26, 0.5);
  color: #ff8c42;
  background: rgba(255, 107, 26, 0.08);
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-visual {
    width: 99%;
    max-width: 700px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
    order: 1;                  
  }
}

@media (max-width: 760px) {
  .about-section {
		padding: 2rem;
    width: 92%;
  }
  .about-content {
    gap: 1.75rem;
  }
  .about-paragraph {
    font-size: 0.95rem;
  }
  .about-tag {
    visibility: hidden;
  }
}

/* Fallback para navegadores sin backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
  .about-tag {
    background: rgba(30, 20, 12, 0.6);
  }
  .about-image-tag {
    background: rgba(10, 7, 5, 0.85);
  }
}






























/* faqs */
/* ==========================================================
   FAQ SECTION — Estilos para WordPress
   Imagen sticky de altura completa
   ========================================================== */

/* === SECCIÓN === */
.faq-section {
  width: 100%;
  max-width: 1800px;
  padding-left: 2rem;
	padding-right: 2rem;
  margin-top: 10rem;
	margin-bottom: 10rem;
  font-family: 'Inter Tight', sans-serif;
  color: #f5efe8;
}

.faq-section * {
  box-sizing: border-box;
}

.faq-section a,
.faq-section a:hover,
.faq-section a:focus,
.faq-section a:active {
  text-decoration: none !important;
}

/* ============================================================
   HEADER de la sección
   ============================================================ */

.faq-header {
  margin-bottom: 4rem;
  max-width: 720px;
}

.faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #ff6b1a;
  font-weight: 500;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 107, 26, 0.08);
  border: 1px solid rgba(255, 107, 26, 0.25);
  border-radius: 100px;
}

.faq-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6b1a;
}

.faq-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #f5efe8;
  margin: 0 0 1.25rem 0;
}

.faq-title em {
  font-style: italic;
  color: #ff6b1a;
  font-weight: 400;
}

.faq-subtitle {
  color: rgba(245, 239, 232, 0.65);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 300;
  max-width: 520px;
}

/* ============================================================
   GRID — clave: align-items: start para que la imagen no se estire
   ============================================================ */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

/* ============================================================
   COLUMNA IZQUIERDA: contenedor de la imagen
   Este wrapper define el espacio físico que ocupa la columna.
   Su altura la marcará el lado derecho cuando todas las tarjetas
   estén cerradas (estado inicial).
   ============================================================ */

.faq-visual-wrapper {
  position: relative;
  height: 100%;
  align-self: stretch;
}

/* La imagen real es sticky y tiene altura limitada al viewport */
.faq-visual {
  position: sticky;
  top: 6rem;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* La imagen ocupa la altura del viewport menos el espacio del header sticky */
  height: calc(100vh - 8rem);
  /* Pero nunca más alta que la propia columna inicial */
  max-height: 720px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(255, 107, 26, 0.08);
}

.faq-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 25%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  border-radius: 24px 24px 0 0;
}

.faq-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   LISTA DE PREGUNTAS
   ============================================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition:
    border-color 0.4s ease,
    background 0.4s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.faq-item.is-open {
  border-color: rgba(255, 107, 26, 0.35);
  background: rgba(255, 107, 26, 0.04);
}

/* === Pregunta clickable === */
.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  content: '';
}

.faq-question-text {
  font-size: 1rem;
  font-weight: 500;
  color: #f5efe8;
  letter-spacing: 0.005em;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.faq-item.is-open .faq-question-text {
  color: #ff8c42;
}

/* === Icono + / x animado === */
.faq-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: #f5efe8;
  border-radius: 2px;
  transition:
    transform 0.4s ease,
    background 0.3s ease,
    opacity 0.3s ease;
}

.faq-icon::before {
  width: 14px;
  height: 1.5px;
}

.faq-icon::after {
  width: 1.5px;
  height: 14px;
}

.faq-item.is-open .faq-icon::before {
  background: #ff6b1a;
  transform: rotate(180deg);
}

.faq-item.is-open .faq-icon::after {
  background: #ff6b1a;
  transform: rotate(90deg);
  opacity: 0;
}

/* ============================================================
   ANIMACIÓN del contenido
   ============================================================ 
*/
.faq-answer {
  display: grid;
}


.faq-answer > p {
  overflow: hidden;
  min-height: 0;
  padding: 0 1.75rem 1.5rem 1.75rem;
  color: rgba(245, 239, 232, 0.75);
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 300;
  margin: 0;
}
*/
/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {

  .faq-grid {
    display: block !important;
  }

  .faq-visual-wrapper {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  .faq-visual {
    display: none !important;
  }

  .faq-list {
    width: 100% !important;
  }

}
@media (max-width: 640px) {

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .faq-visual-wrapper {
    display: none !important;
  }

  .faq-visual {
    display: none !important;
  }

	.faq-section {
		margin-top: -15rem;
    padding: 2rem;
    width: 92%;
  }
  .faq-header {
    margin-bottom: 2.5rem;
  }
  .faq-question {
    padding: 1.1rem 1.25rem;
    gap: 1rem;
  }
  .faq-question-text {
    font-size: 0.95rem;
  }
  .faq-answer > p {
    padding: 0 1.25rem 1.25rem 1.25rem;
    font-size: 0.9rem;
  }
}

@supports not (backdrop-filter: blur(12px)) {
  .faq-item {
    background: rgba(30, 20, 12, 0.55);
  }
}





/* PROJECTS PAGE */
/* ==========================================================
   PROJECTS PAGE — Estilos
   Página completa con filtros y grid de tarjetas cuadradas
   ========================================================== */

/* === SECCIÓN === */
.projects-page-section {
  width: 95%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 7rem 0 6rem;
  font-family: 'Inter Tight', sans-serif;
  color: #f5efe8;
}

.projects-page-section * {
  box-sizing: border-box;
}

.projects-page-section a,
.projects-page-section a:hover,
.projects-page-section a:focus,
.projects-page-section a:active {
  text-decoration: none !important;
}

/* ============================================================
   HEADER de la página
   ============================================================ */

.projects-page-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.projects-page-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #ff6b1a;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.projects-page-eyebrow::before,
.projects-page-eyebrow::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: #ff6b1a;
  vertical-align: middle;
  margin: 0 1rem;
  opacity: 0.5;
}

.projects-page-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
	font-style: italic;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #f5efe8;
  margin: 0 0 1.5rem 0;
}

.projects-page-subtitle {
  color: rgba(245, 239, 232, 0.65);
	font-family: inter, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 400;
  margin: 0;
}

/* ============================================================
   FILTROS (pills horizontales)
   ============================================================ */

.projects-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 4rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.projects-filter {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.5rem;
  background: transparent;
  border: none;
  border-radius: 100px;
  font-family: inter, serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(245, 239, 232, 0.65);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    background 0.4s ease,
    color 0.3s ease;
  white-space: nowrap;
}

.projects-filter:hover {
  color: #f5efe8;
  background: rgba(255, 255, 255, 0.05);
}

/* Filtro activo: fondo naranja */
.projects-filter.is-active {
  background: #ff6b1a;
  color: #ffffff;
}

.projects-filter.is-active:hover {
  background: #ff8c42;
}

/* ============================================================
   GRID de tarjetas — 4 columnas en desktop, escala hacia abajo
   ============================================================ */

.projects-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

@media (max-width: 1200px) {
  .projects-page-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .projects-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   TARJETA INDIVIDUAL (cuadrada con texto debajo)
   ============================================================ */

.project-tile {
  /* Estado inicial visible: opacity 1 y escala 1 */
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Estado oculto cuando no coincide con el filtro */
.project-tile.is-hidden {
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
  position: absolute;        /* sale del flujo para que el grid se reorganice */
  visibility: hidden;
}

.project-tile-link {
  display: block;
  color: inherit;
}

/* Wrapper de la imagen: cuadrado */
.project-tile-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 12, 6, 0.4);
  margin-bottom: 1.25rem;
  transition:
    border-color 0.4s ease,
    box-shadow 0.5s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.project-tile:hover .project-tile-image-wrap {
  border-color: rgba(255, 107, 26, 0.35);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 107, 26, 0.12);
}

.project-tile-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-tile:hover .project-tile-image {
  transform: scale(1.05);
}

/* Placeholders para los proyectos sin imagen real */
.project-tile-placeholder.placeholder-1 {
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 140, 66, 0.5), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(200, 77, 14, 0.6), transparent 55%),
    linear-gradient(45deg, rgba(20, 10, 5, 0.8), rgba(40, 20, 10, 0.4));
}

.project-tile-placeholder.placeholder-2 {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 107, 26, 0.55), transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(255, 140, 66, 0.4), transparent 60%),
    linear-gradient(135deg, rgba(30, 15, 8, 0.7), rgba(50, 25, 10, 0.5));
}

.project-tile-placeholder.placeholder-3 {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 140, 66, 0.45), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(200, 77, 14, 0.5), transparent 50%),
    linear-gradient(135deg, rgba(25, 12, 6, 0.85), rgba(45, 22, 8, 0.4));
}

/* === Pill "Ver proyecto" - aparece al hacer hover === */
.project-tile-pill {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translate(-50%, 1rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  background: rgba(10, 7, 5, 0.65);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  color: #f5efe8;
  font-size: 0.8rem;
	font-family: inter, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  z-index: 2;
  white-space: nowrap;
  opacity: 0;
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.4s ease,
    border-color 0.4s ease;
}

.project-tile:hover .project-tile-pill {
  opacity: 1;
  transform: translate(-50%, 0);
  background: rgba(255, 107, 26, 0.9);
  border-color: rgba(255, 107, 26, 1);
}

.project-tile-pill svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.project-tile:hover .project-tile-pill svg {
  transform: translate(2px, -2px);
}

/* === Info debajo de la imagen === */
.project-tile-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.project-tile-name {
  font-family: inter, serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #f5efe8;
  margin: 0;
  transition: color 0.3s ease;
}

.project-tile:hover .project-tile-name {
  color: #ff8c42;
}

.project-tile-service {
  color: rgba(245, 239, 232, 0.55);
  font-size: 0.85rem;
	font-family: inter, serif;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin: 0;
}

.project-tile-meta {
  font-size: 0.8rem;
  font-weight: 400;
	font-family: inter, serif;
  color: #ff6b1a;
  letter-spacing: 0.04em;
  margin: 0.25rem 0 0 0;
}

/* ============================================================
   ESTADO VACÍO (cuando un filtro no tiene resultados)
   ============================================================ */

.projects-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(245, 239, 232, 0.5);
  font-size: 1rem;
}

.projects-empty-state p {
  margin: 0;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */

@media (max-width: 768px) {
  .projects-page-section {
    padding: 5rem 0 4rem;
  }
  .projects-page-header {
    margin-bottom: 3rem;
  }
}

/* ============================================================
   RESPONSIVE — MÓVIL
   1. Header con márgenes laterales
   2. Filtro: 4 pills en línea con margen
   3. Tarjetas más pequeñas con texto centrado
   ============================================================ */

@media (max-width: 600px) {
  .projects-page-section {
    width: 100%;
    padding: 4rem 0;
  }

  /* === 1. HEADER con márgenes laterales === */
  .projects-page-header {
    padding: 0 1.5rem;
    margin-bottom: 2.5rem;
  }

  .projects-page-subtitle {
    font-size: 0.95rem;
  }

  /* === 2. FILTROS: 4 pills en línea, compactas === */
  .projects-filters {
    width: calc(100% - 2.5rem);
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    margin-bottom: 2.5rem;
    padding: 0.35rem;
    gap: 0.25rem;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .projects-filter {
    flex: 1;
    padding: 0.55rem 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0;
    text-align: center;
    justify-content: center;
  }

  /* === 3. TARJETAS: grid de 2 columnas con márgenes laterales === */
  .projects-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 0 1.25rem;
  }

  .project-tile-image-wrap {
    border-radius: 14px;
    margin-bottom: 0.85rem;
  }

  /* Texto centrado debajo de cada tarjeta */
  .project-tile-info {
    text-align: center;
    align-items: center;
    gap: 0.2rem;
  }

  .project-tile-name {
    font-size: 1rem;
    line-height: 1.15;
  }

  .project-tile-service {
    font-size: 0.78rem;
  }

  .project-tile-meta {
    font-size: 0.72rem;
    margin-top: 0.15rem;
  }

  /* En móvil, mantener la pill siempre visible (no hay hover) */
  .project-tile-pill {
    opacity: 1;
    transform: translate(-50%, 0);
    padding: 0.5rem 0.85rem;
    font-size: 0.7rem;
    bottom: 0.65rem;
  }

  .project-tile-pill svg {
    width: 10px;
    height: 10px;
  }
}

/* Móviles muy pequeños */
@media (max-width: 380px) {
  .projects-filter {
    font-size: 0.68rem;
    padding: 0.5rem 0.35rem;
  }
}

/* Fallback para navegadores sin backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
  .projects-filters {
    background: rgba(20, 12, 6, 0.6);
  }
  .project-tile-pill {
    background: rgba(10, 7, 5, 0.85);
  }
}














/* JUSTIFY TEXT */
.justify-text {
	text-align: justify;
}





















/* project detail */
/* ==========================================================
   PROJECT DETAIL — Página de detalle de proyecto
   Tipografías: Manrope (títulos) + Inter (texto)
   ========================================================== */

/* === SECCIÓN === */
.project-detail {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 7rem 0 6rem;
  font-family: 'Inter', sans-serif;
  color: #f5efe8;
}

.project-detail * {
  box-sizing: border-box;
}

.project-detail a,
.project-detail a:hover,
.project-detail a:focus,
.project-detail a:active {
  text-decoration: none !important;
}

/* ============================================================
   HERO de la página
   ============================================================ */

.project-detail-hero {
  text-align: center;
  margin-bottom: 5rem;
}

.project-detail-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.project-detail-logo img {
  max-height: 80px;
  width: auto;
  display: block;
}

.project-detail-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #f5efe8;
  margin: 0 0 2rem 0;
}

.project-detail-intro {
  font-family: 'Inter', sans-serif;
  color: rgba(245, 239, 232, 0.7);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 300;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

/* ============================================================
   BOTÓN "Ver página" — estilo glass coherente con el resto
   ============================================================ */

.project-detail-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  color: #f5efe8;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    color 0.3s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}



.project-detail-cta:hover {
  background: rgba(255, 107, 26, 0.85);
  border-color: rgba(255, 107, 26, 1);
  color: #ffffff;
  transform: translateY(-2px);
}

.project-detail-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.project-detail-cta:hover svg {
  transform: translate(2px, -2px);
}

/* Línea divisoria */
.project-detail-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 5rem;
}

/* ============================================================
   FILA con cliente + reto en dos columnas
   ============================================================ */

.project-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* ============================================================
   BLOQUES con borde sutil
   ============================================================ */

.project-block {
  padding: 2.5rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.5s ease;
}

.project-block:hover {
  border-color: rgba(255, 107, 26, 0.25);
}

.project-block--full {
  margin-bottom: 2rem;
}

.project-block-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #f5efe8;
  margin: 0 0 1.5rem 0;
}

.project-block-text {
  font-family: 'Inter', sans-serif;
  color: rgba(245, 239, 232, 0.72);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
  margin: 0 0 1.25rem 0;
}

.project-block-text:last-child {
  margin-bottom: 0;
}

.project-block-text strong {
  color: #f5efe8;
  font-weight: 500;
}

/* ============================================================
   ANIMACIÓN SCROLL-DRIVEN
   ============================================================ */

.project-block--from-left,
.project-block--from-right,
.project-block--from-bottom {
  opacity: 0;
  animation-timeline: view();
  animation-range: entry 10% cover 40%;
  animation-fill-mode: both;
}

.project-block--from-left {
  animation-name: slide-from-left;
}

@keyframes slide-from-left {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.project-block--from-right {
  animation-name: slide-from-right;
}

@keyframes slide-from-right {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.project-block--from-bottom {
  animation-name: slide-from-bottom;
}

@keyframes slide-from-bottom {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fallback para Firefox y navegadores sin soporte */
@supports not (animation-timeline: view()) {
  .project-block--from-left,
  .project-block--from-right,
  .project-block--from-bottom {
    opacity: 1;
    animation: none;
  }
}

/* ============================================================
   HABILIDADES — SIN recuadro, centradas, con título encima
   ============================================================ */

.project-detail-skills {
  text-align: center;
  margin: 4rem 0;
  padding: 0;
  border: none;
  background: none;
}

.project-skills-heading {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: rgba(245, 239, 232, 0.85);
  letter-spacing: 0.02em;
  margin: 0 0 1.75rem 0;
}

.project-skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;     /* centra las pills */
}

.project-skill {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(245, 239, 232, 0.85);
  letter-spacing: 0.01em;
  transition:
    border-color 0.4s ease,
    color 0.3s ease,
    background 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: default;
}

.project-skill:hover {
  border-color: rgba(255, 107, 26, 0.5);
  color: #ff8c42;
  background: rgba(255, 107, 26, 0.08);
  transform: translateY(-2px);
}

/* ============================================================
   GALERÍA — solo título, mosaico asimétrico
   ============================================================ */

.project-detail-gallery {
  margin-bottom: 0;
  padding: 2.5rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.5s ease;
}

.project-detail-gallery:hover {
  border-color: rgba(255, 107, 26, 0.25);
}

.project-detail-section-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #f5efe8;
  margin: 0 0 2rem 0;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 1rem;
  aspect-ratio: 16 / 11;
}

.project-gallery-item--big {
  grid-column: 1;
  grid-row: 1 / span 3;
}

.project-gallery-item:not(.project-gallery-item--big) {
  grid-column: 2;
}

.project-gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 12, 6, 0.4);
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease;
  cursor: pointer;
}

.project-gallery-item:hover {
  transform: scale(1.02);
  border-color: rgba(255, 107, 26, 0.4);
  z-index: 2;
}

.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-gallery-item:hover img {
  transform: scale(1.05);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .project-detail {
    padding: 9rem 1.5rem;
  }

	.project-detail-title {
		font-size: 2.5rem;
	}
	
  .project-detail-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .project-block,
  .project-detail-gallery {
    padding: 1.75rem 1.5rem;
    margin-bottom: 1.25rem;
  }

  .project-block--full {
    margin-bottom: 1.25rem;
  }

  .project-detail-skills {
    margin: 3rem 0;
  }

  .project-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    aspect-ratio: 1 / 1;
  }

  .project-gallery-item--big {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  .project-gallery-item:not(.project-gallery-item--big) {
    grid-column: auto;
    grid-row: 2;
  }

  .project-gallery-item:nth-child(4) {
    display: none;
  }
}

@media (max-width: 600px) {
  .project-detail {
    width: 93%;
  }
  .project-detail-hero {
    margin-bottom: 3rem;
  }
  .project-detail-divider {
    margin-bottom: 3rem;
  }
  .project-block-text {
    font-size: 0.95rem;
  }
  .project-skill {
    padding: 0.5rem 0.95rem;
    font-size: 0.78rem;
  }
  .project-detail-cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.88rem;
  }
}

/* project branding */





/* ==========================================================
   PROJECT DETAIL — BRANDING
   Hereda los estilos de project-detail.css y añade los
   bloques específicos de branding (logo, isotipo, paleta,
   tipografía).
   ========================================================== */

/* ============================================================
   BLOQUE MEDIA — Logo/isotipo grande + texto al lado
   ============================================================ */

.project-block--media {
  padding: 0;
  overflow: hidden;
}

.project-media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 380px;
}

/* Bloque visual donde va la imagen del logo/isotipo */
.project-media-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
  background: #f5efe8;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.project-media-visual img {
  max-width: 100%;
  max-height: 240px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-block--media:hover .project-media-visual img {
  transform: scale(1.04);
}

/* Bloque de texto */
.project-media-text {
  padding: 3rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-media-text .project-block-title {
  margin-top: 0.5rem;
}

/* Versión alternada (texto izquierda + imagen derecha) */
.project-media-row--reversed .project-media-visual {
  order: 2;
  border-right: none;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.project-media-row--reversed .project-media-text {
  order: 1;
}

/* ============================================================
   PALETA DE COLORES — Tres bandas con hex grandes
   ============================================================ */

.project-detail-palette {
  padding: 2.5rem 2.5rem;
}

.project-section-header {
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.project-section-header .project-block-title {
  margin-bottom: 1rem;
}

.project-palette-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-radius: 16px;
  overflow: hidden;
}

.project-palette-color {
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 1.75rem;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease;
  cursor: default;
}

.project-palette-color:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.project-palette-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85;
}

.project-palette-hex {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1;
  align-self: flex-start;
}

/* ============================================================
   TIPOGRAFÍA — Muestras grandes con metadata
   ============================================================ */

.project-detail-typography {
  padding: 2.5rem 2.5rem;
}

.project-typography-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.project-typography-item {
  padding: 3rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.project-typography-item:hover {
  border-color: rgba(255, 107, 26, 0.3);
  background: rgba(255, 107, 26, 0.03);
}

.project-type-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 239, 232, 0.5);
  margin-bottom: 1.5rem;
}

.project-type-sample {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: #f5efe8;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.01em;
  word-break: break-word;
}

/* Muestra display: sans-serif gruesa */
.project-type-sample--display {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Muestra script: cursiva caligráfica */
.project-type-sample--script {
  font-family: 'Allura', 'Dancing Script', cursive;
  font-weight: 400;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-style: italic;
}

.project-type-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(245, 239, 232, 0.6);
  letter-spacing: 0.01em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {

  /* Media row: apilar verticalmente */
  .project-media-row,
  .project-media-row--reversed {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .project-media-visual {
    padding: 3rem 2rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    aspect-ratio: 16 / 9;
  }

  .project-media-visual img {
    max-height: 180px;
  }

  .project-media-text {
    padding: 2rem 1.75rem 2.5rem;
  }

  /* En la versión alternada, en móvil siempre imagen arriba */
  .project-media-row--reversed .project-media-visual {
    order: 1;
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .project-media-row--reversed .project-media-text {
    order: 2;
  }

  /* Paleta: 1 columna */
  .project-palette-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .project-palette-color {
    aspect-ratio: 16 / 7;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 1.75rem;
  }

  .project-palette-name {
		visibility: hidden;
    order: 2;
    text-align: right;
  }

  .project-palette-hex {
    order: 1;
    align-self: center;
  }

  /* Tipografía: 1 columna */
  .project-typography-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {

  .project-detail-palette,
  .project-detail-typography {
    padding: 1.75rem 1.5rem;
  }

  .project-typography-item {
    padding: 2rem 1.5rem;
    min-height: auto;
  }
}

/* Asegurar gap consistente entre todos los bloques de la página */
.project-block--media,
.project-detail-palette,
.project-detail-typography,
.project-detail-skills,
.project-detail-gallery {
  margin-bottom: 2rem;
}

/* En móvil, gap más reducido */
@media (max-width: 900px) {
  .project-block--media,
  .project-detail-palette,
  .project-detail-typography,
  .project-detail-skills,
  .project-detail-gallery {
    margin-bottom: 1.25rem;
  }
}

/* Wrapper de la imagen tipográfica */
.project-type-image-wrap {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0 2rem 0;
  min-height: 100px;
}

.project-type-image {
  max-width: 100%;
  max-height: 140px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  /* Si los PNGs son negros sobre fondo transparente, los invertimos a blancos */
  filter: invert(94%) sepia(8%) saturate(225%) hue-rotate(341deg) brightness(101%) contrast(94%);
  transition: opacity 0.4s ease;
}

.project-typography-item:hover .project-type-image {
  opacity: 0.95;
}








/* paginas legales */


/* ==========================================================
   LEGAL PAGE — Estilos para WordPress
   Plantilla reutilizable: aviso legal, política de privacidad,
   cookies, términos, etc.
   ========================================================== */

/* === SECCIÓN === */
.legal-page {
  width: 100%;
  padding-top: 10rem;
  font-family: 'Inter', sans-serif;
  color: #f5efe8;
}


/* ============================================================
   HEADER
   ============================================================ */

.legal-header {
  text-align: center;
  margin-bottom: 4rem;
	align-items: center;
}

.legal-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #ff6b1a;
  font-weight: 500;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 107, 26, 0.08);
  border: 1px solid rgba(255, 107, 26, 0.25);
  border-radius: 100px;
}

.legal-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #f5efe8;
  margin: 0 0 1.5rem 0;
}


.legal-meta {
	display: inline-block;
  align-items: center;
  padding-top: 0.15rem;
	padding-bottom: 0.45rem;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
}

.legal-meta-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.legal-meta-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 239, 232, 0.45);
  font-weight: 500;
}

.legal-meta-value {
  font-size: 0.85rem;
  color: #f5efe8;
  font-weight: 500;
}

.legal-meta-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
}

/* Línea divisoria */
.legal-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 5rem;
}



/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  
}

@media (max-width: 900px) {

  /* En móvil, el TOC deja de ser sticky y queda arriba */
  
}

@media (max-width: 600px) {
  .legal-page {
    width: 92%;
  }

	.legal-eyebrow {
		font-size: 10px;
	}
	
  .legal-header {
    margin-bottom: 3rem;
  }

  .legal-divider {
    margin-bottom: 2rem;
  }

  .legal-meta {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    border-radius: 999px;
		font-size: 10px;
  }

}































/*PAGINA SERVICIOS*/
/* ==========================================================
   SERVICES PAGE — Página de servicios
   Manrope (títulos) + Inter (texto)
   ========================================================== */

.services-page {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 7rem 0 6rem;
  color: #f5efe8;
}

.services-page * {
  box-sizing: border-box;
}

/* === Enlaces SIN subrayado en toda la página === */
.services-page a,
.services-page a:hover,
.services-page a:focus,
.services-page a:active,
.services-page a:visited {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* ============================================================
   1. HERO
   ============================================================ */

.services-hero {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.services-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #ff6b1a;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.services-eyebrow::before,
.services-eyebrow::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: #ff6b1a;
  vertical-align: middle;
  margin: 0 1rem;
  opacity: 0.5;
}

.services-page .services-title {
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.5rem);
	font-style: italic;
  line-height: 1;
  letter-spacing: -0.025em;
  color: #f5efe8;
  margin: 0 0 1.5rem 0;
}

.services-intro {
  color: rgba(245, 239, 232, 0.7);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 300;
  margin: 0;
}

/* ============================================================
   2. NAVEGACIÓN INTERNA — sticky bien posicionada
   El header tiene 100px (normal) y 70px (scrolled), por eso
   bajamos el top a 130px para que respire bajo el header.
   ============================================================ */

.services-nav {
  position: sticky;
  top: 110px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: -1rem;
  padding: 0.5rem;
  background: rgba(20, 12, 6, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.services-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(245, 239, 232, 0.7);
  letter-spacing: 0.01em;
  transition: background 0.4s ease, color 0.3s ease;
  white-space: nowrap;
}

.services-nav-link:hover {
  color: #f5efe8;
  background: rgba(255, 255, 255, 0.05);
}

.services-nav-num {
  font-size: 0.7rem;
  color: rgba(255, 107, 26, 0.8);
  font-weight: 500;
}

/* ============================================================
   ESTRUCTURA: SERVICE SECTION
   ============================================================ */

.service-section {
  margin-bottom: 2rem;
  scroll-margin-top: 11rem;
}

.service-header {
  margin-bottom: 2.5rem;
  max-width: 780px;
}

.service-num {
  display: inline-block;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ff6b1a;
  font-weight: 500;
  margin-bottom: 1.5rem;
	margin-top: 7rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 107, 26, 0.08);
  border: 1px solid rgba(255, 107, 26, 0.25);
  border-radius: 100px;
}

/* === Títulos de servicio: Manrope forzada con !important === */
.services-page .service-title,
.services-page h2.service-title {
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 3rem);
  line-height: 1.1;
  color: #f5efe8;
  margin: 0 0 1.5rem 0;
}

.service-description {
  font-family: 'Inter', sans-serif !important;
  color: rgba(245, 239, 232, 0.72);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 300;
  margin: 0;
}

/* === Bloque de explicación === */
.service-block {
  padding: 2.5rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 2rem;
  transition: border-color 0.5s ease;
}

.service-block:hover {
  border-color: rgba(255, 107, 26, 0.25);
}

/* === Títulos de bloque: Manrope forzada con !important === */
.services-page .service-block-title,
.services-page h3.service-block-title {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 200;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #f5efe8;
  margin: 0 0 1.5rem 0;
}

.service-block-title--centered {
  text-align: center;
  margin-bottom: 2.5rem;
}

.service-block-text {
  font-family: 'Inter', sans-serif !important;
  color: rgba(245, 239, 232, 0.72);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
  margin: 0 0 1.25rem 0;
}

.service-block-text:last-child {
  margin-bottom: 0;
}

.service-block-text strong {
  color: #f5efe8;
  font-weight: 500;
}

/* ============================================================
   ANIMACIÓN SCROLL-DRIVEN — entrada desde abajo
   ============================================================ */

.project-block--from-bottom {
  opacity: 0;
  animation-timeline: view();
  animation-range: entry 10% cover 40%;
  animation-fill-mode: both;
  animation-name: services-slide-from-bottom;
}

@keyframes services-slide-from-bottom {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports not (animation-timeline: view()) {
  .project-block--from-bottom {
    opacity: 1;
    animation: none;
  }
}

/* ============================================================
   TIMELINE — Iluminación progresiva al scroll
   ============================================================ */

.service-timeline {
  margin-bottom: 2rem;
  padding: 2.5rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.5s ease;
}

.service-timeline:hover {
  border-color: rgba(255, 107, 26, 0.25);
}

/* === Título del timeline: Manrope forzada === */
.services-page .service-timeline-title,
.services-page h3.service-timeline-title {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #f5efe8;
  margin: 0 0 2.5rem 0;
}

.timeline-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

/* Marcador del paso */
.timeline-step-marker {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 107, 26, 0);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 rgba(255, 107, 26, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  animation-timeline: view();
  animation-range: entry 30% entry 80%;
  animation-fill-mode: both;
  animation-name: marker-light-up;
  transition:
    background 0.5s ease,
    border-color 0.5s ease,
    box-shadow 0.5s ease;
}

@keyframes marker-light-up {
  from {
    background: rgba(255, 107, 26, 0);
    border-color: rgba(255, 107, 26, 0.15);
    box-shadow: 0 0 0px rgba(255, 107, 26, 0);
  }
  to {
    background: rgba(255, 107, 26, 1);
    border-color: rgba(255, 107, 26, 1);
    box-shadow: 0 0 25px rgba(255, 107, 26, 0.4);
  }
}

.timeline-step-num {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 600;
  font-size: 1.05rem;
  color: rgba(245, 239, 232, 0.5);
  animation-timeline: view();
  animation-range: entry 30% entry 80%;
  animation-fill-mode: both;
  animation-name: num-light-up;
  transition: color 0.5s ease;
}

@keyframes num-light-up {
  from {
    color: rgba(245, 239, 232, 0.5);
  }
  to {
    color: rgba(245, 239, 232, 1);
  }
}

/* Línea vertical entre pasos */
.timeline-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 29px;
  top: 50px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(255, 107, 26, 0),
    rgba(255, 255, 255, 0.1)
  );
  animation-timeline: view();
  animation-range: entry 30% entry 80%;
  animation-fill-mode: both;
  animation-name: line-light-up;
  transition: background 0.6s ease;
}

@keyframes line-light-up {
  from {
    background: linear-gradient(
      to bottom,
      rgba(255, 107, 26, 0),
      rgba(255, 255, 255, 0.1)
    );
  }
  to {
    background: linear-gradient(
      to bottom,
      rgba(255, 107, 26, 0.7),
      rgba(255, 255, 255, 0.1)
    );
  }
}

/* Fallback para navegadores sin soporte */
@supports not (animation-timeline: view()) {
  .timeline-step-marker,
  .timeline-step-num,
  .timeline-step:not(:last-child)::before {
    animation: none;
  }

  .timeline-step-marker {
    background: rgba(255, 107, 26, 1);
    border-color: rgba(255, 107, 26, 1);
  }

  .timeline-step-num {
    color: rgba(245, 239, 232, 1);
  }

  .timeline-step:not(:last-child)::before {
    background: linear-gradient(
      to bottom,
      rgba(255, 107, 26, 0.7),
      rgba(255, 255, 255, 0.1)
    );
  }
}

/* Contenido del paso */
.timeline-step-content {
  padding-top: 0.75rem;
}

.timeline-step-title {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 500;
  font-size: 1.15rem;
  color: #f5efe8;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.01em;
}

.timeline-step-text {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(245, 239, 232, 0.7);
  font-weight: 300;
  margin: 0;
}

/* Nota final del timeline (tiempo total clarificado) */
.service-timeline-note {
  margin: 1.5rem 0 0 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.service-timeline-note-main {
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem;
  color: rgba(245, 239, 232, 0.85);
  font-weight: 400;
  margin: 0 0 0.5rem 0;
}

.service-timeline-note-main strong {
  color: #ff8c42;
  font-weight: 600;
}

.service-timeline-note-sub {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.88rem;
  color: rgba(245, 239, 232, 0.55);
  font-weight: 300;
  font-style: italic;
  margin: 0 auto;
  max-width: 580px;
  line-height: 1.5;
}

/* ============================================================
   CTA al ejemplo
   ============================================================ */

.service-example-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  color: #f5efe8;
  transition:
    border-color 0.4s ease,
    background 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  margin-bottom: 2rem;
}

.service-example-link:hover {
  border-color: rgba(255, 107, 26, 0.5);
  background: rgba(255, 107, 26, 0.05);
  transform: translateY(-3px);
}

.service-example-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.service-example-label {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 239, 232, 0.5);
  font-weight: 500;
}

.service-example-name {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 500;
  font-size: 1.25rem;
  color: #f5efe8;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.service-example-link:hover .service-example-name {
  color: #ff8c42;
}

.service-example-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.3);
  color: #ff8c42;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.service-example-link:hover .service-example-arrow {
  background: rgba(255, 107, 26, 0.25);
  border-color: rgba(255, 107, 26, 0.6);
}

.service-example-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-example-link:hover .service-example-arrow svg {
  transform: translate(2px, -2px);
}

/* ============================================================
   BRANDING ELEMENTS
   ============================================================ */

.branding-elements {
  margin-bottom: 2rem;
  padding: 3rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.5s ease;
}

.branding-elements:hover {
  border-color: rgba(255, 107, 26, 0.25);
}

.branding-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.branding-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 14px;
  transition: background 0.4s ease;
}

.branding-item:hover {
  background: rgba(255, 107, 26, 0.04);
}

.branding-item-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.3);
  border-radius: 50%;
  color: #ff8c42;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.branding-item:hover .branding-item-icon {
  background: rgba(255, 107, 26, 0.2);
  border-color: rgba(255, 107, 26, 0.6);
}

.branding-item-icon svg {
  width: 22px;
  height: 22px;
}

.branding-item-title {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 500;
  font-size: 1.1rem;
  color: #f5efe8;
  margin: 0 0 0.65rem 0;
  letter-spacing: -0.01em;
}

.branding-item-text {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(245, 239, 232, 0.65);
  font-weight: 300;
  margin: 0;
}

/* ============================================================
   PRICING — Tarjetas de planes
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.5s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-card:hover {
  border-color: rgba(255, 107, 26, 0.3);
  transform: translateY(-4px);
}

.pricing-card--featured {
  border: 1.5px solid rgba(255, 107, 26, 0.6);
  background: rgba(255, 107, 26, 0.04);
  transform: scale(1.03);
  box-shadow: 0 25px 60px rgba(255, 107, 26, 0.1);
}

.pricing-card--featured:hover {
  border-color: rgba(255, 107, 26, 0.85);
  transform: scale(1.03) translateY(-4px);
}

.pricing-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.4rem 1rem;
  background: #ff6b1a;
  color: #ffffff;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 8px 25px rgba(255, 107, 26, 0.4);
}

.pricing-card-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-card-tier {
  display: block;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 600;
  font-size: 1.5rem;
  color: #f5efe8;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.pricing-card-amount {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700;
  font-size: 2.5rem;
  color: #f5efe8;
  letter-spacing: -0.025em;
  line-height: 1;
}

.pricing-card-period {
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem;
  color: rgba(245, 239, 232, 0.55);
  font-weight: 400;
}

.pricing-card-yearly {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.85rem;
  color: rgba(245, 239, 232, 0.5);
  font-weight: 400;
}

.pricing-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pricing-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(245, 239, 232, 0.85);
  font-weight: 300;
  flex-wrap: wrap;
}

.pricing-card-features li strong {
  color: #f5efe8;
  font-weight: 500;
}

.pricing-feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 107, 26, 0.15);
  color: #ff8c42;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pricing-feature-check svg {
  width: 11px;
  height: 11px;
}

.pricing-feature-note {
  display: block;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.78rem;
  color: rgba(245, 239, 232, 0.5);
  font-style: italic;
  width: 100%;
  margin-left: 1.65rem;
  margin-top: -0.2rem;
}

.pricing-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.92rem;
  font-weight: 500;
  color: #f5efe8;
  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    color 0.3s ease;
  text-align: center;
  width: 100%;
}

.pricing-card-cta:hover {
  background: rgba(255, 107, 26, 0.85);
  border-color: rgba(255, 107, 26, 1);
  color: #ffffff;
}

.pricing-card-cta--featured {
  background: #ff6b1a;
  border-color: #ff6b1a;
  color: #ffffff;
}

.pricing-card-cta--featured:hover {
  background: #ff8c42;
  border-color: #ff8c42;
}

/* ============================================================
   MARKETING SERVICES
   ============================================================ */

.marketing-services {
  margin-bottom: 2rem;
  padding: 3rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.5s ease;
}

.marketing-services:hover {
  border-color: rgba(255, 107, 26, 0.25);
}

.marketing-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.marketing-services-list li {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(245, 239, 232, 0.85);
  letter-spacing: 0.01em;
  transition:
    border-color 0.4s ease,
    color 0.3s ease,
    background 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.marketing-services-list li:hover {
  border-color: rgba(255, 107, 26, 0.5);
  color: #ff8c42;
  background: rgba(255, 107, 26, 0.08);
  transform: translateY(-2px);
}

/* ============================================================
   CTA FINAL
   ============================================================ */

.services-cta {
  text-align: center;
  padding: 5rem 3rem;
  border: 1px solid rgba(255, 107, 26, 0.3);
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 107, 26, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.02);
  margin-top: 5rem;
  transition: border-color 0.5s ease;
}

.services-cta:hover {
  border-color: rgba(255, 107, 26, 0.5);
}

.services-page .services-cta-title,
.services-page h2.services-cta-title {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #f5efe8;
  margin: 0 0 1rem 0;
}

.services-cta-text {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(245, 239, 232, 0.7);
  font-weight: 300;
  max-width: 580px;
  margin: 0 auto 2.5rem auto;
}

.services-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: #ff6b1a;
  border: 1px solid #ff6b1a;
  border-radius: 100px;
  color: #ffffff;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-cta-button:hover {
  background: #ff8c42;
  border-color: #ff8c42;
  transform: translateY(-2px);
}

.services-cta-button svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.services-cta-button:hover svg {
  transform: translateX(3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .branding-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 900px) {
  .services-page {
    padding: 2rem;
		margin-top: 5rem;
  }

  .services-hero {
    margin-bottom: 3rem;
  }

  .services-nav {
  margin-bottom: 4rem;
  top: 25px;
  overflow-x: auto;
  flex-wrap: nowrap;
  justify-content: flex-start;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* CLAVE: anular el fit-content del CSS base */
  width: max-content;
  max-width: calc(100% - 2rem);
  /* Reducir tamaño general */
  padding: 0.35rem;
  gap: 0.25rem;
}

  .services-nav::-webkit-scrollbar {
    display: none;
  }

  .services-nav-link {
  flex-shrink: 0;
  padding: 0.45rem 0.8rem;
  font-size: 0.72rem;
  gap: 0.35rem;
}

.services-nav-num {
  font-size: 0.58rem;
}

  .service-section {
    margin-bottom: 5rem;
    scroll-margin-top: 9rem;
  }

  .service-block,
  .service-timeline,
  .branding-elements,
  .marketing-services {
    padding: 1.75rem 1.5rem;
  }

  .service-example-link {
    padding: 1.5rem 1.75rem;
  }

  .service-example-name {
    font-size: 1.1rem;
  }

  .timeline-step {
    grid-template-columns: 50px 1fr;
    gap: 1.25rem;
    padding-bottom: 2rem;
  }

  .timeline-step-marker {
    width: 42px;
    height: 42px;
  }

  .timeline-step:not(:last-child)::before {
    left: 21px;
    top: 42px;
  }

  .timeline-step-num {
    font-size: 0.95rem;
  }

  .services-cta {
    padding: 3rem 1.75rem;
    margin-top: 3rem;
  }
}



@media (max-width: 600px) {
  .services-page {
    width: 92%;
  }

  .services-eyebrow::before,
  .services-eyebrow::after {
    width: 18px;
    margin: 0 0.5rem;
  }

  .branding-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .branding-item {
    padding: 1.25rem 0.75rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .pricing-card-amount {
    font-size: 2.1rem;
  }

  .marketing-services-list li {
    font-size: 0.82rem;
    padding: 0.6rem 1rem;
  }

  .services-cta-button {
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
  }
}


/* ============================================ */
/* UPRA · PÀGINA DE CONTACTE                    */
/* Pegar en CSS adicional del tema              */
/* ============================================ */

/* ---- Container compartit ---- */
.upra-contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Eyebrow (reutilitzat de la resta) ---- */

.upra-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #ff6b1a;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.upra-eyebrow::before,
.upra-eyebrow::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: #ff6b1a;
  vertical-align: middle;
  margin: 0 1rem;
  opacity: 0.5;
}

/* ============================================ */
/* HERO                                          */
/* ============================================ */
.upra-contact-hero {
  padding: 8rem 0 5rem;
  text-align: center;
}

.upra-contact-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
	font-style: italic;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #f5efe8;
  margin: 0 0 1.5rem 0;
}

.upra-contact-title em {
  font-family: 'Fraunces', serif !important;
  font-style: italic;
  font-weight: 400;
  color: #ff8c42;
}

.upra-contact-lead {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(245, 239, 232, 0.7);
  max-width: 620px;
  margin: 0 auto;
}


/* ============================================ */
/* CONTACTE RÀPID                                */
/* ============================================ */
.upra-quick-contact {
  padding: 2rem 0 5rem;
}

.upra-quick-card,
.upra-quick-card:hover,
.upra-quick-card:focus,
.upra-quick-card:visited {
  text-decoration: none !important;
  border-bottom: none !important;
}

.upra-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.upra-quick-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.upra-quick-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 107, 26, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.upra-quick-card:hover {
  border-color: rgba(255, 107, 26, 0.35);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
}

.upra-quick-card:hover::before {
  opacity: 1;
}

.upra-quick-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.2);
  border-radius: 14px;
  color: #ff8c42;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.upra-quick-card__icon svg {
  width: 26px;
  height: 26px;
}

.upra-quick-card:hover .upra-quick-card__icon {
  background: rgba(255, 107, 26, 0.18);
  border-color: rgba(255, 107, 26, 0.4);
}

.upra-quick-card__body {
  flex: 1;
}

.upra-quick-card__label {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff6b1a;
  display: block;
  margin-bottom: 0.5rem;
}

.upra-quick-card__title {
  font-family: 'Manrope', sans-serif !important;
  font-size: 1.4rem;
  font-weight: 600;
  color: #f5efe8;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.upra-quick-card__desc {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(245, 239, 232, 0.65);
  margin: 0;
}

.upra-quick-card__arrow {
  font-family: 'Inter', sans-serif !important;
  position: absolute;
  top: 2.25rem;
  right: 2.25rem;
  font-size: 1.2rem;
  color: #ff8c42;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.upra-quick-card:hover .upra-quick-card__arrow {
  transform: translate(2px, -2px);
}


/* ============================================ */
/* FORMULARI                                     */
/* ============================================ */
.upra-form-section {
  padding: 4rem 0 6rem;
}

.upra-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

/* ---- Intro lateral ---- */
.upra-form-intro {
  position: sticky;
  top: 6rem;
}

.upra-form-title {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #f5efe8;
  margin: 0 0 1.25rem;
}

.upra-form-title em {
  font-family: 'Fraunces', serif !important;
  font-style: italic;
  font-weight: 400;
  color: #ff8c42;
}

.upra-form-desc {
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(245, 239, 232, 0.7);
  margin: 0 0 2.5rem;
}

.upra-form-data {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.upra-form-data__item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.upra-form-data__label {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 239, 232, 0.5);
}

.upra-form-data__value {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.05rem;
  font-weight: 400;
  color: #f5efe8;
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.upra-form-data__value:hover {
  color: #ff8c42;
}

/* ---- Form ---- */
.upra-form {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.75rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.upra-field {
  margin-bottom: 1.75rem;
}

.upra-field__label {
  font-family: 'Inter', sans-serif !important;
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(245, 239, 232, 0.85);
  margin-bottom: 0.7rem;
  letter-spacing: 0.01em;
}

/* ---- Asterisc camp obligatori ---- */
.upra-field__required {
  color: #ff8c42;
  font-weight: 500;
  margin-left: 0.15rem;
}

.upra-field__input,
.upra-field__textarea {
  font-family: 'Inter', sans-serif !important;
  width: 100%;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  padding: 0.95rem 1.15rem !important;
  font-size: 1rem !important;
  font-weight: 300 !important;
  color: #f5efe8 !important;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  resize: vertical;
  box-shadow: none !important;
}

/* ---- Fix autofill Chrome/Webkit · força colors UpraStudio ---- */
.upra-field__input:-webkit-autofill,
.upra-field__input:-webkit-autofill:hover,
.upra-field__input:-webkit-autofill:focus,
.upra-field__input:-webkit-autofill:active,
.upra-field__textarea:-webkit-autofill,
.upra-field__textarea:-webkit-autofill:hover,
.upra-field__textarea:-webkit-autofill:focus,
.upra-field__textarea:-webkit-autofill:active {
  -webkit-text-fill-color: #f5efe8 !important;
  -webkit-box-shadow: 0 0 0 1000px rgba(20, 12, 8, 0.95) inset !important;
  caret-color: #f5efe8 !important;
  transition: background-color 5000s ease-in-out 0s;
  font-family: 'Inter', sans-serif !important;
}

.upra-field__input::placeholder,
.upra-field__textarea::placeholder {
  color: rgba(245, 239, 232, 0.35) !important;
  font-weight: 300 !important;
  opacity: 1 !important;
}

.upra-field__input:focus,
.upra-field__textarea:focus {
  outline: none;
  border-color: rgba(255, 107, 26, 0.5);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.08);
}

.upra-field__textarea {
  min-height: 140px;
  line-height: 1.55;
}

/* ---- Honeypot anti-spam · invisible per humans, visible per bots ---- */
.upra-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---- Pills (radios) ---- */
.upra-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.upra-pill {
  position: relative;
  cursor: pointer;
}

.upra-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.upra-pill span {
  font-family: 'Inter', sans-serif !important;
  display: inline-block;
  padding: 0.55rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(245, 239, 232, 0.75);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
}

.upra-pill:hover span {
  border-color: rgba(255, 107, 26, 0.35);
  color: #f5efe8;
}

.upra-pill input:checked + span {
  background: rgba(255, 107, 26, 0.15);
  border-color: rgba(255, 107, 26, 0.5);
  color: #ff8c42;
}

.upra-pill input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.15);
}

/* ---- Checkbox privacitat ---- */
.upra-field--check {
  margin-bottom: 2rem;
}

.upra-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif !important;
}

.upra-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.upra-check__box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  position: relative;
  margin-top: 1px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.upra-check__box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #f5efe8;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.upra-check input:checked + .upra-check__box {
  background: #ff6b1a;
  border-color: #ff6b1a;
}

.upra-check input:checked + .upra-check__box::after {
  transform: rotate(45deg) scale(1);
}

.upra-check input:focus-visible + .upra-check__box {
  box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.2);
}

.upra-check__text {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(245, 239, 232, 0.65);
}

.upra-check__text a {
  color: #ff8c42;
  text-decoration: underline;
  text-decoration-color: rgba(255, 140, 66, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.upra-check__text a:hover {
  text-decoration-color: #ff8c42;
}

/* ---- Submit ---- */
.upra-submit {
  font-family: 'Inter', sans-serif !important;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  background: linear-gradient(135deg, #ff6b1a, #c84d0e);
  border: 1px solid rgba(255, 140, 66, 0.4);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 8px 24px rgba(200, 77, 14, 0.25);
}

.upra-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(200, 77, 14, 0.35);
}

.upra-submit:active {
  transform: translateY(0);
}

.upra-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.upra-submit__arrow {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.upra-submit:hover .upra-submit__arrow {
  transform: translate(3px, -2px);
}

/* ---- Form status ---- */
.upra-form-status {
  font-family: 'Inter', sans-serif !important;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  min-height: 1.5em;
}

.upra-form-status.is-success {
  color: #7dd896;
}

.upra-form-status.is-error {
  color: #ff8c42;
}


/* ============================================ */
/* PROCÉS                                        */
/* ============================================ */
.upra-process {
  padding: 5rem 0 8rem;
}

.upra-process-head {
  text-align: center;
  margin-bottom: 4rem;
}

.upra-process-title {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #f5efe8;
  margin: 0 0 1.25rem;
}

.upra-process-title em {
  font-family: 'Fraunces', serif !important;
  font-style: italic;
  font-weight: 400;
  color: #ff8c42;
}

.upra-process-desc {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(245, 239, 232, 0.7);
  max-width: 540px;
  margin: 0 auto;
}

.upra-process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.upra-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2.25rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  animation: upraStepFade linear both;
  animation-timeline: view();
  animation-range: entry 10% cover 40%;
}

.upra-step:hover {
  border-color: rgba(255, 107, 26, 0.25);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
}

.upra-step__num {
  font-family: 'Fraunces', serif !important;
  font-style: italic;
  font-weight: 300;
  font-size: 2.4rem;
  line-height: 1;
  color: #ff8c42;
  flex-shrink: 0;
  opacity: 0.85;
}

.upra-step__body {
  flex: 1;
}

.upra-step__title {
  font-family: 'Manrope', sans-serif !important;
  font-size: 1.2rem;
  font-weight: 600;
  color: #f5efe8;
  margin: 0 0 0.6rem;
  line-height: 1.25;
}

.upra-step__desc {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(245, 239, 232, 0.65);
  margin: 0;
}

@keyframes upraStepFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fallback Firefox · sense scroll-driven */
@supports not (animation-timeline: view()) {
  .upra-step {
    animation: none;
    opacity: 1;
    transform: none;
  }
}


/* ============================================ */
/* RESPONSIVE                                    */
/* ============================================ */
@media (max-width: 900px) {
  .upra-form-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .upra-form-intro {
    position: static;
  }

  .upra-process-list {
    grid-template-columns: minmax(0, 480px);
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .upra-contact-hero {
    padding: 5rem 0 3rem;
  }
  .upra-quick-grid {
    grid-template-columns: 1fr;
  }
  .upra-quick-card {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.75rem;
  }
  .upra-quick-card__arrow {
    top: 1.75rem;
    right: 1.75rem;
  }
  .upra-quick-card__body {
    width: 100%;
  }
  .upra-quick-card:hover .upra-quick-card__arrow {
    transform: translateX(4px);
  }
  
  .upra-form {
    padding: 1.75rem;
  }
	
  .upra-step {
    padding: 1.75rem 1.75rem 1.75rem 1.75rem;
    gap: 1.25rem;
    overflow: visible;
  }

  .upra-step__num {
    font-size: 2rem;
    flex-shrink: 0;
    min-width: 2.5rem;
  }

  /* ←  LA REGLA CORREGIDA  → */
  .upra-process-list {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }

  .upra-form-section {
    padding: 2rem 0 4rem;
  }
}










/* ============================================ */
/* UPRA · FOOTER · Glass card · Full width      */
/* ============================================ */

/* Ocultar footer original d'Astra */
.site-footer,
footer.site-footer,
.ast-footer-overlay {
	display: none !important;
}


/* ============================================ */
/* Contenidor exterior · ample complet           */
/* ============================================ */
.upra-footer {
	position: relative;
	padding: 0 0 2rem;
	margin-top: 18rem;
	color: #f5efe8;
	background: transparent;
}


/* ============================================ */
/* LÍNIA DIVISÒRIA SUPERIOR                      */
/* Marca clarament l'inici del footer            */
/* ============================================ */
.upra-footer__divider {
	position: relative;
	width: 100%;
	height: 1px;
	margin-bottom: 3rem;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(255, 255, 255, 0.18) 20%,
		rgba(255, 140, 66, 0.35) 50%,
		rgba(255, 255, 255, 0.18) 80%,
		transparent 100%
	);
}


/* ============================================ */
/* Container · ample complet sense max-width     */
/* ============================================ */
.upra-footer__container {
	width: 100%;
	padding: 0 1.5rem;
}


/* ============================================ */
/* GLASS CARD · ocupa ample disponible           */
/* ============================================ */
.upra-footer__card {
	position: relative;
	padding: 3rem 3rem 1.75rem;
	background: rgba(255, 255, 255, 0.025);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 22px;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	overflow: hidden;
}

/* Glow càlid intern · subtil */
.upra-footer__card::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 40% at 10% 0%, rgba(255, 107, 26, 0.08), transparent 60%),
		radial-gradient(ellipse 50% 35% at 90% 100%, rgba(200, 77, 14, 0.06), transparent 60%);
	pointer-events: none;
	z-index: 0;
}

.upra-footer__grid,
.upra-footer__bottom {
	position: relative;
	z-index: 1;
}


/* ============================================ */
/* GRID · 4 columnes                             */
/* ============================================ */
.upra-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
	gap: 3rem;
	align-items: start;
	padding-bottom: 2.5rem;
}


/* ============================================ */
/* COLUMNA LOGO                                  */
/* ============================================ */
.upra-footer__col--logo {
	padding-left: 0.15rem;
}

.upra-footer__logo-link {
	display: inline-block;
	transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.upra-footer__logo-link:hover {
	opacity: 0.85;
}

.upra-footer__logo-img {
	max-width: 220px;
	height: auto;
	display: block;
}


/* ============================================ */
/* TÍTOLS I LLISTES                              */
/* ============================================ */
.upra-footer__col-title {
	font-family: 'Manrope', sans-serif !important;
	font-size: 0.95rem;
	font-weight: 600;
	color: #f5efe8;
	margin: 0 0 1.25rem;
	letter-spacing: 0.01em;
}

.upra-footer__list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.upra-footer__link {
	font-family: 'Inter', sans-serif !important;
	font-size: 0.95rem;
	font-weight: 300;
	color: rgba(245, 239, 232, 0.65);
	text-decoration: none;
	transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
	display: inline-block;
}

.upra-footer__link:hover {
	color: #ff8c42;
}

.upra-footer__link--strong {
	color: rgba(245, 239, 232, 0.85);
	font-weight: 400;
}

/* Indicadors tipus índex · punt mitjà */
.upra-footer__list .upra-footer__link::before {
	content: "·";
	display: inline-block;
	margin-right: 0.6rem;
	color: rgba(255, 140, 66, 0.5);
	transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.upra-footer__list .upra-footer__link:hover::before {
	color: #ff8c42;
}


/* ============================================ */
/* XARXES SOCIALS                                */
/* ============================================ */
.upra-footer__social {
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
	display: flex;
	gap: 0.6rem;
}

.upra-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.025);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: #ff8c42;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.upra-footer__social-link svg {
	width: 18px;
	height: 18px;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.upra-footer__social-link:hover {
	border-color: rgba(255, 107, 26, 0.5);
	background: rgba(255, 107, 26, 0.1);
	transform: translateY(-2px);
}

.upra-footer__social-link:hover svg {
	transform: scale(1.1);
}


/* ============================================ */
/* BOTTOM BAR                                    */
/* ============================================ */
.upra-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1.25rem;
	padding-top: 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.upra-footer__copy {
	font-family: 'Inter', sans-serif !important;
	font-size: 0.85rem;
	font-weight: 300;
	color: rgba(245, 239, 232, 0.5);
	margin: 0;
}

.upra-footer__legal {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1.75rem;
	flex-wrap: wrap;
}

.upra-footer__link--small {
	font-size: 0.85rem;
	color: rgba(245, 239, 232, 0.55);
	font-weight: 300;
}


/* ============================================ */
/* Sense subratllat als enllaços                 */
/* ============================================ */
.upra-footer a,
.upra-footer a:hover,
.upra-footer a:focus,
.upra-footer a:active,
.upra-footer a:visited {
	text-decoration: none !important;
	border-bottom: none !important;
}

.upra-footer__legal .upra-footer__link::before {
	display: none;
}


/* ============================================ */
/* RESPONSIVE                                    */
/* ============================================ */
@media (max-width: 900px) {
	.upra-footer__card {
		padding: 2.5rem 2rem 1.5rem;
	}

	.upra-footer__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2.5rem 2rem;
		padding-bottom: 2rem;
	}

	.upra-footer__col--logo {
		grid-column: 1 / -1;
		margin-bottom: 0.5rem;
	}
}

@media (max-width: 640px) {
	.upra-footer {
		padding: 0 0 1.5rem;
		margin-top: 2.5rem;
	}

	.upra-footer__divider {
		margin-bottom: 2rem;
	}

	.upra-footer__container {
		padding: 0 1rem;
	}

	.upra-footer__card {
		padding: 2.25rem 1.75rem 1.25rem;
		border-radius: 18px;
	}

	.upra-footer__grid {
		grid-template-columns: 1fr;
		gap: 2.25rem;
	}

	.upra-footer__col--logo {
		grid-column: 1;
	}

	.upra-footer__logo-img {
		max-width: 120px;
	}

	.upra-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.upra-footer__legal {
		gap: 1.25rem;
	}
}
