/* ==================================================
   VARIABLES
================================================== */

:root {
  --wine: #521b32;
  --wine-dark: #32101f;
  --wine-deep: #241019;
  --rose: #b84d67;
  --rose-light: #d88497;
  --gold: #d7b77a;
  --gold-light: #f0d9a8;
  --ivory: #faf5ec;
  --paper: #fffdfa;
  --ink: #252326;
  --muted: #70686b;
  --line: #e3d9d1;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(54, 20, 34, 0.12);
  --shadow-strong: 0 30px 90px rgba(50, 16, 31, 0.2);
  --radius: 28px;
}

/* ==================================================
   RESET Y GENERALES
================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

h1,
h2,
h3,
.brand {
  font-family: "Manrope", sans-serif;
}

a {
  color: inherit;
}

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

.section {
  position: relative;
  padding: 112px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--wine);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

/* ==================================================
   TEXTOS Y BOTONES
================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--rose);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--gold-light);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow:
    0 0 0 6px rgba(215, 183, 122, 0.12),
    0 0 22px rgba(215, 183, 122, 0.75);
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 700 0.92rem "DM Sans", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: linear-gradient(135deg, var(--wine), var(--rose));
  color: var(--white);
  box-shadow: 0 14px 30px rgba(82, 27, 50, 0.24);
}

.button-primary:hover {
  box-shadow: 0 18px 38px rgba(82, 27, 50, 0.32);
}

.button-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--wine-dark);
  box-shadow: 0 16px 35px rgba(215, 183, 122, 0.2);
}

.button-gold:hover {
  box-shadow: 0 18px 42px rgba(215, 183, 122, 0.3);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.button-ghost:hover {
  border-color: rgba(215, 183, 122, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

/* ==================================================
   ENCABEZADO
================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(227, 217, 209, 0.72);
  background: rgba(255, 253, 250, 0.82);
  box-shadow: 0 10px 35px rgba(50, 16, 31, 0.04);
  backdrop-filter: blur(20px) saturate(140%);
}

.nav-wrap {
  display: flex;
  height: 76px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  color: var(--wine);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand-mark::after {
  position: absolute;
  right: -5px;
  bottom: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(215, 183, 122, 0.8);
  content: "";
}

.brand-name {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

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

.main-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.main-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav .nav-cta {
  padding: 10px 19px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wine), var(--rose));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(82, 27, 50, 0.2);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 4px;
  background: var(--ink);
  transition: 0.25s ease;
}

/* ==================================================
   HERO
================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 104px;
  background:
    radial-gradient(circle at 78% 18%, rgba(184, 77, 103, 0.25), transparent 29%),
    radial-gradient(circle at 10% 85%, rgba(215, 183, 122, 0.12), transparent 26%),
    linear-gradient(135deg, var(--wine-deep) 0%, var(--wine-dark) 47%, #4b1930 100%);
  color: var(--white);
}

.hero::after {
  position: absolute;
  right: -180px;
  bottom: -280px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(215, 183, 122, 0.14);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 70px rgba(215, 183, 122, 0.025),
    0 0 0 150px rgba(184, 77, 103, 0.02);
}

.hero-grid-pattern,
.section-grid-pattern,
.process-grid-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid-pattern {
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, black, transparent 76%);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(215, 183, 122, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit::after {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(215, 183, 122, 0.9);
  content: "";
}

.hero-orbit-one {
  top: 80px;
  right: 7%;
  width: 420px;
  height: 420px;
}

.hero-orbit-one::after {
  top: 47px;
  left: 78px;
}

.hero-orbit-two {
  right: 16%;
  bottom: -160px;
  width: 330px;
  height: 330px;
}

.hero-orbit-two::after {
  top: 100px;
  right: -2px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 74px;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 22px 0 24px;
  font-size: clamp(2.9rem, 5.2vw, 5.25rem);
  line-height: 1.01;
  letter-spacing: -0.06em;
}

.hero-copy h1 em,
.section-heading h2 em,
.process-copy h2 em {
  color: var(--gold-light);
  font-style: normal;
  text-shadow: 0 0 28px rgba(215, 183, 122, 0.18);
}

.hero-lead {
  max-width: 650px;
  color: #d7c9ce;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 35px 0;
}

.hero-trust {
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0;
  color: #c9b9bf;
  font-size: 0.86rem;
  list-style: none;
}

.hero-trust span {
  margin-right: 4px;
  color: var(--gold);
  font-weight: 800;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 490px;
  place-items: center;
}

.visual-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(184, 77, 103, 0.2);
  filter: blur(80px);
}

.browser-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 515px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 25px;
  background: rgba(255, 253, 250, 0.96);
  box-shadow:
    0 35px 90px rgba(14, 3, 8, 0.42),
    0 0 55px rgba(184, 77, 103, 0.12);
  transform: perspective(1100px) rotateY(-4deg) rotateX(2deg) rotateZ(1deg);
}

.browser-top {
  display: flex;
  height: 46px;
  padding: 0 15px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: #f7eee9;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9c8bf;
}

.browser-dots i:first-child {
  background: var(--rose);
}

.browser-top > span {
  flex: 1;
  padding: 5px 18px;
  border: 1px solid rgba(82, 27, 50, 0.06);
  border-radius: 99px;
  background: var(--white);
  color: #998b90;
  font-size: 0.61rem;
  text-align: center;
}

.browser-top > b {
  color: var(--rose);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
}

.browser-body {
  padding: 22px;
}

.mini-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--wine);
  font-size: 0.67rem;
}

.mini-nav b {
  margin-right: auto;
}

.mini-nav span {
  width: 31px;
  height: 4px;
  border-radius: 10px;
  background: #eadfd9;
}

.mini-hero {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  padding: 44px 30px 50px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 22%, rgba(215, 183, 122, 0.22), transparent 28%),
    linear-gradient(125deg, var(--wine-dark), #7d2f4e);
  color: var(--white);
}

.mini-hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
}

.mini-hero small,
.mini-hero strong,
.mini-hero a {
  position: relative;
  z-index: 1;
}

.mini-hero small {
  display: block;
  margin-bottom: 9px;
  color: var(--gold);
  font-size: 0.53rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.mini-hero strong {
  display: block;
  font: 700 1.6rem/1.2 "Manrope", sans-serif;
}

.mini-hero a {
  display: inline-block;
  padding: 6px 12px;
  margin-top: 17px;
  border-radius: 99px;
  background: var(--gold);
  color: var(--wine-dark);
  font-size: 0.5rem;
  font-weight: 800;
}

.mini-hero > i {
  position: absolute;
  right: -35px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border: 35px solid rgba(215, 183, 122, 0.14);
  border-radius: 50%;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 13px;
}

.mini-cards > span {
  display: flex;
  height: 78px;
  padding: 10px;
  flex-direction: column;
  gap: 8px;
  border: 1px solid #efe3dc;
  border-radius: 12px;
  background: #fbf8f5;
}

.mini-cards i {
  display: block;
  height: 35px;
  border-radius: 7px;
  background: linear-gradient(135deg, #eadad9, #f5eadd);
}

.mini-cards b {
  display: block;
  width: 65%;
  height: 4px;
  border-radius: 10px;
  background: #dccbc5;
}

.floating-note {
  position: absolute;
  z-index: 3;
  display: flex;
  padding: 12px 15px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(215, 183, 122, 0.28);
  border-radius: 15px;
  background: rgba(255, 253, 250, 0.92);
  box-shadow: 0 18px 42px rgba(20, 5, 11, 0.25);
  backdrop-filter: blur(14px);
}

.floating-note > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--ivory);
  color: var(--rose);
  font-size: 0.72rem;
  font-weight: 800;
}

.floating-note b,
.floating-note small {
  display: block;
}

.floating-note b {
  color: var(--ink);
  font-size: 0.76rem;
}

.floating-note small {
  color: var(--muted);
  font-size: 0.63rem;
}

.note-one {
  top: 88px;
  left: -30px;
}

.note-two {
  right: -24px;
  bottom: 67px;
}

/* ==================================================
   FRANJA DE DATOS
================================================== */

.stats-strip {
  position: relative;
  z-index: 4;
  padding: 31px 0;
  border-top: 1px solid rgba(215, 183, 122, 0.2);
  background: var(--wine);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid div {
  display: flex;
  align-items: center;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stats-grid div:last-child {
  border: 0;
}

.stats-grid strong {
  color: var(--gold);
  font: 800 1.45rem "Manrope", sans-serif;
}

.stats-grid span {
  color: #e7dbe0;
  font-size: 0.78rem;
}

/* ==================================================
   ENCABEZADOS DE SECCIÓN
================================================== */

.section-heading {
  max-width: 720px;
  margin-bottom: 50px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.process-copy h2 {
  margin: 13px 0 17px;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.047em;
}

.section-heading h2 em {
  color: var(--rose);
}

.section-heading p,
.process-copy > p {
  color: var(--muted);
  font-size: 1.04rem;
}

/* ==================================================
   SERVICIOS
================================================== */

.services {
  overflow: hidden;
  background:
    radial-gradient(circle at 6% 10%, rgba(184, 77, 103, 0.09), transparent 22%),
    radial-gradient(circle at 95% 86%, rgba(215, 183, 122, 0.13), transparent 24%),
    var(--paper);
}

.section-grid-pattern {
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(82, 27, 50, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 27, 50, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.services .container {
  position: relative;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.service-card {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 38px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(82, 27, 50, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 55px rgba(54, 20, 34, 0.07);
  backdrop-filter: blur(14px);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
  opacity: 0.7;
}

.service-card::after {
  position: absolute;
  top: -110px;
  right: -110px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(184, 77, 103, 0.07);
  content: "";
  filter: blur(4px);
}

.service-card:hover {
  border-color: rgba(184, 77, 103, 0.35);
  box-shadow: var(--shadow-strong);
  transform: translateY(-8px);
}

.service-card.featured {
  border-color: rgba(184, 77, 103, 0.28);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.94), rgba(250, 242, 242, 0.9));
}

.card-label {
  position: absolute;
  top: 0;
  right: 30px;
  z-index: 2;
  padding: 8px 15px;
  border-radius: 0 0 11px 11px;
  background: linear-gradient(135deg, var(--wine), var(--rose));
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-top {
  position: relative;
  z-index: 1;
  display: flex;
  margin-bottom: 25px;
  align-items: center;
  justify-content: space-between;
}

.service-number {
  color: #d2c1c6;
  font: 800 0.79rem "Manrope", sans-serif;
  letter-spacing: 0.08em;
}

.service-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(184, 77, 103, 0.12);
  border-radius: 16px;
  background: linear-gradient(145deg, var(--ivory), #f4e8e6);
  color: var(--wine);
  box-shadow: 0 12px 25px rgba(82, 27, 50, 0.08);
  font-size: 1.35rem;
  font-weight: 800;
}

.card-kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 7px;
  color: var(--rose);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 15px;
  color: var(--wine-dark);
  font-size: 1.55rem;
}

.service-description {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.91rem;
}

.service-card ul {
  position: relative;
  z-index: 1;
  padding: 20px 0;
  margin: 8px 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 25px;
  margin: 8px 0;
  color: #4f494c;
  font-size: 0.84rem;
}

.service-card li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--rose);
  content: "✓";
  font-weight: 800;
}

.price-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: auto;
  overflow: hidden;
  border: 1px solid rgba(82, 27, 50, 0.1);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--ivory), #f8eeee);
}

.price-panel > div {
  padding: 19px 18px;
}

.price-panel > div + div {
  border-left: 1px solid rgba(82, 27, 50, 0.1);
}

.price-panel span,
.price-panel strong,
.price-panel small {
  display: block;
}

.price-panel span {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.price-panel strong {
  margin: 2px 0;
  color: var(--wine);
  font: 800 1.65rem "Manrope", sans-serif;
}

.price-panel small {
  color: var(--muted);
  font-size: 0.7rem;
}

.included-note {
  position: relative;
  z-index: 1;
  margin: 13px 0 17px;
  color: var(--wine);
  font-size: 0.79rem;
  font-weight: 700;
  text-align: center;
}

.included-note span {
  color: var(--rose);
}

.service-button {
  position: relative;
  z-index: 1;
  width: 100%;
}

.service-note {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* ==================================================
   PROCESO
================================================== */

.process {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(184, 77, 103, 0.18), transparent 25%),
    linear-gradient(135deg, var(--wine-deep), var(--wine-dark));
  color: var(--white);
}

.process::after {
  position: absolute;
  right: -200px;
  bottom: -300px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(215, 183, 122, 0.13);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 75px rgba(215, 183, 122, 0.025);
}

.process-grid-pattern {
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 52px 52px;
}

.process-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 90px;
}

.process-copy > p {
  color: #cdbec4;
}

.online-badge {
  display: flex;
  padding: 19px;
  margin-top: 31px;
  gap: 13px;
  border: 1px solid rgba(215, 183, 122, 0.2);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.online-badge > span {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: rgba(215, 183, 122, 0.12);
  color: var(--gold);
  font-size: 1.3rem;
}

.online-badge b,
.online-badge small {
  display: block;
}

.online-badge small {
  color: #bcaeb4;
}

.timeline {
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  padding: 24px 0;
  gap: 21px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.timeline li:last-child {
  border: 0;
}

.timeline > li > span {
  display: grid;
  width: 51px;
  height: 51px;
  place-items: center;
  border: 1px solid rgba(215, 183, 122, 0.4);
  border-radius: 50%;
  background: rgba(215, 183, 122, 0.04);
  color: var(--gold);
  box-shadow: 0 0 22px rgba(215, 183, 122, 0.06);
  font: 800 0.75rem "Manrope", sans-serif;
}

.timeline h3 {
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.timeline p {
  margin: 0;
  color: #bcaeb4;
  font-size: 0.89rem;
}

/* ==================================================
   PROYECTOS
================================================== */

.projects {
  background:
    radial-gradient(circle at 90% 15%, rgba(215, 183, 122, 0.12), transparent 22%),
    var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 950px;
  margin: auto;
  gap: 25px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 27px;
  background: var(--white);
  box-shadow: 0 15px 45px rgba(54, 20, 34, 0.07);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.project-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.project-preview {
  position: relative;
  display: flex;
  min-height: 265px;
  padding: 35px;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
}

.project-preview::before {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
}

.project-preview span,
.project-preview strong {
  position: relative;
  z-index: 1;
}

.project-preview span {
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-preview strong {
  max-width: 310px;
  font: 800 2rem/1.15 "Manrope", sans-serif;
}

.project-preview i {
  position: absolute;
  right: -40px;
  bottom: -65px;
  width: 230px;
  height: 230px;
  border: 45px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  transition: transform 0.5s ease;
}

.project-card:hover .project-preview i {
  transform: scale(1.08) rotate(10deg);
}

.project-auto .project-preview {
  background: linear-gradient(135deg, #111827, #26364d);
}

.project-auto .project-preview span {
  color: #f97316;
}

.project-license .project-preview {
  background: linear-gradient(135deg, #131329, #392b70);
}

.project-license .project-preview span {
  color: #b8a6ff;
}

.project-info {
  padding: 25px 28px 27px;
}

.project-info > span {
  color: var(--rose);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-info h3 {
  margin: 4px 0;
  font-size: 1.25rem;
}

.project-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

/* ==================================================
   PREGUNTAS FRECUENTES
================================================== */

.faq {
  background:
    linear-gradient(rgba(82, 27, 50, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 27, 50, 0.02) 1px, transparent 1px),
    #f9f4ef;
  background-size: 55px 55px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 80px;
}

.accordion {
  padding: 5px 28px;
  border: 1px solid rgba(82, 27, 50, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 55px rgba(54, 20, 34, 0.06);
  backdrop-filter: blur(12px);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion details:last-child {
  border: 0;
}

.accordion summary {
  display: flex;
  padding: 22px 0;
  justify-content: space-between;
  gap: 20px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary span {
  color: var(--rose);
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.accordion details[open] summary span {
  transform: rotate(45deg);
}

.accordion details p {
  padding: 0 35px 22px 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

/* ==================================================
   CONTACTO
================================================== */

.contact {
  padding: 0 0 92px;
  background: #f9f4ef;
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  padding: 62px;
  align-items: center;
  gap: 50px;
  overflow: hidden;
  border: 1px solid rgba(215, 183, 122, 0.22);
  border-radius: 33px;
  background:
    linear-gradient(130deg, var(--wine-dark), var(--wine) 60%, #762b49);
  color: var(--white);
  box-shadow: var(--shadow-strong);
}

.contact-card::before {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
}

.contact-glow {
  position: absolute;
  right: -100px;
  bottom: -150px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(215, 183, 122, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(215, 183, 122, 0.035),
    0 0 90px rgba(184, 77, 103, 0.18);
}

.contact-card > div:not(.contact-glow) {
  position: relative;
  z-index: 1;
}

.contact-card h2 {
  max-width: 740px;
  margin: 12px 0;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.contact-card p {
  margin: 0;
  color: #e3d2d9;
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 15px;
}

.contact-number {
  color: #e6d9dd;
  font-size: 0.82rem;
}

/* ==================================================
   FOOTER
================================================== */

.site-footer {
  padding: 67px 0 20px;
  background: #211118;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding-bottom: 50px;
  gap: 40px;
}

.footer-brand {
  color: var(--white);
}

.footer-brand .brand-mark {
  color: var(--gold);
}

.footer-grid p {
  color: #9f9096;
  font-size: 0.87rem;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.footer-grid b {
  margin-bottom: 5px;
  font-size: 0.81rem;
}

.footer-grid a:not(.brand),
.footer-grid span {
  color: #ad9da3;
  font-size: 0.81rem;
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  padding-top: 18px;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8f8086;
  font-size: 0.73rem;
}

/* ==================================================
   ANIMACIONES
================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.11s;
}

.delay-2 {
  transition-delay: 0.22s;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 14px rgba(215, 183, 122, 0.55);
  }

  50% {
    box-shadow: 0 0 27px rgba(215, 183, 122, 0.85);
  }
}

.hero-orbit::after {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* ==================================================
   TABLETAS
================================================== */

@media (max-width: 900px) {
  .section {
    padding: 86px 0;
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    padding: 25px 20px 31px;
    align-items: stretch;
    flex-direction: column;
    background: rgba(255, 253, 250, 0.98);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(18px);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a:not(.nav-cta)::after {
    display: none;
  }

  .main-nav .nav-cta {
    text-align: center;
  }

  .menu-button {
    display: block;
  }

  .hero {
    padding-top: 82px;
  }

  .hero-grid,
  .process-grid,
  .faq-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 52px;
  }

  .hero-visual {
    min-height: 420px;
  }

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

  .service-card {
    width: 100%;
    max-width: 690px;
    margin: auto;
  }

  .process-grid,
  .faq-grid {
    gap: 52px;
  }

  .contact-card {
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stats-grid div:nth-child(2) {
    border: 0;
  }

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

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

/* ==================================================
   TELÉFONOS
================================================== */

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 73px 0;
  }

  .nav-wrap {
    height: 68px;
  }

  .main-nav {
    inset: 68px 0 auto;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero-copy h1 {
    font-size: 2.72rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-visual {
    min-height: 350px;
  }

  .browser-card {
    max-width: 96%;
    transform: rotate(1deg);
  }

  .browser-body {
    padding: 14px;
  }

  .browser-top > b {
    display: none;
  }

  .mini-hero {
    padding: 32px 20px 39px;
  }

  .mini-nav {
    gap: 9px;
  }

  .mini-nav span {
    width: 23px;
  }

  .floating-note {
    padding: 9px;
  }

  .note-one {
    top: 32px;
    left: -3px;
  }

  .note-two {
    right: -2px;
    bottom: 23px;
  }

  .note-one,
  .note-two {
    transform: scale(0.87);
  }

  .stats-grid {
    font-size: 0.8rem;
  }

  .stats-grid div {
    padding: 8px;
    text-align: center;
  }

  .section-heading h2,
  .process-copy h2 {
    font-size: 2.05rem;
  }

  .service-card {
    padding: 27px 22px;
  }

  .price-panel {
    grid-template-columns: 1fr;
  }

  .price-panel > div + div {
    border-top: 1px solid rgba(82, 27, 50, 0.1);
    border-left: 0;
  }

  .process-grid {
    gap: 37px;
  }

  .timeline li {
    grid-template-columns: 48px 1fr;
    gap: 15px;
  }

  .timeline > li > span {
    width: 45px;
    height: 45px;
  }

  .project-preview {
    min-height: 220px;
  }

  .accordion {
    padding: 3px 20px;
  }

  .contact {
    padding-bottom: 61px;
  }

  .contact-card {
    padding: 44px 24px;
  }

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

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

  .footer-bottom {
    gap: 8px;
    flex-direction: column;
  }
}

/* ==================================================
   ACCESIBILIDAD
================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .service-card,
  .project-card,
  .hero-orbit::after {
    animation: none;
    transition: none;
  }
}
/* ==================================================
   BOTÓN FLOTANTE DE WHATSAPP
================================================== */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #25d366;
  box-shadow:
    0 15px 35px rgba(37, 211, 102, 0.35),
    0 0 0 8px rgba(37, 211, 102, 0.1);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow:
    0 20px 42px rgba(37, 211, 102, 0.45),
    0 0 0 10px rgba(37, 211, 102, 0.12);
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
  fill: white;
}

@media (max-width: 620px) {
  .whatsapp-float {
    right: 17px;
    bottom: 17px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}
/* ==================================================
   LOGO DE DV WEB STUDIO
================================================== */

.brand-logo {
  display: block;
  width: 245px;
  max-width: 100%;
  height: auto;
}

.brand-logo-header {
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 620px) {
  .brand-logo {
    width: 205px;
  }

  .brand-logo-header {
    max-height: 44px;
  }
}
/* ==================================================
   PROYECTOS CON VISTA PREVIA
================================================== */

.project-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.project-link .project-preview {
  position: relative;
  min-height: 265px;
  padding: 0;
  overflow: hidden;
  background: var(--wine-dark);
}

.project-link .project-preview::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
  background: linear-gradient(
    to top,
    rgba(36, 16, 25, 0.45),
    transparent 55%
  );
  content: "";
  pointer-events: none;
}

.project-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}

.project-link:hover .project-image {
  transform: scale(1.04);
}

.project-card .project-preview .project-visit {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  padding: 9px 14px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(50, 16, 31, 0.82);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.project-visit b {
  color: var(--gold);
  font-size: 0.9rem;
}

.project-action {
  display: inline-block;
  margin-top: 16px;
  color: var(--wine);
  font-size: 0.8rem;
}

.project-link:hover .project-action {
  color: var(--rose);
}

@media (max-width: 620px) {
  .project-link .project-preview {
    min-height: 205px;
  }

  .project-card .project-preview .project-visit {
    right: 13px;
    bottom: 13px;
    padding: 8px 12px;
  }
}
/* ==================================================
   LOGO DEL FOOTER
================================================== */

.footer-logo-link {
  display: inline-flex;
  padding: 10px 14px;
  align-items: center;
  border: 1px solid rgba(215, 183, 122, 0.25);
  border-radius: 16px;
  background: var(--ivory);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.footer-logo-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.brand-logo-footer {
  width: 245px;
  height: auto;
}

.footer-logo-link + p {
  margin-top: 15px;
}

@media (max-width: 620px) {
  .brand-logo-footer {
    width: 215px;
  }
}
/* Footer con símbolo transparente */

.footer-logo-link {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-logo-link:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.brand-logo-footer {
  width: 120px;
  height: auto;
}

@media (max-width: 620px) {
  .brand-logo-footer {
    width: 105px;
  }
}
