:root {
  --ink: #050505;
  --muted: #5f6875;
  --line: #dfe6ee;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --blue: #13aeea;
  --blue-dark: #0788c2;
  --red: #ff1f1f;
  --green: #13a86b;
  --content: 1080px;
  --hero-content: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 82px;
  padding: 14px max(clamp(20px, 5vw, 72px), calc((100vw - var(--hero-content)) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  display: block;
  width: clamp(190px, 22vw, 270px);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #2b3138;
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a,
.header-action {
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--blue-dark);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.hero {
  --x: 50%;
  --y: 50%;

  position: relative;
  overflow: hidden;
  isolation: isolate;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;

  min-height: calc(100vh - 82px);

  padding:
    clamp(54px, 7vw, 96px)
    max(clamp(20px, 5vw, 72px),
    calc((100vw - var(--hero-content)) / 2));

  background:
    linear-gradient(90deg, rgba(19, 174, 234, 0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(19, 174, 234, 0.1) 1px, transparent 1px),
    var(--soft);

  background-size: 44px 44px;
}

.hero::before{
  content:"";

  position:absolute;
  inset:-25%;

  pointer-events:none;
  z-index:0;

  background:
    radial-gradient(
      circle at var(--x) var(--y),
      rgba(19, 174, 234, 0.20),
      rgba(19, 174, 234, 0.10) 12%,
      transparent 30%
    );

  filter: blur(65px);

  transition:
    background-position .08s linear;
}

.hero > *{
  position: relative;
  z-index: 1;
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 690px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 4.1vw, 4.15rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.8vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

.hero-text {
  max-width: 600px;
  margin-bottom: 34px;
  color: #3f4854;
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
}

.btn-primary {
  color: #fff;
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: #b9c5d1;
}

.btn-secondary:hover {
  border-color: var(--ink);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 520px;
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  border: 1px solid #cbd6e2;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(5, 5, 5, 0.12);
}

.panel-topline,
.ticket-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.panel-topline span,
.ticket-label,
.metric-grid span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.panel-topline strong {
  color: var(--green);
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.metric-grid article,
.ticket-card,
.process-list article {
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1;
}

.ticket-card {
  margin-top: auto;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.ticket-card strong {
  display: block;
  margin-top: 8px;
  max-width: 360px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 34px;
  padding: 0 12px;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
}

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

.timeline span {
  height: 10px;
  background: var(--blue);
  border-radius: 8px;
}

.timeline span:nth-child(2) {
  background: var(--ink);
}

.timeline span:nth-child(3) {
  background: var(--red);
}

.section {
  padding: clamp(64px, 8vw, 120px) max(clamp(20px, 5vw, 72px), calc((100vw - var(--content)) / 2));
}

.intro-section {
  background: #fff;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 38px;
}

.service-grid{
  display:flex;
  justify-content:center;
  align-items:stretch;

  margin-top:48px;

  position:relative;
}

.service-card{
  position:relative;

  width:380px;
  min-height:390px;

  display:flex;
  flex-direction:column;

  padding:clamp(24px, 3vw, 34px);

  background:#fff;

  border:1px solid var(--line);

  border-radius:28px;

  overflow:hidden;

  backdrop-filter: blur(18px);

  box-shadow:
    0 10px 40px rgba(0,0,0,.08);

  transition:
    transform .45s cubic-bezier(.22,1,.36,1),
    opacity .35s ease,
    box-shadow .45s ease;

  will-change:transform;
}

/* Glow interno */
.service-card::before{
  content:"";

  position:absolute;
  inset:0;

  background:
    radial-gradient(
      circle at top left,
      rgba(19,174,234,.12),
      transparent 42%
    );

  pointer-events:none;
}

/* Tarjetas laterales */
.service-card:first-child{
  transform:
    translateX(90px)
    scale(.92);

  opacity:.72;

  z-index:1;
}

.service-card:last-child{
  transform:
    translateX(-90px)
    scale(.92);

  opacity:.72;

  z-index:1;
}

/* Tarjeta principal */
.service-card.featured{
  width:520px;

  min-height:460px;

  z-index:5;

  color:#fff;

  background:
    linear-gradient(
      135deg,
      rgba(8,12,18,.96),
      rgba(14,22,34,.92)
    );

  border:
    1px solid rgba(19,174,234,.24);

  box-shadow:
    0 25px 80px rgba(0,0,0,.32);
}

/* Hover premium */
.service-card:hover{
  transform:
    scale(1.06)
    translateY(-14px);

  opacity:1;

  z-index:20;

  box-shadow:
    0 40px 100px rgba(0,0,0,.22);
}

.service-number{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  width:44px;
  height:44px;

  margin-bottom:34px;

  color:var(--blue-dark);

  border:1px solid currentColor;

  border-radius:12px;

  font-weight:800;
}

.featured .service-number{
  color:#fff;

  background:var(--blue-dark);

  border-color:var(--blue-dark);
}

.service-card h3{
  margin-bottom:18px;

  font-size:1.65rem;

  line-height:1.15;
}

.service-card p{
  color:var(--muted);

  font-size:1rem;

  line-height:1.75;
}

.featured p{
  color:#d4dce4;
}

.service-card a{
  margin-top:auto;

  color:var(--blue-dark);

  font-weight:800;
}

.featured a{
  color:#fff;
}

/* Responsive */
@media (max-width: 980px){

  .service-grid{
    flex-direction:column;
    gap:24px;
  }

  .service-card,
  .service-card.featured{
    width:100%;
    min-height:auto;

    transform:none !important;

    opacity:1;
  }
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  color: #fff;
  background: var(--ink);
}

.split-section .eyebrow {
  color: var(--blue);
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list p {
  margin: 0;
  padding: 18px 20px;
  color: #e7edf3;
  background: #16191d;
  border: 1px solid #2d333a;
  border-radius: 8px;
  font-weight: 700;
}

.check-list p::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 12px;
  background: var(--blue);
  border-radius: 2px;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  background: var(--soft);
}

.proof-copy p:last-child {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 18px;
  align-items: start;
  background: #fff;
}

.process-list span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--blue-dark);
  border-radius: 8px;
  font-weight: 800;
}

.process-list strong {
  font-size: 1.15rem;
}

.process-list p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  max-width: var(--content);
  margin: clamp(20px, 5vw, 72px) auto;
  padding: clamp(32px, 5vw, 58px);
  color: #fff;
  background: var(--blue-dark);
  border-radius: 8px;
}

.contact-section .eyebrow {
  color: #d7f4ff;
}

.contact-section h2 {
  max-width: 760px;
}

.contact-section p {
  max-width: 720px;
  margin-bottom: 0;
  color: #eaf9ff;
  font-size: 1.1rem;
  line-height: 1.65;
}

.contact-section .btn-primary {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.contact-section .btn-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .service-grid,
  .split-section,
  .proof-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: auto;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 72px;
    padding: 12px 16px;
  }

  .brand img {
    width: 178px;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .main-nav {
    gap: 18px;
    font-size: 0.9rem;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .service-card {
    min-height: 320px;
  }

  .panel-topline,
  .ticket-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-list article {
    grid-template-columns: 1fr;
  }

  .process-list span {
    grid-row: auto;
    margin-bottom: 14px;
  }

  .contact-section {
    margin: 16px;
    padding: 28px 18px;
  }
}
