:root {
  --bg: #fff8f1;
  --bg-soft: #fffdf9;
  --panel: rgba(255, 255, 255, 0.82);
  --text: #2e2a3a;
  --muted: #6f6a7d;
  --accent: #ff7a59;
  --accent-dark: #e4572e;
  --accent-soft: #ffd9c7;
  --support: #7bc6b9;
  --line: rgba(46, 42, 58, 0.1);
  --shadow: 0 20px 45px rgba(92, 72, 107, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 122, 89, 0.16), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(123, 198, 185, 0.14), transparent 24%),
    linear-gradient(180deg, #fffdf9 0%, var(--bg) 100%);
}

body.body--modal-open {
  overflow: hidden;
}

.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: #ffffff;
  backdrop-filter: blur(0);
  pointer-events: none;
  animation: splash-fade 3.8s ease forwards;
}

.intro-splash__logo {
  width: min(546px, 93.6vw);
  max-width: 100%;
  filter: drop-shadow(0 16px 36px rgba(92, 59, 35, 0.18));
  transform: scale(0.92);
  animation: splash-logo 3.2s ease forwards;
}

.page {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 1.75rem;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1rem;
}

.page-links__item {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(46, 42, 58, 0.1);
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.page-links__item:hover {
  transform: translateY(-1px);
  border-color: rgba(228, 87, 46, 0.24);
}

.info-modal[hidden] {
  display: none;
}

.info-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.info-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 32, 0.52);
  backdrop-filter: blur(6px);
}

.info-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(82vh, 760px);
  overflow: auto;
  padding: 1.4rem;
  border-radius: 28px;
  border: 1px solid rgba(46, 42, 58, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 241, 0.98));
  box-shadow: 0 24px 60px rgba(32, 28, 42, 0.22);
}

.info-modal__dialog h2 {
  margin: 0.4rem 0 0.7rem;
}

.info-modal__body {
  display: grid;
  gap: 0.8rem;
}

.info-modal__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.info-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.info-modal__actions .button {
  width: auto;
  margin-top: 0;
}

.info-modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(46, 42, 58, 0.08);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.hero {
  margin-bottom: 0.6rem;
}

.hero__layout {
  display: block;
}

.hero__content {
  max-width: 760px;
  display: grid;
  gap: 0.35rem;
}

.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero__brand-line {
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 122, 89, 0.18), rgba(255, 122, 89, 0.95));
}

.hero__copy {
  display: grid;
  gap: 0.55rem;
}

.hero__kicker {
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__content h1 {
  margin: 0;
  font-size: clamp(1.45rem, 3.4vw, 2.4rem);
  line-height: 0.98;
  text-wrap: balance;
}

.hero__content h1 span {
  display: block;
  margin-top: 0.1rem;
  color: var(--accent-dark);
  font-size: clamp(0.82rem, 1.15vw, 0.95rem);
  font-weight: 500;
  line-height: 1.2;
}

.hero__text,
.preview-card__header span,
.eyebrow {
  color: var(--muted);
}

.hero__text {
  max-width: 60ch;
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  line-height: 1.3;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.64rem;
  font-weight: 700;
}

.customizer {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.panel,
.preview-card {
  position: relative;
  z-index: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.panel {
  padding: 1.58rem;
}

.panel-brand {
  display: inline-grid;
  grid-template-columns: minmax(162px, 225px) minmax(108px, 171px);
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  margin-bottom: 1rem;
}

.panel-brand__image {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(92, 59, 35, 0.14));
}

.panel-brand__pet-visual {
  width: 100%;
  min-height: 131px;
  background-image: var(--hero-pet-image);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  opacity: 1;
  filter: drop-shadow(0 12px 24px rgba(92, 72, 107, 0.08));
  transition: opacity 0.3s ease;
}

.panel h2,
.summary h3 {
  margin-top: 0;
}

.form {
  display: grid;
  gap: 0.72rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  align-items: start;
}

.model-specs {
  display: grid;
  gap: 0.25rem;
  padding: 0.68rem 0.77rem;
  border: 1px solid rgba(255, 122, 89, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.model-specs__title,
.model-specs__text {
  margin: 0;
}

.model-specs__title {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--text);
}

.model-specs__text {
  font-size: 0.76rem;
  color: var(--muted);
}

.field {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.field span {
  font-size: 0.9rem;
  font-weight: 600;
}

.field select,
.field input {
  width: 100%;
  min-width: 0;
  padding: 0.74rem 0.86rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  color: inherit;
  background: #fff;
}

#nombre {
  text-transform: uppercase;
}

.field select:focus,
.field input:focus {
  outline: 2px solid rgba(255, 122, 89, 0.28);
  border-color: var(--accent);
}

.field select[aria-invalid="true"],
.field input[aria-invalid="true"] {
  border-color: #d9534f;
  background: rgba(255, 245, 245, 0.95);
}

.field__message {
  min-height: 1em;
  font-size: 0.74rem;
  color: #c4453c;
}

.button {
  margin-top: 0.5rem;
  width: 100%;
  padding: 0.86rem 1rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button__icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
}

.button__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(228, 87, 46, 0.26);
}

.button--preview {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  justify-self: stretch;
  padding: 0.62rem 1rem;
  font-size: 1.04rem;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 12px 24px rgba(18, 140, 126, 0.22);
}

.button--preview:hover {
  box-shadow: 0 14px 28px rgba(18, 140, 126, 0.28);
}

.button--preview:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  box-shadow: none;
}

.button--secondary {
  width: auto;
  margin-top: 0;
  padding: 0.62rem 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button--secondary:hover {
  box-shadow: none;
}

.button--gallery {
  width: 100%;
  justify-content: center;
}

.dev-contact {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0.15rem 0;
  border-top: 1px solid rgba(46, 42, 58, 0.08);
}

.dev-contact__title,
.dev-contact__text {
  margin: 0;
}

.dev-contact__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.dev-contact__text {
  font-size: 0.82rem;
  color: var(--muted);
}

.dev-contact__mail {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 700;
}

.preview-card {
  padding: 1.58rem;
  display: grid;
  gap: 1.2rem;
}

.price-card {
  display: grid;
  gap: 0.12rem;
  justify-items: center;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(37, 211, 102, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(37, 211, 102, 0.08), rgba(255, 255, 255, 0.75));
}

.price-card__label,
.price-card__value {
  margin: 0;
}

.price-card__label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f7a55;
}

.price-card__value {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  color: #146c43;
}

.gallery-block {
  display: grid;
  gap: 0.75rem;
}

.gallery-panel[hidden] {
  display: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.gallery-item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.preview-card__header p {
  margin: 0;
  font-weight: 700;
}

.preview-card__header span {
  font-size: 0.95rem;
}

.preview-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: start;
  min-height: 272px;
  padding: 1rem 1rem 0.75rem;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 240, 233, 0.9)),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 122, 89, 0.04) 0,
      rgba(255, 122, 89, 0.04) 12px,
      transparent 12px,
      transparent 24px
    ),
    radial-gradient(circle at 15% 20%, rgba(123, 198, 185, 0.12), transparent 22%);
}

.preview-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 253, 249, 0.72);
  backdrop-filter: blur(6px);
}

.preview-overlay[hidden] {
  display: none;
}

.preview-face {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.preview-face__label {
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 122, 89, 0.14);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plate {
  width: min(210px, 100%);
  max-width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  text-align: center;
  color: #4e331d;
  background: linear-gradient(145deg, #f5c770, #da9437);
  border: 8px solid #ad6824;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.28),
    0 18px 35px rgba(110, 75, 34, 0.28);
}

.plate--empty {
  border: 2px dashed rgba(46, 42, 58, 0.18);
  border-radius: 28px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.plate--back span {
  font-size: clamp(0.9rem, 1.7vw, 1.15rem);
  line-height: 1.1;
}

.color-dorado {
  color: #4e331d;
  background: linear-gradient(145deg, #f5c770, #da9437);
  border-color: #ad6824;
}

.color-plateado {
  color: #364152;
  background: linear-gradient(145deg, #f6f8fb, #b6c0cf);
  border-color: #79859a;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.52),
    0 18px 35px rgba(87, 101, 126, 0.24);
}

.color-rosa {
  color: #6f2041;
  background: linear-gradient(145deg, #ffbfd2, #f47ba4);
  border-color: #c7547f;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.3),
    0 18px 35px rgba(178, 70, 115, 0.24);
}

.color-azul {
  color: #f5f8ff;
  background: linear-gradient(145deg, #78aef8, #2e68c9);
  border-color: #1f4f9d;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.18),
    0 18px 35px rgba(39, 87, 170, 0.28);
}

.plate span {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shape-hueso {
  clip-path: polygon(16% 30%, 9% 20%, 12% 9%, 24% 8%, 32% 15%, 68% 15%, 76% 8%, 88% 9%, 91% 20%, 84% 30%, 84% 70%, 91% 80%, 88% 91%, 76% 92%, 68% 85%, 32% 85%, 24% 92%, 12% 91%, 9% 80%, 16% 70%);
  aspect-ratio: 1.3 / 1;
}

.shape-circulo {
  border-radius: 50%;
}

.shape-corazon {
  aspect-ratio: 1.05 / 1;
  clip-path: polygon(50% 95%, 22% 72%, 8% 49%, 10% 25%, 26% 10%, 50% 22%, 74% 10%, 90% 25%, 92% 49%, 78% 72%);
}

.shape-hexagono {
  clip-path: polygon(24% 8%, 76% 8%, 100% 50%, 76% 92%, 24% 92%, 0 50%);
}

.font-classic {
  font-family: Georgia, "Times New Roman", serif;
}

.font-round {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.font-elegant {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-style: italic;
}

.font-bold {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.03em;
}

.summary dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.8rem;
}

.summary div {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--line);
}

.summary dt {
  font-weight: 700;
}

.summary dd {
  margin: 0;
  color: var(--muted);
  text-align: right;
  max-width: 60%;
  overflow-wrap: anywhere;
}

.content-section {
  margin-top: 1.6rem;
  padding: 1.45rem 1.55rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.section-heading {
  display: grid;
  gap: 0.45rem;
  max-width: 78ch;
  margin-bottom: 1.2rem;
}

.section-heading h2,
.feature-card h3,
.intent-card h3,
.benefit-item h3,
.faq-item h3 {
  margin: 0;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.feature-grid,
.intent-grid,
.benefit-list,
.faq-list {
  display: grid;
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intent-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefit-list,
.faq-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.intent-card,
.benefit-item,
.faq-item {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(46, 42, 58, 0.1);
  background: rgba(255, 255, 255, 0.88);
}

.feature-card p,
.intent-card p,
.benefit-item p,
.faq-item p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.intent-card {
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.intent-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(92, 72, 107, 0.12);
}

.intent-card__eyebrow {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

@keyframes splash-fade {
  0% {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(0);
  }

  65% {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(0);
  }

  100% {
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(10px);
  }
}

@keyframes splash-logo {
  0% {
    opacity: 0;
    transform: scale(0.82);
  }

  25% {
    opacity: 1;
    transform: scale(1);
  }

  70% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@media (max-width: 860px) {
  .customizer {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .benefit-list,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .page {
    width: min(100% - 1.25rem, 1120px);
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }

  .preview-stage {
    grid-template-columns: 1fr;
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .dev-contact {
    padding-top: 0.65rem;
  }

  .intro-splash {
    padding: 1.5rem;
  }

  .intro-splash__logo {
    width: min(468px, 96vw);
  }

  .page {
    width: min(100% - 1rem, 1120px);
    padding-top: 0.7rem;
  }

  .hero {
    margin-bottom: 0.55rem;
  }

  .page-links {
    margin-bottom: 0.85rem;
  }

  .hero__content {
    gap: 0.3rem;
  }

  .hero__brand {
    gap: 0.45rem;
  }

  .hero__brand-line {
    width: 28px;
  }

  .hero__kicker {
    font-size: 0.64rem;
    letter-spacing: 0.03em;
  }

  .hero__content h1 {
    font-size: clamp(1.22rem, 6vw, 1.65rem);
    line-height: 1.02;
  }

  .hero__content h1 span {
    margin-top: 0.1rem;
    font-size: clamp(0.76rem, 3vw, 0.88rem);
  }

  .eyebrow {
    letter-spacing: 0.08em;
    font-size: 0.6rem;
  }

  .panel,
  .preview-card {
    border-radius: 22px;
  }

  .panel,
  .preview-card {
    padding: 1rem;
  }

  .content-section {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 22px;
  }

  .info-modal__dialog {
    padding: 1rem;
    border-radius: 22px;
  }

  .form-grid {
    gap: 0.63rem;
  }

  .model-specs {
    padding: 0.63rem 0.72rem;
  }

  .panel-brand {
    margin-bottom: 0.77rem;
    grid-template-columns: minmax(144px, 198px) minmax(83px, 126px);
  }

  .panel-brand__image {
    width: 100%;
  }

  .panel-brand__pet-visual {
    min-height: 97px;
  }

  .preview-card {
    gap: 0.8rem;
  }

  .preview-card__header {
    display: grid;
    gap: 0.25rem;
  }

  .preview-stage {
    min-height: 215px;
    padding: 0.85rem;
    border-radius: 18px;
  }

  .preview-face {
    gap: 0.45rem;
  }

  .plate {
    width: min(210px, 100%);
    padding: 1rem;
    border-width: 6px;
  }

  .plate span {
    font-size: clamp(0.82rem, 3.4vw, 1rem);
  }

  .summary div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .summary dl {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .summary dd {
    max-width: 100%;
    text-align: left;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intent-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .panel-brand {
    grid-template-columns: minmax(132px, 1fr) minmax(76px, 108px);
  }

  .panel-brand__pet-visual {
    min-height: 84px;
  }

  .field select,
  .field input,
  .button {
    padding: 0.85rem 0.95rem;
  }

  .preview-stage {
    min-height: 190px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .plate {
    width: min(190px, 100%);
  }

  .shape-hueso {
    aspect-ratio: 1.18 / 1;
  }
}
