:root {
  --navy-900: #0f1b2d;
  --navy-800: #16253b;
  --navy-700: #1f3352;
  --amber-500: #e8873a;
  --amber-600: #d4702a;
  --paper: #faf7f2;
  --ink: #1a1a1a;
  --ink-soft: #4a5163;
  --border: #e4ded3;
  --radius: 10px;
  --max-width: 1120px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  margin: 0 0 .6em;
  color: var(--navy-900);
}

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy-900);
}
.brand-tag {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  color: var(--amber-600);
}

.main-nav {
  display: flex;
  gap: 20px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--navy-700);
  font-size: .92rem;
  font-weight: 500;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--amber-600); }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--amber-500);
  color: #fff;
}
.btn-primary:hover { background: var(--amber-600); }

.btn-outline {
  background: transparent;
  border-color: var(--navy-700);
  color: var(--navy-800);
}
.btn-outline:hover { background: var(--navy-800); color: #fff; }

.btn-block { display: block; width: 100%; margin-bottom: 12px; }

.btn-header { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: #fff;
  padding: 84px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--amber-500);
  margin-bottom: 14px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

.hero-lead {
  color: #d7dce6;
  margin: 0 0 28px;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-note {
  margin: 16px 0 0;
  font-size: .88rem;
  color: #9aa8c0;
  max-width: 480px;
}

.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,.35);
}
.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-actions .btn-outline {
  border-color: #fff;
  color: #fff;
}
.hero-actions .btn-outline:hover { background: #fff; color: var(--navy-900); }

/* Trust bar */
.trust-bar {
  background: var(--navy-700);
  color: #fff;
  padding: 16px 0;
  text-align: center;
}
.trust-bar p { margin: 0; color: #e7eaf1; font-size: .95rem; }
.trust-bar strong { color: #fff; }

/* Sections */
.section { padding: 72px 0; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  text-align: center;
}

.section-subtitle {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}

/* Services: laborales destacado, otros secundario */
.services-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.service-featured,
.service-secondary {
  border-radius: var(--radius);
  padding: 32px;
}

.service-featured {
  background: var(--navy-900);
  color: #fff;
  box-shadow: 0 16px 36px rgba(15,27,45,.18);
}
.service-featured h3 { color: #fff; font-size: 1.4rem; }
.service-featured p { color: #d7dce6; }

.service-secondary {
  background: #fff;
  border: 1px solid var(--border);
}
.service-secondary h3 { font-size: 1.1rem; }

.service-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.service-list li {
  position: relative;
  padding-left: 22px;
  font-weight: 600;
}
.service-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--amber-500);
}
.service-featured .service-list li { color: #fff; }
.service-secondary .service-list li { color: var(--navy-800); }

.check {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--amber-500);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Asistente virtual */
.section-bot { background: var(--navy-900); }
.section-bot .eyebrow-center { text-align: center; }
.section-bot .section-title { color: #fff; }
.section-bot .section-subtitle { color: #d7dce6; }

.bot-list {
  list-style: none;
  margin: 0 auto 36px;
  padding: 0;
  max-width: 480px;
  display: grid;
  gap: 14px;
}
.bot-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #d7dce6;
  font-size: .98rem;
  text-align: left;
}

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

/* LinkedIn */
.linkedin-scroll-wrap {
  position: relative;
  width: 100%;
  height: 620px;
  margin: 0 auto 32px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
}

.linkedin-scroll-wrap::before,
.linkedin-scroll-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  pointer-events: none;
  z-index: 2;
}
.linkedin-scroll-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #fff, transparent);
}
.linkedin-scroll-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #fff, transparent);
}

.linkedin-scroll {
  display: flex;
  flex-direction: row;
  gap: 24px;
  padding: 24px;
  width: max-content;
  animation: linkedin-scroll-left 200s linear infinite;
}
.linkedin-scroll-wrap:hover .linkedin-scroll { animation-play-state: paused; }

@keyframes linkedin-scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.linkedin-embed {
  flex: 0 0 360px;
  width: 360px;
}

.linkedin-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 8px;
}

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

@media (prefers-reduced-motion: reduce) {
  .linkedin-scroll { animation: none; }
}

@media (max-width: 480px) {
  .linkedin-embed { flex-basis: 300px; width: 300px; }
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 24px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  font-weight: 700;
  color: var(--navy-900);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--amber-500);
}
.faq-item[open] summary::after { content: "\2212"; }

.faq-item p {
  margin: 0 0 20px;
  color: var(--ink-soft);
}

.faq-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 24px auto 0;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature h3 { font-size: 1.1rem; }
.feature p { margin: 0; }

/* Contact */
.section-contact { background: var(--navy-900); border-top: 1px solid var(--navy-700); }
.section-contact .section-title,
.section-contact .section-subtitle { color: #fff; text-align: left; margin-left: 0; }
.section-contact .section-title { color: #fff; }
.section-contact .section-subtitle { color: #c3c9d6; }

.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--amber-500);
  font-weight: 700;
}

.contact-list a,
.contact-list span:not(.contact-label) {
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
}
.contact-list a:hover { color: var(--amber-500); }

.contact-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-card h3 { color: #fff; }
.contact-card p { color: #c3c9d6; }
.contact-card .btn-outline {
  border-color: #fff;
  color: #fff;
}
.contact-card .btn-outline:hover { background: #fff; color: var(--navy-900); }

/* Footer */
.site-footer {
  background: var(--navy-900);
  border-top: 1px solid var(--navy-700);
  color: #9aa3b5;
  padding: 24px 0;
  font-size: .85rem;
}
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-inner p { margin: 0; color: #9aa3b5; }

/* Responsive */
@media (max-width: 860px) {
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { max-width: 360px; margin: 0 auto; order: -1; }
  .benefits-grid { grid-template-columns: 1fr; }
}

@media (max-width: 940px) {
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
    gap: 14px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .btn-header { display: none; }
}

@media (max-width: 380px) {
  .brand-tag { display: none; }
}
