:root {
  --base: #D3C7A6;
  --base-light: #f4ecd7;
  --base-soft: #eee3c8;
  --cream: #fffaf1;
  --paper: rgba(255, 250, 241, 0.84);
  --paper-strong: rgba(255, 250, 241, 0.96);
  --ink: #2d241c;
  --muted: #75664f;
  --brown: #4b3829;
  --gold: #b79660;
  --shadow: 0 30px 80px rgba(48, 38, 28, 0.24);
  --radius-xl: 34px;
  --radius-md: 22px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--base);
}

body {
  min-height: 100dvh;
  margin: 0;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 250, 241, 0.80), transparent 32%),
    radial-gradient(circle at 84% 16%, rgba(183, 150, 96, 0.34), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(255, 250, 241, 0.70), transparent 34%),
    linear-gradient(135deg, #c8bb98, var(--base), #eadfc5, #c5b48d);
  background-size: 160% 160%;
  animation: softBackground 14s ease-in-out infinite alternate;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 38vmax;
  height: 38vmax;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(18px);
  opacity: 0.48;
  z-index: 0;
}

body::before {
  left: -14vmax;
  top: -10vmax;
  background: radial-gradient(circle, rgba(255, 250, 241, 0.96), rgba(255, 250, 241, 0));
  animation: floatOne 13s ease-in-out infinite;
}

body::after {
  right: -12vmax;
  bottom: -14vmax;
  background: radial-gradient(circle, rgba(112, 80, 49, 0.34), rgba(112, 80, 49, 0));
  animation: floatTwo 16s ease-in-out infinite;
}

a,
button {
  font: inherit;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 22px 16px;
  display: grid;
  place-items: center;
}

.card-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 28px 20px 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 250, 241, 0.74), rgba(244, 236, 215, 0.54));
  box-shadow: var(--shadow);
  isolation: isolate;
  backdrop-filter: blur(18px);
}

.card-shell::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -2;
  border-radius: calc(var(--radius-xl) + 2px);
  background: conic-gradient(
    from var(--border-angle),
    rgba(255, 255, 255, 0.92),
    rgba(183, 150, 96, 0.94),
    rgba(75, 56, 41, 0.86),
    rgba(255, 250, 241, 0.98),
    rgba(183, 150, 96, 0.94),
    rgba(255, 255, 255, 0.92)
  );
  animation: infiniteBorder 7s linear infinite;
}

.card-shell::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  z-index: -1;
  border-radius: calc(var(--radius-xl) - 1px);
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.88), rgba(243, 234, 211, 0.78)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.85), transparent 32%);
}

.noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.13;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(45, 36, 28, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 36, 28, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  z-index: -1;
  filter: blur(6px);
  pointer-events: none;
}

.glow-one {
  top: -105px;
  right: -95px;
  background: rgba(211, 199, 166, 0.78);
}

.glow-two {
  bottom: -115px;
  left: -100px;
  background: rgba(255, 250, 241, 0.86);
}

.hero {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(75, 56, 41, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.62);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-ring {
  position: relative;
  width: 158px;
  height: 158px;
  margin: 0 auto 15px;
  padding: 5px;
  border-radius: 999px;
}

.photo-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(
    from var(--photo-angle),
    #fffaf1,
    #b79660,
    #4b3829,
    #eadfc5,
    #fffaf1
  );
  animation: infinitePhotoBorder 5.8s linear infinite;
}

.photo-ring::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(183, 150, 96, 0.24), transparent 62%);
  z-index: -1;
}

.photo-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 5px solid var(--cream);
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(211, 199, 166, 0.72)),
    var(--base);
  box-shadow: 0 18px 45px rgba(45, 36, 28, 0.18);
}

.photo-frame img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(0.99);
  transform-origin: center 28%;
}

.photo-frame.has-error img {
  display: none;
}

.photo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--brown);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.signature {
  margin: 0 0 8px;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.15rem, 9vw, 3.1rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 420px;
  margin: 0 auto 12px;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.05rem, 9vw, 3.15rem);
  line-height: 0.93;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.subtitle {
  max-width: 390px;
  margin: 0 auto 23px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.62;
}

.actions {
  display: grid;
  gap: 12px;
}

.action-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 72px;
  padding: 14px 16px;
  overflow: hidden;
  border: 1px solid rgba(75, 56, 41, 0.13);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 241, 0.64);
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(45, 36, 28, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.action-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transform: translateX(-120%);
  transition: transform 620ms ease;
}

.action-button:hover,
.action-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(75, 56, 41, 0.25);
  background: rgba(255, 250, 241, 0.88);
  box-shadow: 0 18px 34px rgba(45, 36, 28, 0.13);
  outline: none;
}

.action-button:hover::before,
.action-button:focus-visible::before {
  transform: translateX(120%);
}

.action-button.primary {
  background: linear-gradient(135deg, var(--brown), #6b513b);
  color: var(--cream);
  border-color: rgba(255, 250, 241, 0.25);
}

.action-button.primary small {
  color: rgba(255, 250, 241, 0.74);
}

.button-icon {
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(211, 199, 166, 0.48);
  font-size: 1.16rem;
}

.action-button.primary .button-icon {
  background: rgba(255, 250, 241, 0.16);
}

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

.action-button strong {
  font-size: 0.99rem;
  letter-spacing: -0.015em;
}

.action-button small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.79rem;
}

.trust-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
  padding: 14px;
  border-radius: 20px;
  background: rgba(211, 199, 166, 0.22);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.trust-mark {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 22px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 800;
}

.trust-box p,
.footer p {
  margin: 0;
}

.footer {
  margin-top: 18px;
  color: rgba(45, 36, 28, 0.62);
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
}

.price-modal {
  width: min(calc(100% - 32px), 460px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: transparent;
  color: var(--ink);
}

.price-modal::backdrop {
  background: rgba(45, 36, 28, 0.44);
  backdrop-filter: blur(7px);
}

.modal-card {
  position: relative;
  overflow: hidden;
  padding: 28px 18px 18px;
  border: 1px solid rgba(75, 56, 41, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 0%, rgba(211, 199, 166, 0.76), transparent 36%),
    var(--paper-strong);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(45, 36, 28, 0.08);
  color: var(--ink);
  font-size: 1.3rem;
  cursor: pointer;
}

.modal-kicker {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.modal-card h2 {
  margin: 0 38px 16px 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.price-list {
  display: grid;
  gap: 10px;
}

.price-item {
  padding: 13px;
  border: 1px solid rgba(75, 56, 41, 0.10);
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.72);
}

.price-item-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
}

.price-item strong {
  font-size: 0.94rem;
}

.price-item span {
  color: var(--brown);
  font-weight: 800;
  white-space: nowrap;
}

.price-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.45;
}

.modal-whatsapp {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--brown);
  color: var(--cream);
  font-weight: 800;
  text-decoration: none;
}

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --photo-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes infiniteBorder {
  to { --border-angle: 360deg; }
}

@keyframes infinitePhotoBorder {
  to { --photo-angle: 360deg; }
}

@keyframes softBackground {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes floatOne {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(9vw, 7vh, 0) scale(1.08); }
}

@keyframes floatTwo {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-8vw, -6vh, 0) scale(1.12); }
}

@media (max-width: 380px) {
  .page-shell {
    padding: 14px 10px;
  }

  .card-shell {
    padding: 22px 14px 18px;
    border-radius: 28px;
  }

  .photo-ring {
    width: 140px;
    height: 140px;
  }

  .action-button {
    min-height: 66px;
    padding: 12px 13px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}


.developer-credit {
  margin-top: 4px !important;
  color: rgba(45, 36, 28, 0.46);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


.developer-credit a {
  color: inherit;
  text-decoration: none;
}

.developer-credit a:hover,
.developer-credit a:focus-visible {
  color: rgba(45, 36, 28, 0.72);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.catalog-page {
  align-items: start;
  padding-top: 18px;
  padding-bottom: 18px;
}

.catalog-shell {
  padding-top: 70px;
}

.back-button {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border: 1px solid rgba(75, 56, 41, 0.14);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.76);
  color: var(--brown);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(45, 36, 28, 0.10);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.back-button:hover,
.back-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(75, 56, 41, 0.28);
  background: rgba(255, 250, 241, 0.94);
  outline: none;
}

.back-button span {
  font-size: 1rem;
  line-height: 1;
}

.catalog-hero {
  margin-bottom: 18px;
  text-align: center;
}

.catalog-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 11px;
  padding: 8px 13px;
  border: 1px solid rgba(75, 56, 41, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.62);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.catalog-hero h1 {
  margin-bottom: 10px;
}

.catalog-hero p:not(.catalog-kicker) {
  max-width: 390px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

.catalog-list {
  display: grid;
  gap: 12px;
}

.catalog-item {
  position: relative;
  overflow: hidden;
  padding: 15px;
  border: 1px solid rgba(75, 56, 41, 0.11);
  border-radius: 22px;
  background: rgba(255, 250, 241, 0.68);
  box-shadow: 0 10px 26px rgba(45, 36, 28, 0.08);
}

.catalog-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.40), transparent 42%, rgba(183, 150, 96, 0.10));
  pointer-events: none;
}

.catalog-item-content,
.service-whatsapp {
  position: relative;
  z-index: 1;
}

.catalog-item h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.48rem;
  line-height: 1;
  letter-spacing: -0.035em;
}

.catalog-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.48;
}

.service-whatsapp {
  display: flex;
  justify-content: center;
  margin-top: 13px;
  padding: 12px 14px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--brown), #6b513b);
  color: var(--cream);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(75, 56, 41, 0.17);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-whatsapp:hover,
.service-whatsapp:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(75, 56, 41, 0.23);
  outline: none;
}

.catalog-footer {
  margin-top: 20px;
}

@media (min-width: 430px) {
  .catalog-item {
    padding: 16px 17px;
  }
}
