/* ============================================================
   SUSAN CABRERA — Paleta: Negro · Dorado · Blanco · Rosa Fuerte
   ============================================================ */
:root {
  --black:       #0a0a0a;
  --black-soft:  #111111;
  --black-card:  #161616;
  --gold:        #c9a84c;
  --gold-light:  #e2c278;
  --gold-dim:    rgba(201, 168, 76, 0.35);
  --pink:        #e8185a;
  --pink-light:  #ff3d76;
  --pink-dim:    rgba(232, 24, 90, 0.18);
  --white:       #ffffff;
  --white-off:   #f5f0eb;
  --white-muted: rgba(255, 255, 255, 0.7);
  --gray-light:  rgba(255, 255, 255, 0.12);
  --shadow:      0 20px 50px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 12px 32px rgba(201, 168, 76, 0.22);
  --shadow-pink: 0 12px 32px rgba(232, 24, 90, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--white-off);
  background: var(--black);
  line-height: 1.65;
}

/* ─── Layout ─────────────────────────────────────────────── */
.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ─── Topbar ─────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gold-dim);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "Playfair Display", serif;
  color: var(--gold-light);
  text-decoration: none;
  font-size: 1.38rem;
  letter-spacing: 0.4px;
  position: relative;
  z-index: 22;
}

.menu {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.menu a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.menu a:hover { color: var(--gold-light); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--gold-dim);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 22;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold-light);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  padding: 5.4rem 0 4.5rem;
  position: relative;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(232, 24, 90, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 100% 80%, rgba(201, 168, 76, 0.1) 0%, transparent 40%),
    var(--black);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.4px;
  font-size: 0.72rem;
  color: var(--pink);
  font-weight: 800;
}

h1, h2, h3 { margin: 0; }

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3.45rem);
  line-height: 1.08;
  margin: 0.9rem 0 1.1rem;
  max-width: 12ch;
  color: var(--white);
}

.hero p {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.04rem;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-light) 100%);
  color: var(--white);
  box-shadow: var(--shadow-pink);
}

.btn-primary:hover {
  box-shadow: 0 16px 42px rgba(232, 24, 90, 0.45);
}

.btn-ghost {
  color: var(--white-off);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.btn-ghost:hover {
  border-color: var(--gold-dim);
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold-light);
}

/* ─── Hero Card ──────────────────────────────────────────── */
.hero-card {
  background: linear-gradient(160deg, #1a1a1a 0%, #1f1f1f 100%);
  color: var(--white-off);
  border: 1px solid var(--gold-dim);
  border-radius: 20px;
  padding: 1.6rem;
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 0 0 2px 2px;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.15), transparent 70%);
  pointer-events: none;
}

.hero-card h2 {
  font-family: "Playfair Display", serif;
  margin-bottom: 1rem;
  color: var(--gold-light);
  font-size: 1.5rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-card-note {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-light);
  color: var(--white-off);
  font-weight: 500;
}

/* ─── Hero Highlights ────────────────────────────────────── */
.hero-highlights {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.highlight-pill {
  min-width: 160px;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--gold-dim);
  flex: 1 1 180px;
  transition: border-color 0.2s;
}

.highlight-pill:hover {
  border-color: var(--gold-dim);
}

.highlight-pill strong,
.highlight-pill span { display: block; }

.highlight-pill strong {
  font-size: 1rem;
  color: var(--gold-light);
}

.highlight-pill span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ─── Credibility Strip ──────────────────────────────────── */
.credibility-strip { padding: 0 0 1.2rem; }

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  border-radius: 20px;
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.2);
  box-shadow: var(--shadow-gold);
}

.credibility-grid div {
  display: grid;
  gap: 0.35rem;
  padding: 0 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.credibility-grid div:last-child { border-right: none; }

.credibility-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--pink);
  font-weight: 800;
}

.credibility-grid strong {
  font-size: 0.97rem;
  line-height: 1.45;
  color: var(--white-off);
}

/* ─── Sections ───────────────────────────────────────────── */
.section { padding: 4.7rem 0; }

.section-alt {
  background:
    radial-gradient(ellipse at 90% 10%, rgba(201, 168, 76, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 10% 90%, rgba(232, 24, 90, 0.05) 0%, transparent 35%),
    #0e0e0e;
  color: var(--white-off);
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  margin: 0.65rem 0 1.8rem;
  color: var(--white);
}

/* ─── Service Cards ──────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top: 2px solid var(--gold-dim);
  border-radius: 16px;
  padding: 1.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.4);
  border-top-color: var(--gold);
}

.card h3 {
  margin-bottom: 0.7rem;
  color: var(--gold-light);
  font-size: 1.05rem;
}

.card p { color: rgba(255, 255, 255, 0.68); }

/* ─── Timeline / Method ──────────────────────────────────── */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.phase {
  padding: 1.4rem;
  border-radius: 16px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}

.phase::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}

.phase:hover::after { opacity: 1; }

.phase h3 { color: var(--white); margin: 0.5rem 0 0.7rem; }
.phase p  { color: rgba(255, 255, 255, 0.65); font-size: 0.97rem; }

.phase-tag {
  display: inline-block;
  border: 1px solid var(--pink);
  color: var(--pink-light);
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── Carousel ───────────────────────────────────────────── */
.carousel {
  position: relative;
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 28px;
  padding: 1.2rem 1.2rem 1rem;
  box-shadow: var(--shadow);
  width: min(760px, 100%);
  margin: 0 auto;
}

.carousel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 20px;
  background: #0d0d0d;
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  margin: 0;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border-radius: 16px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.1rem;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-light);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.carousel-btn:hover {
  transform: translateY(-2px);
  background: rgba(201, 168, 76, 0.12);
  border-color: var(--gold);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.carousel-dot.is-active {
  background: var(--gold);
  width: 24px;
  transform: none;
}

/* ─── Focus Styles ───────────────────────────────────────── */
.carousel-btn:focus-visible,
.carousel-dot:focus-visible,
.btn:focus-visible,
.menu a:focus-visible,
.menu-toggle:focus-visible,
.social-link:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

/* ─── Profile ────────────────────────────────────────────── */
.profile-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.05fr 0.9fr;
  gap: 1.4rem;
  align-items: start;
}

.profile-photo {
  margin: 0;
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 100%;
  position: relative;
}

.profile-photo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--gold));
  z-index: 1;
}

.profile-photo img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center top;
}

.profile-photo figcaption {
  padding: 0.95rem 1rem 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(10, 10, 10, 0.9);
  font-size: 0.91rem;
}

.section-title { color: var(--white); }

.profile-role {
  margin: -0.6rem 0 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
  font-size: 0.8rem;
}

.profile-copy .eyebrow { color: var(--gold-light); }

.profile-copy p:not(.eyebrow):not(.profile-role) {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.7);
}

.profile-card {
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow-gold);
  position: relative;
}

.profile-card::before {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--gold));
  margin-bottom: 1rem;
}

.profile-card h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1.15rem;
}

.profile-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
}

.profile-note {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
  font-weight: 700;
}

/* ─── CTA Section ────────────────────────────────────────── */
.section-cta {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232, 24, 90, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(201, 168, 76, 0.1) 0%, transparent 40%),
    #0c0c0c;
}

.cta {
  text-align: center;
  padding: 2.2rem 1rem;
  color: var(--white-off);
}

.cta h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  margin-bottom: 0.7rem;
  color: var(--white);
}

.cta p {
  margin: 0 auto 1.8rem;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.66);
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: #060606;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 1.4rem 0;
  font-size: 0.88rem;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.social-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.2);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  background: rgba(232, 24, 90, 0.1);
  border-color: var(--pink);
}

.social-icon {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  filter: invert(1) opacity(0.8);
}

/* ─── Reveal Animations ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ─── Responsive 980px ───────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid,
  .cards,
  .timeline,
  .credibility-grid { grid-template-columns: 1fr 1fr; }

  .profile-grid { grid-template-columns: 0.9fr 1.1fr; }
  .profile-card { grid-column: 1 / -1; }

  .credibility-grid div { border-right: none; }
}

/* ─── Responsive 760px ───────────────────────────────────── */
@media (max-width: 760px) {
  .nav { min-height: 76px; position: relative; }

  .menu-toggle { display: inline-flex; }

  .hero {
    padding-top: 3.8rem;
    padding-bottom: 3.6rem;
  }

  .hero-grid,
  .cards,
  .timeline,
  .credibility-grid,
  .profile-grid { grid-template-columns: 1fr; }

  .menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    display: grid;
    gap: 0.35rem;
    padding: 0.9rem;
    background: rgba(10, 10, 10, 0.97);
    border: 1px solid var(--gold-dim);
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .menu a {
    display: block;
    padding: 0.8rem 0.9rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

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

  .btn { width: 100%; }

  .hero-highlights { gap: 0.7rem; }
  .highlight-pill  { min-width: 0; }

  .credibility-grid { padding: 1rem; }

  .section { padding: 3.8rem 0; }

  .carousel {
    width: min(100%, 92vw);
    padding: 0.8rem 0.8rem 0.75rem;
    border-radius: 22px;
  }

  .carousel-slide img { height: 300px; }

  .carousel-controls {
    gap: 0.7rem;
    margin-top: 0.9rem;
  }

  .carousel-btn { width: 38px; height: 38px; }

  .profile-photo img { height: 340px; }

  .profile-card,
  .profile-photo,
  .card,
  .phase { border-radius: 18px; }
}

/* ─── Responsive 460px ───────────────────────────────────── */
@media (max-width: 460px) {
  .container { width: min(100%, calc(100% - 28px)); }

  .hero { padding-top: 3.2rem; }

  .hero p,
  .cta p,
  .profile-copy p:not(.eyebrow):not(.profile-role) { font-size: 0.98rem; }

  .hero-card,
  .profile-card { padding: 1.2rem; }

  .carousel-slide img { height: 240px; }

  .carousel-dot.is-active { width: 18px; }
}
