:root {
  --black: #0B0A09;
  --charcoal: #1A1713;
  --charcoal-soft: #211D18;
  --gold: #F0AE17;
  --gold-deep: #C97F0E;
  --cream: #FAF3E6;
  --bark: #C9BBA6;
  --white: #FFFFFF;

  --font-display: 'Bitter', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;
  --font-script: 'Caveat', cursive;

  --max-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--black);
  line-height: 1.6;
}

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--white);
}

p { margin: 0 0 1em; }

a { color: inherit; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 2px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover { background: var(--gold-deep); }

.btn-ghost {
  border-color: currentColor;
  color: var(--cream);
}

.btn-whatsapp {
  background: var(--gold);
  color: var(--black);
  padding: 10px 18px;
  border-radius: 2px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.btn-whatsapp:hover { background: var(--gold-deep); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--cream);
}
.brand-mark { width: 64px; height: 64px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--gold); }
.site-nav a.btn-whatsapp:hover { color: var(--black); }

/* Hero */
.hero {
  background: var(--black);
  color: var(--cream);
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  padding-top: 88px;
  padding-bottom: 88px;
}
.eyebrow-script {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--gold);
  margin: 0 0 8px;
}
.hero-copy h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  max-width: 14ch;
  color: var(--white);
}
.hero-sub {
  font-size: 1.1rem;
  max-width: 46ch;
  color: var(--bark);
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero-mark {
  justify-self: center;
  width: 100%;
  max-width: 420px;
  opacity: 0.95;
}

/* Sections */
.section { padding: 88px 0; border-top: 1px solid rgba(240,174,23,0.15); }
.section-cream, .section-ink { background: var(--black); color: var(--cream); }
.section-title-light { color: var(--white); }
.section-lead, .section-lead--dark {
  color: var(--bark);
  max-width: 56ch;
  font-size: 1.1rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
}
.about-text h2 { font-size: 2rem; }
.about-text p { color: var(--bark); }
.pull-quote {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin-top: 24px;
}
.about-facts {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-left: 1px solid rgba(240,174,23,0.25);
  padding-left: 32px;
}
.fact { display: flex; flex-direction: column; }
.fact-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
}
.fact-label {
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--bark);
}

/* Services */
.services-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(240,174,23,0.15);
}
.service-card {
  background: var(--charcoal);
  padding: 32px 28px;
}
.service-card h3 {
  color: var(--gold);
  font-size: 1.2rem;
}
.service-card p {
  color: var(--bark);
  margin: 0;
  font-size: 0.95rem;
}
.service-card--soon {
  background: var(--gold);
}
.service-card--soon h3,
.service-card--soon p { color: var(--black); }
.badge {
  display: inline-block;
  background: var(--black);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}

/* Slider de productos */
.slider {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}
.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}
.slide {
  min-width: 100%;
  margin: 0;
  position: relative;
}
.slide img {
  width: 100%;
  height: 62vh;
  min-height: 320px;
  max-height: 560px;
  object-fit: cover;
}
.slide figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(11,10,9,0.9), transparent);
  color: var(--white);
  font-weight: 500;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(11,10,9,0.6);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.slider-arrow:hover { background: var(--gold); color: var(--black); }
.slider-arrow--prev { left: 16px; }
.slider-arrow--next { right: 16px; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.slider-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(240,174,23,0.3);
  cursor: pointer;
  padding: 0;
}
.slider-dots button.is-active { background: var(--gold); }

/* Opiniones */
.reviews-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--charcoal);
  padding: 28px;
  border-top: 3px solid var(--gold);
}
.stars {
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.review-quote {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.review-author {
  color: var(--bark);
  font-size: 0.9rem;
  margin: 0;
}
.reviews-cta { margin-top: 36px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-info h2 { font-size: 2rem; }
.contact-lede { color: var(--bark); max-width: 42ch; }
.info-list {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.info-list li { display: flex; flex-direction: column; gap: 2px; }
.info-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
}
.info-list a { text-decoration: none; color: var(--cream); }
.info-list a:hover { text-decoration: underline; color: var(--gold); }

.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.social-links a { text-decoration: none; font-weight: 500; color: var(--cream); }
.social-links a:hover { color: var(--gold); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--charcoal);
  padding: 32px;
  border: 1px solid rgba(240,174,23,0.2);
}
.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bark);
  margin-top: 12px;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid rgba(240,174,23,0.3);
  border-radius: 2px;
  background: var(--black);
  color: var(--cream);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.contact-form button { margin-top: 20px; align-self: flex-start; }
.hidden-field { position: absolute; left: -9999px; }

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--bark);
  padding: 48px 0;
  border-top: 1px solid rgba(240,174,23,0.15);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-mark { width: 52px; height: 52px; }
.footer-inner p { margin: 0; font-size: 0.9rem; }
.footer-social { display: flex; gap: 20px; }
.footer-social a { text-decoration: none; font-size: 0.9rem; }
.footer-social a:hover { color: var(--gold); }

/* Portal de trabajadores — destacado */
.footer-staff {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(240,174,23,0.15);
  display: flex;
  justify-content: center;
}
.staff-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 640px;
  background: var(--charcoal);
  border: 2px solid var(--gold);
  border-radius: 4px;
  padding: 28px 36px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.staff-box:hover { background: var(--gold); transform: translateY(-2px); }
.staff-box:hover .staff-title,
.staff-box:hover .staff-sub { color: var(--black); }
.staff-box-text { display: flex; flex-direction: column; gap: 4px; }
.staff-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
}
.staff-sub {
  font-size: 0.9rem;
  color: var(--bark);
}
.staff-arrow {
  font-size: 1.8rem;
  color: var(--gold);
  flex-shrink: 0;
}
.staff-box:hover .staff-arrow { color: var(--black); }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
  .hero-mark { max-width: 260px; order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-facts { border-left: none; padding-left: 0; flex-direction: row; flex-wrap: wrap; gap: 32px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav.is-open { max-height: 320px; padding-bottom: 16px; }
  .site-nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(240,174,23,0.15); }
  .site-nav a.btn-whatsapp { border: none; margin-top: 8px; text-align: center; }

  .brand-mark { width: 48px; height: 48px; }
  .staff-box { flex-direction: column; text-align: center; padding: 28px 24px; }
}

@media (max-width: 760px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .slide img { height: 46vh; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}
