/* Titulares modernistas. Para usar "Le Petite Muse" con licencia, sustituir el archivo y ajustar size-adjust. */
@font-face {
  font-family: "AMA Muse";
  src: url("../fonts/smythe.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 122%;
}

:root {
  --ama-black: #0a0a0a;
  --ama-charcoal: #141414;
  --ama-surface: #1a1a1a;
  --ama-white: #ffffff;
  --ama-cream: #ffffff;
  --ama-pearl: #ffffff;
  --ama-ink: #f5f5f5;
  --ama-ink-soft: #d4d4d4;
  --ama-ink-dark: #141414;
  --ama-ink-dark-soft: #2a2a2a;
  --ama-muted: #8a8a8a;
  --ama-muted-dark: #6b6b6b;
  --ama-muted-soft: #666;
  --ama-silver: #c8c8c8;
  --ama-silver-bright: #e8e8e8;
  --ama-silver-grad: linear-gradient(135deg, #f0f0f0 0%, #b8b8b8 45%, #888 100%);
  --ama-line: rgba(200, 200, 200, 0.14);
  --ama-line-soft: rgba(255, 255, 255, 0.06);
  --ama-line-dark: rgba(0, 0, 0, 0.08);
  --ama-product-bg: var(--ama-pearl);
  --ama-wa: #25d366;
  --ama-ig: #e1306c;

  --ama-serif: "Reenie Beanie", cursive;
  --ama-sans: "DM Sans", system-ui, sans-serif;

  --ama-container: 1280px;
  --ama-header-h: 80px;
  --ama-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ama-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--ama-header-h);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--ama-sans);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ama-ink-dark-soft);
  background: #ffffff;
  text-transform: uppercase;
}

body.is-booting {
  overflow: hidden;
}

.ama-boot {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ama-ease);
}

.ama-boot.is-out {
  opacity: 0;
  pointer-events: none;
}

html.ama-booted .ama-boot {
  display: none;
}

.ama-boot video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* Secciones alternas claro / oscuro */
.ama-section--dark {
  background: var(--ama-charcoal);
  color: var(--ama-ink-soft);
}

.ama-section--dark .ama-section-head__title,
.ama-section--dark .ama-intro__title,
.ama-section--dark .ama-editorial__title,
.ama-section--dark .ama-card__title,
.ama-section--dark .ama-cat-stat__name,
.ama-section--dark .ama-process__title,
.ama-section--dark .ama-step__title,
.ama-section--dark .ama-contact__title,
.ama-section--dark .ama-cat-card__body h3 {
  color: var(--ama-ink);
}

.ama-section--dark .ama-section-head__sub,
.ama-section--dark .ama-intro__text,
.ama-section--dark .ama-editorial__text,
.ama-section--dark .ama-card__text,
.ama-section--dark .ama-cat-stat__desc,
.ama-section--dark .ama-process__text,
.ama-section--dark .ama-step__text,
.ama-section--dark .ama-detail__value {
  color: var(--ama-muted);
}

.ama-section--light {
  background: var(--ama-white);
  color: var(--ama-ink-dark-soft);
}

.ama-section--cream {
  background: var(--ama-cream);
  color: var(--ama-ink-dark-soft);
}

.ama-section--light .ama-section-head__title,
.ama-section--light .ama-intro__title,
.ama-section--cream .ama-section-head__title,
.ama-section--cream .ama-intro__title {
  color: var(--ama-ink-dark);
}

.ama-section--light .ama-section-head__sub,
.ama-section--light .ama-intro__text,
.ama-section--cream .ama-section-head__sub,
.ama-section--cream .ama-intro__text {
  color: var(--ama-muted-dark);
}

.ama-section--light .ama-eyebrow,
.ama-section--cream .ama-eyebrow {
  color: #888;
}

img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.ama-wrap {
  width: min(var(--ama-container), 92vw);
  margin-inline: auto;
}

.ama-eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ama-silver);
  margin-bottom: 0.85rem;
}

.ama-silver-text {
  background: var(--ama-silver-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.ama-section-head__title .ama-silver-text,
.ama-intro__title .ama-silver-text,
.ama-hero--story .ama-silver-text,
.ama-connection__title .ama-silver-text,
.ama-editorial .ama-silver-text,
.ama-catalog .ama-silver-text,
.ama-services .ama-silver-text,
.ama-categories .ama-silver-text,
.ama-process .ama-silver-text,
.ama-contact .ama-silver-text {
  background: linear-gradient(135deg, #3a3a3a 0%, #7a7a7a 50%, #555 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.ama-section-head { margin-bottom: 2.5rem; }

.ama-section-head--center { text-align: center; }
.ama-section-head--center .ama-section-head__sub {
  margin-inline: auto;
}

.ama-section-head__title {
  font-family: var(--ama-serif);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--ama-ink-dark);
}

.ama-section-head__sub {
  margin-top: 1rem;
  max-width: 560px;
  color: var(--ama-muted);
}

.ama-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 1px solid #000;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: none;
  transition: transform 0.35s var(--ama-ease), background 0.35s var(--ama-ease), border-color 0.35s var(--ama-ease), color 0.35s var(--ama-ease);
}

.ama-btn:hover { transform: translateY(-2px); }

.ama-btn--silver {
  background: var(--ama-silver-grad);
  color: #111;
  border-color: #a0a0a0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 1px 2px rgba(0, 0, 0, 0.1);
}

.ama-btn--silver:hover {
  background: linear-gradient(135deg, #fafafa 0%, #d8d8d8 42%, #9a9a9a 100%);
  color: #000;
  border-color: #7a7a7a;
}

.ama-btn--ghost,
.ama-btn--ig {
  background: #fff;
  color: #000;
  border-color: #000;
}

.ama-btn--ghost:hover,
.ama-btn--ig:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.ama-btn--dark,
.ama-btn--wa {
  background: #000;
  color: #fff;
  border-color: #000;
}

.ama-btn--dark:hover,
.ama-btn--wa:hover {
  background: #fff;
  color: #000;
  border-color: #000;
}

.ama-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
