:root {
  --bg: #b8937f;
  --bg-deep: #9f7b68;
  --bg-soft: #efe5df;
  --surface: rgba(255, 248, 245, 0.74);
  --surface-strong: #f8f1ec;
  --surface-deep: #8f6d5f;
  --ink: #382822;
  --ink-soft: rgba(56, 40, 34, 0.74);
  --white-soft: rgba(255, 251, 248, 0.88);
  --line: rgba(77, 51, 42, 0.12);
  --accent: #f5e9e3;
  --accent-strong: #fff7f3;
  --radius-xl: 42px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --shadow-soft: 0 18px 48px rgba(86, 56, 45, 0.12);
  --shadow-strong: 0 24px 80px rgba(69, 44, 35, 0.16);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 247, 243, 0.42), transparent 20%),
    linear-gradient(180deg, #bc9985 0%, #b38d79 28%, #f3ebe6 28%, #f3ebe6 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.14), transparent 72%);
  opacity: 0.18;
}

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

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

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(244, 236, 231, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(70, 49, 41, 0.08);
  border-bottom: 1px solid rgba(77, 51, 42, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}

.brand img {
  width: 178px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  color: rgba(56, 40, 34, 0.88);
}

.main-nav a {
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(56, 40, 34, 0.64);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(77, 51, 42, 0.16);
  border-radius: 50%;
  background: rgba(255, 248, 245, 0.4);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  padding: 56px 0 92px;
  overflow: hidden;
}

.hero-orbit {
  position: absolute;
  border: 32px solid rgba(250, 241, 236, 0.9);
  border-radius: 200px;
  pointer-events: none;
}

.hero-orbit-left {
  width: 300px;
  height: 300px;
  top: -120px;
  left: -86px;
}

.hero-orbit-right {
  width: 230px;
  height: 230px;
  right: -70px;
  top: 550px;
  bottom: -50px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 360px;
  gap: 32px;
  align-items: end;
}

.hero-copy {
  padding: 76px 0 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: #D8BF84;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 56px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.eyebrow-dark {
  color: rgba(56, 40, 34, 0.58);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 8.2vw, 7rem);
  line-height: 0.92;
  color: #fffaf7;
}

h2 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 0.96;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.08;
}

p {
  margin: 0;
  line-height: 1.85;
}

.hero-text {
  max-width: 58ch;
  margin-top: 24px;
  color: rgba(255, 249, 245, 0.84);
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 15px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--accent-strong);
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(93, 62, 50, 0.16);
}

.button-secondary {
  background: transparent;
  color: #fff9f6;
  border-color: rgba(255, 249, 245, 0.44);
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.hero-notes div {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 249, 245, 0.24);
}

.hero-notes span,
.service-index,
.process-step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-notes span {
  color: rgba(255, 249, 245, 0.62);
}

.hero-notes strong {
  color: #fffaf7;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.hero-panel {
  position: relative;
}

.hero-panel-inner {
  padding: 32px;
  background: rgba(255, 248, 245, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 36px 36px 120px 36px;
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.hero-panel-inner img {
  width: 300px;
  margin-bottom: 26px;
  border-radius: 22px;
  align-items: center;
}

.hero-panel-inner p {
  color: var(--ink-soft);
}

.hero-panel-line {
  width: 100%;
  height: 1px;
  margin: 24px 0;
  background: var(--line);
}

.hero-points {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(159, 123, 104, 0.82);
}

.intro,
.services,
.showcase,
.process,
.contact {
  padding: 34px 0 0;
}

.intro-card,
.process-shell,
.contact-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.intro-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  padding: 54px;
  background: linear-gradient(180deg, rgba(248, 241, 236, 0.94), rgba(255, 250, 247, 0.94));
}

.intro-card::after,
.contact-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(184, 147, 127, 0.16);
  right: -60px;
  bottom: -120px;
}

.intro-body {
  display: grid;
  gap: 18px;
  color: var(--ink-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  color: #D8BF84;
}

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

.service-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: #C6A897; 
  border: 1px solid rgba(255, 250, 247, 0.26);
  box-shadow: var(--shadow-soft);
  color: #fffaf7;
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background: #9A7867;
}

.service-card p {
  margin-top: 14px;
  color: rgba(255, 249, 245, 0.82);
}

.service-card-featured {
  background: linear-gradient(180deg, rgba(248, 241, 236, 0.92), rgba(255, 250, 247, 0.88));
  color: var(--ink);
}

.service-card-featured p,
.service-card-featured .service-index {
  color: var(--ink-soft);
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 22px;
}

.showcase-text,
.showcase-quote {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.showcase-text {
  padding: 48px;
  background: var(--surface-strong);
}

.showcase-text p {
  margin-top: 18px;
  color: var(--ink-soft);
}

.showcase-quote {
  display: flex;
  align-items: end;
  padding: 40px;
  background: linear-gradient(180deg, rgba(154, 117, 97, 0.95), rgba(137, 105, 91, 0.95));
}

.showcase-quote p {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.12;
  color: #D8BF84;
  letter-spacing: -0.03em;
}

.process-shell {
  padding: 54px;
  background: linear-gradient(180deg, rgba(122, 92, 80, 0.96), rgba(99, 73, 63, 0.96));
}

.section-heading-compact {
  margin-bottom: 32px;
}

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

.process-step {
  padding: 28px;
  border-radius: 26px;
  background: rgba(255, 249, 245, 0.08);
  border: 1px solid rgba(255, 249, 245, 0.12);
  color: #fffaf7;
}

.process-step strong {
  color: rgba(255, 249, 245, 0.58);
}

.process-step h3 {
  margin-bottom: 12px;
}

.process-step p {
  color: rgba(255, 249, 245, 0.76);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  padding: 52px;
  background: linear-gradient(180deg, rgba(248, 241, 236, 0.94), rgba(255, 250, 247, 0.94));
}

.contact-copy p {
  margin-top: 18px;
  color: var(--ink-soft);
  max-width: 60ch;
}

.contact-info {
  display: grid;
  gap: 14px;
  align-content: center;
}

.contact-info a {
  display: block;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(184, 147, 127, 0.12);
  border: 1px solid rgba(77, 51, 42, 0.08);
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}

.contact-info a:hover,
.contact-info a:focus-visible {
  transform: translateX(4px);
  background: rgba(184, 147, 127, 0.18);
}
.contact-capacitaciones {
  display: grid;
  gap: 14px;
  align-content: center;
}

.contact-capacitaciones a {
  display: block;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(235, 232, 232, 0.534);
  border: 1px solid rgba(77, 51, 42, 0.08);
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}

.contact-capacitaciones a:hover,
.contact-capacitaciones a:focus-visible {
  transform: translateX(4px);
  background: rgba(141, 137, 135, 0.18);
}

.site-footer {
  padding: 34px 0 44px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(77, 51, 42, 0.12);
}

.footer-inner img {
  width: 150px;
}

.footer-inner p {
  max-width: 480px;
  text-align: right;
  color: rgba(56, 40, 34, 0.64);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 800ms ease, transform 800ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .intro-card,
  .showcase-grid,
  .contact-card,
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-panel {
    max-width: 540px;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(248, 241, 236, 0.96);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-wrap {
    position: relative;
    min-height: 78px;
  }

  .brand img {
    width: 146px;
  }

  .hero {
    padding: 28px 0 76px;
  }

  .hero-copy,
  .intro-card,
  .showcase-text,
  .showcase-quote,
  .process-shell,
  .process-step,
  .contact-card,
  .service-card,
  .hero-panel-inner {
    padding: 28px;
  }

  .hero-notes {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .footer-inner p {
    text-align: left;
  }

  .hero-orbit-left {
    width: 200px;
    height: 200px;
    top: -70px;
    left: -90px;
    border-width: 22px;
  }

  .hero-orbit-right {
    width: 160px;
    height: 160px;
    right: -55px;
    bottom: -35px;
    border-width: 22px;
  }
}
