/* ProTraX Partners — styles.css */

:root {
  --navy: #142A4C;
  --navy-deep: #0E1F3A;
  --navy-soft: #1D3760;
  --teal: #17B8A3;
  --teal-dark: #0E7E70;
  --bg: #F4F7F9;
  --muted: #5A6B7A;
  --on-dark: #C7D2DE;
  --line: #DCE3EA;
  --font: "Segoe UI", Calibri, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 13px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 22px;
}

.btn {
  display: inline-block;
  padding: 16px 32px; border-radius: 999px;
  background: var(--teal); color: var(--navy-deep);
  font-weight: 700; font-size: 16px;
  transition: transform .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); background: #1fcab3; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* Portada */
.intro {
  position: relative; overflow: hidden;
  min-height: 80vh; min-height: 80svh;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-deep); color: #fff;
  padding: 40px 24px;
}
.intro::before {
  content: ""; position: absolute;
  width: 170px; height: 900px; border-radius: 999px;
  background: var(--navy);
  right: 6%; top: -120px; transform: rotate(45deg);
}
.intro::after {
  content: ""; position: absolute;
  width: 110px; height: 600px; border-radius: 999px;
  background: var(--navy);
  left: 4%; bottom: -260px; transform: rotate(45deg);
}
.intro .link-contact { position: absolute; top: 30px; right: 32px; z-index: 2; }
.intro-logo {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: clamp(18px, 3vw, 36px);
  animation: fadeUp 1.1s ease both;
}
.intro-mark { width: clamp(84px, 13vw, 170px); height: auto; aspect-ratio: 1; }
.intro-name {
  font-size: clamp(64px, 12vw, 160px);
  font-weight: 800; line-height: .9; letter-spacing: -.02em;
}
.intro-name span { color: var(--teal); }
.intro-sub {
  margin-top: clamp(8px, 1.4vw, 18px);
  font-size: clamp(12px, 1.8vw, 24px); font-weight: 700;
  letter-spacing: .6em; color: var(--on-dark);
}
.scroll-cue {
  position: absolute; bottom: 32px; left: 50%; z-index: 2;
  width: 44px; height: 44px; margin-left: -22px;
  display: grid; place-items: center;
  color: var(--on-dark); border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
  animation: bob 2.2s ease-in-out infinite;
}
.scroll-cue:hover { color: #fff; border-color: #fff; }
.scroll-cue svg { width: 22px; height: 22px; }
.link-contact { color: var(--on-dark); font-weight: 600; font-size: 15px; }
.link-contact:hover { color: #fff; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff;
  padding: 72px 0 140px;
}
.hero::before {
  content: ""; position: absolute;
  width: 150px; height: 820px; border-radius: 999px;
  background: var(--navy-soft);
  right: 8%; top: -60px; transform: rotate(45deg);
}
.hero .container { position: relative; width: 100%; }
.hero-title {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 800; line-height: 1.05; letter-spacing: -.02em;
  max-width: 820px;
}
.hero-title span { color: var(--teal); }
.lead {
  margin: 28px 0 40px;
  max-width: 560px;
  font-size: clamp(18px, 2vw, 21px);
  color: var(--on-dark);
}

/* Secciones */
.section { padding: 120px 0; }

/* Declaración */
.statement { background: #fff; padding: 200px 0; }
.statement p {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; line-height: 1.25; letter-spacing: -.01em;
}
.statement p span { color: var(--teal-dark); }
.statement .small {
  margin-top: 36px; max-width: 620px;
  font-size: 18px; font-weight: 400; line-height: 1.6; color: var(--muted);
}

/* Contacto */
.contact { background: var(--navy); color: #fff; text-align: center; }
.contact h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.1; }
.lead-dark { margin: 18px 0 40px; font-size: 20px; color: var(--on-dark); }
.contact-info { margin-top: 40px; font-size: 15.5px; color: var(--on-dark); }
.contact-info a { color: #fff; font-weight: 600; }
.contact-info a:hover { color: var(--teal); }
.sep { margin: 0 10px; opacity: .5; }

/* Footer */
.footer { background: var(--navy-deep); color: var(--on-dark); font-size: 14px; padding: 28px 0; text-align: center; }

/* Móvil */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .statement { padding: 120px 0; }
  .hero::before { right: -35%; width: 110px; }
  .intro::before { right: -30%; width: 120px; }
  .intro::after { display: none; }
  .intro .link-contact { top: 22px; right: 18px; }
  .intro-sub { letter-spacing: .45em; }
  .contact-info { display: flex; flex-direction: column; gap: 6px; }
  .sep { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .intro-logo, .scroll-cue { animation: none; }
}
