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

html {
  -webkit-text-size-adjust: 100%;
     -moz-text-size-adjust: 100%;
          text-size-adjust: 100%;
  scroll-behavior: smooth;
  line-height: 1.5;
  -moz-tab-size: 4;
    -o-tab-size: 4;
       tab-size: 4;
}

body {
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: var(--text-base, 1rem);
  color: var(--color-text, #1a1a1a);
  background-color: var(--color-bg, #fff);
  -webkit-font-smoothing: antialiased;
  min-block-size: 100dvh;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

p,
li,
blockquote {
  overflow-wrap: break-word;
}

ul,
ol {
  list-style: none;
}

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

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

table {
  border-collapse: collapse;
}

[hidden] {
  display: none !important;
}

@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;
  }
}
:root {
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 1.875rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3rem;
  --text-5xl: 3.75rem;
  --text-6xl: 4.5rem;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  --tracking-tight: -0.05em;
  --tracking-normal: 0em;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;
  --radius-none: 0;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 5%);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -2px rgb(0 0 0 / 10%);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 10%), 0 8px 10px -6px rgb(0 0 0 / 10%);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
  --duration-slower: 600ms;
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --max-w-content: 80rem;
  --max-w-wide: 96rem;
  --gutter: var(--space-4);
  --measure: 72ch;
  --color-bg: #f8fafc;
  --color-surface: #fff;
  --color-surface-raised: #fff;
  --color-surface-hover: #f1f5f9;
  --color-border: #e2e8f0;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-primary: #06c;
  --color-primary-dark: #004d99;
  --color-link: var(--color-primary);
  --color-link-hover: var(--color-primary-dark);
  --code-bg: #f1f5f9;
}

.display-xl {
  font-size: clamp(3rem, 5vw2rem, 6rem);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
}

.display-lg {
  font-size: clamp(2.5rem, 3.3333333333vw1.8333333333rem, 4.5rem);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
}

.display-md {
  font-size: clamp(2rem, 2.5vw1.5rem, 3.5rem);
  line-height: 1.15;
}

.display-sm {
  font-size: clamp(1.5rem, 1.6666666667vw1.1666666667rem, 2.5rem);
  line-height: 1.2;
}

.h1 {
  font-size: clamp(2rem, 2.5vw1.5rem, 3.5rem);
  line-height: var(--leading-tight);
}

.h2 {
  font-size: clamp(1.75rem, 2.0833333333vw1.3333333333rem, 3rem);
  line-height: var(--leading-tight);
}

.h3 {
  font-size: clamp(1.375rem, 1.4583333333vw1.0833333333rem, 2.25rem);
  line-height: var(--leading-snug);
}

.h4 {
  font-size: clamp(1.125rem, 1.0416666667vw0.9166666667rem, 1.75rem);
  line-height: var(--leading-snug);
}

.prose {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text, inherit);
  max-width: var(--measure);
}
.prose h1 {
  font-size: clamp(2rem, 1.6666666667vw1.6666666667rem, 3rem);
}
.prose h2 {
  font-size: clamp(1.5rem, 1.25vw1.25rem, 2.25rem);
}
.prose h3 {
  font-size: clamp(1.25rem, 0.8333333333vw1.0833333333rem, 1.75rem);
}
.prose h4 {
  font-size: clamp(1.125rem, 0.4166666667vw1.0416666667rem, 1.375rem);
}
.prose h5 {
  font-size: var(--text-lg);
}
.prose h6 {
  font-size: var(--text-md);
}
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  line-height: var(--leading-tight);
  font-weight: var(--font-weight-bold, 700);
  margin-block: var(--space-8) var(--space-3);
}
.prose h1:first-child, .prose h2:first-child, .prose h3:first-child, .prose h4:first-child, .prose h5:first-child, .prose h6:first-child {
  margin-block-start: 0;
}
.prose p {
  margin-block-end: var(--space-4);
}
.prose ul, .prose ol {
  padding-inline-start: var(--space-6);
  margin-block-end: var(--space-4);
  list-style: revert;
}
.prose li {
  margin-block-end: var(--space-1);
}
.prose a {
  color: var(--color-link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--duration-fast) var(--ease-smooth);
}
.prose a:hover {
  color: var(--color-link-hover);
}
.prose blockquote {
  border-inline-start: 4px solid var(--color-border);
  padding-inline-start: var(--space-6);
  font-style: italic;
  color: var(--color-text-muted);
  margin-block: var(--space-6);
}
.prose code {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.875em;
  background: var(--code-bg);
  padding: 0.15em 0.4em;
  border-radius: var(--radius-sm);
}
.prose pre {
  background: var(--code-bg);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin-block: var(--space-6);
}
.prose pre code {
  background: none;
  padding: 0;
  font-size: var(--text-sm);
}
.prose img {
  border-radius: var(--radius-md);
  margin-block: var(--space-6);
}
.prose hr {
  border: none;
  border-block-start: 1px solid var(--color-border);
  margin-block: var(--space-8);
}
.prose strong {
  font-weight: var(--font-weight-semibold, 600);
}

.container {
  width: 100%;
  max-width: var(--max-w-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide {
  max-width: var(--max-w-wide);
}
.container--narrow {
  max-width: 48rem;
}
.container--prose {
  max-width: var(--measure);
}

.grid {
  display: grid;
  gap: var(--grid-gap, var(--space-4));
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid--auto {
  grid-template-columns: repeat(auto-fill, minmax(var(--grid-min, 15rem), 1fr));
}
@media (max-width: 47.9375em) {
  .grid--2, .grid--3, .grid--4 {
    grid-template-columns: 1fr;
  }
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap, var(--space-4));
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cluster-gap, var(--space-3));
  align-items: var(--cluster-align, center);
  justify-content: var(--cluster-justify, flex-start);
}

.section {
  padding-block: var(--section-pad, var(--space-20));
}
.section--sm {
  --section-pad: var(--space-12);
}
.section--lg {
  --section-pad: 8rem;
}

.aspect--square {
  aspect-ratio: 1/1;
}
.aspect--video {
  aspect-ratio: 16/9;
}
.aspect--portrait {
  aspect-ratio: 3/4;
}
.aspect--landscape {
  aspect-ratio: 4/3;
}
.aspect--ultra {
  aspect-ratio: 21/9;
}

.sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sidebar-gap, var(--space-6));
}
.sidebar > :first-child {
  flex-basis: var(--sidebar-w, 16.25rem);
  flex-grow: 1;
}
.sidebar > :last-child {
  flex-basis: 0;
  flex-grow: 999;
  min-inline-size: var(--sidebar-threshold, 50%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

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

.text-lead {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
}

.text-small {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.text-caption {
  font-size: var(--text-xs);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-wide);
}

.text-muted {
  color: var(--color-text-muted);
}

.d-block {
  display: block;
}

.d-inline-block {
  display: inline-block;
}

.d-inline {
  display: inline;
}

.d-flex {
  display: flex;
}

.d-inline-flex {
  display: inline-flex;
}

.d-grid {
  display: grid;
}

.d-none {
  display: none;
}

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

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.items-stretch {
  align-items: stretch;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-col {
  flex-direction: column;
}

.flex-1 {
  flex: 1 1 0;
}

.shrink-0 {
  flex-shrink: 0;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.min-h-screen {
  min-height: 100dvh;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}

.overflow-clip {
  overflow: clip;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
  top: 0;
}

.inset-0 {
  inset: 0;
}

.truncate {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pointer-events-none {
  pointer-events: none;
}

.select-none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.cursor-pointer {
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .no-motion {
    animation: none !important;
    transition: none !important;
  }
}

:root {
  --navy: #1b3a60;
  --navy-700: #142d4d;
  --footer-bg: #07203e;
  --gold: #ed5c03;
  --gold-700: #c44e02;
  --gold-light: #f47d35;
  --gray: #f4f5f7;
  --gray-2: #e5e7eb;
  --white: #ffffff;
  --nav-bg: #f7f4e5;
  --ink: #1a2e4a;
  --muted: rgb(26 46 74 / 0.58);
  --faint: rgb(26 46 74 / 0.06);
  --border: rgb(26 46 74 / 0.12);
  --color-bg: var(--gray);
  --color-surface: var(--white);
  --color-surface-raised: var(--white);
  --color-surface-hover: rgb(26 46 74 / 0.04);
  --color-border: var(--border);
  --color-text: var(--ink);
  --color-text-muted: var(--muted);
  --color-primary: var(--gold);
  --color-primary-light: rgb(184 134 11 / 0.12);
  --color-primary-dark: var(--gold-700);
  --color-link: var(--ink);
  --color-link-hover: var(--gold);
  --font-heading: 'Fira Sans', system-ui, sans-serif;
  --font-body: 'Fira Sans', system-ui, sans-serif;
  --font-mono: 'Fira Sans', 'Courier New', monospace;
  --site-pad: clamp(1.25rem, 5vw, 4rem);
  --section-v: clamp(4.5rem, 10vw, 9rem);
  --nav-h: 4.5rem;
}
:root .borrar {
  display: none;
}

* {
  box-sizing: border-box;
}

@media (max-width: 47.9375em) {
  html {
    font-size: 110%;
  }
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--gray);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

::-moz-selection {
  background: #F71675;
  color: var(--white);
}

::selection {
  background: #F71675;
  color: var(--white);
}

.progress-bar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: 2px;
  width: 0%;
  background: #F71675;
  z-index: 900;
  pointer-events: none;
}

.section-inner {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--site-pad);
}
@media (min-width: 48em) {
  .section-inner {
    margin-inline: unset;
    margin-inline-start: 4rem;
  }
}

.s-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #F71675;
  margin-block-end: 1.5rem;
}
.s-label::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: #F71675;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 1.75rem;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.btn--primary {
  position: relative;
  isolation: isolate;
  background: linear-gradient(90deg, #204C91 0%, #CE2D71 100%);
  color: var(--white);
  border: 0;
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #CE2D71;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}
.btn--primary:hover {
  transform: translateY(-2px);
}
.btn--primary:hover::before {
  opacity: 1;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--white);
}
.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--ghost-light:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn .arrow {
  transition: transform 0.3s;
}
.btn:hover .arrow {
  transform: translateX(4px);
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.section {
  padding-block: var(--section-v);
}
.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--soft {
  background: var(--white);
}

.section__head {
  max-width: 56rem;
  margin-block-end: clamp(2.5rem, 5vw, 4.5rem);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
}

.section__lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
  max-width: 48rem;
}

.section--dark .section__lead {
  color: rgba(255, 255, 255, 0.7);
}

#mainNav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--nav-h);
  z-index: 800;
  background: var(--nav-bg);
  box-shadow: 0 1px 0 var(--border);
  transition: box-shadow 0.4s ease, height 0.3s ease;
}
#mainNav.scrolled {
  height: 4rem;
  box-shadow: 0 2px 12px rgba(26, 46, 74, 0.1);
}

.nav__inner {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--site-pad);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  height: 3.2rem;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.nav__logo img {
  height: 100%;
  width: auto;
  display: block;
}
.nav__logo .nav__logo-dark {
  display: block;
}
.nav__logo .nav__logo-light {
  display: none;
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 2.25rem;
  margin: 0 0 0 auto;
  padding: 0;
}
@media (max-width: 61.9375em) {
  .nav__links {
    display: none;
  }
}

.nav__links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-block-end: 4px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 0;
  height: 1px;
  background: #F71675;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav__links a:hover::after, .nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: #F71675;
  padding: 0.7rem 1.4rem;
  border-radius: 4px;
  transition: background 0.3s, transform 0.3s;
}
@media (max-width: 47.9375em) {
  .nav__cta {
    display: none;
  }
}
.nav__cta:hover {
  background: #C61260;
  transform: translateY(-2px);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.25rem;
  height: 2.25rem;
  background: none;
  border: none;
  cursor: pointer;
  margin-inline-start: auto;
  padding: 0;
}
@media (max-width: 61.9375em) {
  .nav__hamburger {
    display: flex;
  }
}
.nav__hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__hamburger.open span:first-child {
  transform: translateY(8px) rotate(45deg);
}
.nav__hamburger.open span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy);
  color: var(--nav-bg);
  z-index: 700;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: var(--site-pad);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 9vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--nav-bg);
  transition: color 0.25s, transform 0.25s;
  display: inline-block;
}
.mobile-menu a:hover {
  color: var(--gold);
  transform: translateX(0.5rem);
}
.mobile-menu__foot {
  margin-block-start: 3rem;
  font-size: 0.8rem;
  color: var(--nav-bg);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer {
  background: var(--footer-bg);
  color: var(--white);
  padding-block: clamp(4rem, 8vw, 6rem) 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-block-end: 3rem;
  border-block-end: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 48em) {
  .footer__top {
    grid-template-columns: 50% 20% 30%;
  }
}

.footer__brand__logo {
  display: block;
  height: 7.5rem;
  width: auto;
  margin: 0 0 1.25rem;
}
.footer__brand p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1.75rem;
  max-width: 32ch;
}

.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F71675;
  margin: 0 0 1.25rem;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.25s, transform 0.25s;
  display: inline-block;
}
.footer__col a:hover {
  color: #F71675;
  transform: translateX(4px);
}
.footer__col--bullets ul {
  list-style: disc;
  padding-inline-start: 1.25rem;
}
.footer__col--bullets ul li::marker {
  color: #F71675;
}
.footer__col--bullets ul li a {
  vertical-align: top;
}

.footer__bottom {
  padding-block-start: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 48em) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
@media (max-width: 47.9375em) {
  .hero {
    align-items: flex-start;
  }
  .hero .hero__inner {
    padding-block-start: 22dvh;
  }
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../imgs/cyp-contadores-hero--mobile.png") center/cover no-repeat, linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  z-index: 0;
}
@media (min-width: 48em) {
  .hero__bg {
    background: url("../imgs/cyp-contadores-hero.png") center/cover no-repeat, linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: calc(var(--nav-h) + 4rem) 4rem;
  max-width: 40rem;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 2rem;
}
.hero__label::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
}
@media (min-width: 48em) {
  .hero__title {
    font-size: clamp(2.05rem, 4.92vw, 3.69rem);
  }
  .hero__title span {
    display: block;
  }
}

.hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 2.5rem;
  max-width: 42rem;
}
@media (max-width: 47.9375em) {
  .hero__lead {
    font-size: clamp(0.95rem, 1.6vw, 1.2rem);
    margin: 0 0 5.5rem;
  }
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.services-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 48em) {
  .services-preview {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 62em) {
  .services-preview {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 46, 74, 0.08);
}
.service-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: 1.25rem;
  color: var(--gold);
  font-size: 1.25rem;
}
.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}
.service-card__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 48em) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-item {
  text-align: center;
  padding: 2rem 1.5rem;
}
.trust-item__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-block-end: 0.5rem;
}
.trust-item__label {
  font-size: 0.9rem;
  color: var(--ink);
}

.cta-final {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
}
.cta-final .section__title {
  margin-block-end: 1rem;
}

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding-block: calc(var(--nav-h) + 3rem) 3rem;
}
.page-hero .s-label {
  color: #F71675;
}
.page-hero .s-label::before {
  background: #F71675;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
}

#quienes {
  background: url("../imgs/bkg-mobile-consultorias.png") center/cover no-repeat;
}
@media (min-width: 48em) {
  #quienes {
    background: url("../imgs/bkg-consultorias.png") center/cover no-repeat;
  }
}
@media (max-width: 47.9375em) {
  #quienes .section__head {
    padding-block-start: var(--space-12);
  }
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 48em) {
  .about-intro {
    grid-template-columns: 1fr 1fr;
    max-width: 1024px;
    margin-inline: auto;
  }
}

.about-intro__text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 1.25rem;
}

.about-intro__image {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-2);
}
.about-intro__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

#mision-vision .section__title,
#valores .section__title {
  font-size: clamp(1.4rem, 3.85vw, 2.8rem);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 48em) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 48em) {
  .values-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}
.values-grid--4 {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (min-width: 48em) {
  .values-grid--4 {
    grid-template-columns: repeat(8, 1fr);
  }
  .values-grid--4 > .value-card {
    grid-column: span 2;
  }
  .values-grid--4 > .value-card:nth-child(5) {
    grid-column: 3/span 2;
  }
  .values-grid--4 > .value-card:nth-child(6) {
    grid-column: 5/span 2;
  }
}
.values-grid--4 .value-card {
  text-align: center;
}
.values-grid--4 .value-card__icon {
  margin-inline: auto;
}
@media (max-width: 47.9375em) {
  .values-grid--4 .value-card {
    padding: 1.25rem 1rem;
  }
  .values-grid--4 .value-card__title {
    font-size: 0.9rem;
  }
  .values-grid--4 .value-card__text {
    font-size: 0.675rem;
  }
}

.value-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
}
.value-card__icon {
  width: 5rem;
  height: 5rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: 1.25rem;
  color: #F71675;
}
@media (min-width: 48em) {
  .value-card__icon {
    width: 6rem;
    height: 6rem;
  }
}
.value-card__icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.value-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.value-card__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}

#serviciosDetalle {
  background: var(--navy);
  color: var(--white);
}
#serviciosDetalle .section-inner {
  padding-block-start: var(--space-12);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 48em) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 47.9375em) {
  .services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--site-pad);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1rem;
    padding-inline: var(--site-pad);
    margin-inline: calc(var(--site-pad) * -1);
  }
  .services-grid::-webkit-scrollbar {
    display: none;
  }
  .services-grid > .service-detail {
    flex: 0 0 90%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .services-grid > .service-detail .service-detail__text {
    line-height: 1.32;
  }
  .services-grid > .service-detail .service-detail__list {
    line-height: 1.2;
  }
  .services-grid > .service-detail .service-detail__title {
    line-height: 1.04;
  }
}

.services-grid__dots {
  display: none;
}
@media (max-width: 47.9375em) {
  .services-grid__dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-block-start: 1.5rem;
  }
}

.services-grid__dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: none;
  background: rgba(247, 22, 117, 0.3);
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.services-grid__dot.is-active {
  background: #F71675;
  transform: scale(1.3);
}

.service-detail {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.service-detail:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 46, 74, 0.08);
}
.service-detail__media {
  margin: -1.5rem -1.5rem 1.25rem;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray-2);
}
.service-detail__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.service-detail__num {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: #F71675;
  letter-spacing: 0.1em;
  margin-block-end: 1rem;
}
.service-detail__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
  color: #F71675;
}
.service-detail__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 1.25rem;
}
.service-detail__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-detail__list li {
  font-size: 0.85rem;
  color: var(--ink);
  padding-inline-start: 1.25rem;
  position: relative;
}
.service-detail__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F71675;
}

#consultGrid {
  background: url("../imgs/bkg-mobile-consultorias.png") center/cover no-repeat;
}
@media (min-width: 48em) {
  #consultGrid {
    background: url("../imgs/bkg-consultorias.png") center/cover no-repeat;
  }
}
#consultGrid .section-inner {
  padding-block-start: var(--space-12);
}

.consult-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 48em) {
  .consult-intro {
    grid-template-columns: 1fr 1fr;
  }
}

.consult-intro__text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 1.25rem;
}

.consult-intro__image {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-2);
}
.consult-intro__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.consult-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 48em) {
  .consult-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 48em) {
  .consult-steps--3-2 {
    grid-template-columns: repeat(6, 1fr);
  }
  .consult-steps--3-2 > .consult-step {
    grid-column: span 2;
  }
  .consult-steps--3-2 > .consult-step:nth-child(4) {
    grid-column: 2/span 2;
  }
  .consult-steps--3-2 > .consult-step:nth-child(5) {
    grid-column: 4/span 2;
  }
}

.consult-step {
  background: var(--white);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  text-align: center;
}
.consult-step__num {
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  line-height: 1;
  margin-block-end: 1rem;
  margin-inline: auto;
}
@media (min-width: 48em) {
  .consult-step__num {
    width: 7rem;
    height: 7rem;
  }
}
.consult-step__num img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.consult-step__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.consult-step__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}

#contacto .section-inner {
  padding-block-start: var(--space-12);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 48em) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-block-end: 2rem;
}
.contact-info__icon {
  width: 2.8rem;
  height: 2.8rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F71675;
  flex-shrink: 0;
}
@media (min-width: 48em) {
  .contact-info__icon {
    width: 3.5rem;
    height: 3.5rem;
  }
}
.contact-info__icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.contact-info__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F71675;
  margin-block-end: 0.25rem;
}
.contact-info__value {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

.contact-form {
  background: var(--white);
  border-radius: 1rem;
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.contact-map {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  min-height: 400px;
}
.contact-map iframe {
  flex: 1;
  width: 100%;
  border: 0;
  display: block;
}

.form__group {
  margin-block-end: 1.25rem;
}

.form__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-block-end: 0.5rem;
}

.form__input,
.form__textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--gray);
  color: var(--ink);
  transition: border-color 0.25s;
}
.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: #F71675;
}

.form__textarea {
  resize: vertical;
  min-height: 8rem;
}

.form__submit {
  margin-block-start: 0.5rem;
}

.section--map {
  padding-block: 0;
}

.map-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}
.map-wrapper iframe {
  display: block;
  width: 100%;
}
.map-wrapper--bleed {
  border-radius: 0;
  overflow: visible;
}

:root {
  --tilt: 3vw;
}

.tilt-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--tilt)), 0 100%);
}

.tilt {
  clip-path: polygon(0 var(--tilt), 100% 0, 100% calc(100% - var(--tilt)), 0 100%);
  margin-block-start: calc(var(--tilt) * -1);
}

.tilt-pivot {
  clip-path: polygon(0 var(--tilt), 100% 0, 100% 100%, 0 calc(100% - var(--tilt)));
  margin-block-start: calc(var(--tilt) * -1);
}

.tilt-flip {
  clip-path: polygon(0 0, 100% var(--tilt), 100% 100%, 0 calc(100% - var(--tilt)));
  margin-block-start: calc(var(--tilt) * -1);
}

.tilt-top {
  clip-path: polygon(0 0, 100% var(--tilt), 100% 100%, 0 100%);
  margin-block-start: calc(var(--tilt) * -1);
}

.service-card__icon img {
  display: block;
  width: 1em;
  height: 1em;
}

.whatsapp-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-fab:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}
.whatsapp-fab svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.value-card,
.service-detail,
.consult-step {
  position: relative;
  overflow: hidden;
}
.value-card > *,
.service-detail > *,
.consult-step > * {
  position: relative;
  z-index: 1;
}
.value-card::before,
.service-detail::before,
.consult-step::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 0;
  background: rgba(247, 244, 229, 0.4);
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
  pointer-events: none;
}
.value-card:hover::before,
.service-detail:hover::before,
.consult-step:hover::before {
  height: 100%;
}