:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #62706b;
  --line: #d9e0dd;
  --paper: #f7f6f0;
  --white: #ffffff;
  --green: #244c3e;
  --green-2: #3e7661;
  --clay: #b65f42;
  --gold: #d8a640;
  --blue: #346d8d;
  --shadow: 0 22px 70px rgba(23, 32, 29, 0.16);
  --soft-frame: 1px solid rgba(217, 224, 221, 0.92);
  --gold-frame: 1px solid rgba(216, 166, 64, 0.5);
  --soft-radius: 10px;
  --card-hover-shadow: 0 20px 48px rgba(23, 32, 29, 0.12);
  --soft-transition: 180ms ease;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  padding-top: 72px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  overscroll-behavior-x: none;
  overscroll-behavior-y: auto;
  touch-action: auto;
  -webkit-overflow-scrolling: touch;
}

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


/* =========================
   HEADER Y NAVEGACIÓN
   ========================= */

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;

  height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: clamp(18px, 3vw, 40px);

  background: rgba(247, 246, 240, 0.88);
  border-bottom: 1px solid rgba(217, 224, 221, 0.75);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 28px rgba(23, 32, 29, 0.06);

  overflow: visible;
  animation: arthiaxHeaderDrop 760ms var(--motion-spring) both;

  transition:
    background 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 246, 240, 0.96);
  border-bottom-color: rgba(216, 166, 64, 0.34);
  box-shadow: 0 16px 38px rgba(23, 32, 29, 0.1);
}

.brand {
  grid-column: 1;
  grid-row: 1;

  display: inline-flex;
  align-items: center;
  gap: 12px;

  min-width: max-content;

  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;

  white-space: nowrap;

  transition:
    transform var(--soft-transition),
    opacity var(--soft-transition);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.brand-logo,
.footer-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.top-nav {
  grid-column: 2;
  grid-row: 1;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);

  min-width: 0;

  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;

  overflow: hidden;
  white-space: nowrap;
}

.top-nav a {
  position: relative;
  flex: 0 0 auto;
  white-space: nowrap;

  transition:
    color var(--soft-transition),
    opacity var(--soft-transition);
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;

  height: 2px;
  border-radius: 999px;
  background: var(--gold);

  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--soft-transition);
}

.top-nav a:hover {
  color: var(--green);
}

.top-nav a:hover::after {
  transform: scaleX(1);
}

.language-toggle {
  grid-column: 3;
  grid-row: 1;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;

  min-width: max-content;

  padding: 3px;
  border: 1px solid rgba(216, 166, 64, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(216, 166, 64, 0.16);

  transition:
    transform var(--soft-transition),
    box-shadow var(--soft-transition),
    border-color var(--soft-transition);
}

.language-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(216, 166, 64, 0.95);
  box-shadow: 0 12px 30px rgba(216, 166, 64, 0.2);
}

.language-toggle a {
  display: grid;
  width: 44px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  color: var(--ink);
  transition:
    color 160ms ease,
    background 160ms ease;
}

.language-toggle a:hover,
.language-toggle a[aria-current="page"] {
  background: var(--gold);
  color: var(--ink);
}

.language-toggle a:focus-visible {
  outline: 3px solid #f3bf70;
  outline-offset: 2px;
}

.flag-icon {
  display: block;
  width: 30px;
  height: 18px;
  border-radius: 3px;
  box-shadow:
    0 0 0 1px rgba(23, 32, 29, 0.28),
    0 1px 2px rgba(23, 32, 29, 0.16);
  overflow: hidden;
}

.flag-es {
  background: linear-gradient(
    to bottom,
    #aa151b 0 25%,
    #f1bf00 25% 75%,
    #aa151b 75% 100%
  );
}

.flag-uk {
  background:
    linear-gradient(90deg, transparent 42%, #c8102e 42% 58%, transparent 58%),
    linear-gradient(0deg, transparent 36%, #c8102e 36% 64%, transparent 64%),
    linear-gradient(90deg, transparent 34%, #ffffff 34% 66%, transparent 66%),
    linear-gradient(0deg, transparent 26%, #ffffff 26% 74%, transparent 74%),
    linear-gradient(32deg, transparent 44%, #c8102e 44% 50%, #ffffff 50% 56%, transparent 56%),
    linear-gradient(-32deg, transparent 44%, #c8102e 44% 50%, #ffffff 50% 56%, transparent 56%),
    linear-gradient(32deg, transparent 38%, #ffffff 38% 62%, transparent 62%),
    linear-gradient(-32deg, transparent 38%, #ffffff 38% 62%, transparent 62%),
    #00247d;
}


/* =========================
   HERO
   ========================= */

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  padding: 118px clamp(18px, 5vw, 72px) 40px;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(20, 31, 28, 0.92),
      rgba(20, 31, 28, 0.56) 46%,
      rgba(20, 31, 28, 0.24)
    ),
    linear-gradient(0deg, rgba(20, 31, 28, 0.76), rgba(20, 31, 28, 0.06) 50%),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=85");
  background-size: cover;
  background-position: center calc(50% + var(--hero-shift, 0px));
  animation: arthiaxHeroPhoto 1300ms var(--motion-spring) both;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(1180px, 100%);
  min-width: 0;
  margin-inline-start: auto;
  margin-inline-end: auto;
  padding-bottom: 20px;
  box-sizing: border-box;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f3bf70;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
  animation: arthiaxHeroText 700ms var(--motion-spring) 180ms both;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(4.25rem, 13vw, 10.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero h1 {
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.24);
}

.hero-title-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.82em) rotate(5deg);
  animation: arthiaxCharRise 780ms var(--motion-spring) both;
  animation-delay: calc(260ms + (var(--char-index, 0) * 46ms));
  will-change: transform, opacity;
}

.hero-copy {
  width: min(720px, 100%);
  max-width: 100%;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.95rem, 1.45vw, 1.15rem);
  line-height: 1.42;
  overflow-wrap: anywhere;
  word-break: break-word;
  animation: arthiaxHeroText 720ms var(--motion-spring) 560ms both;
}

.callback-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  width: min(640px, 100%);
  margin: 0 0 24px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
  animation: arthiaxHeroText 740ms var(--motion-spring) 640ms both;
}

.callback-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--white);
  text-align: left;
  font-size: 0.82rem;
  font-weight: 850;
}

.callback-field span {
  color: #f3bf70;
  text-transform: uppercase;
}

.callback-phone-row {
  display: grid;
  grid-template-columns: minmax(104px, 0.34fr) minmax(0, 1fr);
  gap: 8px;
  align-items: end;
}

.callback-country,
.callback-number {
  min-width: 0;
}

.callback-country select,
.callback-field input {
  min-height: 48px;
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.callback-country select {
  padding-right: 30px;
  font-weight: 850;
}

.callback-country option {
  color: var(--ink);
  background: var(--white);
}

.callback-field input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.callback-country select:focus,
.callback-field input:focus {
  border-color: rgba(216, 166, 64, 0.95);
  background: rgba(255, 255, 255, 0.18);
}

.callback-form .button {
  min-width: 150px;
  color: var(--ink);
  background: var(--gold);
}

.callback-status {
  min-height: 52px;
  color: #10251f;
  border: 2px solid #d8a640;
  background: #fff8df;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(255, 255, 255, 0.72) inset;
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
  white-space: pre-line;
}

.form-status.callback-status[data-state="loading"] {
  color: #10251f;
  border-color: #d8a640;
  background: #fff8df;
}

.form-status.callback-status[data-state="error"] {
  color: #5f2418;
  border-color: #b65f42;
  background: #fff2ed;
}

.form-status.callback-status[data-state="success"][data-effect="received"] {
  color: #10251f;
  border-color: #d8a640;
  background: #fff8df;
  animation: arthiaxCallbackReceived 4200ms ease both;
}

.profile-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: stretch;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin-inline-start: 0;
  margin-inline-end: auto;
  box-sizing: border-box;
  padding-inline-end: 0;
}

.profile-card {
  position: relative;
  overflow: hidden;

  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--soft-radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
  cursor: pointer;
  touch-action: auto;
  -webkit-tap-highlight-color: rgba(216, 166, 64, 0.28);
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  min-width: 0;

  animation: arthiaxHeroText 760ms var(--motion-spring) both;
  animation-delay: calc(720ms + (var(--card-index, 0) * 90ms));
  animation-play-state: running;

  transition:
    transform var(--soft-transition),
    background var(--soft-transition),
    border-color var(--soft-transition),
    box-shadow var(--soft-transition);
}
.profile-card:nth-child(1) {
  --card-index: 0;
}

.profile-card:nth-child(2) {
  --card-index: 1;
}

.profile-card:nth-child(3) {
  --card-index: 2;
}

.profile-card:nth-child(4) {
  --card-index: 3;
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  background:
    linear-gradient(
      135deg,
      rgba(216, 166, 64, 0.22),
      transparent 34%,
      rgba(255, 255, 255, 0.08)
    );

  opacity: 0;
  transition: opacity var(--soft-transition);
}

.profile-card::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -42%;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-15deg);
  opacity: 0;
}

.profile-card:hover::before {
  opacity: 1;
}

.profile-card:hover::after {
  animation: arthiaxSheen 760ms ease;
  opacity: 1;
}

.profile-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.19);
  border-color: rgba(216, 166, 64, 0.68);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.2);
}

.profile-card:active {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.55);
}

.profile-card:focus-visible {
  outline: 3px solid #f3bf70;
  outline-offset: 2px;
}

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
}

.profile-card .icon {
  transition:
    transform var(--soft-transition),
    box-shadow var(--soft-transition);
}

.profile-card:hover .icon {
  transform: scale(1.04);
  box-shadow: 0 10px 24px rgba(216, 166, 64, 0.24);
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.profile-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.05rem;
  line-height: 1.15;
  white-space: normal;
}

.profile-card small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.3;
  white-space: normal;
}

.hero-marquee {
  width: min(1040px, 100%);
  margin-top: clamp(26px, 5vw, 70px);
  overflow: hidden;
  opacity: 0;
  mask-image: linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent);
  animation: arthiaxHeroText 720ms var(--motion-spring) 1080ms both;
}

.hero-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: clamp(26px, 4vw, 56px);
  animation: arthiaxMarquee 28s linear infinite;
}

.hero-marquee span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 800;
  white-space: nowrap;
}

.hero-marquee span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(216, 166, 64, 0.42);
}


/* =========================
   SECCIONES
   ========================= */

.section {
  padding: 86px clamp(18px, 5vw, 72px);
}

#perfiles,
#modelo,
#casos,
#conceptos,
#ciudades,
#contacto {
  scroll-margin-top: 116px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
  animation: arthiaxFadeUp 520ms ease both;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 10px 0 10px;
  font-size: 1.22rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intro-grid article {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--soft-radius);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(23, 32, 29, 0.07);

  animation: arthiaxFadeUp 520ms ease both;

  transition:
    transform var(--soft-transition),
    box-shadow var(--soft-transition),
    border-color var(--soft-transition),
    background var(--soft-transition);
}

.intro-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 166, 64, 0.62);
  box-shadow: var(--card-hover-shadow);
}

.metric {
  color: var(--blue);
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 850;
  line-height: 1;

  transition:
    color var(--soft-transition),
    transform var(--soft-transition);
}

.intro-grid article:hover .metric {
  color: var(--green);
  transform: translateY(-2px);
}

.intro-grid p,
.pathway p,
.city-copy p,
.contact-copy p,
.success-intro,
.concepts-intro,
.concept-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.58;
}

/* =========================
   CASOS DE EXITO
   ========================= */

.success-cases {
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
}

.success-cases .section-heading {
  max-width: 820px;
}

.success-intro {
  max-width: 660px;
  margin: 16px 0 0;
}

.case-carousel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.case-stage {
  position: relative;
  min-height: clamp(390px, 43vw, 500px);
  overflow: visible;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.case-cover {
  position: absolute;
  top: 50%;
  left: 50%;
  overflow: hidden;
  width: clamp(330px, 35vw, 460px);
  padding: 0;
  border: 1px solid rgba(217, 224, 221, 0.92);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 22px 50px rgba(23, 32, 29, 0.14);
  cursor: pointer;
  transform-style: preserve-3d;
  transition:
    transform 760ms var(--motion-spring),
    opacity 760ms var(--motion-spring),
    filter 760ms var(--motion-spring),
    border-color var(--soft-transition);
}

.case-cover img {
  display: block;
  width: 100%;
  height: clamp(210px, 20vw, 285px);
  object-fit: cover;
}

.case-listing-meta {
  display: grid;
  gap: 10px;
  padding: 18px;
  text-align: left;
}

.case-listing-meta strong {
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.12;
}

.case-price {
  color: var(--ink);
  font-size: 1.34rem;
  font-weight: 820;
  line-height: 1;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
  color: var(--muted);
}

.case-stats small {
  position: relative;
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.18;
}

.case-stats small + small {
  padding-left: 12px;
}

.case-stats small + small::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: rgba(217, 224, 221, 0.9);
}

.case-cover[data-slot="0"] {
  z-index: 5;
  opacity: 1;
  filter: saturate(1.05);
  transform: translate3d(-50%, -50%, 120px) rotateY(0deg) scale(1);
}

.case-cover[data-slot="-1"] {
  z-index: 3;
  opacity: 0.68;
  filter: saturate(0.78) brightness(0.84);
  transform: translate3d(calc(-50% - 58%), calc(-50% + 12px), -100px) rotateY(30deg) scale(0.82);
}

.case-cover[data-slot="1"] {
  z-index: 3;
  opacity: 0.68;
  filter: saturate(0.78) brightness(0.84);
  transform: translate3d(calc(-50% + 58%), calc(-50% + 12px), -100px) rotateY(-30deg) scale(0.82);
}

.case-cover[data-slot="-2"],
.case-cover[data-slot="2"] {
  z-index: 1;
  opacity: 0.26;
  filter: saturate(0.56) brightness(0.78) blur(1px);
  transform: translate3d(calc(-50% + 92%), calc(-50% + 30px), -240px) rotateY(-42deg) scale(0.66);
}

.case-controls {
  position: absolute;
  z-index: 8;
  inset: 0;
  pointer-events: none;
}

.case-nav {
  position: absolute;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(216, 166, 64, 0.76);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(23, 32, 29, 0.16);
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  transition:
    transform var(--soft-transition),
    border-color var(--soft-transition),
    box-shadow var(--soft-transition),
    background var(--soft-transition);
}

.case-nav:hover,
.case-nav:focus-visible {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(23, 32, 29, 0.2);
  transform: translateY(-50%) scale(1.04);
}

.case-nav:focus-visible {
  outline: 3px solid #f3bf70;
  outline-offset: 3px;
}

.case-nav span {
  display: block;
  margin-top: -3px;
  font-size: 2.4rem;
  line-height: 1;
}

.case-nav-prev {
  left: 4px;
}

.case-nav-next {
  right: 4px;
}

.case-cover:hover,
.case-cover:focus-visible {
  border-color: rgba(216, 166, 64, 0.82);
  box-shadow: 0 28px 60px rgba(23, 32, 29, 0.18);
}

.case-cover:focus-visible {
  outline: 3px solid #f3bf70;
  outline-offset: 3px;
}

.case-detail {
  padding: 26px;
  border: 1px solid rgba(217, 224, 221, 0.92);
  border-radius: 8px;
  background: #fbfbf8;
  box-shadow: 0 18px 42px rgba(23, 32, 29, 0.08);
}

.case-detail h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
}

.case-detail dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.case-detail div {
  display: grid;
  gap: 5px;
}

.case-detail dt {
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.case-detail dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.48;
}

.case-detail-link {
  margin-top: 24px;
}

.concepts {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f3f5f1 0%, #eef2ed 100%);
}

.concepts::before {
  content: "";
  position: absolute;
  top: -140px;
  left: -140px;

  width: 320px;
  height: 320px;
  border-radius: 999px;

  background: rgba(216, 166, 64, 0.12);
  filter: blur(12px);
  pointer-events: none;
}

.concepts .section-heading,
.concepts-grid {
  position: relative;
  z-index: 1;
}

.concepts-intro {
  max-width: 760px;
  margin: 16px 0 0;
}

.concepts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.concept-card {
  position: relative;
  overflow: hidden;

  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
  padding: 24px;
  border: 1px solid #d2dbd6;
  border-radius: var(--soft-radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(23, 32, 29, 0.06);

  animation: arthiaxFadeUp 520ms ease both;

  transition:
    transform var(--soft-transition),
    box-shadow var(--soft-transition),
    border-color var(--soft-transition),
    background var(--soft-transition);
}

.concept-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;

  width: 3px;
  background: var(--gold);

  opacity: 0;
  transition: opacity var(--soft-transition);
}

.concept-card:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 166, 64, 0.62);
  box-shadow: var(--card-hover-shadow);
}

.concept-card:hover::after {
  opacity: 1;
}

.concept-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.2;
}


/* =========================
   BANDA CTA
   ========================= */

.band {
  padding: 0 clamp(18px, 5vw, 72px);
}

.band-inner {
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 24px 56px rgba(23, 32, 29, 0.18);

  animation: arthiaxFadeUp 520ms ease both;
}

.band-inner::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;

  width: 210px;
  height: 210px;
  border-radius: 999px;

  background: rgba(216, 166, 64, 0.24);
  filter: blur(4px);
}

.band-inner > * {
  position: relative;
  z-index: 1;
}

.band-inner:hover {
  animation: arthiaxSoftGlow 900ms ease;
}

.band-inner p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.25rem, 2.6vw, 1.95rem);
  line-height: 1.12;
  font-weight: 780;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font: inherit;
  font-weight: 800;
  cursor: pointer;

  transition:
    transform var(--soft-transition),
    box-shadow var(--soft-transition),
    background var(--soft-transition),
    color var(--soft-transition);
}

.button::after,
.whatsapp-button::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -46%;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-15deg);
  opacity: 0;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(23, 32, 29, 0.16);
}

.button:hover::after,
.whatsapp-button:hover::after {
  animation: arthiaxSheen 680ms ease;
  opacity: 1;
}

.button:active {
  transform: translateY(0);
}

.button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.button-light {
  flex: 0 0 auto;
  color: var(--green);
  background: var(--white);
}


/* =========================
   PATHWAYS
   ========================= */

.pathways {
  display: grid;
  gap: 0;
}

.pathway {
  position: relative;

  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(24px, 6vw, 86px);
  padding: 42px 0;
  border-bottom: 1px solid var(--line);

  animation: arthiaxFadeUp 520ms ease both;

  transition:
    background var(--soft-transition),
    padding-left var(--soft-transition);
}

.pathway::before {
  content: "";
  position: absolute;
  left: 0;
  top: 42px;
  bottom: 42px;

  width: 3px;
  border-radius: 999px;
  background: var(--gold);

  opacity: 0;
  transition: opacity var(--soft-transition);
}

.pathway:hover::before {
  opacity: 1;
}

.pathway:hover {
  background: linear-gradient(
    90deg,
    rgba(216, 166, 64, 0.08),
    transparent 42%
  );
}

.pathway:first-child {
  border-top: 1px solid var(--line);
}

.pathway h2 {
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
}

.pathway p {
  margin: 0;
}


/* =========================
   CIUDADES
   ========================= */

.cities {
  overflow: visible;
  padding-top: 72px;
  padding-bottom: 64px;
  background: var(--white);
}

.cities .section-heading {
  max-width: none;
  margin-bottom: 22px;
  padding-inline: 2px;
}

.city-claim {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.58;
}

.city-claim > span {
  display: block;
}

.rocket-launch {
  display: inline-block;
  transform-origin: 55% 18%;
  animation: arthiaxRocketLaunch 2.1s var(--motion-ease) infinite;
  will-change: transform, opacity, filter;
}

.city-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: center;

  animation: arthiaxFadeUp 520ms ease both;
}

.map-panel {
  position: relative;
  min-height: 390px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--soft-radius);
  background: #fbfbf8;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(23, 32, 29, 0.08);

  transition:
    transform var(--soft-transition),
    box-shadow var(--soft-transition),
    border-color var(--soft-transition),
    background var(--soft-transition);
}

.map-panel:hover {
  border-color: rgba(216, 166, 64, 0.58);
  box-shadow: 0 24px 54px rgba(23, 32, 29, 0.12);
}

.iberia-map {
  display: block;
  width: 100%;
  height: 100%;
}

.iberia-map .province-upcoming {
  animation: arthiaxProvincePulse 1.35s ease-in-out infinite;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0 2px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 650;

  transition:
    transform var(--soft-transition),
    color var(--soft-transition);
}

.check-list li:hover {
  transform: translateX(3px);
  color: var(--green);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--gold);
}


/* =========================
   PÁGINA DE PROYECTO
   ========================= */

.project-page {
  background: #fbfbf8;
}

.project-main {
  min-height: calc(100vh - 72px);
}

.project-hero,
.project-section {
  padding-inline: clamp(18px, 5vw, 72px);
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(54px, 8vw, 96px);
  padding-bottom: clamp(42px, 7vw, 88px);
  background: linear-gradient(180deg, #fbfbf8 0%, #f2f3ee 100%);
}

.project-copy {
  max-width: 640px;
}

.project-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 850;
  transition:
    color var(--soft-transition),
    transform var(--soft-transition);
}

.project-back:hover {
  color: var(--clay);
  transform: translateX(-3px);
}

.project-back:focus-visible {
  outline: 3px solid #f3bf70;
  outline-offset: 4px;
}

.project-copy h1 {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.9;
}

.project-summary {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.58;
}

.project-hero-media {
  min-width: 0;
}

.project-hero-media img,
.project-gallery img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(23, 32, 29, 0.13);
}

.project-hero-media img {
  aspect-ratio: 4 / 3;
}

.project-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.project-metric {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(217, 224, 221, 0.92);
  border-radius: 8px;
  background: var(--white);
}

.project-metric dt {
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.project-metric dd {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 850;
  line-height: 1.12;
}

.project-section {
  padding-top: clamp(52px, 7vw, 86px);
  padding-bottom: clamp(52px, 7vw, 86px);
}

.project-section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.project-section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
}

.project-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 14px;
}

.project-gallery figure {
  margin: 0;
}

.project-gallery figure:first-child {
  grid-row: span 2;
}

.project-gallery img {
  height: 100%;
  min-height: 240px;
  aspect-ratio: 4 / 3;
}

.project-gallery figure:first-child img {
  aspect-ratio: 1 / 1;
}

.project-gallery figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.project-economics {
  background: var(--white);
}

.project-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.project-scope {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-scope li {
  position: relative;
  padding: 0 0 0 26px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.54;
}

.project-scope li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gold);
}

.project-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid rgba(217, 224, 221, 0.92);
  border-radius: 8px;
  background: #fbfbf8;
  box-shadow: 0 18px 42px rgba(23, 32, 29, 0.08);
}

.project-table th,
.project-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(217, 224, 221, 0.82);
  text-align: left;
}

.project-table th {
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.project-table td {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 720;
}

.project-table tr:last-child th,
.project-table tr:last-child td {
  border-bottom: 0;
}

.project-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.52;
}

.project-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(30px, 5vw, 54px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--green);
}

.project-cta p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.12;
}


/* =========================
   CONTACTO
   ========================= */

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(24px, 6vw, 80px);
  padding: 86px clamp(18px, 5vw, 72px);
  background: #e9eee9;
}

.category-selector {
  max-width: 360px;
  margin-top: 28px;
}

.forms-shell {
  min-width: 0;
}

.contact-form {
  position: relative;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--soft-radius);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(23, 32, 29, 0.09);

  animation: arthiaxFadeUp 520ms ease both;

  transition:
    transform var(--soft-transition),
    box-shadow var(--soft-transition),
    border-color var(--soft-transition),
    background var(--soft-transition);
}

.contact-form:hover {
  border-color: rgba(216, 166, 64, 0.5);
  box-shadow: 0 24px 58px rgba(23, 32, 29, 0.12);
}

.contact-form[hidden] {
  display: none;
}

.contact-form.is-switching {
  animation: arthiaxFormSwap 460ms var(--motion-spring) both;
}

.form-heading {
  grid-column: 1 / -1;
}

.form-heading h3 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.08;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfbf8;
  font: inherit;

  transition:
    border-color var(--soft-transition),
    box-shadow var(--soft-transition),
    background var(--soft-transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(216, 166, 64, 0.95);
  box-shadow: 0 0 0 3px rgba(216, 166, 64, 0.2);
  background: var(--white);
}

textarea {
  resize: vertical;
}

.choice-group,
.range-card {
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-group legend,
.range-card legend {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.check-card,
.radio-card {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
  font-size: 0.9rem;
  font-weight: 750;

  transition:
    border-color var(--soft-transition),
    box-shadow var(--soft-transition),
    background var(--soft-transition);
}

.check-card:hover,
.radio-card:hover,
.range-card:hover {
  border-color: rgba(216, 166, 64, 0.58);
  background: #ffffff;
}

.check-card input,
.radio-card input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  accent-color: var(--green);
}

.range-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;

  transition:
    border-color var(--soft-transition),
    box-shadow var(--soft-transition),
    background var(--soft-transition);
}

.range-output {
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 850;
}

.range-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

input[type="range"] {
  min-height: 26px;
  padding: 0;
  accent-color: var(--green);
}

.form-actions {
  display: flex;
  grid-column: 1 / -1;
  gap: 12px;
}

.form-actions .button,
.whatsapp-button {
  flex: 1 1 0;
}

.whatsapp-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid rgba(31, 157, 85, 0.34);
  border-radius: 8px;
  color: #128c4a;
  background: #e6f8ee;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 850;

  transition:
    transform var(--soft-transition),
    box-shadow var(--soft-transition),
    background var(--soft-transition),
    color var(--soft-transition);
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(23, 32, 29, 0.16);
}

.whatsapp-button:active {
  transform: translateY(0);
}

.whatsapp-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.whatsapp-note {
  flex: 0 0 auto;
  align-self: center;
  color: #000000;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.floating-whatsapp {
  position: fixed;
  right: clamp(18px, 4vw, 34px);
  bottom: clamp(18px, 4vw, 34px);
  z-index: 35;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: 0 18px 42px rgba(23, 32, 29, 0.24);

  transition:
    transform var(--soft-transition),
    box-shadow var(--soft-transition),
    opacity var(--soft-transition),
    visibility var(--soft-transition);
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 22px 48px rgba(23, 32, 29, 0.3);
}

.floating-whatsapp:focus-visible {
  outline: 3px solid #f3bf70;
  outline-offset: 3px;
}

.floating-whatsapp img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.floating-whatsapp.is-hidden {
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.full,
.form-status {
  grid-column: 1 / -1;
}

.form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.4;
}

.form-status[hidden] {
  display: none;
}

.form-status[data-state="loading"] {
  color: #1f536e;
  background: rgba(52, 109, 141, 0.13);
}

.form-status[data-state="success"] {
  color: var(--green);
  background: rgba(62, 118, 97, 0.14);
}

.form-status[data-state="error"] {
  color: #8f3d28;
  background: rgba(182, 95, 66, 0.14);
}


/* =========================
   FOOTER
   ========================= */

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #c8cec8;
  font-size: 0.9rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 10px rgba(52, 109, 141, 0.36));
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 850;
}


/* =========================
   ANIMACIONES
   ========================= */

@keyframes arthiaxHeaderDrop {
  from {
    opacity: 0;
    transform: translateY(-18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes arthiaxHeroPhoto {
  from {
    opacity: 0;
    filter: blur(10px) saturate(0.9);
    transform: scale(1.16);
  }

  to {
    opacity: 1;
    filter: blur(0) saturate(1);
    transform: scale(1.06);
  }
}

@keyframes arthiaxHeroText {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes arthiaxCharRise {
  from {
    opacity: 0;
    transform: translateY(0.82em) rotate(5deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes arthiaxMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes arthiaxSheen {
  from {
    transform: translateX(0) skewX(-15deg);
  }

  to {
    transform: translateX(430%) skewX(-15deg);
  }
}

@keyframes arthiaxFormSwap {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes arthiaxCallbackReceived {
  0% {
    opacity: 0;
    font-size: 0.9rem;
    transform: translateY(8px) scale(0.96);
  }

  18% {
    opacity: 1;
    font-size: 1rem;
    transform: translateY(0) scale(1);
  }

  38% {
    opacity: 1;
    font-size: 1.08rem;
    transform: translateY(0) scale(1.06);
  }

  72% {
    opacity: 1;
    font-size: 1.08rem;
    transform: translateY(0) scale(1.06);
  }

  100% {
    opacity: 0;
    font-size: 1.08rem;
    transform: translateY(-8px) scale(1.02);
  }
}

@keyframes arthiaxProvincePulse {
  0%,
  100% {
    fill: #5f8f63;
  }

  50% {
    fill: #36cf65;
  }
}

@keyframes arthiaxRocketLaunch {
  0%,
  18% {
    opacity: 1;
    filter: drop-shadow(0 0 0 rgba(216, 166, 64, 0));
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }

  56% {
    opacity: 1;
    filter: drop-shadow(0 10px 12px rgba(216, 166, 64, 0.28));
    transform: translate3d(30px, -48px, 0) rotate(-8deg);
  }

  70% {
    opacity: 0;
    filter: drop-shadow(0 16px 18px rgba(216, 166, 64, 0.08));
    transform: translate3d(46px, -74px, 0) rotate(-8deg);
  }

  71% {
    opacity: 0;
    filter: drop-shadow(0 0 0 rgba(216, 166, 64, 0));
    transform: translate3d(-8px, 12px, 0) rotate(-8deg);
  }

  100% {
    opacity: 1;
    filter: drop-shadow(0 0 0 rgba(216, 166, 64, 0));
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }
}

@keyframes arthiaxFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.js-motion [data-reveal] {
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 32px, 0) scale(0.985);
  animation: none;
  transition:
    opacity 760ms var(--motion-spring),
    filter 760ms var(--motion-spring),
    transform 760ms var(--motion-spring),
    clip-path 760ms var(--motion-spring);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

.js-motion [data-reveal="slide-left"] {
  transform: translate3d(-34px, 0, 0) scale(0.985);
}

.js-motion [data-reveal="slide-right"] {
  transform: translate3d(34px, 0, 0) scale(0.985);
}

.js-motion [data-reveal="clip"] {
  clip-path: inset(14% 0 0 0 round var(--soft-radius));
}

.js-motion [data-reveal].is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
  clip-path: inset(0 0 0 0 round var(--soft-radius));
}

.js-motion .band-inner:hover {
  animation: arthiaxSoftGlow 900ms ease;
}

.js-motion .contact-form.is-switching {
  animation: arthiaxFormSwap 460ms var(--motion-spring) both;
}

@keyframes arthiaxSoftGlow {
  0% {
    box-shadow: 0 24px 56px rgba(23, 32, 29, 0.18);
  }

  50% {
    box-shadow:
      0 24px 56px rgba(23, 32, 29, 0.18),
      0 0 28px rgba(216, 166, 64, 0.18);
  }

  100% {
    box-shadow: 0 24px 56px rgba(23, 32, 29, 0.18);
  }
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 920px) {
  #perfiles,
  #modelo,
  #casos,
  #conceptos,
  #ciudades,
  #contacto {
    scroll-margin-top: 150px;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .profile-actions,
  .intro-grid,
  .case-carousel,
  .concepts-grid,
  .city-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .case-carousel {
    gap: 28px;
  }

  .case-stage {
    min-height: 440px;
  }

  .case-nav-prev {
    left: 10px;
  }

  .case-nav-next {
    right: 10px;
  }

  .case-detail {
    max-width: 640px;
    margin-inline: auto;
  }

  .project-hero,
  .project-detail-grid {
    grid-template-columns: 1fr;
  }

  .project-copy {
    max-width: none;
  }

  .project-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .project-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-actions {
    max-width: 520px;
    margin-inline: auto;
  }

  .profile-card {
    min-height: 132px;
  }

  .pathway {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .band-inner,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* =========================
   MÓVIL
   ========================= */

@media (max-width: 768px) {
  body {
    padding-top: 86px;
  }

  .site-header {
    height: 86px;
    padding: 4px 14px 6px;

    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 38px 34px;
    align-items: center;

    column-gap: 10px;
    row-gap: 4px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    min-width: 0;
    max-width: 100%;

    overflow: hidden;
    white-space: nowrap;

    font-size: 0.95rem;
    line-height: 1;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
  }

  .brand span,
  .brand a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .language-toggle {
    grid-column: 2;
    grid-row: 1;

    justify-self: end;

    padding: 2px;
    min-width: max-content;
  }

  .language-toggle a {
    width: 38px;
    height: 28px;
  }

  .flag-icon {
    width: 24px;
    height: 16px;
  }

  .top-nav {
    grid-column: 1 / -1;
    grid-row: 2;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;

    width: 100%;
    height: 34px;

    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;

    font-size: 0.8rem;
  }

  .top-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .top-nav a::after {
    bottom: -5px;
  }

  .hero {
    padding-top: 96px;
  }

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

  .hero h1 {
    margin-inline: auto;
  }

  .hero-copy {
    width: min(34rem, 100%);
    margin: 16px auto 22px;
    font-size: 0.95rem;
    line-height: 1.38;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .callback-form {
    margin-inline: auto;
  }

  .hero-marquee {
    margin-inline: auto;
    margin-top: 22px;
  }

  .intro-grid p,
  .pathway p,
  .city-copy p,
  .contact-copy p,
  .success-intro,
  .concepts-intro,
  .concept-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .case-stage {
    min-height: 410px;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
  }

  .case-cover {
    width: clamp(300px, 76vw, 410px);
    touch-action: pan-y;
    -webkit-user-drag: none;
  }

  .case-cover img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
  }

  .case-controls {
    z-index: 30;
    transform: translateZ(280px);
  }

  .case-nav {
    z-index: 31;
  }

  .profile-card small {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .profile-card {
    text-align: left;
  }

  .band-inner p {
    font-size: 1.15rem;
    line-height: 1.14;
  }

  .check-list li {
    font-size: 0.9rem;
  }

  .profile-card:hover,
  .intro-grid article:hover,
  .concept-card:hover,
  .map-panel:hover,
  .contact-form:hover {
    transform: none;
  }

  .pathway:hover {
    background: transparent;
  }

  .check-list li:hover {
    transform: none;
  }
}


/* =========================
   MÓVIL PEQUEÑO
   ========================= */

@media (max-width: 560px) {
  .hero {
    padding-inline: 14px;
    padding-bottom: 20px;
  }

  .hero-marquee {
    width: 100%;
    margin-top: 18px;
  }

  .hero-marquee-track {
    gap: 24px;
    animation-duration: 22s;
  }

  .section,
  .contact-section {
    padding: 62px 14px;
  }

  .band {
    padding-inline: 14px;
  }

  .profile-actions {
    gap: 8px;
    padding-inline-end: 0;
  }

  .hero-copy {
    width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .callback-form {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 9px;
  }

  .callback-form .button {
    width: 100%;
    min-width: 0;
  }

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

  .success-cases {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .case-stage {
    min-height: 450px;
  }

  .case-cover {
    width: min(86vw, 340px);
  }

  .case-nav {
    width: 42px;
    height: 42px;
  }

  .case-nav span {
    font-size: 2.1rem;
  }

  .case-controls {
    inset: auto 0 0;
    display: flex;
    height: 46px;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }

  .case-nav {
    position: static;
    transform: none;
  }

  .case-nav:hover,
  .case-nav:focus-visible {
    transform: scale(1.04);
  }

  .case-cover[data-slot="-1"] {
    transform: translate3d(calc(-50% - 34%), calc(-50% + 12px), -100px) rotateY(30deg) scale(0.78);
  }

  .case-cover[data-slot="1"] {
    transform: translate3d(calc(-50% + 34%), calc(-50% + 12px), -100px) rotateY(-30deg) scale(0.78);
  }

  .case-cover[data-slot="-2"],
  .case-cover[data-slot="2"] {
    transform: translate3d(calc(-50% + 54%), calc(-50% + 28px), -240px) rotateY(-42deg) scale(0.6);
  }

  .case-detail {
    padding: 20px;
  }

  .case-detail-link {
    width: 100%;
  }

  .project-hero,
  .project-section {
    padding-inline: 14px;
  }

  .project-hero {
    padding-top: 42px;
  }

  .project-back {
    margin-bottom: 24px;
  }

  .project-metrics,
  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery figure:first-child {
    grid-row: auto;
  }

  .project-gallery img,
  .project-gallery figure:first-child img {
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }

  .project-table th,
  .project-table td {
    display: block;
    width: 100%;
    padding: 12px 14px;
  }

  .project-table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .project-table td {
    padding-top: 0;
  }

  .project-cta {
    padding-inline: 14px;
  }

  .concept-card {
    min-height: auto;
    padding: 18px;
  }

  .profile-card {
    min-height: 78px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .profile-card span:last-child {
    min-width: 0;
    overflow: hidden;
  }

  .profile-card strong,
  .profile-card small {
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  .profile-card .icon {
    width: 34px;
    height: 34px;
  }

  .profile-card .icon svg {
    width: 20px;
    height: 20px;
  }

  .profile-card strong {
    margin-bottom: 3px;
    font-size: 0.96rem;
  }

  .profile-card small {
    font-size: 0.74rem;
    line-height: 1.22;
  }

  .button,
  .whatsapp-button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .whatsapp-icon {
    width: 22px;
    height: 22px;
  }

  .floating-whatsapp,
  .floating-whatsapp img {
    width: 81px;
    height: 81px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .choice-grid,
  .choice-grid-three,
  .range-pair,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .whatsapp-note {
    align-self: flex-start;
  }

  .map-panel {
    min-height: 320px;
  }
}


/* =========================
   ACCESIBILIDAD: MENOS MOVIMIENTO
   ========================= */

@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .section-heading,
  .profile-card,
  .intro-grid article,
  .concept-card,
  .pathway,
  .city-layout,
  .contact-form,
  .callback-form,
  .band-inner,
  .site-header,
  .hero-photo,
  .hero .eyebrow,
  .hero-copy,
  .hero-title-char,
  .profile-card,
  .hero-marquee,
  .hero-marquee-track,
  .rocket-launch,
  .iberia-map .province-upcoming,
  .contact-form.is-switching {
    animation: none;
  }

  .js-motion [data-reveal],
  .js-motion [data-reveal].is-visible {
    opacity: 1;
    filter: none;
    transform: none;
    clip-path: none;
    transition: none;
  }

  .hero-title-char {
    opacity: 1;
    transform: none;
  }

  * {
    scroll-behavior: auto;
  }
}
