/* ---------------------
Header
----------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 229, 238, 0.9);
}

.nav-container {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c19a49;
  text-decoration: none;
  white-space: nowrap;
}

.logo:hover {
  color: #d89b2b;
}

.logo-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.nav a {
  position: relative;
  color: #111827;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  transition: color 0.18s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: #d89b2b;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.nav a:hover {
  color: #0b5f8f;
}

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

.nav-cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  color: #fff;
  background: #d89b2b;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(228, 153, 15, 0.24);
}

.nav-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.38),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.45s ease;
}

.nav-cta:hover::after {
  left: 125%;
}

@media (max-width: 900px) {
  .nav-container {
    min-height: 68px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
  }

  .logo-text {
    font-size: 21px;
  }

  .nav {
    gap: 18px;
  }

  .nav a {
    font-size: 14px;
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .nav-cta {
    min-height: 42px;
    padding: 0 16px;
    font-size: 14px;
  }
}

/* ============================
   FOOTER – CORTALES PREMIUM
   ============================ */

.footer {
  background: #0f0f0f;
  color: #fff;
  padding: 60px 0 40px;
  text-align: center;
  font-family: "Inter", sans-serif;
}

.footer h3 {
  font-size: 22px;
  font-weight: 700;
  color: #d4a84e;
  margin-bottom: 6px;
}

.footer p {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 6px;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-legal {
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-links {
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.footer-links a {
  color: #d4a84e;
  font-size: 14px;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-copy p {
  font-size: 13px;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* ----------------------
PAGES
----------------------- */

:root {
  --ink: #132238;
  --muted: #5d6b7c;
  --brand: #0b5f8f;
  --brand-dark: #083f60;
  --accent: #d89b2b;
  --line: #dce5ee;
  --soft: #f5f8fb;
  --white: #fff;
  --success: #0d7a5f;
  --shadow: 0 18px 50px rgba(19, 34, 56, 0.14);
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--white);
}

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

.hero-home {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(8, 24, 40, 0.9) 0%,
      rgba(8, 24, 40, 0.72) 50%,
      rgba(8, 24, 40, 0.34) 100%
    ),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1800&q=80")
      center / cover;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: center;
  padding: 92px 0 72px;
}

.badge {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 700;
}

.hero-home h1 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-home p {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.btn-primary,
.btn-secondary,
.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.btn-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(216, 155, 43, 0.34);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.hero-actions .btn-secondary {
  min-height: 44px;
  padding: 0 16px;
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
}

.btn-link {
  min-height: 44px;
  padding: 0;
  color: var(--brand);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-link:hover {
  transform: translateY(-2px);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
}

.hero-panel {
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.18;
}

.hero-panel p {
  margin: 10px 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.choice-list {
  display: grid;
  gap: 12px;
}

.choice-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
}

.choice-card strong {
  font-size: 17px;
}

.choice-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.choice-card:hover {
  border-color: rgba(11, 95, 143, 0.35);
  box-shadow: 0 10px 24px rgba(19, 34, 56, 0.08);
}

.section {
  padding: 92px 0;
}

.section.light {
  background: var(--soft);
}

.section-title {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-title span,
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-title h2,
.split-grid h2,
.cta-box h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-title p,
.split-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

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

.cards-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(19, 34, 56, 0.06);
}

.card.feature {
  display: grid;
  align-content: space-between;
  min-height: 280px;
}

.card img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 18px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 18px 0 0;
  color: var(--muted);
  list-style: none;
}

.card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--success);
  font-weight: 900;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
}

.proof-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--success);
  background: rgba(13, 122, 95, 0.1);
  font-weight: 900;
}

.proof-item h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.proof-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  font-weight: 900;
}

.cta {
  padding: 86px 0;
  color: #fff;
  background: var(--brand-dark);
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.cta-box h2 {
  color: #fff;
}

.cta-box p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.6;
}

.contact {
  padding: 76px 0;
  background: #fff;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
}

.contact-box h2 {
  margin: 0 0 10px;
  font-size: 30px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 0;
}

.contact-links a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}
