:root {
  --background: #fff8f6;
  --background-soft: #fffdfc;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.62);
  --rose: #c9787d;
  --rose-light: #e9a7aa;
  --rose-soft: #f8e4e3;
  --rose-deep: #91464d;
  --wine: #5d3035;
  --text: #482f32;
  --muted: #80696c;
  --border: rgba(145, 70, 77, 0.18);
  --border-strong: rgba(145, 70, 77, 0.3);
  --shadow: 0 28px 78px rgba(93, 48, 53, 0.16);
  --shadow-soft: 0 14px 38px rgba(93, 48, 53, 0.1);
  --radius-lg: 28px;
  --radius-md: 21px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 8% 0%, rgba(233, 167, 170, 0.28), transparent 34%),
    radial-gradient(circle at 95% 100%, rgba(201, 120, 125, 0.18), transparent 38%),
    linear-gradient(160deg, #fffdfc 0%, #fff7f5 52%, #fcebea 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
}

.site-shell {
  position: relative;
  isolation: isolate;
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(26px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom));
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 250, 249, 0.92)),
    var(--background);
  box-shadow: var(--shadow);
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: absolute;
  z-index: -2;
  pointer-events: none;
  border-radius: 50%;
}

.site-shell::before {
  width: 250px;
  height: 250px;
  top: -145px;
  left: -110px;
  border: 1px solid rgba(201, 120, 125, 0.22);
  box-shadow: 0 0 0 22px rgba(233, 167, 170, 0.045);
}

.site-shell::after {
  width: 310px;
  height: 310px;
  right: -225px;
  bottom: 160px;
  border: 1px solid rgba(145, 70, 77, 0.14);
  box-shadow: 0 0 0 26px rgba(201, 120, 125, 0.035);
}

.ambient {
  position: absolute;
  z-index: -3;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(1px);
  animation: drift 11s ease-in-out infinite alternate;
}

.ambient-one {
  width: 250px;
  height: 250px;
  top: 170px;
  right: -185px;
  background: radial-gradient(circle, rgba(233, 167, 170, 0.28), transparent 70%);
}

.ambient-two {
  width: 220px;
  height: 220px;
  bottom: 310px;
  left: -165px;
  background: radial-gradient(circle, rgba(201, 120, 125, 0.24), transparent 72%);
  animation-delay: -4s;
}

.sparkles span {
  position: absolute;
  z-index: -1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 15px rgba(201, 120, 125, 0.58);
  opacity: 0.42;
  animation: twinkle 3.6s ease-in-out infinite;
}

.sparkles span:nth-child(1) { top: 8%; right: 10%; }
.sparkles span:nth-child(2) { top: 28%; left: 8%; animation-delay: -1.2s; }
.sparkles span:nth-child(3) { top: 54%; right: 5%; animation-delay: -2.1s; }
.sparkles span:nth-child(4) { bottom: 24%; left: 12%; animation-delay: -0.8s; }
.sparkles span:nth-child(5) { bottom: 7%; right: 17%; animation-delay: -2.8s; }

.hero {
  position: relative;
  padding-top: 4px;
  text-align: center;
}

.hero .eyebrow,
.hero h1,
.hero-copy {
  text-align: center;
}

.brand-logo {
  display: block;
  width: min(82%, 330px);
  height: auto;
  margin: 0 auto 4px;
  filter: drop-shadow(0 15px 28px rgba(145, 70, 77, 0.11));
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--rose-deep);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
}

.hero h1,
.catalog-header h1 {
  margin: 0;
  color: var(--wine);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(2.25rem, 10vw, 3.25rem);
}

.hero h1 span {
  color: var(--rose);
  font-style: italic;
  font-weight: 500;
}

.hero-copy {
  max-width: 390px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.actions {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.action-button {
  position: relative;
  display: grid;
  grid-template-columns: 43px 1fr auto;
  align-items: center;
  gap: 13px;
  min-height: 75px;
  padding: 13px 16px 13px 13px;
  color: var(--text);
  text-decoration: none;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 249, 0.7)),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  text-align: left;
  backdrop-filter: blur(13px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.action-button::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -30%;
  width: 38%;
  height: 300%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: rotate(16deg);
  transition: left 520ms ease;
}

.action-button:hover,
.action-button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 42px rgba(93, 48, 53, 0.14);
  outline: none;
}

.action-button:hover::after,
.action-button:focus-visible::after {
  left: 112%;
}

.action-button:active {
  transform: translateY(0) scale(0.99);
}

.action-primary {
  color: #fffaf9;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 54%),
    linear-gradient(135deg, #dc959a, #bb6870 56%, #9b4c55);
  border-color: rgba(145, 70, 77, 0.16);
  box-shadow: 0 16px 34px rgba(145, 70, 77, 0.24);
}

.button-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: var(--rose-deep);
  background: var(--rose-soft);
  border: 1px solid rgba(145, 70, 77, 0.15);
  border-radius: 15px;
}

.action-primary .button-icon {
  color: #fffafa;
  background: rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 255, 255, 0.3);
}

.button-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-icon .fill-dot {
  fill: currentColor;
  stroke: none;
}

.action-button strong,
.action-button small {
  display: block;
}

.action-button strong {
  font-size: 0.91rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.action-button small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.35;
}

.action-primary small {
  color: rgba(255, 250, 249, 0.82);
}

.button-arrow {
  color: var(--rose-deep);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.action-primary .button-arrow {
  color: #fffafa;
}

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

.trust-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: center;
  margin-top: 18px;
  padding: 16px 17px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(145, 70, 77, 0.13);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(93, 48, 53, 0.06);
}

.trust-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

.trust-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--rose-deep);
  background: var(--rose-soft);
  border: 1px solid rgba(145, 70, 77, 0.15);
  border-radius: 50%;
}

.footer {
  padding: 31px 8px 2px;
  color: #957b7e;
  text-align: center;
  font-size: 0.64rem;
  line-height: 1.7;
}

.footer p {
  margin: 0 0 5px;
}

.footer a {
  color: var(--rose-deep);
  text-underline-offset: 3px;
}

.footer > span {
  opacity: 0.78;
}

/* Catálogo */
.catalog-shell {
  padding-top: max(18px, env(safe-area-inset-top));
}

.catalog-header {
  text-align: left;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  float: left;
  margin-bottom: 3px;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(93, 48, 53, 0.06);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--wine);
  border-color: var(--border-strong);
  transform: translateX(-2px);
  outline: none;
}

.catalog-logo {
  display: block;
  clear: both;
  width: min(58%, 235px);
  height: auto;
  margin: 5px auto 4px;
  filter: drop-shadow(0 12px 24px rgba(145, 70, 77, 0.1));
}

.catalog-header h1 {
  font-size: clamp(2.35rem, 10vw, 3.15rem);
}

.catalog-intro {
  max-width: 385px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(93, 48, 53, 0.1);
}

.service-placeholder,
.service-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.service-placeholder {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  color: rgba(145, 70, 77, 0.68);
  background:
    radial-gradient(circle at 50% 40%, rgba(233, 167, 170, 0.36), transparent 44%),
    linear-gradient(145deg, #fffdfc, #f7dedf);
  border-bottom: 1px solid rgba(145, 70, 77, 0.12);
}

.service-placeholder svg {
  width: 76px;
  height: 76px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-placeholder span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-photo {
  display: block;
  object-fit: cover;
  border-bottom: 1px solid rgba(145, 70, 77, 0.12);
}

.service-content {
  position: relative;
  padding: 18px 19px 20px;
  text-align: left;
}

.service-number {
  position: absolute;
  top: 17px;
  right: 18px;
  color: rgba(145, 70, 77, 0.24);
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}

.service-content h2 {
  width: calc(100% - 48px);
  margin: 0;
  font-family: var(--font-display);
  color: var(--rose-deep);
  font-size: 1.65rem;
  font-weight: 600;
}

.service-content p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.catalog-cta {
  margin-top: 22px;
  padding: 19px;
  text-align: left;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(145, 70, 77, 0.13);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(93, 48, 53, 0.07);
}

.catalog-cta > p {
  margin: 0 0 14px;
  color: var(--wine);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.compact-button {
  min-height: 68px;
  text-align: left;
}

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

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

.is-navigation-pending {
  pointer-events: none;
  opacity: 0.72;
}

@keyframes drift {
  from { transform: translate3d(0, -6px, 0) scale(0.98); }
  to { transform: translate3d(-12px, 12px, 0) scale(1.06); }
}

@keyframes twinkle {
  0%, 100% { transform: scale(0.55); opacity: 0.18; }
  50% { transform: scale(1.35); opacity: 0.72; }
}

@media (min-width: 600px) {
  body {
    padding: 28px 0;
  }

  .site-shell {
    min-height: calc(100vh - 56px);
    border: 1px solid rgba(145, 70, 77, 0.12);
    border-radius: 34px;
  }
}

@media (max-width: 370px) {
  .site-shell {
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand-logo {
    width: 90%;
  }

  .hero h1 {
    font-size: 2.22rem;
  }

  .action-button {
    grid-template-columns: 40px 1fr auto;
    gap: 10px;
    padding-right: 13px;
  }

  .button-icon {
    width: 40px;
    height: 40px;
  }

  .action-button strong {
    font-size: 0.84rem;
  }
}

@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;
  }
}
