html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

*{ margin:0; padding:0; box-sizing:border-box; }

html, body{
  width:100%; height:100%;
  font-family:'Segoe UI', sans-serif;
  background:#0f0c1c;
  color:#e0e0e0;
  scroll-behavior:smooth;
  overflow-x:hidden;
}

:root{
  --violeta:#4b1c7a;
  --violeta-700:#612a99;
  --panel:#0f0c1a;
  --txt:#e0e0e0;
  --txt-dim:#a1a1a1;
  --shadow:0 18px 50px rgba(0,0,0,.35);
  --halo:0 0 20px rgba(0,170,255,.40);
}

.hero{
  position:relative;
  width:100%;
  min-height:100svh;
  background:#0f0c1c url('robot-valkiria.png') left center / contain no-repeat;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding-left: clamp(420px, 38vw, 560px);
  padding-right: clamp(24px, 4vw, 64px);
}

.overlay{
  position:absolute; inset:0;
  background:rgba(10,0,20,.70);
  z-index:1; pointer-events:none;
}

.content{
  position:relative; z-index:2; color:#fff;
  max-width:820px; margin:0; text-align:left;
}

.titulo-valkiria{
  font-family:'Cinzel', serif;
  font-size:138px; letter-spacing:2px;
  animation: slideIn 1.2s ease-out;
  display:inline; font-weight:normal;
  line-height:1.05;
}
.titulo-valkiria .gold{ color:#c7a137; }
.titulo-valkiria .blue{ color:#00aaff; }

.content p{
  font-size:58px;
  margin:30px 0; max-width:720px;
}

.buttons{
  display:flex; flex-wrap:nowrap; gap:16px;
  margin-top:30px;
}
.btn{
  display:inline-block;
  min-width:180px; text-align:center;
  background:var(--violeta);
  color:#fff; padding:16px 32px;
  font-size:18px; font-weight:bold;
  border-radius:10px; text-decoration:none;
  transition:transform .25s ease, background .25s ease;
}
.btn:hover{ background:var(--violeta-700); transform:scale(1.05); }

@keyframes slideIn{ from{ transform:translateY(-30px); opacity:0 } to{ transform:none; opacity:1 } }

.seccion-quienes{
  position:relative; width:100%; height:100svh;
  background:#0f0c1c; color:#fff;
  display:flex; align-items:flex-start; justify-content:flex-start;
  padding:60px 8% 40px;
  padding-left:6%;
  overflow:hidden;
}
.quienes-contenido{ max-width:48%; z-index:2; text-align:justify; }
.seccion-quienes h2{
  font-size:48px; font-family:'Cinzel', serif; margin-bottom:30px;
}
.quienes-resena{ font-size:20px; line-height:1.6; color:#e0e0e0; }

.quienes-imagen{
  position:absolute; bottom:0; right:0; width:60%; height:80%;
  background:
    linear-gradient(to top, rgba(15,12,28,0) 0%, rgba(15,12,28,.8) 96%, #0f0c1c 100%),
    linear-gradient(to left, rgba(15,12,28,0) 0%, rgba(15,12,28,.8) 96%, #0f0c1c 100%),
    url('imagen-quienes.png') center / cover no-repeat;
  z-index:1; opacity:.99; pointer-events:none;
}

.seccion-servicios{
  height:100svh;
  background:#0f0c1c; color:#fff;
  width:min(1200px, 94vw);
  margin-inline:auto;
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items:center;
  justify-content:center;
  justify-items:center;
  column-gap: clamp(20px, 3vw, 36px);
  row-gap: clamp(20px, 3vw, 32px);
  padding: clamp(36px, 5vw, 60px);
  overflow:hidden;
}
.servicios-imagenes{
  display:grid; grid-auto-rows:min-content;
  gap:clamp(16px, 2.5vw, 28px);
  align-content:center; align-items:center;
  justify-self:end;
}
.burbuja{
  width:clamp(140px, 11vw, 180px); height:clamp(140px, 11vw, 180px);
  border-radius:50%; object-fit:cover; display:block;
  box-shadow:var(--halo); border:3px solid var(--violeta);
  transition:transform .3s ease;
}
.burbuja:hover{ transform:scale(1.05); }

.servicios-listado{
  margin:0; font-size:20px; align-self:center;
  justify-self:start; max-width:min(560px, 90%);
}
.servicios-listado h2{
  font-size:48px; font-family:'Cinzel', serif;
  margin:0 0 22px 0; text-align:left;
}
.servicios-listado ul{
  list-style:none; padding:0; margin:0;
  display:grid; gap:14px;
}
.servicios-listado li{ line-height:1.55; text-align:left; }

@supports not (height:100svh){
  .seccion-servicios{ height:100vh; padding-top:32px; padding-bottom:24px; }
}

.seccion-contacto{
  position:relative; width:100%;
  min-height:100svh; background:#0f0c1c; color:#fff;
  display:block; padding:80px 6%;
}
.form-container{
  position:relative; width:min(1120px, 94vw);
  margin:0 auto; background:var(--panel);
  padding: clamp(28px, 4vw, 44px);
  border-radius:20px; box-shadow:var(--shadow);
}
.contacto h2{ font-size:40px; margin-bottom:30px; }
.contacto form{ display:flex; flex-direction:column; gap:15px; }
.contacto input, .contacto textarea{
  padding:12px; border-radius:8px; border:none;
  background:#1c1b29; color:#fff; font-size:16px;
}
.contacto textarea{ height:120px; resize:none; }
.contacto input::placeholder, .contacto textarea::placeholder{ color:var(--txt-dim); }
.contacto button{
  padding:12px; border:none; border-radius:8px;
  background:#8a2be2; color:#fff; font-weight:bold; font-size:16px;
  cursor:pointer; transition:background-color .3s;
}
.contacto button:hover{ background:#7326c5; }

.imagen-callcenter{
  position:absolute;
  top: clamp(12px, 2.6vw, 22px);
  right: clamp(12px, 2.6vw, 22px);
  width: clamp(200px, 20vw, 240px); height: clamp(200px, 20vw, 240px);
  border-radius:50%; overflow:hidden;
  box-shadow: 0 0 20px rgba(138,43,226,.65);
  pointer-events:none; z-index:2;
}
.imagen-callcenter img{ width:100%; height:100%; object-fit:cover; display:block; }

@supports (right:max(1px, 2px)){
  .imagen-callcenter{
    right: max(12px, calc((100vw - min(1120px, 94vw))/2 + 12px));
  }
}

.back-home{
  position:fixed; z-index:9999;
  display:inline-flex; align-items:center; gap:8px;
  padding:16px 22px; border-radius:14px;
  background:var(--violeta); color:#fff; text-decoration:none;
  font-weight:bold; font-size:22px; line-height:1;
  box-shadow:0 0 12px rgba(0,0,0,.35);
  transition:transform .2s ease, background .2s ease;
  width:auto; max-width:80vw; white-space:nowrap;
}
.back-home:hover{ background:var(--violeta-700); transform:translateY(-1px); }
.pos-bottom-left{ left:20px; bottom:20px; }
.pos-top-right{ right:20px; top:20px; }
.pos-bottom-right{ right:20px; bottom:20px; }

@media (min-width:1025px){
  .seccion-servicios{
    margin-left: calc((100vw - min(1200px, 94vw)) / 2 - 160px);
    margin-right: auto;
  }
  .hero{
    display: grid;
    grid-template-columns: clamp(420px, 36vw, 540px) 1fr;
    align-items: center;
    padding: 0 clamp(24px, 4vw, 64px);
    background-position: left center;
    background-size: contain;
  }
  .hero .content{
    justify-self: start;
    padding-left: 90%;
    display: inline-grid; grid-auto-flow: row;
    justify-items: center; align-items: start;
    width: max-content; max-width: none; text-align: center;
  }
  .hero .content p{
    white-space: nowrap; max-width: none;
    margin: 22px 0 28px; font-size: clamp(48px, 3.2vw, 58px);
  }
  .hero .buttons{
    display:flex; flex-wrap:nowrap; justify-content:center;
    gap:18px; margin-top:26px; width:100%;
  }
  .titulo-valkiria{ line-height:1.04; margin:0; display:inline-block; }
}

@media (max-width:1024px){
  .hero{
    display:grid; grid-template-columns:1fr;
    align-items:end; justify-items:center;
    min-height:100svh;
    padding: clamp(20px, 5vw, 32px);
    background-position:center top; background-size:70%;
    padding-top:24%;
  }
  .content{
    margin:0; text-align:center; justify-self:center; align-self:end;
    max-width:min(92vw, 820px);
  }
  .titulo-valkiria{ font-size: clamp(64px, 9.5vw, 96px); line-height:1.06; }
  .content p{ font-size: clamp(22px, 3.6vw, 32px); margin: clamp(14px, 3.2vw, 20px) 0; }
  .buttons{ gap:14px; margin-top:18px; }
  .buttons .btn{ padding:14px 18px; font-size:16px; }

  .seccion-quienes{ padding-left:7%; }

  .seccion-servicios{
    height:100svh; grid-template-columns:1fr;
    justify-content:center; justify-items:center; text-align:center;
    width:min(1020px, 94vw);
    padding: clamp(32px, 5vw, 56px);
  }
  .servicios-imagenes{
    grid-auto-flow:column; grid-auto-columns:minmax(120px,1fr);
    gap: clamp(12px, 2.4vw, 24px); justify-content:center; justify-self:center;
  }
  .servicios-listado{ font-size:19px; max-width:min(760px, 92vw); justify-self:center; }
  .servicios-listado h2{ font-size:42px; }

  .form-container{ width:min(1040px, 94vw); }

  .back-home{ font-size:18px; padding:12px 14px; border-radius:12px; max-width:50vw; }
  .pos-bottom-left, .pos-bottom-right, .pos-top-right{
    left:28px; right:28px; top:28px; bottom:28px;
  }
}

@media (max-width:768px){
  .hero{
    display:grid; grid-template-columns:1fr;
    align-items:end; justify-items:center;
    min-height:100svh;
    padding: clamp(16px, 4vw, 24px);
    background-position: 50% 0;
    background-size: clamp(60%, 74vw, 80%);
    padding-top: clamp(22%, 28vw, 34%);
    padding-bottom: clamp(16px, 4vh, 28px);
  }
  .overlay{ background: rgba(10,0,20,.55); }
  .titulo-valkiria{
    font-size: clamp(44px, 11vw, 64px);
    line-height:1.08; margin:0; display:inline-block;
  }
  .content{
    margin:0; text-align:center; justify-self:center; align-self:end;
    max-width:min(92vw, 720px);
  }
  .content p{
    font-size: clamp(18px, 5vw, 24px);
    margin: clamp(12px, 3.5vw, 18px) 0 clamp(14px, 4vw, 22px);
    white-space: normal; max-width: 92vw;
  }
  .buttons{
    display:grid; grid-auto-flow:row; justify-items:center;
    gap:12px; margin-top: clamp(10px, 3.2vw, 16px); width:100%;
  }
  .buttons .btn{
    width:100%; max-width:340px; margin:0; padding:14px 16px; font-size:18px;
  }

  .seccion-quienes{ height:auto; padding:28px 6% 60px; padding-left:6%; }
  .seccion-quienes h2{ font-size:36px; margin-bottom:14px; }
  .quienes-resena{ font-size:18px; margin-top:6px; }
  .quienes-imagen{
    background: url('imagen-quienes.png') center / cover no-repeat !important;
    position: static; width:100%; height:220px; margin-top:24px;
  }

  .seccion-servicios{
    height:auto !important; min-height:100svh;
    grid-template-columns:1fr; row-gap:16px;
    padding:28px 6% 36px; overflow:visible;
  }
  .servicios-imagenes{
    display:grid; grid-template-columns: repeat(3, minmax(86px, 1fr));
    gap:12px; justify-items:center; align-items:center; align-self:start;
  }
  .burbuja{ width: clamp(90px, 26vw, 110px); height: clamp(90px, 26vw, 110px); }
  .servicios-listado{
    justify-self:center; align-self:start; max-width:min(640px, 92vw);
    font-size:18px; text-align:center;
  }
  .servicios-listado h2{ font-size:36px; margin-bottom:14px; }
  .servicios-listado ul{ margin-inline:auto; display:grid; gap:10px; }
  .servicios-listado li{
    font-weight:500; font-size: clamp(16px, 4.2vw, 18px);
    line-height:1.38; text-align:center;
    text-wrap:balance; hyphens:auto; word-break:keep-all;
  }
  .servicios-listado li:last-child .br-personalizadas{ display:block; }

  .seccion-contacto{ position:relative; padding: 120px 6% 80px; }
  .imagen-callcenter{
    position:absolute !important; top: clamp(22px, 5vw, 32px);
    left:50%; transform: translateX(-50%);
    width:170px; height:170px; margin:0 !important;
    box-shadow:0 0 16px rgba(138,43,226,.6); z-index:3;
  }
  .form-container{
    width:100%; margin-inline:auto;
    margin-top: clamp(70px, 18vw, 120px); padding-top:22px;
  }

  .back-home{
    font-size:16px; padding:10px 14px; border-radius:12px;
    left:auto !important; top:auto !important;
    right:16px !important; bottom:18px !important;
    max-width:70vw;
  }
}

@media (max-width:900px) and (orientation: landscape){
  .back-home{
    font-size:14px; padding:8px 12px; border-radius:10px;
    right:12px !important; bottom:14px !important;
    left:auto !important; top:auto !important; max-width:60vw;
  }
  .hero{
    background-size:60%; background-position: 50% 0;
    padding-top:18%; min-height:100svh; justify-content:center;
  }
  .content{ text-align:center; max-width:min(86vw, 820px); }
  .buttons .btn{ max-width:46vw; }

  .seccion-quienes{ padding:24px 6% 32px; height:auto; }
  .seccion-quienes h2{ margin-bottom:10px; }
  .quienes-imagen{ position:static; width:100%; height:200px; margin-top:12px; }

  .seccion-servicios{
    height:auto; width:min(1100px, 96vw);
    grid-template-columns:1fr 1fr;
    justify-items:center; align-items:start;
    padding:20px 4% 36px; row-gap:18px; column-gap:18px;
  }
  .servicios-imagenes{ grid-auto-flow:row; justify-self:center; gap:12px; }
  .burbuja{ width:120px; height:120px; }
  .servicios-listado{
    justify-self:center; max-width:100%; font-size:18px; text-align:center;
  }
  .servicios-listado li{
    font-weight:500; font-size:16.5px; line-height:1.35;
    text-wrap:balance; hyphens:auto; word-break:keep-all;
  }

  .form-container{ width:min(960px, 94vw); margin-top:32px; padding-top:20px; }
  .imagen-callcenter{
    position:absolute !important; top:18px; right:18px; left:auto; transform:none;
    width:140px; height:140px; box-shadow:0 0 14px rgba(138,43,226,.58);
  }
}

@media (max-width:480px){
  .titulo-valkiria{ font-size:48px; }
  .content p{ font-size:20px; }
  .burbuja{ width:100px; height:100px; }
  .contacto input, .contacto textarea{ font-size:15px; }
  .contacto button{ font-size:15px; padding:10px; }
}

@media (min-width:1025px){
  .back-home{
    left:auto !important; top:auto !important;
    right:40px !important; bottom:40px !important;
  }
}

@media (max-width: 768px) and (orientation: portrait){
  .hero{
    --hero-shift: 8px;
    background-position: calc(50% + var(--hero-shift)) top !important;
    background-size: clamp(60%, 74vw, 80%) !important;
    padding-top: clamp(22%, 28vw, 34%) !important;
  }
}

@media (max-width: 768px) and (orientation: portrait){
  .contacto h2{
    text-align: center;
  }
}

@media (max-width: 900px) and (orientation: landscape){
  .seccion-quienes{
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    padding: 24px 6% 32px;
    overflow: visible;
  }
  .quienes-contenido{
    max-width: 100%;
    text-align: left;
    margin: 0 auto;
  }
  .seccion-quienes h2{
    font-size: clamp(28px, 5vw, 36px);
    text-align: center;
    margin-bottom: 10px;
  }
  .quienes-resena{
    font-size: clamp(14px, 2.2vw, 18px);
    line-height: 1.55;
    text-align: center;
    margin: 6px auto 0;
    max-width: 90ch;
  }
  .quienes-imagen{
    position: static !important;
    width: 100%;
    height: 200px;
    margin-top: 12px;
    background: url('imagen-quienes.png') center / cover no-repeat !important;
    opacity: 1 !important;
    pointer-events: none;
  }
}

@media (min-width: 1025px){
  .back-home{
    font-size: 22px;
    padding: 16px 22px;
    border-radius: 14px;
  }
  .back-home.pos-bottom-left{
    left: 40px !important;
    bottom: 40px !important;
    right: auto !important;
    top: auto !important;
  }
  .back-home.pos-top-right{
    right: 40px !important;
    top: 40px !important;
    left: auto !important;
    bottom: auto !important;
  }
  .back-home.pos-bottom-right{
    right: 40px !important;
    bottom: 40px !important;
    left: auto !important;
    top: auto !important;
  }
}

@media (max-width: 768px) and (orientation: portrait){
  .hero{
    --hero-shift: 24px;
    background-position: calc(50% + var(--hero-shift)) top !important;
    padding-top: clamp(26%, 32vw, 38%) !important;
    background-size: clamp(60%, 74vw, 80%) !important;
  }
}

@media (max-width: 768px) and (orientation: portrait){
  .seccion-quienes{
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    height: auto !important;
    padding: 40px 6% 60px !important;
    padding-left: 6% !important;
    overflow: visible !important;
  }
  .quienes-contenido{
    max-width: 100% !important;
    text-align: left !important;
    margin: 0 !important;
  }
  .seccion-quienes h2{
    font-size: 36px !important;
    margin-bottom: 16px !important;
    text-align: left !important;
  }
  .quienes-resena{
    font-size: 18px !important;
    line-height: 1.6 !important;
    margin-top: 0 !important;
    text-align: left !important;
  }
  .quienes-imagen{
    position: static !important;
    width: 100% !important;
    height: 220px !important;
    margin-top: 24px !important;
    background: url('imagen-quienes.png') center / cover no-repeat !important;
    opacity: 1 !important;
    pointer-events: none !important;
  }
}

@media (max-width: 768px) and (orientation: portrait){
  .servicios-listado{
    text-align: center !important;
    justify-self: center !important;
  }
  .servicios-listado h2{
    text-align: center !important;
    margin-bottom: 16px !important;
  }
}

@media (max-width: 768px) and (orientation: portrait){
  .titulo-valkiria{
    margin-top: clamp(8px, 2.8vw, 14px) !important;
    line-height: 1.08 !important;
  }
  .content p{
    margin-top: clamp(8px, 2.4vw, 12px) !important;
    margin-bottom: clamp(12px, 3.2vw, 18px) !important;
  }
}

@media (max-width: 900px) and (orientation: landscape){
  .quienes-imagen{
    background-position: center 36% !important;
  }
}

@media (min-width:1025px){
  .hero{
    display: grid;
    grid-template-columns: clamp(520px, 40vw, 720px) 1fr;
    align-items: center;
    padding: 0 clamp(32px, 5vw, 72px);
    background-position: left center;
    background-size: contain;
  }

  .hero .content{
    padding-left: 0 !important;
    justify-self: center !important;
    text-align: center !important;
    width: max-content;
    max-width: none;
  }

  .hero .buttons{
    justify-content: center;
  }
}

@media (max-width: 900px) and (orientation: landscape){
  .seccion-servicios{
    grid-template-columns: 1.08fr 0.92fr;
    column-gap: 16px;
  }
  .servicios-listado{
    justify-self: start;
    margin-left: -6px;
  }
}

@media (min-width:1025px){
  .hero{
    --robot-col: clamp(560px, calc(40vw + 6vh), 920px);
    display: grid;
    grid-template-columns: var(--robot-col) 1fr;
    align-items: center;
    padding: 0 clamp(32px, 5vw, 72px);
    background-position: left center;
    background-size: contain;
  }
  .hero .content{
    justify-self: center !important;
    text-align: center !important;
    padding-left: 0 !important;
    width: max-content;
    max-width: none;
  }
  .hero .buttons{ justify-content: center; }
}

@media (min-width:1440px){
  .hero{ --robot-col: clamp(700px, calc(42vw + 8vh), 1080px); }
}
@media (min-width:1920px){
  .hero{ --robot-col: clamp(820px, calc(44vw + 10vh), 1240px); }
}

@media (max-width: 900px) and (orientation: landscape){
  .seccion-servicios{
    grid-template-columns: 1.14fr 0.86fr;
    column-gap: 12px;
  }
  .servicios-listado{
    justify-self: start;
    margin-left: -14px;
  }
}

@media (min-width:1025px){
  .hero{
    background: none !important;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(32px, 5vw, 72px);
    min-height: 100svh;
  }

  .hero::before{
    content: "";
    height: 100%;
    aspect-ratio: 0.68 / 1;
    width: clamp(560px, 66vh, 1240px);
    background: url('robot-valkiria.png') left center / contain no-repeat;
  }

  .hero .content{
    justify-self: center !important;
    text-align: center !important;
    padding-left: 0 !important;
    margin: 0;
    width: max-content;
    max-width: clamp(720px, 52vw, 1100px);
  }

  .hero .buttons{ justify-content: center; }
}

@media (min-width:1440px){
  .hero::before{ width: clamp(700px, 70vh, 1320px); }
}
@media (min-width:1920px){
  .hero::before{ width: clamp(820px, 75vh, 1480px); }
}

@media (max-width: 900px) and (orientation: landscape){
  .seccion-servicios{
    grid-template-columns: 1.16fr 0.84fr;
    column-gap: 10px;
  }
  .servicios-listado{
    justify-self: start;
    margin-left: -22px;
  }
}

@media (min-width: 1025px){
  .hero{
    --robot-col: clamp(460px, 35vw, 640px);
    display: grid !important;
    grid-template-columns: var(--robot-col) 1fr;
    align-items: center;
    min-height: 100svh;
    padding-inline: clamp(24px, 4vw, 56px);
    background-position: left center !important;
    background-size: contain !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero .content{
    justify-self: center;
    text-align: center;
    width: min(
      900px,
      calc(100vw - var(--robot-col) - clamp(48px, 8vw, 112px))
    );
    max-width: 100%;
    margin: 0;
  }

  .titulo-valkiria{
    font-size: clamp(96px, 8.2vw, 128px);
    line-height: 1.04;
    margin: 0;
  }
  .hero .content p{
    font-size: clamp(36px, 3.2vw, 58px);
    margin: 22px 0 26px;
    white-space: nowrap;
  }
  .hero .buttons{
    justify-content: center;
    gap: 18px;
    margin-top: 24px;
    width: 100%;
  }

  @media (max-height: 820px){
    .titulo-valkiria{ font-size: clamp(84px, 7.4vw, 112px); }
    .hero .content p{ font-size: clamp(32px, 2.8vw, 50px); margin: 18px 0 22px; }
    .hero .buttons .btn{ padding: 14px 24px; }
  }
}

@media (max-width: 900px) and (orientation: landscape){
  .seccion-servicios{
    column-gap: clamp(12px, 2vw, 18px);
  }
  .servicios-listado{ justify-self: start; }
}

@media (min-width:1025px){
  .hero{
    --robot-h: clamp(64vh, 70vh, 78vh);
    background-size: auto var(--robot-h) !important;
  }

  @media (max-height:820px){
    .hero{ --robot-h: clamp(56vh, 62vh, 68vh); }
  }
}

@media (max-width:900px) and (orientation:landscape){
  .servicios-listado{
    justify-self: start;
    transform: translateX(-24px);
  }
}

@media (min-width:1025px){
  .hero{
    height: 100svh;
    overflow: hidden;
    --robot-h: 64vh;
    background-size: auto var(--robot-h) !important;
    background-position: left center;
  }

  .hero .content{ align-self: center; }

  .titulo-valkiria{ margin-top: 0; }
  .content p{ margin: 22px 0 28px; }
  .buttons{ margin-top: 26px; }
}

@media (min-width:1025px) and (max-height:820px){
  .hero{ --robot-h: 58vh; }
}

@media (min-width:1025px) and (min-height:1081px){
  .hero{ --robot-h: 70vh; }
}

@media (min-width:1025px){
  .hero{
    height: 100svh;
    overflow: hidden;
  }

  .hero .content{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (min-width:1025px) and (max-height:820px){
  .hero .content{ transform: translateY(-52%); }
}
@media (min-width:1025px) and (min-height:1081px){
  .hero .content{ transform: translateY(-48%); }
}

.hero .content{
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  margin-top: -120px;
}

@media (min-width: 1025px){
  .hero{
    display: grid;
    grid-template-columns: clamp(420px, 36vw, 540px) 1fr;
    align-items: center;
    justify-items: start;
    min-height: 100svh;
    overflow: hidden;
  }

  .hero .content{
    position: relative;
    top: auto; left: auto;
    transform: none;
    justify-self: start;
    align-self: center;
    margin-top: var(--home-nudge, -260px);
  }
}

@media (min-width: 1025px){
  .hero{
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

@media (max-width: 1024px){
  .hero{
    display: grid;
    align-items: end;
    justify-items: center;
    padding-top: clamp(20%, 26vw, 32%) !important;
  }
}

@media (max-width: 768px){
  .servicios-listado li{
    text-wrap: balance;
    hyphens: auto;
    word-break: keep-all;
    line-height: 1.4;
  }
}

@media (max-width: 768px) and (orientation: portrait){
  .hero{
    padding-top: clamp(14%, 18vw, 22%) !important;
    background-size: clamp(58%, 70vw, 76%) !important;
  }
  .titulo-valkiria{ margin-top: 0 !important; }
  .buttons{ margin-top: clamp(8px, 2.2vw, 12px) !important; }
}

@media (max-width: 768px) and (orientation: portrait){
  .servicios-listado ul{
    max-width: 92vw;
    margin-inline: auto;
  }
  .servicios-listado li{
    max-width: clamp(26ch, 78vw, 30ch);
    margin-inline: auto;
    text-wrap: balance;
    hyphens: auto;
    word-break: keep-all;
    line-height: 1.38;
  }
}

@media (max-width: 768px) and (orientation: portrait){
  .hero{
    padding-top: clamp(14%, 18vw, 22%) !important;
    background-position: calc(50% + 24px) top !important;
    background-size: clamp(62%, 74vw, 80%) !important;
  }
  .titulo-valkiria{ margin-top: 0 !important; }
  .content p{
    margin-top: clamp(8px, 2.4vw, 12px) !important;
    margin-bottom: clamp(12px, 3.2vw, 18px) !important;
  }
  .servicios-listado ul{
    max-width: 30ch;
    margin-inline: auto;
  }
  .servicios-listado li{
    max-width: 30ch;
    margin-inline: auto;
    text-wrap: balance;
    hyphens: auto;
    word-break: keep-all;
    line-height: 1.38;
  }
  .servicios-listado li:last-child .br-personalizadas{ display:block; }
}

@media (max-width: 768px) and (orientation: portrait){
  .hero{
    padding-top: clamp(8%, 12vw, 16%) !important;
  }
}

@media (max-width: 768px) and (orientation: portrait){
  .servicios-listado li:nth-child(3){
    max-width: 28ch !important;
    margin-inline: auto;
  }

  .servicios-imagenes{
    margin-top: clamp(10px, 3.5vw, 18px) !important;
  }
}

@media (max-width: 900px) and (orientation: landscape){
  .servicios-listado li:nth-child(3){
    max-width: 30ch !important;
    margin-inline: auto;
  }
  .servicios-listado li:last-child .br-personalizadas{
    display: block !important;
  }

  .servicios-imagenes{
    justify-self: end !important;
    margin-top: clamp(6px, 2.8vw, 16px) !important;
  }
  .seccion-servicios{
    column-gap: clamp(10px, 2vw, 14px) !important;
  }
}

@media (max-width: 768px) and (orientation: portrait){
  body .hero{
    padding-top: clamp(8%, 10vw, 14%) !important;
  }

  body .hero .content{
    transform: translateY(calc(-1 * clamp(12px, 4vh, 48px))) !important;
  }
}

@media (max-width: 768px) and (orientation: portrait){
  .seccion-servicios .servicios-listado ul > li:nth-child(3){
    max-width: clamp(22ch, 74vw, 26ch) !important;
    margin-inline: auto !important;
  }

  .seccion-servicios .servicios-imagenes{
    margin-top: clamp(10px, 3.2vw, 18px) !important;
  }
}

@media (max-width: 900px) and (orientation: landscape){
  .seccion-servicios .servicios-listado ul > li:nth-child(3){
    max-width: clamp(24ch, 56vw, 28ch) !important;
    margin-inline: auto !important;
  }

  .seccion-servicios .servicios-listado li:last-child .br-personalizadas{
    display: block !important;
  }

  .seccion-servicios{
    column-gap: clamp(12px, 1.8vw, 16px) !important;
  }
  .seccion-servicios .servicios-imagenes{
    justify-self: center !important;
    margin-top: clamp(6px, 1.6vw, 12px) !important;
    margin-left: clamp(6px, 1.2vw, 12px) !important;
  }
}

@media (max-width: 768px) and (orientation: portrait){
  .hero{
    padding-top: clamp(6%, 8vw, 10%) !important;
  }

  .hero .content{
    position: static !important;
    top: auto !important;
    transform: none !important;
    margin-top: 0 !important;
  }

  .titulo-valkiria{
    margin-top: 0 !important;
  }
}

@media (max-width: 900px) and (orientation: landscape){
  .seccion-servicios .servicios-listado ul > li:nth-child(1),
  .seccion-servicios .servicios-listado ul > li:nth-child(3){
    white-space: normal !important;
    max-width: clamp(24ch, 54vw, 28ch) !important;
    margin-inline: auto !important;
    text-indent: 0 !important;
    display: block !important;
  }
}

/* =========================================================
   PATCH — 2025-09-06 (SERVICIOS → móvil HORIZONTAL)
   - Quita corrimientos forzados previos en li 1 y 3
   - Rompe la línea de "Consultoría…" y "Diseño…" sin sangría
   - No toca desktop ni móvil vertical
   ========================================================= */
@media (max-width: 900px) and (orientation: landscape){

  .seccion-servicios .servicios-listado ul > li:nth-child(1),
  .seccion-servicios .servicios-listado ul > li:nth-child(3){
    margin-left: 0 !important;
  }

  .seccion-servicios .servicios-listado .br-consultoria,
  .seccion-servicios .servicios-listado .br-web{
    display: block;
    text-indent: 0;
    margin-left: 0;
  }

  .seccion-servicios .servicios-listado li:nth-child(3){
    max-width: 28ch;
    margin-inline: auto;
    white-space: normal;
  }
}
