:root {
  --yellow: #f9b458;
  --yellow-deep: #dd9331;
  --petrol: #484e58;
  --petrol-dark: #242933;
  --ink: #10141c;
  --ink-2: #171c25;
  --white: #ffffff;
  --paper: #f7f4ef;
  --paper-2: #fffaf2;
  --text-dark: #1c2028;
  --text-soft: #6b7280;
  --text-light: #f7f8fb;
  --text-muted: rgba(247, 248, 251, 0.72);
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: rgba(72, 78, 88, 0.14);
  --glass: rgba(255, 255, 255, 0.08);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 18px 50px rgba(72, 78, 88, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --narrow: 860px;
  --header-height: 78px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--ink);
  background: #151923;
  border-radius: var(--radius-sm);
  transition: top var(--transition);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 32px), var(--narrow));
}

.section {
  padding: 88px 0;
}

.section-light {
  background: var(--paper-2);
}

.section-muted {
  background: #ebe7df;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

#planes .section-heading {
  max-width: none;
}

#planes .section-heading h2 {
  max-width: 1100px;
}

.section-heading h2,
.section-placeholder h2,
.contact-card h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-placeholder {
  max-width: 760px;
}

.section-placeholder p:not(.eyebrow),
.contact-card p,
.section-heading + p {
  color: var(--text-soft);
  font-size: 1.08rem;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--yellow);
  font-size: clamp(0.78rem, 1.2vw, 0.95rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-light .eyebrow,
.section-muted .eyebrow {
  color: var(--yellow-deep);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-logo img {
  width: auto;
  height: 38px;
}

.logo-dark-bg {
  display: none;
}

.logo-light-bg {
  display: block;
}

.desktop-nav {
  display: none;
}

.main-nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav-list a {
  color: #323944;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color var(--transition);
}

.main-nav-list a:hover,
.main-nav-list a.is-active {
  color: var(--yellow-deep);
}


.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-only {
  display: inline-flex;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line-light);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #151923;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

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

.btn-primary {
  color: #151923;
  background: var(--yellow);
  box-shadow: 0 16px 36px rgba(249, 180, 88, 0.24);
}

.btn-primary:hover {
  color: #fff;
  background: #dc8f2d;
  box-shadow: 0 18px 42px rgba(249, 180, 88, 0.32);
}

.btn-secondary {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-secondary:hover {
  border-color: rgba(249, 180, 88, 0.56);
  background: rgba(255, 255, 255, 0.12);
}

.btn-block {
  width: 100%;
}

.mobile-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 130;
  width: min(86vw, 360px);
  min-height: 100dvh;
  transform: translateX(100%);
  background: var(--paper-2);
  color: var(--text-dark);
  box-shadow: -28px 0 80px rgba(0, 0, 0, 0.24);
  transition: transform 0.32s ease;
}

.mobile-panel.is-open {
  transform: translateX(0);
}

.mobile-panel-inner {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.mobile-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.mobile-panel-top .site-logo img {
  height: 36px;
}

.menu-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--text-dark);
  background: rgba(72, 78, 88, 0.08);
  font-size: 2rem;
  line-height: 1;
}

.mobile-nav-list {
  display: grid;
  gap: 5px;
}

.mobile-nav-list a {
  display: block;
  padding: 13px 2px;
  color: var(--text-dark);
  font-size: 1.08rem;
  font-weight: 800;
  border-bottom: 1px solid var(--line-light);
}

.mobile-panel-cta {
  margin-top: auto;
  padding-top: 28px;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.48);
}

.hero-section {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 46px 0 64px;
  overflow: hidden;
  color: var(--text-light);
  background: linear-gradient(135deg, #10141c 0%, #1f2530 52%, #484e58 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 22%, rgba(249, 180, 88, 0.28), transparent 34%),
    radial-gradient(circle at 8% 90%, rgba(249, 180, 88, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(16, 20, 28, 0.14), rgba(16, 20, 28, 0.78));
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: auto -18% -28% auto;
  width: 58vw;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(249, 180, 88, 0.18);
  filter: blur(34px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 790px;
}

.hero-content .eyebrow {
  display: block;
  margin-bottom: 20px;
  color: var(--yellow);
  font-size: clamp(1.28rem, 2.15vw, 1.72rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-transform: none;
}

.hero-content h1 {
  max-width: 11.8ch;
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 7vw, 5.15rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.hero-subtitle {
  max-width: 680px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.06rem, 2vw, 1.24rem);
  line-height: 1.66;
  font-weight: 500;
}

.hero-support {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: none;
  justify-content: center;
  align-items: center;
}

.hero-device-image {
  display: block;
  width: min(112%, 640px);
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 70px rgba(0, 0, 0, 0.28));
}



/* QUE ES E-CARD */

.what-section {
  border-top: 1px solid rgba(72, 78, 88, 0.06);
}

.what-grid {
  display: grid;
  gap: 34px;
  align-items: start;
}

.what-content {
  max-width: 760px;
}

.what-content h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.what-content p:not(.eyebrow) {
  max-width: 780px;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.what-cards {
  display: grid;
  gap: 16px;
}

.what-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(72, 78, 88, 0.09);
  box-shadow: 0 18px 44px rgba(72, 78, 88, 0.08);
}

.what-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 26px;
  margin-bottom: 16px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--yellow-deep);
  background: rgba(249, 180, 88, 0.16);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.what-card h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.what-card p {
  margin: 0;
  color: #596272;
  font-size: 0.98rem;
  line-height: 1.62;
}

@media (min-width: 960px) {
  .what-grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.72fr);
    gap: 64px;
  }
}


/* DISEÑOS */

.designs-showcase {
  background: var(--paper-2);
}

.designs-split {
  display: grid;
  grid-template-columns: 1fr;
}

.design-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(680px, 88vw, 960px);
  padding: clamp(28px, 5vw, 54px);
  background-size: cover;
  background-repeat: no-repeat;
}

.design-panel-light {
  background-color: #f8f3eb;
  background-image: linear-gradient(90deg, rgba(255, 250, 242, 0.10), rgba(255, 250, 242, 0.03)), url('../img/disenos/bg-light.webp');
  background-position: left center;
}

.design-panel-dark {
  background-color: #545c68;
  background-image: linear-gradient(90deg, rgba(72, 78, 88, 0.10), rgba(72, 78, 88, 0.04)), url('../img/disenos/bg-dark.webp');
  background-position: left center;
}

.design-panel-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: clamp(4px, 1vw, 10px);
}

.design-panel-label {
  align-self: flex-end;
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}

.design-panel-dark .design-panel-label {
  color: #ffffff;
}

.design-preview-stack {
  width: min(100%, 330px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.design-card-preview {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.22));
}

.design-demo-btn {
  min-width: 164px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(72, 78, 88, 0.18);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(72, 78, 88, 0.12);
}

.design-demo-btn:hover {
  background: #ffffff;
  border-color: rgba(72, 78, 88, 0.34);
  color: var(--ink);
}

.design-demo-btn-dark {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(19, 24, 35, 0.38);
}

.design-demo-btn-dark:hover {
  color: #151923;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.96);
}

@media (min-width: 960px) {
  .designs-split {
    grid-template-columns: 1fr 1fr;
  }

  .design-panel {
    min-height: 820px;
  }

  .design-panel-dark {
    box-shadow: inset 1px 0 0 rgba(72, 78, 88, 0.12);
  }

  .design-panel-light .design-panel-inner,
  .design-panel-dark .design-panel-inner {
    padding-right: clamp(6px, 1.6vw, 24px);
    padding-top: 0;
  }

  .design-panel-label {
    margin-top: -4px;
    margin-right: -6px;
  }

  .design-preview-stack {
    margin-top: 34px;
  }
}

@media (max-width: 959px) {
  .design-panel {
    background-position: left center;
  }

  .design-panel-inner {
    align-items: flex-end;
    justify-content: flex-end;
    padding-top: 0;
    padding-right: 14px;
  }

  .design-panel-label {
    position: absolute;
    top: 34px;
    right: 34px;
    align-self: auto;
    font-size: 1.05rem;
  }

  .design-preview-stack {
    width: min(66vw, 300px);
  }
}

@media (max-width: 640px) {
  .design-panel {
    min-height: 760px;
    padding: 24px 20px 32px;
  }

  .design-panel-inner {
    padding-top: 0;
    padding-right: 10px;
  }

  .design-panel-label {
    top: 32px;
    right: 30px;
  }

  .design-preview-stack {
    width: min(68vw, 290px);
    gap: 14px;
  }

  .design-demo-btn {
    min-width: 154px;
  }
}


.plans-grid {
  display: grid;
  gap: 20px;
}

.plan-card {
  min-height: 262px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(72, 78, 88, 0.12);
  box-shadow: var(--shadow-soft);
}

.plan-card.featured {
  background: #ffffff;
  border-color: rgba(249, 180, 88, 0.7);
  box-shadow: 0 28px 70px rgba(72, 78, 88, 0.16);
}

.plan-label {
  margin-bottom: 10px;
  color: var(--yellow-deep);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.plan-card h3 {
  margin-bottom: 16px;
  font-size: 1.42rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.plan-price {
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.plan-price-meta {
  color: var(--text-soft);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
}

.plan-buy-btn {
  width: fit-content;
  min-width: 142px;
  margin: 28px auto 0;
}

.plans-custom {
  margin-top: 22px;
  padding: 24px 26px;
  display: grid;
  gap: 18px;
  align-items: center;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(72, 78, 88, 0.12);
  box-shadow: var(--shadow-soft);
}

.plans-custom-title {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.plans-custom p:not(.plans-custom-title) {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.plans-custom-btn {
  width: fit-content;
  min-width: 132px;
}

.plans-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: #25d366;
  border: 1px solid #25d366;
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.22);
}

.plans-whatsapp-btn .wa-icon {
  width: 27px;
  height: 27px;
  fill: currentColor;
  flex: 0 0 auto;
}

.plans-whatsapp-btn:hover {
  color: #fff;
  background: #1fb157;
  border-color: #1fb157;
  box-shadow: 0 18px 34px rgba(31, 177, 87, 0.28);
}


.plans-included {
  margin-top: 18px;
  padding: 22px 26px 24px;
  border-radius: 28px;
  background: #fffaf2;
  border: 1px solid rgba(72, 78, 88, 0.10);
}

.plans-included-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.plans-included-title span {
  color: #db8f2d;
  font-size: 1.22em;
}

.plans-included-list {
  color: #596272;
  font-size: 0.94rem;
  line-height: 1.85;
}

.plans-included-list span {
  display: inline;
}

.plans-included-list span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 11px 2px;
  border-radius: 999px;
  background: rgba(249, 180, 88, 0.9);
  box-shadow: 0 0 0 3px rgba(249, 180, 88, 0.12);
  vertical-align: middle;
}



/* PROCESO */

#proceso .section-heading {
  max-width: 1120px;
}

#proceso .section-heading p:not(.eyebrow) {
  max-width: 920px;
}


.process-section {
  background: #fffaf2;
}

.process-section .section-heading {
  margin-bottom: 32px;
}

.process-section .section-heading p:not(.eyebrow) {
  max-width: 640px;
  margin: 0;
  color: #596272;
  font-size: 1.08rem;
}

.process-grid {
  display: grid;
  gap: 18px;
}

.process-card {
  padding: 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(72, 78, 88, 0.09);
  box-shadow: 0 18px 44px rgba(72, 78, 88, 0.09);
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--yellow-deep);
  background: rgba(249, 180, 88, 0.16);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.process-card h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.32rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.process-card p {
  margin: 0;
  color: #4f5968;
  font-size: 1.02rem;
  line-height: 1.65;
}


.contact-section {
  color: var(--text-light);
  background: linear-gradient(135deg, var(--ink) 0%, var(--petrol-dark) 58%, var(--petrol) 100%);
}

.contact-section .eyebrow {
  color: var(--yellow);
}

.contact-card {
  display: grid;
  gap: 26px;
  align-items: center;
  padding: 34px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.72);
}



.contact-card .eyebrow {
  font-size: 0.82rem;
  line-height: 1.2;
  letter-spacing: 0.26em;
}

.contact-whatsapp-btn {
  width: fit-content;
  min-width: 132px;
}


.site-footer {
  padding: 46px 0 48px;
  color: rgba(255, 255, 255, 0.66);
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-logo img {
  width: auto;
  height: 34px;
}

.footer-rights {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.94rem;
  line-height: 1.5;
}

.footer-product {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 52px 0 0;
  color: #f9b458;
  font-size: 0.94rem;
  line-height: 1.4;
}

.footer-unodiseno-logo {
  width: auto;
  height: 22px;
  display: block;
}

/* BOTONES FLOTANTES */

.floating-actions {
  position: fixed;
  right: 8px;
  bottom: 16px;
  z-index: 145;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.floating-action {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 34px rgba(16, 20, 28, 0.22);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition), border-color var(--transition);
}

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

.floating-action svg {
  display: block;
  fill: currentColor;
}

.fa-message-icon {
  width: 19px;
  height: 19px;
  transform: translateY(1px);
}

.fa-share-icon {
  width: 20px;
  height: 20px;
}

.fa-arrow-icon {
  width: 18px;
  height: 22px;
}

.floating-contact {
  color: #151923;
  background: rgba(249, 180, 88, 0.96);
}

.floating-contact:hover {
  color: #fff;
  background: #dc8f2d;
}

.floating-share,
.back-to-top {
  color: var(--yellow-deep);
  background: rgba(226, 232, 240, 0.92);
  border-color: rgba(72, 78, 88, 0.22);
  box-shadow: 0 14px 34px rgba(16, 20, 28, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.floating-share:hover,
.back-to-top:hover {
  color: #fff;
  background: #dc8f2d;
  border-color: rgba(249, 180, 88, 0.72);
}

.back-to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 760px) {
  .plans-grid,
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .plans-custom {
    grid-template-columns: 1fr auto;
    padding: 28px 32px;
  }

  .contact-card {
    grid-template-columns: 1fr auto;
    padding: 44px;
  }

}

@media (min-width: 1024px) {
  .desktop-nav {
    display: block;
  }

  .desktop-cta {
    display: inline-flex;
  }

  .mobile-only {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.98fr) minmax(460px, 0.9fr);
    gap: 38px;
  }

  .hero-visual {
    display: flex;
    min-height: 620px;
    justify-content: flex-start;
  }

  .hero-device-image {
    width: min(52vw, 760px);
    max-height: 790px;
    margin-left: -44px;
  }
}

@media (max-width: 1023px) {
  .desktop-cta {
    display: none;
  }

  .hero-section {
    align-items: flex-start;
    min-height: auto;
    padding: 52px 0 58px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-visual {
    display: flex;
    min-height: auto;
    justify-content: center;
    margin-top: 4px;
  }

  .hero-device-image {
    width: min(112%, 620px);
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .site-logo img {
    height: 36px;
  }

  .hero-section {
    padding: 40px 0 46px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-content .eyebrow {
    margin-bottom: 14px;
  }

  .hero-device-image {
    width: min(118%, 520px);
  }

  .hero-content h1 {
    max-width: 96%;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 640px) {
  .plans-included {
    padding: 20px;
    border-radius: 24px;
  }

  .plans-included-list {
    font-size: 0.92rem;
  }

  .plans-included-list span:not(:last-child)::after {
    width: 4px;
    height: 4px;
    margin: 0 9px 2px;
  }
}


@media (max-width: 759px) {
  .contact-card {
    text-align: center;
    justify-items: center;
  }

  .contact-card > div {
    max-width: 520px;
  }

  .contact-whatsapp-btn {
    width: fit-content;
    min-width: 148px;
  }
}


@media (max-width: 759px) {
  .site-footer {
    padding: 42px 0 46px;
  }

  .footer-rights {
    margin-top: 16px;
    font-size: 0.9rem;
  }

  .footer-product {
    gap: 9px;
    margin-top: 48px;
    font-size: 0.9rem;
  }

  .footer-unodiseno-logo {
    height: 20px;
  }
}

/* V46: mobile plans custom button center */
@media (max-width: 759px) {
  .plans-custom-btn {
    margin-left: auto;
    margin-right: auto;
  }
}


/* V47: centrar previews de Diseños solo en móvil vertical */
@media (max-width: 640px) and (orientation: portrait) {
  .design-panel-inner {
    align-items: center;
    padding-right: 0;
  }

  .design-preview-stack {
    width: min(76vw, 310px);
    margin-inline: auto;
  }

  .design-demo-btn {
    margin-inline: auto;
  }
}
