/* ============================================
   FORT INVESTMENTS — base.css
   Reset, variables y tipografía base
   ============================================ */

:root {
  --color-navy: #141c26;
  --color-navy-2: #1b2a4a;
  --color-cream: #f2ede5;
  --color-cream-2: #ece4d8;
  --color-white: #ffffff;
  --color-tan: #b08d6a;
  --color-tan-dark: #96734f;
  --color-text: #2c2c2c;
  --color-text-light: #f2ede5;
  --color-text-muted: #5c5c5c;
  --color-border: #d9d2c6;

  --font-serif: Georgia, "Times New Roman", "Noto Serif", serif;
  --font-sans: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container-width: 1180px;
  --section-padding: 90px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.text-link {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--color-tan-dark);
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 400;
  font-family: var(--font-serif);
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 16px;
}

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

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

.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-tan-dark);
  margin: 0 0 10px;
}

.eyebrow--light {
  color: var(--color-tan);
}

.section-title {
  font-size: 34px;
  line-height: 1.25;
  color: var(--color-navy-2);
  margin: 0 0 18px;
}

.section-title--light {
  color: var(--color-text-light);
}

/* ---------- Animación de entrada (solo títulos) ---------- */
.title-fade {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.title-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .title-fade {
    opacity: 1;
    transform: none;
  }
}
