:root :root {
  /* IDENTIDAD ALMIVI WEB STUDIO */

  --bg: #F4EDE4;          /* Marfil */
  --bg-soft: #EAE0D4;     /* Arena suave */

  --card: #FFFDFC;        /* Blanco cálido */
  --card-2: #E7D9CE;

  --text: #22211F;        /* Carbón */
  --text-soft: #69625D;   /* Gris cálido */

  --purple: #4A234A;      /* Ciruela ALMIVI */
  --purple-2: #70436F;    /* Ciruela suave */

  --blue: #667C83;        /* Azul grisáceo */
  --yellow: #C89B55;      /* Mostaza apagado */
  --red: #D77A61;         /* Terracota */

  --green: #A8BFA3;       /* Salvia */

  --border: rgba(74, 35, 74, 0.13);

  --shadow:
    0 20px 60px rgba(48, 32, 39, 0.10);

  --radius: 24px;
  --radius-small: 16px;

  --container: 1180px;
}

/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(139,92,246,0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(59,130,246,0.08), transparent 24%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}


/* =========================
   HEADER
========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,15,0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(
    90deg,
    var(--purple),
    var(--blue),
    var(--yellow)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-sub {
  margin-top: 5px;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--text-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: 0.25s ease;
}

.nav a:hover {
  color: var(--text);
}

.btn-nav {
  padding: 12px 20px;
  border: 1px solid rgba(167,139,250,0.4);
  border-radius: 999px;
  background: rgba(139,92,246,0.08);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  padding: 90px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.eyebrow,
.section-tag {
  display: inline-block;
  color: var(--purple-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 22px;
  max-width: 760px;
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero h1 span {
  display: block;
  background: linear-gradient(
    90deg,
    var(--purple-2),
    var(--blue)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  max-width: 620px;
  margin-top: 28px;
  color: var(--text-soft);
  font-size: 1.15rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
}

.btn-primary {
  color: white;
  background: linear-gradient(
    135deg,
    var(--purple),
    var(--blue)
  );
  box-shadow: 0 15px 40px rgba(139,92,246,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(139,92,246,0.35);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.07);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 42px;
}

.hero-trust div {
  display: flex;
  flex-direction: column;
}

.hero-trust strong {
  font-size: 0.95rem;
}

.hero-trust span {
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 0.78rem;
}


/* =========================
   HERO VISUAL
========================= */

.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.browser-card {
  position: relative;
  width: min(100%, 520px);
  min-height: 390px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.07),
      rgba(255,255,255,0.02)
    );
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(-2deg);
}

.browser-top {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
}

.browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-top span:nth-child(1) {
  background: var(--red);
}

.browser-top span:nth-child(2) {
  background: var(--yellow);
}

.browser-top span:nth-child(3) {
  background: #22c55e;
}

.browser-body {
  padding: 42px;
}

.mini-badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(139,92,246,0.12);
  color: var(--purple-2);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.browser-body h2 {
  margin-top: 24px;
  font-size: 2.2rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.browser-body p {
  margin-top: 16px;
  color: var(--text-soft);
}

.browser-elements {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}

.browser-elements div {
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(139,92,246,0.7),
    rgba(59,130,246,0.22)
  );
}

.browser-elements div:nth-child(1) {
  width: 82%;
}

.browser-elements div:nth-child(2) {
  width: 64%;
}

.browser-elements div:nth-child(3) {
  width: 46%;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(20,20,30,0.88);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.floating-card span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(139,92,246,0.15);
  color: var(--purple-2);
}

.floating-card div {
  display: flex;
  flex-direction: column;
}

.floating-card strong {
  font-size: 0.86rem;
}

.floating-card small {
  color: var(--text-soft);
}

.floating-card-one {
  top: 60px;
  right: -10px;
}

.floating-card-two {
  bottom: 55px;
  left: -15px;
}


/* =========================
   DECORACIÓN
========================= */

.hero-decoration {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}

.hero-decoration-one {
  width: 340px;
  height: 340px;
  top: 5%;
  right: 10%;
  background: var(--purple);
}

.hero-decoration-two {
  width: 280px;
  height: 280px;
  bottom: 2%;
  right: 32%;
  background: var(--blue);
}


/* =========================
   INTRO
========================= */

.intro {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 80px;
  align-items: end;
}

.intro h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.intro p {
  color: var(--text-soft);
  font-size: 1.08rem;
}


/* =========================
   SECTION HEADING
========================= */

.section-heading {
  max-width: 760px;
  margin-bottom: 54px;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-heading p {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 1.05rem;
}


/* =========================
   SERVICES
========================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 340px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.045),
      rgba(255,255,255,0.015)
    );
  transition: 0.25s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139,92,246,0.32);
}

.service-card.featured {
  background:
    radial-gradient(
      circle at top right,
      rgba(139,92,246,0.15),
      transparent 40%
    ),
    var(--card);
}

.service-number {
  position: absolute;
  top: 26px;
  right: 28px;
  color: rgba(255,255,255,0.25);
  font-size: 0.85rem;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(139,92,246,0.12);
  color: var(--purple-2);
  font-size: 1.5rem;
}

.service-card h3 {
  margin-top: 28px;
  font-size: 1.55rem;
}

.service-card p {
  margin-top: 14px;
  color: var(--text-soft);
  max-width: 520px;
}

.service-card a {
  display: inline-block;
  margin-top: 28px;
  color: var(--purple-2);
  font-weight: 800;
}


/* =========================
   ABOUT
========================= */

.about {
  background: rgba(255,255,255,0.018);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  min-height: 470px;
  display: grid;
  place-items: center;
}

.about-box {
  width: min(100%, 440px);
  min-height: 390px;
  padding: 40px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-radius: 30px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 20% 20%, rgba(139,92,246,0.28), transparent 32%),
    radial-gradient(circle at 80% 80%, rgba(59,130,246,0.2), transparent 30%),
    var(--card);
  box-shadow: var(--shadow);
}

.big-letter {
  font-size: 12rem;
  line-height: 0.8;
  font-weight: 900;
  opacity: 0.95;
  background: linear-gradient(
    160deg,
    var(--purple-2),
    var(--blue),
    var(--yellow)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-box div {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.about-box strong {
  font-size: 1.3rem;
}

.about-box span {
  color: var(--text-soft);
}

.about-content h2 {
  margin-top: 15px;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.about-content p {
  margin-top: 22px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.text-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--purple-2);
  font-weight: 800;
}


/* =========================
   PROCESS
========================= */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-item {
  min-height: 260px;
  padding: 28px;
  border-top: 1px solid var(--border);
}

.process-item > span {
  color: var(--purple-2);
  font-weight: 900;
  font-size: 0.8rem;
}

.process-item h3 {
  margin-top: 24px;
  font-size: 1.3rem;
}

.process-item p {
  margin-top: 12px;
  color: var(--text-soft);
}


/* =========================
   CTA
========================= */

.cta-box {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr;
  gap: 70px;
  padding: 65px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.15), transparent 30%),
    linear-gradient(
      135deg,
      #6d28d9,
      #4f46e5,
      #2563eb
    );
  box-shadow: 0 30px 80px rgba(59,130,246,0.18);
}

.section-tag.light {
  color: rgba(255,255,255,0.72);
}

.cta h2 {
  margin-top: 15px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.cta-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.cta-content p {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
}

.btn-light {
  margin-top: 26px;
  background: white;
  color: #17111f;
}


/* =========================
   FOOTER
========================= */

.footer {
  padding: 70px 0 30px;
  border-top: 1px solid var(--border);
  background: #07070b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 60px;
}

.footer-logo {
  margin-bottom: 18px;
}

.footer p {
  max-width: 380px;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links strong {
  margin-bottom: 6px;
}

.footer-links a {
  color: var(--text-soft);
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: var(--purple-2);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.84rem;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 950px) {

  .hero-grid,
  .intro-grid,
  .about-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav {
    position: absolute;
    top: 82px;
    left: 4%;
    right: 4%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #12121a;
    box-shadow: var(--shadow);
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 13px 12px;
  }

  .menu-toggle {
    display: block;
  }
}


@media (max-width: 650px) {

  .section {
    padding: 80px 0;
  }

  .hero {
    min-height: auto;
    padding: 70px 0;
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .browser-body {
    padding: 30px;
  }

  .browser-body h2 {
    font-size: 1.7rem;
  }

  .floating-card {
    min-width: 165px;
    padding: 12px;
  }

  .floating-card-one {
    right: -10px;
  }

  .floating-card-two {
    left: -10px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 38px 28px;
  }

  .about-box {
    min-height: 330px;
  }

  .big-letter {
    font-size: 8rem;
  }
}
/* =========================================
   NUEVA IDENTIDAD ALMIVI — CIRUELA EDITORIAL
========================================= */

body {
  background: #F4EDE4;
  color: #22211F;
}

/* HEADER */
.header {
  background: rgba(244, 237, 228, 0.94);
  border-bottom: 1px solid rgba(74, 35, 74, 0.14);
}

.logo-main {
  background: none;
  -webkit-text-fill-color: #4A234A;
  color: #4A234A;
}

.logo-sub {
  color: #70436F;
}

.nav a {
  color: #4D4743;
}

.nav a:hover {
  color: #4A234A;
}

.btn-nav {
  background: #4A234A;
  color: #FFFFFF !important;
  border: 1px solid #4A234A;
}


/* HERO */
.hero {
  background:
    radial-gradient(
      circle at 85% 25%,
      rgba(168, 191, 163, 0.30),
      transparent 25%
    ),
    #F4EDE4;
}

.eyebrow,
.section-tag {
  color: #4A234A;
}

.hero h1 {
  color: #22211F;
}

.hero h1 span {
  background: none;
  -webkit-text-fill-color: #4A234A;
  color: #4A234A;
}

.hero-text {
  color: #69625D;
}


/* BOTONES */
.btn-primary {
  background: #4A234A;
  color: #FFFFFF;
  box-shadow: 0 14px 35px rgba(74, 35, 74, 0.20);
}

.btn-primary:hover {
  background: #5B315B;
  box-shadow: 0 18px 40px rgba(74, 35, 74, 0.28);
}

.btn-secondary {
  background: transparent;
  color: #4A234A;
  border: 1px solid #4A234A;
}


/* MOCKUP HERO */
.browser-card {
  background: #4A234A;
  border: none;
  box-shadow: 0 30px 70px rgba(74, 35, 74, 0.22);
}

.browser-top {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.browser-body {
  color: #FFFFFF;
}

.browser-body p {
  color: rgba(255,255,255,0.70);
}

.mini-badge {
  background: #F4EDE4;
  color: #4A234A;
}

.browser-elements div {
  background: #D77A61;
}


/* TARJETAS FLOTANTES */
.floating-card {
  background: #FFFDFC;
  color: #22211F;
  border: 1px solid rgba(74,35,74,0.10);
}

.floating-card span {
  background: #E7D9CE;
  color: #4A234A;
}

.floating-card small {
  color: #69625D;
}


/* QUITAMOS EL LOOK NEÓN ANTERIOR */
.hero-decoration-one {
  background: #D77A61;
  opacity: 0.10;
}

.hero-decoration-two {
  background: #A8BFA3;
  opacity: 0.16;
}


/* INTRO */
.intro {
  background: #FFFDFC;
  border-color: rgba(74,35,74,0.10);
}

.intro h2 {
  color: #4A234A;
}

.intro p {
  color: #69625D;
}


/* SERVICIOS */
.services {
  background: #F4EDE4;
}

.section-heading h2 {
  color: #22211F;
}

.section-heading p {
  color: #69625D;
}

.service-card,
.service-card.featured {
  background: #FFFDFC;
  color: #22211F;
  border: 1px solid rgba(74,35,74,0.11);
}

.service-card:hover {
  border-color: #4A234A;
  box-shadow: 0 20px 45px rgba(74,35,74,0.10);
}

.service-icon {
  background: #4A234A;
  color: #FFFFFF;
}

.service-card p {
  color: #69625D;
}

.service-card a {
  color: #4A234A;
}

.service-number {
  color: #D77A61;
}


/* NOSOTROS */
.about {
  background: #EAE0D4;
}

.about-box {
  background: #4A234A;
  border: none;
}

.big-letter {
  background: none;
  -webkit-text-fill-color: #F4EDE4;
  color: #F4EDE4;
}

.about-box strong {
  color: #FFFFFF;
}

.about-box div span {
  color: #D9C9D7;
}

.about-content h2 {
  color: #4A234A;
}

.about-content p {
  color: #69625D;
}

.text-link {
  color: #4A234A;
}


/* PROCESO */
.process {
  background: #FFFDFC;
}

.process-item {
  border-color: rgba(74,35,74,0.16);
}

.process-item > span {
  color: #D77A61;
}

.process-item p {
  color: #69625D;
}


/* CTA */
.cta {
  background: #F4EDE4;
}

.cta-box {
  background: #4A234A;
  box-shadow: 0 30px 70px rgba(74,35,74,0.18);
}

.cta h2 {
  color: #FFFFFF;
}

.cta-content p {
  color: #E9DEE8;
}

.btn-light {
  background: #D77A61;
  color: #FFFFFF;
}


/* FOOTER */
.footer {
  background: #22211F;
  border-top: none;
}

.footer .logo-main {
  -webkit-text-fill-color: #F4EDE4;
  color: #F4EDE4;
}

.footer .logo-sub {
  color: #D77A61;
}

.footer p,
.footer-links a {
  color: #BEB5AE;
}

.footer-links strong {
  color: #FFFFFF;
}

.footer-links a:hover {
  color: #D77A61;
}
/* =========================================
   FONDO VERDE AGUA — ALMIVI
========================================= */

body {
  background: #DCEDE7;
}

.header {
  background: rgba(220, 237, 231, 0.94);
}

.hero {
  background:
    radial-gradient(
      circle at 85% 25%,
      rgba(255, 249, 243, 0.65),
      transparent 28%
    ),
    #DCEDE7;
}

.services {
  background: #DCEDE7;
}

.cta {
  background: #DCEDE7;
}
/* =========================================
   PALETA OFICIAL ALMIVI WEB STUDIO
========================================= */

:root {
  --almivi-black: #0D0D0F;
  --almivi-plum: #5A2858;
  --almivi-sky: #75C9E6;
  --almivi-beige: #E8DDCF;
  --almivi-lilac: #D8C5DF;
  --almivi-muted: #A99E94;
}


/* FONDO GENERAL */

body {
  background: var(--almivi-black);
  color: var(--almivi-beige);
}


/* HEADER */

.header {
  background: rgba(13, 13, 15, 0.94);
  border-bottom: 1px solid rgba(216, 197, 223, 0.12);
}

.logo-main {
  background: none;
  -webkit-text-fill-color: var(--almivi-plum);
  color: var(--almivi-plum);
}

.logo-sub {
  color: var(--almivi-sky);
}

.nav a {
  color: var(--almivi-beige);
}

.nav a:hover {
  color: var(--almivi-sky);
}

.btn-nav {
  background: var(--almivi-plum);
  border-color: var(--almivi-plum);
  color: var(--almivi-beige) !important;
}


/* HERO */

.hero {
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(90, 40, 88, 0.28),
      transparent 32%
    ),
    var(--almivi-black);
}

.eyebrow,
.section-tag {
  color: var(--almivi-sky);
}

.hero h1 {
  color: var(--almivi-beige);
}

.hero h1 span {
  background: none;
  -webkit-text-fill-color: var(--almivi-plum);
  color: var(--almivi-plum);
}

.hero-text {
  color: var(--almivi-muted);
}


/* BOTONES */

.btn-primary {
  background: var(--almivi-plum);
  color: var(--almivi-beige);
  box-shadow: 0 15px 40px rgba(90, 40, 88, 0.32);
}

.btn-primary:hover {
  background: #71366E;
}

.btn-secondary {
  background: transparent;
  color: var(--almivi-beige);
  border-color: rgba(232, 221, 207, 0.35);
}

.btn-secondary:hover {
  border-color: var(--almivi-sky);
  color: var(--almivi-sky);
}


/* MOCKUP */

.browser-card {
  background: var(--almivi-plum);
  border: 1px solid rgba(216, 197, 223, 0.2);
}

.browser-body {
  color: var(--almivi-beige);
}

.browser-body p {
  color: rgba(232, 221, 207, 0.72);
}

.mini-badge {
  background: var(--almivi-lilac);
  color: #30172F;
}

.browser-elements div {
  background: var(--almivi-sky);
}


/* TARJETAS FLOTANTES */

.floating-card {
  background: var(--almivi-lilac);
  color: #201820;
  border: none;
}

.floating-card span {
  background: var(--almivi-plum);
  color: var(--almivi-beige);
}

.floating-card small {
  color: #675B66;
}


/* INTRO */

.intro {
  background: #151317;
  border-color: rgba(216, 197, 223, 0.12);
}

.intro h2 {
  color: var(--almivi-beige);
}

.intro p {
  color: var(--almivi-muted);
}


/* SERVICIOS */

.services {
  background: var(--almivi-black);
}

.section-heading h2 {
  color: var(--almivi-beige);
}

.section-heading p {
  color: var(--almivi-muted);
}

.service-card,
.service-card.featured {
  background: var(--almivi-lilac);
  color: #201820;
  border: none;
}

.service-card:hover {
  border: none;
  box-shadow: 0 20px 55px rgba(90, 40, 88, 0.30);
}

.service-icon {
  background: var(--almivi-plum);
  color: var(--almivi-beige);
}

.service-card p {
  color: #655A64;
}

.service-card a {
  color: var(--almivi-plum);
}

.service-number {
  color: var(--almivi-sky);
}


/* NOSOTROS */

.about {
  background: #151317;
}

.about-box {
  background: var(--almivi-plum);
}

.big-letter {
  background: none;
  -webkit-text-fill-color: var(--almivi-lilac);
  color: var(--almivi-lilac);
}

.about-box strong {
  color: var(--almivi-beige);
}

.about-box div span {
  color: var(--almivi-sky);
}

.about-content h2 {
  color: var(--almivi-beige);
}

.about-content p {
  color: var(--almivi-muted);
}

.text-link {
  color: var(--almivi-sky);
}


/* PROCESO */

.process {
  background: var(--almivi-black);
}

.process-item {
  border-color: rgba(216, 197, 223, 0.18);
}

.process-item > span {
  color: var(--almivi-sky);
}

.process-item h3 {
  color: var(--almivi-beige);
}

.process-item p {
  color: var(--almivi-muted);
}


/* CTA */

.cta {
  background: var(--almivi-black);
}

.cta-box {
  background: var(--almivi-plum);
  box-shadow: 0 30px 70px rgba(90, 40, 88, 0.30);
}

.cta h2 {
  color: var(--almivi-beige);
}

.cta-content p {
  color: rgba(232, 221, 207, 0.8);
}

.btn-light {
  background: var(--almivi-sky);
  color: #101014;
}


/* FOOTER */

.footer {
  background: #080809;
}

.footer .logo-main {
  -webkit-text-fill-color: var(--almivi-plum);
  color: var(--almivi-plum);
}

.footer .logo-sub {
  color: var(--almivi-sky);
}

.footer p,
.footer-links a {
  color: var(--almivi-muted);
}

.footer-links strong {
  color: var(--almivi-beige);
}

.footer-links a:hover {
  color: var(--almivi-sky);
}
/* LOGO OFICIAL ALMIVI */

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: 155px;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo-img {
    width: 125px;
  }
}
/* LOGO ALMIVI */

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  display: block;
  width: 180px;
  height: 70px;
  object-fit: contain;
  object-position: left center;
}
/* LOGO ALMIVI - HEADER */

.logo {
  width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.logo-img {
  width: 170px;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo {
    width: 145px;
    height: 70px;
  }

  .logo-img {
    width: 135px;
    height: auto;
  }
}
/* AJUSTE FINAL LOGO HEADER */

.logo {
  width: 220px;
  height: 72px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.logo-img {
  width: 210px;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo {
    width: 160px;
    height: 65px;
  }

  .logo-img {
    width: 150px;
    height: auto;
  }
}
/* =========================================
   HERO ALMIVI - AJUSTE VISUAL
========================================= */

.hero {
  padding: 110px 0 120px;
}

.hero-grid {
  gap: 90px;
  align-items: center;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
}

.hero h1 {
  margin-top: 0;
  font-size: clamp(3.4rem, 6vw, 6rem);
  line-height: 0.98;
  max-width: 760px;
}

.hero h1 span {
  color: #5A2858;
  -webkit-text-fill-color: #5A2858;
}

.hero-text {
  margin-top: 28px;
  max-width: 590px;
  color: #A99E94;
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-buttons {
  margin-top: 34px;
}

.hero-trust {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(216, 197, 223, 0.12);
}

/* TARJETA DERECHA */

.hero-visual {
  min-height: 520px;
}

.browser-card {
  width: min(100%, 500px);
  min-height: 360px;
  background:
    linear-gradient(
      160deg,
      #5A2858 0%,
      #4A2148 100%
    );
  border: 1px solid rgba(216, 197, 223, 0.18);
  border-radius: 28px;
  transform: rotate(-1deg);
}

.browser-body {
  padding: 46px;
}

.browser-body h2 {
  color: #E8DDCF;
  font-size: 2.4rem;
  line-height: 1.08;
}

.browser-body p {
  color: rgba(232, 221, 207, 0.72);
}

.browser-elements div {
  background: #75C9E6;
  opacity: 0.9;
}

.floating-card {
  background: #D8C5DF;
  color: #241C23;
}

.floating-card strong {
  color: #241C23;
}

.floating-card small {
  color: #6F626C;
}
/* =========================================
   MOCKUP PORTAFOLIO REAL - ACAF PRO
========================================= */

.portfolio-preview {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-window {
  width: min(100%, 560px);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(216, 197, 223, 0.16);
  background: #151317;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  transform: rotate(-1deg);
}

.project-window-top {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  background: #161318;
  border-bottom: 1px solid rgba(216, 197, 223, 0.12);
}

.project-window-top > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.project-window-top > span:nth-child(1) {
  background: #5A2858;
}

.project-window-top > span:nth-child(2) {
  background: #75C9E6;
}

.project-window-top > span:nth-child(3) {
  background: #D8C5DF;
}

.project-url {
  margin-left: 10px;
  color: #A99E94;
  font-size: 0.78rem;
}

.project-image-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0D0D0F;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.project-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(13, 13, 15, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(216, 197, 223, 0.12);
}

.project-badge span {
  color: #75C9E6;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.project-badge strong {
  color: #E8DDCF;
  font-size: 0.95rem;
}

.before-after-card {
  position: absolute;
  right: -28px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #D8C5DF;
  color: #241C23;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.before-label,
.after-label {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.after-label {
  color: #5A2858;
}

.before-thumb {
  width: 92px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(90, 40, 88, 0.18);
}

.before-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.arrow-change {
  color: #5A2858;
  font-size: 1.1rem;
  font-weight: 900;
}

@media (max-width: 950px) {
  .portfolio-preview {
    min-height: 500px;
  }

  .before-after-card {
    right: 0;
  }
}

@media (max-width: 650px) {
  .portfolio-preview {
    min-height: 390px;
  }

  .before-after-card {
    right: 0;
    bottom: 0;
    transform: scale(0.9);
    transform-origin: right bottom;
  }

  .before-thumb {
    width: 74px;
    height: 50px;
  }
}/* =========================================
   HERO - CASO REAL ACAF PRO LIMPIO
========================================= */

.portfolio-preview {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-showcase {
  width: min(100%, 590px);
  position: relative;
}

.project-tag {
  display: inline-block;
  margin-bottom: 14px;
  color: #75C9E6;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.project-showcase-image {
  width: 100%;
  display: block;
  border-radius: 24px;
  border: 1px solid rgba(216, 197, 223, 0.14);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.project-showcase-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  color: #A99E94;
  font-size: 0.9rem;
}

.project-showcase-footer a {
  color: #D8C5DF;
  font-weight: 700;
}

.project-showcase-footer a:hover {
  color: #75C9E6;
}

@media (max-width: 650px) {
  .portfolio-preview {
    min-height: auto;
  }

  .project-showcase-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
/* =========================================
   SERVICIOS - NUEVO DISEÑO ALMIVI
========================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 55px;
}

.service-card {
    position: relative;
    background: linear-gradient(
        145deg,
        #d8c5df 0%,
        #cdb3d5 100%
    );

    padding: 38px 34px;
    min-height: 310px;

    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.15);

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

/* Detalle decorativo suave */

.service-card::before {
    content: "";
    position: absolute;

    width: 150px;
    height: 150px;

    right: -65px;
    bottom: -65px;

    border-radius: 50%;

    background: rgba(90, 40, 88, 0.10);

    transition: transform 0.4s ease;
}


/* NÚMERO */

.service-number {
    position: absolute;
    top: 30px;
    right: 32px;

    color: #75c9e6;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}


/* ICONO */

.service-icon {
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 30px;

    border-radius: 18px;

    background: #5a2858;
    color: #e8ddcf;

    font-size: 22px;
}


/* TÍTULO */

.service-card h3 {
    color: #0d0d0f;

    font-size: 27px;
    line-height: 1.15;

    margin: 0 0 18px;
}


/* DESCRIPCIÓN */

.service-card p {
    color: #5a4d59;

    font-size: 16px;
    line-height: 1.7;

    max-width: 520px;

    margin-bottom: 28px;
}


/* ENLACE */

.service-card a {
    margin-top: auto;

    color: #5a2858;

    font-weight: 700;
    text-decoration: none;

    position: relative;
    z-index: 2;

    transition: transform 0.25s ease;
}


/* EFECTO AL PASAR EL MOUSE */

.service-card:hover {
    transform: translateY(-7px);

    border-color: rgba(117, 201, 230, 0.6);

    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(117, 201, 230, 0.08);
}

.service-card:hover::before {
    transform: scale(1.35);
}

.service-card:hover a {
    transform: translateX(5px);
}


/* =========================================
   SERVICIOS RESPONSIVE
========================================= */

@media (max-width: 850px) {

    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        min-height: 280px;
        padding: 30px 26px;
    }

    .service-card h3 {
        font-size: 23px;
    }
}
/* =========================================
   SERVICIOS - NUEVO DISEÑO ALMIVI
========================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 55px;
}

.service-card {
    position: relative;
    background: linear-gradient(
        145deg,
        #d8c5df 0%,
        #cdb3d5 100%
    );

    padding: 38px 34px;
    min-height: 310px;

    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.15);

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

/* Detalle decorativo suave */

.service-card::before {
    content: "";
    position: absolute;

    width: 150px;
    height: 150px;

    right: -65px;
    bottom: -65px;

    border-radius: 50%;

    background: rgba(90, 40, 88, 0.10);

    transition: transform 0.4s ease;
}


/* NÚMERO */

.service-number {
    position: absolute;
    top: 30px;
    right: 32px;

    color: #75c9e6;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}


/* ICONO */

.service-icon {
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 30px;

    border-radius: 18px;

    background: #5a2858;
    color: #e8ddcf;

    font-size: 22px;
}


/* TÍTULO */

.service-card h3 {
    color: #0d0d0f;

    font-size: 27px;
    line-height: 1.15;

    margin: 0 0 18px;
}


/* DESCRIPCIÓN */

.service-card p {
    color: #5a4d59;

    font-size: 16px;
    line-height: 1.7;

    max-width: 520px;

    margin-bottom: 28px;
}


/* ENLACE */

.service-card a {
    margin-top: auto;

    color: #5a2858;

    font-weight: 700;
    text-decoration: none;

    position: relative;
    z-index: 2;

    transition: transform 0.25s ease;
}


/* EFECTO AL PASAR EL MOUSE */

.service-card:hover {
    transform: translateY(-7px);

    border-color: rgba(117, 201, 230, 0.6);

    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(117, 201, 230, 0.08);
}

.service-card:hover::before {
    transform: scale(1.35);
}

.service-card:hover a {
    transform: translateX(5px);
}


/* =========================================
   SERVICIOS RESPONSIVE
========================================= */

@media (max-width: 850px) {

    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        min-height: 280px;
        padding: 30px 26px;
    }

    .service-card h3 {
        font-size: 23px;
    }
}
/* ===== FORZAR NUEVO DISEÑO SERVICIOS ===== */

.services .services-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 28px !important;
}

.services .services-grid .service-card,
.services .services-grid .service-card.featured {
  background: #D8C5DF !important;
  border-radius: 28px !important;
  border: 1px solid rgba(117, 201, 230, 0.18) !important;
  padding: 40px !important;
  min-height: 330px !important;
  margin: 0 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18) !important;
}

.services .service-card h3 {
  color: #171218 !important;
  font-size: 27px !important;
}

.services .service-card p {
  color: #655A64 !important;
}

.services .service-card .service-icon {
  background: #5A2858 !important;
  color: #E8DDCF !important;
  border-radius: 16px !important;
}

.services .service-card .service-number {
  color: #75C9E6 !important;
}

.services .service-card a {
  color: #5A2858 !important;
  font-weight: 800 !important;
}

.services .service-card:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 24px 55px rgba(90, 40, 88, 0.24) !important;
}

@media (max-width: 850px) {
  .services .services-grid {
    grid-template-columns: 1fr !important;
  }
}/* =========================================
   IMAGEN NUESTRA IDENTIDAD - ALMIVI
========================================= */

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-brand-image {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  border-radius: 28px;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.35),
    0 0 60px rgba(90, 40, 88, 0.10);
}

@media (max-width: 900px) {
  .about-brand-image {
    max-width: 100%;
  }
}/* =========================================
   NUESTRO PROCESO - ALMIVI
========================================= */

.process {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(90, 40, 88, 0.12),
      transparent 34%
    ),
    #0D0D0F;
}

.process .section-heading {
  max-width: 760px;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 70px;
}

/* Línea que conecta los pasos */
.process-grid::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(90, 40, 88, 0.15),
    #5A2858,
    #75C9E6,
    rgba(117, 201, 230, 0.15)
  );
  z-index: 0;
}

.process-item {
  position: relative;
  z-index: 1;

  min-height: 290px;
  padding: 34px 28px;

  border: 1px solid rgba(216, 197, 223, 0.10);
  border-radius: 24px;

  background:
    linear-gradient(
      160deg,
      rgba(216, 197, 223, 0.055),
      rgba(90, 40, 88, 0.035)
    );

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Número */
.process-item > span {
  width: 68px;
  height: 68px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 34px;

  border-radius: 50%;

  background: #5A2858;
  color: #E8DDCF;

  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;

  box-shadow:
    0 0 0 8px #0D0D0F,
    0 0 25px rgba(90, 40, 88, 0.28);
}

/* Alternamos un toque celeste */
.process-item:nth-child(even) > span {
  background: #75C9E6;
  color: #0D0D0F;
  box-shadow:
    0 0 0 8px #0D0D0F,
    0 0 25px rgba(117, 201, 230, 0.20);
}

.process-item h3 {
  color: #E8DDCF;
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 14px;
}

.process-item p {
  color: #A99E94;
  font-size: 0.98rem;
  line-height: 1.7;
}

.process-item:hover {
  transform: translateY(-6px);
  border-color: rgba(117, 201, 230, 0.24);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.26);
}

/* RESPONSIVE */

@media (max-width: 950px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid::before {
    display: none;
  }
}

@media (max-width: 650px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-item {
    min-height: auto;
  }
}/* =========================================
   FOOTER ALMIVI
========================================= */

.footer {
  padding: 80px 0 28px;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(90, 40, 88, 0.12),
      transparent 28%
    ),
    #080809;

  border-top: 1px solid rgba(216, 197, 223, 0.10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 80px;
  align-items: start;
}

.footer-brand {
  max-width: 390px;
}

.footer-logo-img {
  width: 190px;
  height: auto;
  display: block;
  margin-bottom: 24px;
}

.footer-brand p {
  color: #A99E94;
  font-size: 1rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links strong {
  color: #E8DDCF;
  font-size: 1rem;
  margin-bottom: 10px;
}

.footer-links a {
  color: #A99E94;
  text-decoration: none;
  transition: 0.25s ease;
}

.footer-links a:hover {
  color: #75C9E6;
  transform: translateX(3px);
}

.footer-location {
  margin-top: 8px;
  color: #5A2858;
  font-weight: 700;
}

.footer-bottom {
  margin-top: 70px;
  padding-top: 24px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  border-top: 1px solid rgba(216, 197, 223, 0.10);

  color: #766D72;
  font-size: 0.82rem;
}

@media (max-width: 850px) {

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

}

@media (max-width: 600px) {

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-logo-img {
    width: 160px;
  }

}/* ===== AJUSTE FINAL FOOTER ===== */

.footer {
  padding: 60px 0 24px;
}

.footer-grid {
  padding-left: 55px;
  padding-right: 55px;
  gap: 70px;
}

.footer-brand {
  max-width: 420px;
}

.footer-logo-img {
  width: 230px;
  height: auto;
  margin-bottom: 22px;
}

.footer-brand p {
  max-width: 350px;
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 50px;
  padding: 22px 55px 0;
}

@media (max-width: 600px) {
  .footer-grid {
    padding-left: 25px;
    padding-right: 25px;
  }

  .footer-bottom {
    padding-left: 25px;
    padding-right: 25px;
  }

  .footer-logo-img {
    width: 190px;
  }
}