:root {
  --bg: #fff9fd;
  --surface: #ffffff;
  --surface-2: #f6efff;
  --text: #2d2140;
  --muted: #6b6280;
  --primary: #8753ff;
  --primary-strong: #6e39ee;
  --pink: #f0a0df;
  --blue: #67abf1;
  --green: #8ac76d;
  --yellow: #ffcf24;
  --coral: #ff5b4d;
  --white: #ffffff;
  --border: rgba(80, 54, 140, 0.12);
  --shadow: 0 18px 60px rgba(78, 49, 143, 0.14);
  --shadow-soft: 0 12px 28px rgba(78, 49, 143, 0.08);
  --radius: 24px;
  --radius-lg: 32px;
  --max: 1180px;
  --header-h: 84px;
  --transition: 220ms ease;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(240, 160, 223, 0.18), transparent 22%),
    radial-gradient(circle at top right, rgba(103, 171, 241, 0.14), transparent 18%),
    linear-gradient(180deg, #fff8fc 0%, #fffefe 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 9999;
  background: var(--primary);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 14px;
  transition: top var(--transition);
}
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 253, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--border);
  box-shadow: 0 8px 24px rgba(59, 33, 116, 0.06);
}
.nav-wrap {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.9rem; min-width: 0; }
.brand img {
  width: 64px; height: 64px; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-soft);
}
.brand span { display: grid; }
.brand strong { font-size: 1.05rem; line-height: 1.1; }
.brand small { color: var(--muted); }
.primary-nav { display: flex; align-items: center; gap: 1.1rem; }
.primary-nav a:not(.btn-nav) { color: var(--muted); font-weight: 600; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--primary-strong); }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--border); background: var(--surface);
  border-radius: 14px; padding: 0; align-items: center; justify-content: center; flex-direction: column;
  gap: 5px; box-shadow: var(--shadow-soft);
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 999px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 999px;
  padding: 0.95rem 1.25rem; font-weight: 800;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  border: 1px solid transparent; cursor: pointer;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong)); color: var(--white);
  box-shadow: 0 18px 34px rgba(110, 57, 238, 0.25);
}
.btn-secondary {
  background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-soft);
}
.btn-nav { margin-left: 0.4rem; }

.hero { position: relative; overflow: clip; padding: 5rem 0 3rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem; color: var(--primary-strong);
  font-size: 0.84rem; font-weight: 900; letter-spacing: 0.12em; margin: 0 0 1rem;
}
.hero h1, .section-heading h2, .process-copy h2, .contact-copy h2 {
  font-size: clamp(2rem, 4vw, 4.4rem); line-height: 1; letter-spacing: -0.045em; margin: 0 0 1rem;
}
.hero-text, .section-heading p, .process-copy p, .contact-copy p, .footer-note, .footer-copy { color: var(--muted); }
.hero-text { max-width: 62ch; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin: 1.5rem 0; }
.hero-badges {
  list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.7rem;
}
.hero-badges li {
  padding: 0.72rem 0.9rem; border-radius: 999px; background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border); box-shadow: var(--shadow-soft); font-weight: 700; color: var(--text);
}
.hero-quote { font-weight: 800; max-width: 38ch; }
.hero-media { position: relative; min-height: 580px; }
.hero-card {
  position: relative; max-width: 430px; margin-inline: auto; border-radius: 36px; padding: 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(246,239,255,0.86));
  border: 1px solid rgba(255,255,255,0.7); box-shadow: var(--shadow);
}
.hero-card img { border-radius: 26px; aspect-ratio: 0.715; object-fit: cover; }
.floating-card { animation: floatY 6s ease-in-out infinite; }
.floating-note {
  position: absolute; max-width: 220px; padding: 0.95rem 1rem; border-radius: 22px; background: rgba(255,255,255,0.92);
  border: 1px solid var(--border); box-shadow: var(--shadow-soft); font-weight: 700; color: var(--text);
}
.note-top { top: 2.5rem; left: 0; }
.note-bottom { right: 0; bottom: 3rem; }
.shape { position: absolute; pointer-events: none; opacity: 0.75; }
.shape-star {
  width: 160px; height: 160px; right: -1rem; top: 7rem; background: radial-gradient(circle, rgba(255, 207, 36, 0.45), transparent 60%);
}
.shape-spark {
  width: 200px; height: 200px; left: -2rem; bottom: 1rem; background: radial-gradient(circle, rgba(103, 171, 241, 0.2), transparent 62%);
}

.trust-band { padding: 0 0 2rem; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.trust-grid article {
  background: rgba(255,255,255,0.76); border: 1px solid var(--border); border-radius: 22px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow-soft);
}
.trust-grid strong { display: block; font-size: 1.05rem; }
.trust-grid span { color: var(--muted); }

.section { padding: 5rem 0; }
.section-heading { max-width: 760px; margin-bottom: 2rem; }
.service-grid, .gallery-grid, .footer-grid, .contact-grid, .process-grid { display: grid; gap: 1.25rem; }
.service-grid { grid-template-columns: repeat(3, 1fr); }
.service-card, .info-card, .contact-card, .gallery-card, .faq-item {
  background: rgba(255,255,255,0.84); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-soft);
}
.service-card { padding: 1.5rem; }
.service-card h3 { margin: 1rem 0 0.7rem; font-size: 1.35rem; }
.service-card p { margin: 0 0 1rem; color: var(--muted); }
.service-card ul, .info-card ul, .contact-card ul { margin: 0; padding-left: 1.2rem; }
.service-icon {
  width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(135deg, rgba(240,160,223,0.4), rgba(135,83,255,0.28)); position: relative;
}
.service-icon::after { content: ""; position: absolute; inset: 14px; border-radius: 12px; }
.icon-spa::after { background: linear-gradient(135deg, var(--pink), var(--primary)); }
.icon-ciencia::after { background: linear-gradient(135deg, var(--blue), var(--green)); }
.icon-chef::after { background: linear-gradient(135deg, var(--yellow), var(--coral)); }

.gallery-grid { grid-template-columns: 1.1fr 0.9fr 0.9fr; gap: 1.25rem; align-items: stretch; }
.gallery-card { overflow: hidden; border-radius: var(--radius); aspect-ratio: 3/4; }
.gallery-trigger {
  display: block; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; background: transparent; cursor: zoom-in;
}
.gallery-card img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease;
}
.gallery-card:hover img, .gallery-card:focus-within img { transform: scale(1.05); }
.gallery-card figcaption { padding: 1rem 1.1rem 1.2rem; font-weight: 800; }

.process-grid, .contact-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
.steps {
  list-style: none; padding: 0; margin: 1.75rem 0; display: grid; gap: 0.9rem;
}
.steps li {
  padding: 1rem 1.1rem; background: rgba(255,255,255,0.78); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-soft);
}
.steps strong { display: block; }
.steps span { color: var(--muted); }
.cta-panel, .info-card, .contact-card { padding: 1.5rem; }
.cta-panel {
  border-radius: 26px; background: linear-gradient(135deg, rgba(135,83,255,0.12), rgba(240,160,223,0.18)); border: 1px solid rgba(135,83,255,0.14);
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1rem; }

.faq-list { display: grid; gap: 0.9rem; }
.faq-item { overflow: clip; }
.faq-question {
  width: 100%; text-align: left; background: transparent; border: 0; padding: 1.2rem 1.3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; font-weight: 800;
}
.faq-icon { font-size: 1.5rem; line-height: 1; color: var(--primary); transition: transform 260ms ease; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 260ms ease; }
.faq-answer > * { overflow: hidden; margin: 0; padding: 0 1.3rem 0; color: var(--muted); }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer > * { padding-bottom: 1.2rem; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }

.contact-card ul { display: grid; gap: 0.7rem; }
.site-footer { padding: 2rem 0 3rem; border-top: 1px solid var(--border); }
.footer-grid { grid-template-columns: 1.2fr 0.8fr 1fr; align-items: start; }
.footer-nav { display: grid; gap: 0.6rem; }
.footer-nav a { color: var(--muted); font-weight: 700; }
.footer-nav a:hover, .footer-nav a:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(135,83,255,0.28); outline-offset: 3px;
}

.lightbox {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute; inset: 0; background: rgba(25, 18, 42, 0.76); backdrop-filter: blur(6px);
}
.lightbox-dialog {
  position: relative; z-index: 1; width: min(92vw, 900px); padding: 1rem; border-radius: 28px;
  background: rgba(255,255,255,0.96); border: 1px solid rgba(255,255,255,0.8); box-shadow: var(--shadow);
}
.lightbox-dialog img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 20px; }
.lightbox-close {
  position: absolute; right: 0.7rem; top: 0.7rem; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(45, 33, 64, 0.08); cursor: pointer; font-size: 1.8rem;
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 180ms; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .hero-grid, .service-grid, .gallery-grid, .process-grid, .contact-grid, .footer-grid, .trust-grid {
    grid-template-columns: 1fr;
  }
  .hero-media { min-height: auto; }
  .hero-card { max-width: 520px; }
  .note-top, .note-bottom { position: static; margin-top: 1rem; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; inset: calc(100% + 0.5rem) 1rem auto 1rem; display: grid; gap: 0.4rem; padding: 0.85rem;
    background: rgba(255,255,255,0.96); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity var(--transition), transform var(--transition);
  }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .btn-nav { margin-left: 0; margin-top: 0.25rem; }
  .hero { padding-top: 3rem; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 1.2rem), var(--max)); }
  .hero h1, .section-heading h2, .process-copy h2, .contact-copy h2 {
    font-size: clamp(1.9rem, 12vw, 3rem);
  }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-badges { gap: 0.5rem; }
  .hero-badges li { width: 100%; text-align: center; }
  .section { padding: 4rem 0; }
  .service-card, .info-card, .contact-card, .cta-panel { padding: 1.2rem; }
}
