/* ============================================================
   EDOS GROUP — Hero + Servicios
   Tamaños v2 (sobrios) + paleta v3 (premium black & gold)
   ============================================================ */

:root {
  /* Fondos (manual de marca) */
  --bg-main: #07111d;
  --bg-secondary: #111a27;
  --bg-card: #131e2c;

  /* Dorados */
  --gold: #d4af37;
  --gold-bright: #e6b84a;
  --gold-dark: #a97916;
  --gold-light: #f2d16b;
  --gold-gradient: linear-gradient(135deg, #f2d16b 0%, #d4af37 45%, #a97916 100%);
  --gold-gradient-btn: linear-gradient(135deg, #f2d16b 0%, #d4af37 45%, #b88920 100%);

  /* Texto */
  --text: #f8fafc;
  --text-2: #cbd5e1;
  --text-muted: #94a3b8;

  /* Bordes */
  --border-soft: rgba(148, 163, 184, 0.14);
  --border-gold: rgba(212, 175, 55, 0.32);

  --radius: 10px;
  --radius-lg: 14px;
  --easing: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", "Geist", "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

/* ============ HIGHLIGHTS ============ */

.highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow-center {
  display: block;
  text-align: center;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 0;
  background: rgba(7, 17, 29, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  transition: padding 240ms var(--easing), background 240ms var(--easing), border-color 240ms var(--easing), box-shadow 240ms var(--easing);
}

.header.is-scrolled {
  padding: 8px 0;
  background: rgba(7, 17, 29, 0.92);
  border-bottom-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 32px;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.brand picture,
.brand picture img {
  display: block;
}

.brand img {
  height: 42px;
  width: auto;
  transition: height 240ms var(--easing), transform 240ms var(--easing);
}

.brand:hover img {
  transform: scale(1.03);
}

.header.is-scrolled .brand img {
  height: 36px;
}

/* ============ NAV LINKS ============ */

.nav-links {
  display: flex;
  justify-content: center;
  gap: 42px;
}

.nav-link {
  position: relative;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 200ms var(--easing);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 240ms var(--easing);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

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

.header-follow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(203, 213, 225, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.header-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border: 0;
  color: rgba(242, 209, 107, 0.88);
  background: transparent;
  transition: transform 220ms var(--easing), color 220ms var(--easing);
}

.header-social-link:hover,
.header-social-link:focus-visible {
  color: var(--gold-light);
  transform: translateY(-1px) scale(1.05);
}

.header-social-link svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============ FLOATING CONTACT ============ */

.floating-contact {
  position: absolute;
  top: 56%;
  right: 0;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-height: 166px;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-right: 0;
  border-radius: 7px 0 0 7px;
  background:
    linear-gradient(180deg, rgba(19, 30, 44, 0.94), rgba(7, 17, 29, 0.96)),
    var(--bg-secondary);
  opacity: 0.9;
  box-shadow: -6px 14px 28px rgba(7, 17, 29, 0.14);
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(-50%);
  transition: width 260ms var(--easing), opacity 260ms var(--easing), border-color 260ms var(--easing), box-shadow 260ms var(--easing), background 260ms var(--easing);
}

.floating-contact::before {
  content: "";
  position: absolute;
  inset: 14px auto 14px 0;
  width: 2px;
  border-radius: 999px;
  background: var(--gold-gradient);
  opacity: 0.9;
}

.floating-contact span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: rgba(248, 250, 252, 0.92);
  font-size: 0.66rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.floating-contact:hover,
.floating-contact:focus-visible {
  width: 34px;
  opacity: 1;
  border-color: rgba(212, 175, 55, 0.48);
  background:
    linear-gradient(180deg, rgba(19, 30, 44, 0.98), rgba(7, 17, 29, 0.98)),
    var(--bg-secondary);
  box-shadow: -8px 18px 36px rgba(7, 17, 29, 0.18), 0 0 24px rgba(212, 175, 55, 0.08);
}

/* ============ NAV TOGGLE (mobile) ============ */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  background: rgba(248, 250, 252, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 220ms var(--easing), opacity 220ms var(--easing);
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero {
  position: relative;
  min-height: 100vh;
  padding: 92px 0 28px;
  overflow: hidden;
  background: var(--bg-main);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero/official-statue.webp');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  animation: bgBreathe 14s ease-in-out infinite;
}

@keyframes bgBreathe {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 70%, rgba(7, 17, 29, 0.88) 100%),
    linear-gradient(90deg, rgba(7, 17, 29, 0.96) 0%, rgba(7, 17, 29, 0.86) 22%, rgba(7, 17, 29, 0.5) 42%, rgba(7, 17, 29, 0.1) 56%, transparent 68%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248, 250, 252, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 250, 252, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 30% 50%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 30% 50%, #000 0%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: calc(100vh - 120px);
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

.hero-badge {
  animation: fadeUp 0.8s var(--easing) both;
}

.hero-title {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
  animation: fadeUp 0.8s var(--easing) 0.1s both;
}

.hero-dynamic-line {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.hero-word-rotator {
  position: relative;
  display: inline-grid;
  width: var(--rotator-width, auto);
  min-width: 3.12em;
  vertical-align: baseline;
  white-space: nowrap;
  transition: width 320ms var(--easing);
}

.hero-word-rotator span {
  grid-area: 1 / 1;
  display: inline-block;
  font-size: 1.12em;
  font-weight: 700;
  line-height: 0.96;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.16);
  transition: opacity 220ms var(--easing), transform 220ms var(--easing), filter 220ms var(--easing);
}

.hero-word-rotator span.is-changing {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(0.18em);
}

.hero-word-measure {
  position: absolute;
  inset: auto auto 0 0;
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
}

.hero-word-suffix {
  display: inline-block;
  margin-left: 0.38em;
  transition: transform 320ms var(--easing);
}

.hero-description {
  margin-bottom: 28px;
  max-width: 650px;
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: -0.005em;
  animation: fadeUp 0.8s var(--easing) 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  animation: fadeUp 0.8s var(--easing) 0.3s both;
}

/* ============ BUTTONS ============ */

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid rgba(242, 209, 107, 0.45);
  border-radius: 8px;
  background: var(--gold-gradient-btn);
  color: var(--bg-secondary);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.22);
  cursor: pointer;
  appearance: none;
  transition: transform 240ms var(--easing), box-shadow 240ms var(--easing), filter 240ms var(--easing);
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(212, 175, 55, 0.34);
  filter: brightness(1.05);
}



.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 8px;
  background: rgba(7, 17, 29, 0.35);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  appearance: none;
  transition: transform 240ms var(--easing), background 240ms var(--easing), color 240ms var(--easing), border-color 240ms var(--easing);
}

.secondary-button:hover {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.primary-button svg,
.secondary-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 240ms var(--easing);
}

.primary-button:hover svg,
.secondary-button:hover svg {
  transform: translateX(3px);
}

/* ============ CAPABILITIES ============ */

.hero-capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding-top: 24px;
  position: relative;
  max-width: 640px;
}

.hero-capabilities:hover::before {
  width: 88%;
}

.hero-capabilities::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 64px;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--easing);
  z-index: 2;
}

.hero-capabilities::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 88%;
  height: 1px;
  background: var(--border-soft);
  z-index: 1;
}

.hero-capabilities li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s var(--easing);
}

.hero-capabilities li:nth-child(1) {
  animation: fadeUp 0.8s var(--easing) 0.4s both;
}

.hero-capabilities li:nth-child(2) {
  animation: fadeUp 0.8s var(--easing) 0.5s both;
}

.hero-capabilities li:nth-child(3) {
  animation: fadeUp 0.8s var(--easing) 0.6s both;
}

.hero-capabilities li:nth-child(4) {
  animation: fadeUp 0.8s var(--easing) 0.7s both;
}

.hero-capabilities li:hover {
  transform: translateY(-4px);
}

.hero-capabilities li:hover .service-icon {
  color: var(--gold-bright);
  transform: scale(1.15);
}

.service-label {
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

/* Iconos compartidos */
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--gold);
  transition: transform 0.3s var(--easing), color 0.3s var(--easing);
}

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

/* ============ HERO FADE-IN ============ */

.hero-copy>* {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 800ms var(--easing) forwards;
}

.hero-copy> :nth-child(1) {
  animation-delay: 100ms;
}

.hero-copy> :nth-child(2) {
  animation-delay: 200ms;
}

.hero-copy> :nth-child(3) {
  animation-delay: 300ms;
}

.hero-copy> :nth-child(4) {
  animation-delay: 400ms;
}

.hero-copy> :nth-child(5) {
  animation-delay: 500ms;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ============ GLOW DIVIDER ============ */

.glow-divider {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 15%, var(--gold-bright) 50%, transparent 85%);
  box-shadow: 0 0 18px 2px rgba(212, 175, 55, 0.45);
}

/* ============ PROBLEM ============ */

.problem {
  position: relative;
  min-height: 100vh;
  margin-top: -1px;
  padding: clamp(66px, 6.6vh, 82px) 0 clamp(28px, 4vh, 42px);
  overflow: hidden;
  color: #0b1624;
  background: #f8fafc;
}

.problem::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    image-set(url("../images/problema/Fondo-el-dolor-blanco-2.webp") type("image/webp"),
      url("../images/problema/Fondo-el-dolor-blanco-2.png") type("image/png"));
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
}

.problem::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 42% 0%, rgba(212, 175, 55, 0.08), transparent 34%),
    radial-gradient(circle at 72% 42%, rgba(212, 175, 55, 0.06), transparent 28%),
    linear-gradient(90deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.8) 30%, transparent 55%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.5) 8%, transparent 20%);
  pointer-events: none;
}

.problem-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 860px) 1fr;
  align-items: start;
  min-height: calc(100vh - 106px);
}

.problem-content {
  max-width: 860px;
}

.problem-head {
  max-width: 840px;
}

.problem .hero-badge {
  margin-bottom: 8px;
  color: var(--gold-dark);
  text-shadow: none;
}

.problem .hero-badge::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin-top: 8px;
  background: var(--gold-dark);
  opacity: 0.84;
}

.problem-title {
  color: #0b1624;
  font-size: clamp(2rem, 2.95vw, 2.9rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
  text-shadow: none;
}

.problem-title .highlight {
  display: inline;
}

.problem-lede {
  max-width: 820px;
  margin-top: 12px;
  color: #647084;
  font-size: clamp(1.05rem, 1.1vw, 1.18rem);
  line-height: 1.55;
  letter-spacing: -0.006em;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 14px;
  margin-top: clamp(20px, 2.4vh, 26px);
}

.problem-card {
  position: relative;
  min-height: 148px;
  padding: 17px 19px 18px;
  overflow: hidden;
  border: 1px solid rgba(7, 17, 29, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 4px 12px rgba(7, 17, 29, 0.06), 0 16px 36px rgba(7, 17, 29, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 260ms var(--easing), border-color 260ms var(--easing), background 260ms var(--easing), box-shadow 260ms var(--easing);
}

.problem-card::before {
  display: none;
}

.problem-card::after {
  display: none;
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(7, 17, 29, 0.08), 0 28px 56px rgba(7, 17, 29, 0.18);
}

.problem-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}

.problem-number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.problem-number::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.78;
}

.problem-icon {
  position: absolute;
  top: 17px;
  right: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 26, 39, 0.15);
  border-radius: 7px;
  color: #111a27;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.problem-icon::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(17, 26, 39, 0.08);
  border-radius: 5px;
  transform: rotate(45deg) scale(0.72);
  opacity: 0.72;
}

.problem-icon svg {
  position: relative;
  z-index: 1;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.problem-card h3 {
  color: #0b1624;
  font-size: clamp(1.11rem, 1.1vw, 1.25rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.012em;
}

.problem-card p {
  margin-top: 7px;
  color: #647084;
  font-size: clamp(0.85rem, 0.8vw, 0.94rem);
  line-height: 1.42;
  letter-spacing: -0.005em;
}

@media (min-width: 1101px) and (max-height: 820px) {
  .problem {
    padding: 60px 0 18px;
  }

  .problem-inner {
    grid-template-columns: minmax(0, 820px) 1fr;
    min-height: calc(100vh - 78px);
  }

  .problem .hero-badge {
    margin-bottom: 7px;
    font-size: 0.64rem;
  }

  .problem .hero-badge::after {
    margin-top: 6px;
  }

  .problem-title {
    font-size: clamp(1.72rem, 2.6vw, 2.24rem);
  }

  .problem-lede {
    margin-top: 8px;
    max-width: 760px;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .problem-cards {
    gap: 10px 12px;
    margin-top: 14px;
  }

  .problem-card {
    min-height: 136px;
    padding: 14px 16px 15px;
  }

  .problem-card-top {
    margin-bottom: 16px;
  }

  .problem-icon {
    top: 13px;
    right: 16px;
    width: 37px;
    height: 37px;
  }

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

  .problem-card h3 {
    font-size: 1.02rem;
  }

  .problem-card p {
    margin-top: 5px;
    font-size: 0.75rem;
    line-height: 1.34;
  }
}

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

.services {
  position: relative;
  min-height: 100vh;
  padding: clamp(72px, 7vh, 92px) 0 clamp(80px, 8vh, 120px);
  overflow: hidden;
  color: #0b1624;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.72) 36%, rgba(255, 255, 255, 0.94) 76%),
    image-set(url("../images/solucion/fondo-pagina-2.webp") type("image/webp"),
      url("../images/solucion/fondo-pagina-2.png") type("image/png"));
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 140px;
  background: linear-gradient(180deg, rgba(7, 17, 29, 0.2), transparent);
  pointer-events: none;
}

.services>.container {
  position: relative;
  z-index: 2;
}

.services-head {
  text-align: center;
  max-width: 1040px;
  margin: 0 auto clamp(16px, 2.4vh, 26px);
}

.services .hero-badge {
  margin-bottom: 8px;
  color: var(--gold-dark);
  text-shadow: none;
}

.services .eyebrow-center::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin: 8px auto 0;
  background: var(--gold-dark);
  opacity: 0.85;
}

.section-title {
  font-size: clamp(1.85rem, 2.9vw, 2.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #0b1624;
}

.services-lede {
  max-width: 960px;
  margin: 12px auto 0;
  color: #647084;
  font-size: clamp(1.05rem, 1.1vw, 1.18rem);
  line-height: 1.55;
  letter-spacing: -0.005em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
}

.services-mobile-cta,
.swipe-hint {
  display: none;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: clamp(268px, 29.5vh, 296px);
  overflow: hidden;
  border: 1px solid rgba(7, 17, 29, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 4px 12px rgba(7, 17, 29, 0.06), 0 16px 36px rgba(7, 17, 29, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 280ms var(--easing), border-color 280ms var(--easing), box-shadow 280ms var(--easing), background 280ms var(--easing);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(7, 17, 29, 0.08), 0 28px 56px rgba(7, 17, 29, 0.18);
}

.service-card-copy {
  padding: clamp(14px, 1.2vw, 18px) clamp(16px, 1.3vw, 20px) 4px;
  min-height: 92px;
}

.service-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
}

.service-number::after {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

.service-card h3 {
  color: #0b1624;
  font-size: clamp(1rem, 1.15vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.18;
}

.service-card p {
  margin-top: 5px;
  color: #5f6b7a;
  font-size: clamp(0.74rem, 0.7vw, 0.84rem);
  line-height: 1.34;
  letter-spacing: -0.005em;
}

.service-visual {
  position: relative;
  height: clamp(158px, 19.5vh, 190px);
  margin: auto clamp(10px, 1vw, 14px) clamp(8px, 1vw, 12px);
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(241, 245, 249, 0.28));
}

.service-visual img {
  position: absolute;
  left: 50%;
  bottom: var(--visual-bottom, 0);
  width: var(--visual-width, 100%);
  max-width: none;
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(7, 17, 29, 0.18));
  transition: transform 320ms var(--easing);
  transform: translateX(-50%) translateY(var(--visual-y, 0)) scale(var(--visual-scale, 1));
}

.service-card:hover .service-visual img {
  transform: translateX(-50%) translateY(var(--visual-y, 0)) scale(calc(var(--visual-scale, 1) * 1.025));
}

.service-card--web {
  --visual-width: 100%;
  --visual-bottom: 8px;
  --visual-scale: 1;
}

.service-card--web .service-visual img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.service-card--web:hover .service-visual img {
  transform: scale(1.025);
}

.service-card--system {
  --visual-width: 112%;
  --visual-bottom: -42%;
  --visual-scale: 1;
}

.service-card--system .service-visual img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.08);
  transform-origin: center top;
}

.service-card--system:hover .service-visual img {
  transform: scale(1.105);
}

.service-card--automation {
  --visual-width: 100%;
  --visual-bottom: 0;
  --visual-scale: 1;
}

.service-card--automation .service-visual {
  background: #07111d;
}

.service-card--automation .service-visual img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: none;
}

.service-card--automation:hover .service-visual img {
  transform: scale(1.025);
}

.service-card--analytics {
  --visual-width: 124%;
  --visual-bottom: -94%;
  --visual-scale: 1;
}

.service-card--integration {
  --visual-width: 100%;
  --visual-bottom: 0;
  --visual-scale: 1;
}

.service-card--integration .service-visual {
  background: #07111d;
}

.service-card--integration .service-visual img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
}

.service-card--integration:hover .service-visual img {
  transform: scale(1.03);
}

.service-card--photo .service-visual {
  background: #07111d;
}

.service-card--photo .service-visual img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
  filter: none;
  transform: none;
}

.service-card--photo:hover .service-visual img {
  transform: scale(1.03);
}

@media (min-width: 1101px) and (max-height: 820px) {
  .services {
    padding: 66px 0 60px;
  }

  .services-head {
    margin-bottom: 14px;
  }

  .services .hero-badge {
    margin-bottom: 6px;
    font-size: 0.66rem;
  }

  .services .eyebrow-center::after {
    margin-top: 6px;
  }

  .section-title {
    font-size: clamp(1.75rem, 2.55vw, 2.25rem);
  }

  .services-lede {
    margin-top: 8px;
    font-size: 0.78rem;
    line-height: 1.34;
  }

  .services-grid {
    gap: 12px 16px;
  }

  .service-card {
    min-height: 236px;
  }

  .service-card-copy {
    min-height: 82px;
    padding: 12px 18px 2px;
  }

  .service-number {
    margin-bottom: 5px;
    font-size: 0.72rem;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card p {
    margin-top: 4px;
    font-size: 0.7rem;
    line-height: 1.24;
  }

  .service-visual {
    height: 132px;
    margin: auto 12px 10px;
  }

  .service-card--web {
    --visual-width: 88%;
    --visual-bottom: 6px;
  }

  .service-card--analytics {
    --visual-width: 124%;
    --visual-bottom: -160%;
  }
}

/* ============ REDUCED MOTION ============ */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

}

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

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 24px;
  }

  .nav-links {
    position: fixed;
    top: 84px;
    left: 24px;
    right: 24px;
    flex-direction: column;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    background: rgba(7, 17, 29, 0.97);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 240ms var(--easing), transform 240ms var(--easing);
  }

  .nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-link {
    padding: 14px 12px;
  }

  .nav-link::after {
    display: none;
  }

  .header-follow {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    padding: 130px 0 80px;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-bg {
    background-position: 75% center;
    background-size: 140% auto;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 17, 29, 0.88) 0%, rgba(7, 17, 29, 0.7) 60%, rgba(7, 17, 29, 0.85) 100%);
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 34px, 1240px);
  }

  .header {
    padding: 8px 0 7px;
    background: rgba(7, 17, 29, 0.82);
    border-bottom-color: rgba(212, 175, 55, 0.12);
    box-shadow: none;
  }

  .header::after {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    width: min(100% - 34px, 1240px);
    gap: 14px;
  }

  .brand img {
    height: 32px;
  }

  .header.is-scrolled .brand img {
    height: 30px;
  }

  .nav-links {
    top: 50px;
    left: 17px;
    right: 17px;
    padding: 16px;
    border-radius: 12px;
    background:
      linear-gradient(180deg, rgba(12, 22, 35, 0.98), rgba(5, 10, 18, 0.98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .nav-toggle {
    width: 34px;
    height: 30px;
    gap: 4.5px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-toggle:focus-visible {
    outline: 0;
    box-shadow: none;
  }

  .nav-toggle span {
    width: 23px;
    height: 2px;
    background: rgba(242, 209, 107, 0.82);
    box-shadow: none;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .hero {
    min-height: 100svh;
    padding: 68px 0 24px;
    background:
      radial-gradient(circle at 72% 56%, rgba(212, 175, 55, 0.12), transparent 34%),
      radial-gradient(ellipse at 50% 77%, rgba(242, 209, 107, 0.08), transparent 38%),
      linear-gradient(180deg, #07111d 0%, #050a12 100%);
  }

  .hero-bg {
    position: absolute;
    inset: clamp(268px, 33vh, 296px) auto auto 50%;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    width: min(178vw, 720px);
    max-width: none;
    height: clamp(550px, 148vw, 650px);
    background-image: url('../images/hero-movil/edos-statue-mobile.webp');
    background-position: center bottom;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 1;
    filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.34));
    animation: none;
  }

  .hero-bg::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6%;
    width: 70%;
    height: 28%;
    border-radius: 999px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.72) 0%, rgba(5, 10, 18, 0.58) 46%, transparent 72%);
    filter: blur(14px);
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
  }

  .hero-bg::after {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -2%;
    height: 34%;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 10, 18, 0.48) 50%, rgba(5, 10, 18, 0.88) 100%);
    pointer-events: none;
  }

  .hero-overlay {
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(5, 10, 18, 0.2) 0%, rgba(7, 17, 29, 0.08) 54%, rgba(5, 10, 18, 0.7) 100%);
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-badge {
    width: 100%;
    max-width: none;
    margin-bottom: 10px;
    font-size: clamp(0.43rem, 1.45vw, 0.5rem);
    line-height: 1.2;
    letter-spacing: 0.14em;
    white-space: nowrap;
  }

  .hero-title {
    margin-bottom: 18px;
    max-width: 10.8em;
    font-size: clamp(1.86rem, 7.85vw, 2.24rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
  }

  .hero-dynamic-line {
    margin-top: 0.02em;
  }

  .hero-description {
    display: none;
  }

  .hero-actions {
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin-bottom: clamp(384px, 102vw, 442px);
  }

  .primary-button,
  .secondary-button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 42px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: clamp(0.72rem, 2.45vw, 0.82rem);
    gap: 6px;
    white-space: nowrap;
  }

  .primary-button svg,
  .secondary-button svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
  }

  .primary-button {
    flex-grow: 1.08;
  }

  .secondary-button {
    flex-grow: 0.92;
  }

  .secondary-button {
    background: rgba(5, 10, 18, 0.28);
    border-color: rgba(242, 209, 107, 0.42);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .hero-capabilities {
    position: relative;
    z-index: 4;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-inline: -17px;
    width: calc(100% + 34px);
    padding: 13px 14px 14px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    max-width: none;
    isolation: isolate;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-capabilities::before {
    content: "";
    position: absolute;
    left: -18px;
    right: -18px;
    width: auto;
    top: -96px;
    bottom: -30px;
    height: auto;
    background:
      linear-gradient(180deg, transparent 0%, rgba(5, 10, 18, 0.34) 34%, rgba(5, 10, 18, 0.82) 68%, rgba(5, 10, 18, 0.96) 100%),
      radial-gradient(ellipse at 50% 22%, rgba(242, 209, 107, 0.08), transparent 60%);
    z-index: -1;
    transition: none;
    pointer-events: none;
  }

  .hero-capabilities:hover::before {
    width: auto;
  }

  .hero-capabilities::after {
    display: none;
  }

  .hero-capabilities li {
    align-items: center;
    text-align: center;
    gap: 5px;
    min-width: 0;
    padding: 0 4px;
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .hero-capabilities li:hover {
    transform: none;
  }

  .hero-capabilities li:nth-child(1),
  .hero-capabilities li:nth-child(2),
  .hero-capabilities li:nth-child(3),
  .hero-capabilities li:nth-child(4) {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-capabilities li:not(:last-child) {
    border-right: 0;
  }

  .hero-capabilities li .service-icon {
    width: 25px;
    height: 25px;
    color: var(--gold-light);
    filter: drop-shadow(0 0 9px rgba(242, 209, 107, 0.22));
    transition: none;
    transform: none;
  }

  .hero-capabilities li:hover .service-icon {
    color: var(--gold-light);
    transform: none;
  }

  .hero-capabilities li .service-icon svg {
    width: 21px;
    height: 21px;
    stroke-width: 1.35;
  }

  .hero-capabilities li .service-label {
    color: rgba(248, 250, 252, 0.96);
    font-size: clamp(0.55rem, 2.22vw, 0.64rem);
    font-weight: 620;
    line-height: 1.18;
    letter-spacing: -0.018em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  }

  .services {
    padding: 90px 0 70px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.4) 40%, rgba(255, 255, 255, 0.95) 100%),
      image-set(url("../images/solucion/fondo-pagina-2.webp") type("image/webp"),
        url("../images/solucion/fondo-pagina-2.png") type("image/png"));
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }

  .services-head {
    margin-bottom: 44px;
  }

  .services-head .hero-badge {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .section-title {
    font-size: clamp(1.75rem, 6.5vw, 2.2rem);
    text-wrap: balance;
  }

  .services-lede {
    display: none;
  }

  .swipe-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 6px 14px;
    background: rgba(17, 26, 39, 0.04);
    border: 1px solid rgba(17, 26, 39, 0.08);
    border-radius: 20px;
    color: #647084;
    font-size: 0.72rem;
    font-weight: 600;
    animation: swipePulse 2.5s infinite ease-in-out;
  }

  .swipe-hint span {
    font-size: 0.85rem;
    color: var(--gold-dark);
    animation: swipeArrow 2.5s infinite ease-in-out;
  }

  @keyframes swipePulse {

    0%,
    100% {
      background: rgba(17, 26, 39, 0.04);
    }

    50% {
      background: rgba(17, 26, 39, 0.08);
    }
  }

  @keyframes swipeArrow {

    0%,
    100% {
      transform: translateX(0);
    }

    50% {
      transform: translateX(3px);
    }
  }

  .services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-left: 17px;
    gap: 16px;
    margin: 0 -17px;
    padding: 10px 17px 40px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    align-items: stretch;
  }

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

  .service-card {
    flex: 0 0 92%;
    min-width: 300px;
    scroll-snap-align: center;
    min-height: auto;
    box-shadow: 0 2px 8px rgba(7, 17, 29, 0.06);
  }

  .service-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(7, 17, 29, 0.06);
  }

  .service-visual {
    height: 190px;
  }

  .floating-contact {
    display: none;
  }

  .service-card--analytics {
    --visual-width: 140%;
    --visual-bottom: -85%;
  }

  .services::before {
    display: none;
  }

  .services-mobile-cta {
    display: flex;
    justify-content: center;
    margin-top: -5px;
    padding: 0 17px;
  }

  .services-mobile-cta .primary-button {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }

  .problem .hero-badge {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .problem-title {
    font-size: clamp(1.75rem, 6.5vw, 2.2rem);
    text-wrap: balance;
  }

  .problem-lede {
    display: none;
  }

  .problem-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .problem-card {
    padding: 16px 14px 20px;
  }

  .problem-card h3 {
    font-size: 0.9rem;
    margin-top: 14px;
    margin-bottom: 6px;
  }

  .problem-card p {
    font-size: 0.76rem;
  }

  .problem-card-top {
    justify-content: space-between;
    margin-bottom: 0;
  }

  .problem-icon {
    position: static;
    width: 34px;
    height: 34px;
  }

  .problem-icon svg {
    width: 18px;
    height: 18px;
  }

  .problem {
    background: #fdfdfe;
  }

  .problem::before {
    display: none;
  }

  .problem::after {
    background:
      radial-gradient(ellipse at 80% -20%, rgba(212, 175, 55, 0.12), transparent 40%),
      radial-gradient(ellipse at -20% 120%, rgba(7, 17, 29, 0.04), transparent 50%),
      linear-gradient(180deg, #ffffff 0%, rgba(248, 250, 252, 0.4) 100%);
  }
}

@keyframes mobileStatueIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(18px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes mobileStatueFloat {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

@media (max-width: 340px),
(max-width: 680px) and (max-height: 720px) {
  .header {
    padding: 7px 0 6px;
  }

  .brand img {
    height: 29px;
  }

  .header.is-scrolled .brand img {
    height: 28px;
  }

  .nav-links {
    top: 46px;
  }

  .nav-toggle {
    width: 36px;
    height: 30px;
    gap: 4.5px;
  }

  .nav-toggle span {
    width: 23px;
    height: 2.2px;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6.7px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6.7px) rotate(-45deg);
  }

  .hero {
    padding-top: 70px;
  }

  .hero-badge {
    margin-bottom: 8px;
    font-size: 0.5rem;
    line-height: 1.45;
  }

  .hero-title {
    margin-bottom: 12px;
    max-width: 11.4em;
    font-size: clamp(1.45rem, 6.8vw, 1.72rem);
  }

  .hero-actions {
    gap: 7px;
    margin-bottom: clamp(292px, 82vw, 330px);
  }

  .primary-button,
  .secondary-button {
    min-height: 38px;
    padding: 0 7px;
    font-size: 0.64rem;
  }

  .primary-button svg,
  .secondary-button svg {
    width: 12px;
    height: 12px;
  }

  .hero-bg {
    inset: clamp(224px, 35vh, 254px) auto auto 50%;
    width: min(172vw, 560px);
    height: clamp(382px, 124vw, 470px);
  }

  .hero-capabilities {
    padding: 10px 12px 11px;
  }

  .hero-capabilities li {
    gap: 5px;
    padding: 0 3px;
  }

  .hero-capabilities li .service-icon {
    width: 22px;
    height: 22px;
  }

  .hero-capabilities li .service-icon svg {
    width: 18px;
    height: 18px;
  }

  .hero-capabilities li .service-label {
    font-size: 0.52rem;
    line-height: 1.18;
  }
}

/* ============ METHOD ============ */

.method {
  position: relative;
  min-height: 100vh;
  padding: clamp(76px, 7vh, 92px) 0 clamp(34px, 4vh, 50px);
  overflow: hidden;
  color: var(--text);
  background: #050a12;
}

.method::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    image-set(url("../images/metodo/building-2-edos.webp") type("image/webp"),
      url("../images/metodo/building-2-edos.png") type("image/png"));
  background-repeat: no-repeat;
  background-position: 42% center;
  background-size: cover;
}

.method::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 62% 44%, rgba(212, 175, 55, 0.12), transparent 38%),
    linear-gradient(90deg, rgba(5, 10, 18, 0.96) 0%, rgba(5, 10, 18, 0.84) 34%, rgba(5, 10, 18, 0.42) 66%, rgba(5, 10, 18, 0.14) 100%),
    linear-gradient(180deg, rgba(5, 10, 18, 0.94) 0%, rgba(5, 10, 18, 0.16) 22%, rgba(5, 10, 18, 0.62) 100%);
  pointer-events: none;
}

.method-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 0.9fr);
  gap: clamp(42px, 5vw, 88px);
  align-items: center;
  min-height: calc(100vh - 126px);
}

.method-copy {
  max-width: 710px;
}

.method-head {
  max-width: 690px;
  margin-bottom: clamp(30px, 4vh, 48px);
}

.method .hero-badge {
  margin-bottom: 16px;
  color: var(--gold-light);
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.18);
}

.method .hero-badge::after {
  content: "";
  display: inline-block;
  width: 94px;
  height: 1px;
  margin-left: 16px;
  vertical-align: middle;
  background: linear-gradient(90deg, currentColor, transparent);
  opacity: 0.78;
}

.method-title {
  color: var(--text);
  font-size: clamp(2.35rem, 4vw, 4.15rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  text-wrap: balance;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.46);
}

.method-title .highlight {
  display: inline;
}

.method-lede {
  color: rgba(203, 213, 225, 0.9);
  font-size: clamp(1.02rem, 1.12vw, 1.18rem);
  line-height: 1.58;
  max-width: 680px;
  letter-spacing: -0.006em;
}

.method-principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  padding-top: 26px;
  border-top: 1px solid rgba(242, 209, 107, 0.28);
}

.method-principles li {
  min-width: 0;
}

.method-principle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 13px;
  border: 1px solid rgba(242, 209, 107, 0.24);
  border-radius: 8px;
  color: var(--gold-light);
  background: rgba(7, 17, 29, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 28px rgba(0, 0, 0, 0.22);
}

.method-principle-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.method-principles strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.method-principles span:last-child {
  display: block;
  margin-top: 6px;
  color: rgba(203, 213, 225, 0.74);
  font-size: 0.78rem;
  line-height: 1.35;
  letter-spacing: -0.004em;
}

.method-actions {
  display: flex;
  align-items: center;
  margin-top: clamp(32px, 4.2vh, 48px);
}

.method-action-note {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 14px 20px 14px 24px;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 8px;
  background: rgba(5, 10, 18, 0.34);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.004em;
  white-space: normal;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 10px 24px rgba(0, 0, 0, 0.12);
}

.method-action-note::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 11px;
  bottom: 11px;
  width: 2px;
  border-radius: 999px;
  background: var(--gold-gradient);
  opacity: 0.85;
}

.method-action-note strong {
  font-weight: 700;
  color: #fff;
  margin-right: 4px;
}

.method-steps {
  position: relative;
  display: grid;
  gap: clamp(20px, 2.5vh, 28px);
  width: min(100%, 640px);
  margin-left: auto;
  padding: 8px 0;
}

.method-steps::before {
  content: "";
  position: absolute;
  top: 68px;
  bottom: 68px;
  left: 36px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(242, 209, 107, 0.75), rgba(242, 209, 107, 0.28), transparent);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.42);
}

.method-step {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  min-height: 138px;
  padding: 22px 26px 22px 20px;
  border: 1px solid rgba(242, 209, 107, 0.18);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.1), transparent 32%),
    linear-gradient(135deg, rgba(248, 250, 252, 0.09), rgba(248, 250, 252, 0.026)),
    rgba(9, 18, 30, 0.72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 260ms var(--easing), border-color 260ms var(--easing), box-shadow 260ms var(--easing), background 260ms var(--easing);
}

.method-step:nth-child(2),
.method-step:nth-child(4) {
  margin-left: clamp(56px, 5vw, 96px);
}

.method-step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -46px;
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 209, 107, 0.72));
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.38);
}

@keyframes pulseDot {

  0%,
  100% {
    box-shadow: 0 0 14px rgba(242, 209, 107, 0.6);
    background: var(--gold-light);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 24px rgba(242, 209, 107, 1), 0 0 0 6px rgba(242, 209, 107, 0.15);
    background: #fff;
    transform: scale(1.2);
  }
}

.method-step::after {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold-light);
  box-shadow: 0 0 18px rgba(242, 209, 107, 0.82);
  animation: pulseDot 3s infinite;
}

.method-step:nth-child(1)::after {
  animation-delay: 0s;
}

.method-step:nth-child(2)::after {
  animation-delay: 0.75s;
}

.method-step:nth-child(3)::after {
  animation-delay: 1.5s;
}

.method-step:nth-child(4)::after {
  animation-delay: 2.25s;
}

.method-step:first-child::before {
  width: 34px;
  left: -34px;
}

.method-step:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 209, 107, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(248, 250, 252, 0.115), rgba(248, 250, 252, 0.04)),
    rgba(9, 18, 30, 0.82);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34), 0 0 32px rgba(212, 175, 55, 0.08);
}

@media (hover: hover) {
  .method-step:hover .method-step-icon {
    transform: translateY(-4px) scale(1.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 28px rgba(212, 175, 55, 0.3);
    border-color: rgba(242, 209, 107, 0.45);
    color: #fff;
  }
}

.method-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(242, 209, 107, 0.24);
  border-radius: 10px;
  color: var(--gold-light);
  background: rgba(7, 17, 29, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 24px rgba(0, 0, 0, 0.24);
  transition: transform 300ms var(--easing), box-shadow 300ms var(--easing), border-color 300ms var(--easing), color 300ms var(--easing);
}

.method-step-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.method-step-number {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: clamp(1.65rem, 2.3vw, 2.15rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.method-step h3 {
  color: var(--text);
  font-size: clamp(1.08rem, 1.2vw, 1.28rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.012em;
}

.method-step p {
  margin-top: 6px;
  max-width: 350px;
  color: rgba(203, 213, 225, 0.78);
  font-size: clamp(0.83rem, 0.82vw, 0.94rem);
  line-height: 1.38;
  letter-spacing: -0.005em;
}

@media (max-width: 900px) {
  .method::before {
    display: block;
    background-image:
      image-set(url("../images/metodo/movil-edos-building.webp") type("image/webp"),
        url("../images/metodo/movil-edos-building.png") type("image/png"));
    background-size: cover;
    background-position: center center;
    opacity: 0.85;
  }

  .method-inner {
    grid-template-columns: 1fr;
  }

  .method-title {
    font-size: clamp(1.9rem, 6vw, 2.3rem);
  }

  .method-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-steps {
    width: 100%;
  }

  .method-step:nth-child(2),
  .method-step:nth-child(4) {
    margin-left: 0;
  }
}

@media (min-width: 1101px) and (max-height: 820px) {
  .method {
    padding: 66px 0 24px;
  }

  .method-inner {
    min-height: calc(100vh - 90px);
    gap: 44px;
  }

  .method-head {
    margin-bottom: 26px;
  }

  .method .hero-badge {
    margin-bottom: 10px;
    font-size: 0.66rem;
  }

  .method-title {
    margin-bottom: 14px;
    font-size: clamp(2rem, 3.3vw, 3rem);
  }

  .method-lede {
    font-size: 0.82rem;
    line-height: 1.42;
  }

  .method-principles {
    gap: 16px;
    padding-top: 18px;
  }

  .method-principle-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 9px;
  }

  .method-principle-icon svg {
    width: 20px;
    height: 20px;
  }

  .method-principles strong {
    font-size: 0.78rem;
  }

  .method-principles span:last-child {
    margin-top: 4px;
    font-size: 0.66rem;
    line-height: 1.24;
  }

  .method-actions {
    margin-top: 24px;
  }

  .method-steps {
    gap: 14px;
    width: min(100%, 560px);
  }

  .method-steps::before {
    top: 50px;
    bottom: 50px;
  }

  .method-step {
    grid-template-columns: 60px 1fr;
    min-height: 112px;
    padding: 16px 20px 16px 16px;
  }

  .method-step-icon {
    width: 44px;
    height: 44px;
  }

  .method-step-icon svg {
    width: 24px;
    height: 24px;
  }

  .method-step-number {
    margin-bottom: 4px;
    font-size: 1.45rem;
  }

  .method-step h3 {
    font-size: 0.98rem;
  }

  .method-step p {
    margin-top: 4px;
    font-size: 0.72rem;
    line-height: 1.28;
  }
}

@media (max-width: 680px) {
  .method {
    padding: 50px 0 30px;
  }

  .method-inner {
    gap: 24px;
  }

  .method-head {
    margin-bottom: 8px;
  }

  .method-head .hero-badge {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .method-title {
    font-size: clamp(1.75rem, 6.5vw, 2.2rem);
    text-wrap: balance;
  }

  .method-lede {
    display: none;
  }

  .method-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .method-principle-icon {
    width: 32px;
    height: 32px;
  }

  .method-principle-icon svg {
    width: 16px;
    height: 16px;
  }

  .method-steps {
    position: relative;
    width: 100%;
    margin-top: 10px;
    padding-left: 0;
  }

  .method-steps::before {
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
  }

  .method-step {
    min-height: auto;
    padding: 16px 14px;
    margin-left: 0 !important;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: calc(50% - 16px);
  }

  .method-step:not(:first-child) {
    margin-top: -42px;
  }

  .method-step:nth-child(even) {
    margin-left: calc(50% + 16px) !important;
  }

  .method-step::before {
    display: block !important;
    left: auto !important;
    right: -16px !important;
    width: 16px !important;
    top: 25px !important;
  }

  .method-step:nth-child(even)::before {
    right: auto !important;
    left: -16px !important;
  }

  .method-step::after {
    left: auto;
    right: -20px;
    width: 8px;
    height: 8px;
    top: 21px;
  }

  .method-step:nth-child(even)::after {
    right: auto;
    left: -20px;
  }

  .method-step h3 {
    font-size: 0.85rem;
    line-height: 1.2;
    margin-bottom: 4px;
  }

  .method-step p {
    display: block;
    font-size: 0.72rem;
    line-height: 1.35;
    margin-top: 2px;
  }

  .method-step-icon {
    display: none;
  }

  .method-step-number {
    font-size: 1.1rem;
    margin-bottom: 2px;
  }

  .method-action-note {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 14px 16px 14px 20px;
  }
}

/* ============ CONTACT ============ */

.contact {
  position: relative;
  min-height: 100vh;
  padding: clamp(78px, 7.5vh, 96px) 0 0;
  overflow: hidden;
  color: var(--text);
  background: #050a12;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    image-set(url("../images/last-page-and-footer/office-edos.webp") type("image/webp"),
      url("../images/last-page-and-footer/office-edos.png") type("image/png"));
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.94;
}

.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 18%, rgba(212, 175, 55, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(5, 10, 18, 0.90) 0%, rgba(5, 10, 18, 0.74) 42%, rgba(5, 10, 18, 0.48) 68%, rgba(5, 10, 18, 0.64) 100%),
    linear-gradient(180deg, rgba(5, 10, 18, 0.12) 0%, rgba(5, 10, 18, 0.60) 100%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(540px, 0.78fr);
  gap: clamp(40px, 5.5vw, 82px);
  align-items: center;
  min-height: calc(100vh - 178px);
}

.contact-copy {
  max-width: 580px;
}

.contact .hero-badge {
  margin-bottom: 16px;
  color: var(--gold-light);
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.18);
}

.contact .hero-badge::after {
  content: "";
  display: inline-block;
  width: 82px;
  height: 1px;
  margin-left: 16px;
  vertical-align: middle;
  background: linear-gradient(90deg, currentColor, transparent);
  opacity: 0.78;
}

.contact-title {
  max-width: 540px;
  color: var(--text);
  font-size: clamp(2.25rem, 4vw, 4.05rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.026em;
  text-wrap: balance;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.44);
}

.contact-title .highlight {
  display: inline;
}

.contact-lede {
  max-width: 520px;
  margin-top: 22px;
  color: rgba(203, 213, 225, 0.86);
  font-size: clamp(1rem, 1.08vw, 1.16rem);
  line-height: 1.58;
  letter-spacing: -0.006em;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 4vh, 42px);
  scroll-margin-top: 120px;
}

.contact-main-cta {
  min-width: min(360px, 100%);
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.faq-panel {
  position: relative;
  justify-self: start;
  width: 100%;
  max-width: 740px;
  overflow: hidden;
  padding: clamp(24px, 2.3vw, 32px);
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 249, 0.9)),
    #f8fafc;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #07111d;
}

.faq-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(180deg, transparent, rgba(189, 143, 20, 0.92), transparent);
}

.faq-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b48313;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.faq-label::after {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.faq-panel h3 {
  max-width: 520px;
  margin-top: 16px;
  color: #07111d;
  font-size: clamp(1.55rem, 1.9vw, 2.1rem);
  font-weight: 640;
  line-height: 1.12;
  letter-spacing: -0.022em;
}

.faq-list {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.faq-item {
  border: 1px solid rgba(7, 17, 29, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
  overflow: hidden;
  transform: translateY(0);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.faq-item:hover {
  border-color: rgba(189, 143, 20, 0.26);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
  transform: translateY(-1px);
}

.faq-item[open] {
  border-color: rgba(189, 143, 20, 0.28);
  background: rgba(255, 255, 255, 0.86);
  animation: faqOpenGlow 560ms ease both;
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 14px 48px 14px 18px;
  color: #07111d;
  font-size: 0.96rem;
  font-weight: 680;
  line-height: 1.25;
  letter-spacing: -0.012em;
  list-style: none;
  cursor: pointer;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  color: #b48313;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-52%) rotate(0deg);
  transition: transform 180ms ease, color 180ms ease;
}

.faq-item[open] summary::after {
  content: "-";
  color: #9c7010;
  transform: translateY(-52%) rotate(180deg);
}

.faq-item p {
  margin: -1px 18px 17px;
  color: rgba(30, 41, 59, 0.8);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.004em;
}

.faq-item[open] p {
  animation: faqAnswerIn 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes faqAnswerIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

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

@keyframes faqOpenGlow {
  0% {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
  }

  46% {
    box-shadow: 0 18px 36px rgba(189, 143, 20, 0.14);
  }

  100% {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  }
}

.site-footer {
  position: relative;
  z-index: 2;
  margin-top: clamp(34px, 4.4vh, 54px);
  padding: 48px 0 26px;
  border-top: 1px solid rgba(242, 209, 107, 0.13);
  background:
    radial-gradient(circle at 12% 0%, rgba(212, 175, 55, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(5, 10, 18, 0.76), rgba(4, 8, 14, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(176px, 0.85fr) repeat(2, minmax(170px, 1fr)) minmax(230px, 1.18fr);
  gap: clamp(30px, 4.6vw, 74px);
  align-items: start;
}

.footer-brand-block {
  min-width: 0;
}

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

.footer-brand-block::after {
  content: "";
  display: block;
  width: 74px;
  height: 1px;
  margin-top: 26px;
  background: linear-gradient(90deg, rgba(242, 209, 107, 0.82), transparent);
}

.footer-brand img {
  width: auto;
  height: 72px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 13px;
}

.footer-column h3 {
  margin: 0 0 7px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.2;
}

.footer-column a,
.footer-column>span {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: rgba(203, 213, 225, 0.76);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.34;
  transition: color 220ms var(--easing), transform 220ms var(--easing);
}

.footer-column a:hover {
  color: var(--gold-light);
  transform: translateX(2px);
}

.footer-contact {
  gap: 12px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 6px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  color: rgba(242, 209, 107, 0.86);
  background: transparent;
  transition: transform 220ms var(--easing), color 220ms var(--easing);
}

.footer-socials a:hover {
  transform: translateY(-2px) scale(1.05);
  color: var(--gold-light);
}

.footer-socials svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-socials a[aria-label*="correo"] svg {
  width: 29px;
  height: 29px;
}

.footer-socials a[aria-label*="Instagram"] svg {
  width: 30px;
  height: 30px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid rgba(148, 163, 184, 0.13);
}

.footer-bottom span {
  color: rgba(148, 163, 184, 0.74);
  font-size: 0.78rem;
  line-height: 1.35;
}

/* ============ CONTACT MODAL ============ */

body.modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms var(--easing), visibility 220ms var(--easing);
}

.contact-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(212, 175, 55, 0.12), transparent 32%),
    rgba(3, 7, 13, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-modal-dialog {
  position: relative;
  width: min(410px, 100%);
  padding: 28px;
  border: 1px solid rgba(242, 209, 107, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.075), rgba(248, 250, 252, 0.02)),
    rgba(7, 17, 29, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: transform 240ms var(--easing), opacity 240ms var(--easing);
}

.contact-modal.is-open .contact-modal-dialog {
  transform: none;
  opacity: 1;
}

.contact-modal-dialog::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  border-radius: 12px 0 0 12px;
  background: linear-gradient(180deg, transparent, rgba(242, 209, 107, 0.82), transparent);
  opacity: 0.72;
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(242, 209, 107, 0.18);
  border-radius: 8px;
  color: rgba(203, 213, 225, 0.78);
  background: rgba(5, 10, 18, 0.42);
  cursor: pointer;
  transition: color 220ms var(--easing), border-color 220ms var(--easing), background 220ms var(--easing), transform 220ms var(--easing);
}

.contact-modal-close:hover,
.contact-modal-close:focus-visible {
  color: var(--gold-light);
  border-color: rgba(242, 209, 107, 0.42);
  background: rgba(242, 209, 107, 0.07);
  transform: translateY(-1px);
}

.contact-modal-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-modal-brand {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding-right: 48px;
}

.contact-modal-brand img {
  display: block;
  width: auto;
  height: 36px;
}

.contact-modal h2 {
  max-width: 330px;
  margin-top: 22px;
  color: var(--text);
  font-size: clamp(1.42rem, 1.85vw, 1.78rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.contact-modal-options {
  display: grid;
  gap: 11px;
  margin-top: 24px;
}

.contact-modal-option {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(242, 209, 107, 0.16);
  border-radius: 10px;
  background: rgba(5, 10, 18, 0.42);
  transition: transform 220ms var(--easing), border-color 220ms var(--easing), background 220ms var(--easing);
}

@media (max-width: 480px) {
  .contact-modal-option {
    padding: 12px 10px;
    gap: 10px;
  }
}

.contact-modal-option:hover,
.contact-modal-option:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(242, 209, 107, 0.38);
  background: rgba(242, 209, 107, 0.065);
}

.contact-modal-option-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  color: var(--gold-light);
  background: transparent;
}

.contact-modal-option-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-modal-option[href^="mailto:"] .contact-modal-option-icon svg {
  width: 33px;
  height: 33px;
}

.contact-modal-option strong {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.12;
}

@media (max-width: 480px) {
  .contact-modal-option strong {
    font-size: 0.85rem;
  }
}

.contact-modal-option em {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: rgba(203, 213, 225, 0.72);
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.25;
}

@media (max-width: 480px) {
  .contact-modal-option em {
    font-size: 0.72rem;
    margin-top: 3px;
  }
}

.contact-modal-option.has-copy,
.contact-modal-option.has-arrow {
  position: relative;
  padding-right: 64px;
}

.contact-modal-arrow-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(242, 209, 107, 0.18);
  border-radius: 6px;
  color: var(--gold-light);
  background: rgba(5, 10, 18, 0.54);
  pointer-events: none;
  transition: transform 220ms var(--easing), border-color 220ms var(--easing), background 220ms var(--easing), color 220ms var(--easing);
}

.contact-modal-option:hover .contact-modal-arrow-icon,
.contact-modal-option:focus-visible .contact-modal-arrow-icon {
  transform: translateY(-50%) translateX(2px) scale(1.05);
  border-color: rgba(242, 209, 107, 0.42);
  background: rgba(242, 209, 107, 0.08);
  color: var(--text);
}

.contact-modal-arrow-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-copy-email-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(242, 209, 107, 0.18);
  border-radius: 6px;
  color: var(--gold-light);
  background: rgba(5, 10, 18, 0.54);
  cursor: pointer;
  z-index: 5;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.contact-copy-email-btn:hover,
.contact-copy-email-btn:focus-visible {
  transform: translateY(-50%) scale(1.05);
  border-color: rgba(242, 209, 107, 0.42);
  background: rgba(242, 209, 107, 0.08);
  color: var(--text);
}

.contact-copy-email-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.contact-copy-email-btn .tooltip-text {
  visibility: hidden;
  position: absolute;
  bottom: 120%;
  right: 50%;
  transform: translateX(50%);
  padding: 4px 8px;
  border: 1px solid rgba(242, 209, 107, 0.22);
  border-radius: 4px;
  background: rgba(7, 17, 29, 0.98);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.contact-copy-email-btn:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.contact-copy-email-btn.copied .tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translateX(50%) scale(1.05);
}

@media (min-width: 1101px) and (max-height: 820px) {
  .contact {
    padding-top: 66px;
  }

  .contact-inner {
    min-height: calc(100vh - 136px);
    grid-template-columns: minmax(0, 0.85fr) minmax(540px, 0.75fr);
    gap: 40px;
  }

  .contact .hero-badge {
    margin-bottom: 10px;
    font-size: 0.66rem;
  }

  .contact-title {
    font-size: clamp(2rem, 3.25vw, 3rem);
  }

  .contact-lede {
    margin-top: 14px;
    font-size: 0.82rem;
    line-height: 1.42;
  }

  .contact-actions {
    margin-top: 22px;
  }

  .contact-actions .primary-button {
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.82rem;
  }

  .contact-main-cta {
    min-width: min(310px, 100%);
  }

  .faq-panel {
    max-width: 660px;
    padding: 22px;
  }

  .faq-label {
    font-size: 0.64rem;
  }

  .faq-panel h3 {
    margin-top: 12px;
    font-size: 1.38rem;
  }

  .faq-list {
    gap: 7px;
    margin-top: 15px;
  }

  .faq-item summary {
    min-height: 48px;
    padding: 10px 40px 10px 15px;
    font-size: 0.8rem;
    line-height: 1.22;
  }

  .faq-item summary::after {
    right: 15px;
    font-size: 1.12rem;
  }

  .faq-item p {
    margin: -1px 15px 13px;
    font-size: 0.74rem;
    line-height: 1.42;
  }

  .site-footer {
    margin-top: 30px;
    padding: 34px 0 18px;
  }

  .site-footer-inner {
    grid-template-columns: minmax(146px, 0.82fr) repeat(2, minmax(150px, 1fr)) minmax(210px, 1.18fr);
    gap: 26px;
  }

  .footer-brand img {
    height: 58px;
  }

  .footer-brand-block::after {
    width: 60px;
    margin-top: 18px;
  }

  .footer-column {
    gap: 9px;
  }

  .footer-column h3 {
    margin-bottom: 4px;
    font-size: 0.82rem;
  }

  .footer-column a,
  .footer-column>span {
    font-size: 0.72rem;
    line-height: 1.28;
  }

  .footer-socials {
    gap: 12px;
    margin-top: 4px;
  }

  .footer-socials a {
    width: 31px;
    height: 31px;
  }

  .footer-socials svg {
    width: 25px;
    height: 25px;
  }

  .footer-socials a[aria-label*="correo"] svg {
    width: 27px;
    height: 27px;
  }

  .footer-socials a[aria-label*="Instagram"] svg {
    width: 28px;
    height: 28px;
  }

  .footer-bottom {
    margin-top: 18px;
    padding-top: 18px;
  }

  .footer-bottom span {
    font-size: 0.3rem;
    line-height: 1.00;
  }
}

@media (max-width: 1000px) {
  .mobile-break {
    display: block;
  }
  
  .footer-bottom > span:first-child {
    transform: scale(0.85);
    transform-origin: left bottom;
  }

  .footer-location {
    text-align: right;
    transform: scale(0.85);
    transform-origin: right bottom;
  }

  .contact::before {
    background-image: none;
  }

  .contact::after {
    background:
      radial-gradient(ellipse at 50% -10%, rgba(212, 175, 55, 0.22), transparent 55%),
      radial-gradient(circle at 85% 85%, rgba(212, 175, 55, 0.08), transparent 45%),
      linear-gradient(180deg, rgba(5, 10, 18, 0) 0%, #050a12 85%);
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .contact-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 100%;
  }

  .faq-panel {
    padding: 24px 16px;
  }

  .faq-panel h3 {
    font-size: clamp(1.6rem, 5vw, 1.85rem);
    font-weight: 600;
    line-height: 1.1;
    text-wrap: balance;
    margin-top: 12px;
  }

  .faq-item summary {
    min-height: 48px;
    padding: 14px 40px 14px 14px;
    font-size: 0.86rem;
  }

  .faq-item p {
    font-size: 0.8rem;
    margin: -2px 14px 14px;
  }

  /* Optimize FAQ performance on mobile */
  .faq-item:hover {
    transform: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
  }

  .faq-item[open] {
    animation: none;
    border-color: rgba(189, 143, 20, 0.28);
    background: rgba(255, 255, 255, 0.86);
  }

  .faq-item[open] p {
    animation: none;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}