:root{
  --navy:#061a34;
  --navy-2:#08264c;
  --navy-3:#0b3568;
  --blue:#0f63ff;
  --blue-2:#084ec7;
  --cyan:#12b8c8;
  --cyan-2:#48e7ef;
  --teal:#0f766e;
  --gold:#f59e0b;
  --green:#22c55e;
  --bg:#f4f7fb;
  --bg-2:#e9f1f7;
  --surface:#ffffff;
  --surface-2:#f8fbff;
  --line:#d7e2ed;
  --text:#0b2440;
  --muted:#5e7184;
  --white:#ffffff;
  --shadow-sm:0 10px 26px rgba(6,26,52,.08);
  --shadow-md:0 18px 46px rgba(6,26,52,.14);
  --shadow-lg:0 30px 80px rgba(6,26,52,.22);
  --radius-sm:14px;
  --radius-md:22px;
  --radius-lg:32px;
  --max:1180px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  scroll-padding-top:88px;
}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,var(--bg) 0%,#ffffff 58%,var(--bg) 100%);
  line-height:1.55;
  overflow-x:hidden;
}

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

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

::selection{
  background:rgba(18,184,200,.22);
  color:var(--navy);
}

.container{
  width:min(calc(100% - 2rem),var(--max));
  margin-inline:auto;
  position:relative;
  z-index:2;
}

/* FONDO GENERAL */
.site-bg{
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
}

.orb{
  position:absolute;
  border-radius:999px;
  filter:blur(42px);
  opacity:.35;
  animation:orbMove 12s ease-in-out infinite alternate;
}

.orb-a{
  width:420px;
  height:420px;
  background:#12b8c8;
  top:8%;
  left:-180px;
}

.orb-b{
  width:520px;
  height:520px;
  background:#0f63ff;
  right:-250px;
  top:20%;
  animation-delay:1.6s;
  opacity:.24;
}

.grid-lines{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(6,26,52,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(6,26,52,.045) 1px,transparent 1px);
  background-size:36px 36px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.8),rgba(0,0,0,.18),transparent);
}

/* HEADER */
.header{
  position:sticky;
  top:0;
  z-index:60;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(215,226,237,.92);
}

.header::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--cyan),var(--blue),transparent);
  opacity:.65;
}

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

.brand{
  display:flex;
  align-items:center;
  gap:.85rem;
  min-width:0;
}

.brand__logo{
  width:168px;
  height:54px;
  object-fit:contain;
  padding:.22rem .5rem;
  border-radius:14px;
  background:#fff;
  box-shadow:0 6px 18px rgba(6,26,52,.08);
}

.brand__text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.brand__text strong{
  font-size:1rem;
  color:var(--navy);
  letter-spacing:-.01em;
}

.brand__text small{
  margin-top:.25rem;
  font-size:.74rem;
  color:var(--muted);
  font-weight:700;
}

.nav{
  display:flex;
  align-items:center;
  gap:.25rem;
  padding:.32rem;
  border-radius:999px;
  background:#f7fbff;
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
}

.nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.66rem .78rem;
  border-radius:999px;
  font-size:.86rem;
  font-weight:850;
  color:#456278;
  transition:.24s ease;
}

.nav a:hover,
.nav a.is-active{
  color:var(--navy);
  background:#fff;
  box-shadow:0 8px 18px rgba(6,26,52,.08);
}

.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
  box-shadow:var(--shadow-sm);
  cursor:pointer;
}

.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  background:var(--navy);
  border-radius:999px;
  margin:5px auto;
  transition:.24s ease;
}

/* BOTONES */
.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.58rem;
  min-height:48px;
  padding:.92rem 1.14rem;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:900;
  font-size:.94rem;
  letter-spacing:.005em;
  overflow:hidden;
  transition:
    transform .24s ease,
    box-shadow .24s ease,
    background .24s ease,
    border-color .24s ease;
}

.btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(110deg,transparent,rgba(255,255,255,.45),transparent);
  transform:translateX(-130%);
  transition:.62s ease;
}

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

.btn:hover::before{
  transform:translateX(130%);
}

.btn--small{
  min-height:42px;
  padding:.7rem .95rem;
  font-size:.84rem;
}

.btn--wide{
  min-width:230px;
}

.btn--primary{
  color:#fff;
  background:linear-gradient(135deg,var(--blue),var(--cyan));
  box-shadow:0 16px 38px rgba(15,99,255,.30);
}

.btn--primary:hover{
  box-shadow:0 22px 48px rgba(15,99,255,.38);
}

.btn--outline{
  color:#fff;
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.28);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}

.section .btn--outline,
.contact .btn--outline{
  color:var(--navy);
  background:#fff;
  border-color:var(--line);
  box-shadow:var(--shadow-sm);
}

/* HERO COMO IMAGEN COMPLETA */
.section-dark{
  color:#fff;
  background:var(--navy);
}

.hero{
  position:relative;
  min-height:680px;
  padding:0 !important;
  overflow:hidden;
  display:flex;
  align-items:center;
  background:#061a34;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,
      rgba(6,26,52,.94) 0%,
      rgba(6,26,52,.88) 28%,
      rgba(6,26,52,.58) 53%,
      rgba(6,26,52,.20) 76%,
      rgba(6,26,52,.54) 100%
    ),
    radial-gradient(circle at 16% 26%,rgba(18,184,200,.18),transparent 28%),
    radial-gradient(circle at 84% 26%,rgba(15,99,255,.20),transparent 30%);
  pointer-events:none;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background-image:radial-gradient(rgba(18,184,200,.30) 1px,transparent 1px);
  background-size:28px 28px;
  opacity:.12;
  pointer-events:none;
}

.hero .container{
  width:min(calc(100% - 2rem),var(--max));
  z-index:3;
}

.hero__grid{
  position:relative;
  display:block !important;
  min-height:680px;
  max-width:var(--max);
  margin:0 auto;
}

/* La imagen ocupa todo el ancho del hero */
.hero__media,
.hero__visual{
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  perspective:none !important;
  pointer-events:none;
}

.hero-card,
.hero-figure{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  max-width:none !important;
  height:100% !important;
  padding:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  overflow:hidden !important;
  transform:none !important;
}

.hero-card::before,
.hero-figure::before,
.hero-card__shine,
.hero-figure__shine{
  display:none !important;
}

.hero-card__image,
.hero-figure__image{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:center center !important;
  border-radius:0 !important;
  box-shadow:none !important;
  transform:none !important;
  filter:saturate(1.04) contrast(1.02) !important;
  opacity:.92 !important;
}

/* Texto encima de la imagen */
.hero__content{
  position:relative;
  z-index:4;
  width:min(720px,100%);
  min-height:680px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:4.2rem 0;
}

.eyebrow,
.section-tag{
  display:inline-flex;
  align-items:center;
  gap:.48rem;
  width:max-content;
  max-width:100%;
  padding:.54rem .86rem;
  border-radius:999px;
  font-size:.86rem;
  font-weight:900;
  color:#d7fbff;
  background:rgba(18,184,200,.14);
  border:1px solid rgba(18,184,200,.34);
  box-shadow:0 10px 26px rgba(0,0,0,.12);
}

.section-tag{
  color:var(--navy);
  background:#eef9fb;
  border-color:#cdebf1;
  box-shadow:var(--shadow-sm);
}

.hero h1{
  margin:1rem 0 1rem;
  font-size:clamp(2.8rem,5.4vw,5.45rem);
  line-height:.98;
  letter-spacing:-.06em;
  max-width:760px;
  color:#fff;
}

.hero h1 span{
  color:#4ee7ef;
}

.hero p,
.hero__text{
  margin:0 0 1.25rem;
  max-width:610px;
  color:#d8e9f5;
  font-size:1.05rem;
  line-height:1.62;
}

.hero__badges,
.hero-points{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  margin:1.25rem 0 1.45rem;
}

.hero__badges span,
.hero-points span{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:.62rem .78rem;
  border-radius:999px;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.16);
  font-size:.86rem;
  font-weight:850;
  color:#f3fbff;
  backdrop-filter:blur(10px);
}

.hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:.85rem;
}

.hero__actions .btn--outline,
.hero__actions .btn--secondary,
.hero__actions .btn--ghost{
  color:#fff !important;
  background:rgba(255,255,255,.08) !important;
  border-color:rgba(255,255,255,.22) !important;
  box-shadow:none !important;
}

.hero__actions .btn--outline:hover,
.hero__actions .btn--secondary:hover,
.hero__actions .btn--ghost:hover{
  background:rgba(255,255,255,.14) !important;
}

/* Oculta panel de foto dentro del hero si existe */
.hero-card__panel{
  display:none !important;
}

/* Etiquetas flotantes mejor ubicadas sobre la imagen */
.float-chip,
.float-badge{
  position:absolute !important;
  z-index:5 !important;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  padding:.72rem .9rem !important;
  border-radius:16px !important;
  background:rgba(255,255,255,.92) !important;
  color:var(--navy) !important;
  font-weight:950 !important;
  font-size:.88rem !important;
  box-shadow:0 16px 34px rgba(0,0,0,.18) !important;
  border:1px solid rgba(255,255,255,.9) !important;
  backdrop-filter:blur(12px);
  animation:floatY 4.5s ease-in-out infinite;
  white-space:nowrap;
  pointer-events:none;
}

.float-chip--1,
.float-badge--a{
  top:16%;
  right:34%;
  left:auto !important;
}

.float-chip--2,
.float-badge--b{
  top:46%;
  right:3%;
  left:auto !important;
}

.float-chip--3,
.float-badge--c{
  bottom:14%;
  right:26%;
  left:auto !important;
}

/* VALUE STRIP */
.value-strip{
  position:relative;
  margin-top:-1.2rem;
  z-index:3;
}

.value-strip__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:.9rem;
  padding:.9rem;
  border-radius:26px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow-md);
}

.value-strip article{
  padding:.9rem;
  border-radius:18px;
  background:var(--surface-2);
  border:1px solid #e5edf5;
}

.value-strip strong{
  display:block;
  color:var(--navy);
  font-size:1rem;
}

.value-strip span{
  display:block;
  color:var(--muted);
  font-size:.88rem;
  margin-top:.18rem;
}

/* SECCIONES */
.section{
  position:relative;
  padding:4.4rem 0;
}

.section-muted{
  background:linear-gradient(180deg,#f8fbff,#edf3f8);
}

.section-head{
  max-width:760px;
  margin:0 auto 2rem;
  text-align:center;
}

.section-head h2{
  margin:1rem 0 .5rem;
  font-size:clamp(1.8rem,3.1vw,2.75rem);
  line-height:1.08;
  letter-spacing:-.035em;
  color:var(--navy);
}

.section-head p{
  margin:0;
  color:var(--muted);
  font-size:1rem;
}

/* SERVICIOS */
.cards-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:.95rem;
}

.service-card{
  position:relative;
  min-height:220px;
  padding:1.25rem;
  border-radius:24px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  overflow:hidden;
  transform-style:preserve-3d;
  transition:.25s ease;
}

.service-card::before{
  content:"";
  position:absolute;
  right:-60px;
  bottom:-70px;
  width:170px;
  height:170px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(18,184,200,.18),transparent 65%);
}

.service-card:hover{
  transform:translateY(-7px);
  box-shadow:var(--shadow-md);
  border-color:#b8d4e8;
}

.service-card img{
  width:68px;
  height:68px;
  margin-bottom:.85rem;
  transform:translateZ(35px);
}

.service-card h3{
  margin:0 0 .42rem;
  font-size:1.1rem;
  line-height:1.2;
  color:var(--navy);
}

.service-card p{
  margin:0;
  color:var(--muted);
  font-size:.95rem;
}

/* PROCESO */
.process-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:.95rem;
}

.process-card{
  display:flex;
  gap:.95rem;
  align-items:flex-start;
  padding:1.05rem;
  border-radius:22px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  transition:.25s ease;
}

.process-card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow-md);
}

.process-card img{
  width:64px;
  height:64px;
  flex:0 0 auto;
}

.process-card h3{
  margin:0 0 .2rem;
  color:var(--navy);
  font-size:1.06rem;
}

.process-card p{
  margin:0;
  color:var(--muted);
  font-size:.94rem;
}

.sector-card{
  margin-top:1.15rem;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:1rem;
  align-items:center;
  padding:1.2rem;
  border-radius:26px;
  background:linear-gradient(135deg,#fff,#f6fbff);
  border:1px solid var(--line);
  box-shadow:var(--shadow-md);
}

.sector-card h2{
  margin:1rem 0 0;
  font-size:clamp(1.45rem,2.5vw,2.25rem);
  line-height:1.1;
  color:var(--navy);
}

.sector-card p{
  margin:0;
  color:var(--muted);
  font-size:1rem;
}

/* MÉTODO */
.method{
  background:#fff;
}

.steps-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:.95rem;
  counter-reset:steps;
}

.step-card{
  position:relative;
  min-height:200px;
  padding:1.15rem;
  border-radius:24px;
  background:linear-gradient(180deg,#fff,#f8fbff);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  overflow:hidden;
  transition:.25s ease;
}

.step-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-md);
}

.step-card span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  border-radius:16px;
  background:linear-gradient(135deg,var(--navy),var(--blue));
  color:#fff;
  font-weight:950;
  box-shadow:0 14px 28px rgba(15,99,255,.20);
}

.step-card h3{
  margin:.9rem 0 .3rem;
  color:var(--navy);
}

.step-card p{
  margin:0;
  color:var(--muted);
  font-size:.94rem;
}

.step-card::after{
  content:"";
  position:absolute;
  right:-35px;
  top:-35px;
  width:105px;
  height:105px;
  border-radius:999px;
  background:rgba(18,184,200,.12);
}

/* TECNOLOGÍAS */
.technologies{
  padding:4.3rem 0;
}

.technologies__grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:.95rem;
  align-items:stretch;
}

.tech-panel,
.results-grid article{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  box-shadow:0 22px 60px rgba(0,0,0,.22);
  backdrop-filter:blur(14px);
}

.tech-panel{
  padding:1.35rem;
  border-radius:26px;
}

.tech-panel h2{
  font-size:clamp(1.7rem,2.8vw,2.6rem);
  line-height:1.08;
  margin:1rem 0 .55rem;
  color:#fff;
}

.tech-panel p{
  color:#d8e9f5;
  margin:0 0 1rem;
}

.tech-tags{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
}

.tech-tags span{
  padding:.62rem .72rem;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  font-weight:850;
  color:#f8fbff;
  font-size:.9rem;
}

.results-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:.95rem;
}

.results-grid article{
  padding:1.15rem;
  border-radius:22px;
  color:#fff;
}

.results-grid strong{
  display:block;
  font-size:2rem;
  color:#4ee7ef;
  line-height:1;
}

.results-grid span{
  display:block;
  color:#d8e9f5;
  margin-top:.7rem;
  font-weight:700;
}

/* SOBRE MÍ */
.about{
  padding:3.4rem 0;
  background:linear-gradient(180deg,#f6f9fc 0%,#ffffff 100%);
}

.about__grid{
  max-width:1040px;
  margin:0 auto;
  display:grid;
  grid-template-columns:330px 1fr;
  gap:2rem;
  align-items:center;
}

.photo-card{
  position:relative;
  width:100%;
  max-width:320px;
  margin:0 auto;
  padding:.55rem;
  border-radius:26px;
  background:#fff;
  border:1px solid #d8e4ef;
  box-shadow:0 20px 50px rgba(6,26,52,.14);
  overflow:hidden;
  transform-style:preserve-3d;
}

.photo-card img{
  width:100%;
  height:380px;
  object-fit:cover;
  object-position:center top;
  border-radius:20px;
  transform:none;
  background:#eef4f8;
}

.photo-card__label{
  position:absolute;
  left:1rem;
  right:1rem;
  bottom:1rem;
  padding:.78rem .9rem;
  border-radius:16px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  box-shadow:0 14px 34px rgba(6,26,52,.16);
  border:1px solid rgba(255,255,255,.8);
}

.photo-card__label strong{
  display:block;
  font-size:.92rem;
  color:#061a34;
  line-height:1.2;
}

.photo-card__label span{
  display:block;
  margin-top:.15rem;
  font-size:.76rem;
  color:#516b7d;
  font-weight:800;
}

.about__content{
  max-width:650px;
}

.about__content h2{
  margin:.9rem 0 .65rem;
  font-size:clamp(1.9rem,3vw,2.75rem);
  line-height:1.08;
  letter-spacing:-.04em;
  color:var(--navy);
}

.about__content p{
  margin:0 0 .95rem;
  color:var(--muted);
  font-size:1rem;
  line-height:1.65;
}

.about-points{
  display:grid;
  grid-template-columns:1fr;
  gap:.72rem;
}

.about-points article{
  padding:.9rem 1rem;
  border-radius:18px;
  background:#fff;
  border:1px solid #d8e4ef;
  box-shadow:0 8px 22px rgba(6,26,52,.07);
}

.about-points strong{
  display:block;
  color:var(--navy);
  font-size:.95rem;
}

.about-points span{
  display:block;
  color:var(--muted);
  margin-top:.2rem;
  font-size:.9rem;
  line-height:1.45;
}

/* CONTACTO */
.contact{
  padding-top:3rem;
}

.contact__box{
  display:grid;
  grid-template-columns:1fr auto;
  gap:1.2rem;
  align-items:center;
  padding:1.45rem;
  border-radius:28px;
  background:linear-gradient(135deg,var(--navy),var(--navy-3));
  box-shadow:var(--shadow-lg);
  color:#fff;
  overflow:hidden;
  position:relative;
}

.contact__box::before{
  content:"";
  position:absolute;
  right:-90px;
  top:-120px;
  width:300px;
  height:300px;
  border-radius:999px;
  background:rgba(18,184,200,.30);
  filter:blur(8px);
}

.contact__box .section-tag{
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.20);
  color:#e8fbff;
  box-shadow:none;
}

.contact__box h2{
  margin:1rem 0 .5rem;
  font-size:clamp(1.7rem,3vw,2.65rem);
  line-height:1.08;
  color:#fff;
}

.contact__box p{
  margin:0;
  color:#d8e9f5;
  max-width:56ch;
}

.contact__actions{
  display:flex;
  flex-direction:column;
  gap:.85rem;
  align-items:flex-end;
  position:relative;
  z-index:2;
}

/* REDES */
.social-section{
  padding-top:2rem;
  text-align:center;
}

.social-section h2{
  font-size:clamp(1.5rem,2.7vw,2.2rem);
  margin:0 0 1rem;
  color:var(--navy);
}

.social-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:.95rem;
}

.social-card{
  display:grid;
  gap:.25rem;
  place-items:center;
  padding:1rem;
  border-radius:22px;
  color:#fff;
  box-shadow:var(--shadow-md);
  transition:.25s ease;
  min-height:118px;
}

.social-card:hover{
  transform:translateY(-5px);
}

.social-card span{
  font-size:1.85rem;
}

.social-card strong{
  font-size:1.02rem;
}

.social-card small{
  font-weight:800;
  opacity:.95;
  font-size:.82rem;
}

.social-youtube{
  background:linear-gradient(135deg,#dc2626,#991b1b);
}

.social-instagram{
  background:linear-gradient(135deg,#f97316,#c026d3,#4f46e5);
}

.social-facebook{
  background:linear-gradient(135deg,#2563eb,#1e40af);
}

.social-tiktok{
  background:linear-gradient(135deg,#111827,#000);
}

/* FOOTER */
.footer{
  padding:2.7rem 0 5.4rem;
  background:var(--navy);
  color:#d8e9f5;
}

.footer__grid{
  display:grid;
  grid-template-columns:1.3fr .8fr .9fr;
  gap:1.3rem;
  padding-bottom:1.5rem;
  border-bottom:1px solid rgba(255,255,255,.12);
}

.footer__logo{
  width:200px;
  height:auto;
  object-fit:contain;
  padding:.42rem;
  border-radius:16px;
  background:#fff;
  margin-bottom:.85rem;
}

.footer p{
  max-width:46ch;
  margin:0;
  color:#b7ccdd;
}

.footer h3{
  margin:0 0 .75rem;
  color:#fff;
}

.footer a{
  display:block;
  color:#b7ccdd;
  margin:.42rem 0;
  transition:.2s;
}

.footer a:hover{
  color:#4ee7ef;
}

.footer__bottom{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  padding-top:1.3rem;
  color:#9fb5c7;
  font-size:.88rem;
}

/* WHATSAPP FLOTANTE */
.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:80;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  padding:.85rem .95rem;
  border-radius:999px;
  color:#042313;
  background:linear-gradient(135deg,#4ade80,#22c55e);
  box-shadow:0 18px 46px rgba(34,197,94,.34);
  border:1px solid rgba(255,255,255,.65);
  animation:whatsappPulse 2.8s ease-in-out infinite;
}

.whatsapp-float span{
  font-size:1.15rem;
}

.whatsapp-float strong{
  font-size:.9rem;
}

/* ANIMACIONES */
.reveal{
  opacity:0;
  transform:translateY(22px) scale(.985);
  transition:
    opacity .72s ease,
    transform .72s cubic-bezier(.2,.8,.2,1);
}

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

.tilt-card{
  transform-style:preserve-3d;
  will-change:transform;
}

@keyframes orbMove{
  from{
    transform:translate3d(0,0,0) scale(1);
  }
  to{
    transform:translate3d(32px,28px,0) scale(1.08);
  }
}

@keyframes floatY{
  0%,100%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(-10px);
  }
}

@keyframes whatsappPulse{
  0%,100%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(-5px);
  }
}

/* RESPONSIVO */
@media (max-width:1100px){
  .hero{
    min-height:620px;
  }

  .hero__grid{
    min-height:620px;
  }

  .hero__content{
    min-height:620px;
    width:min(680px,100%);
  }

  .hero h1{
    font-size:clamp(2.45rem,6vw,4.3rem);
  }

  .float-chip--1,
  .float-badge--a{
    right:24%;
  }

  .float-chip--2,
  .float-badge--b{
    right:2rem;
  }

  .technologies__grid,
  .about__grid,
  .contact__box,
  .sector-card,
  .footer__grid{
    grid-template-columns:1fr;
  }

  .contact__actions{
    align-items:flex-start;
  }

  .footer__bottom{
    flex-direction:column;
  }

  .value-strip__grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:940px){
  .brand__text{
    display:none;
  }

  .nav{
    position:fixed;
    top:86px;
    left:1rem;
    right:1rem;
    display:none;
    flex-direction:column;
    align-items:stretch;
    padding:.75rem;
    border-radius:24px;
    background:#fff;
    box-shadow:var(--shadow-lg);
  }

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

  .nav a{
    justify-content:flex-start;
    padding:.9rem 1rem;
  }

  .nav-toggle{
    display:block;
  }

  .header-cta{
    display:none;
  }

  .cards-grid,
  .steps-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .social-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:720px){
  .container{
    width:min(calc(100% - 1.1rem),var(--max));
  }

  .nav-wrap{
    min-height:72px;
  }

  .brand__logo{
    width:158px;
    height:52px;
  }

  .hero{
    min-height:640px;
  }

  .hero::before{
    background:
      linear-gradient(180deg,
        rgba(6,26,52,.92) 0%,
        rgba(6,26,52,.82) 46%,
        rgba(6,26,52,.50) 100%
      );
  }

  .hero__grid{
    min-height:640px;
  }

  .hero__content{
    min-height:640px;
    padding:3rem 0;
    justify-content:flex-end;
  }

  .hero-card__image,
  .hero-figure__image{
    object-position:center center !important;
    opacity:.78 !important;
  }

  .hero h1{
    font-size:clamp(2.2rem,11vw,3.5rem);
    line-height:1;
  }

  .hero p,
  .hero__text{
    font-size:1rem;
  }

  .hero__actions,
  .contact__actions{
    width:100%;
  }

  .hero__actions .btn,
  .contact__actions .btn{
    width:100%;
  }

  .hero__badges span,
  .hero-points span{
    width:100%;
    justify-content:center;
    text-align:center;
  }

  .float-chip,
  .float-badge{
    font-size:.76rem !important;
    padding:.58rem .68rem !important;
    border-radius:13px !important;
  }

  .float-chip--1,
  .float-badge--a{
    top:1rem;
    right:auto !important;
    left:1rem !important;
  }

  .float-chip--2,
  .float-badge--b{
    top:4rem;
    right:1rem !important;
  }

  .float-chip--3,
  .float-badge--c{
    display:none !important;
  }

  .value-strip{
    margin-top:-.7rem;
  }

  .value-strip__grid,
  .cards-grid,
  .process-grid,
  .steps-grid,
  .results-grid,
  .social-grid{
    grid-template-columns:1fr;
  }

  .section{
    padding:3.6rem 0;
  }

  .service-card{
    min-height:auto;
  }

  .process-card{
    flex-direction:column;
  }

  .contact__box{
    padding:1.15rem;
    border-radius:26px;
  }

  .about__grid{
    grid-template-columns:1fr;
    gap:1.4rem;
  }

  .photo-card{
    max-width:300px;
  }

  .photo-card img{
    height:350px;
  }

  .about__content{
    max-width:100%;
    text-align:left;
  }

  .whatsapp-float{
    left:12px;
    right:12px;
    bottom:12px;
  }

  .footer{
    padding-bottom:5.8rem;
  }
}

@media (max-width:430px){
  .brand__logo{
    width:150px;
  }

  .eyebrow,
  .section-tag{
    font-size:.78rem;
  }

  .value-strip__grid{
    padding:.65rem;
  }

  .hero__badges span,
  .hero-points span{
    width:100%;
    justify-content:center;
  }

  .social-card small{
    font-size:.75rem;
  }

  .photo-card{
    max-width:280px;
  }

  .photo-card img{
    height:325px;
  }

  .photo-card__label{
    left:.75rem;
    right:.75rem;
    bottom:.75rem;
    padding:.72rem .8rem;
  }
}

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

  *,
  *::before,
  *::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }

  .hero-card,
  .hero-figure,
  .tilt-card,
  .float-chip,
  .float-badge{
    transform:none!important;
  }
}

/* =========================================================
   CORRECCIÓN HERO - IMAGEN COMPLETA, TEXTO MÁS PEQUEÑO
   Pegar al final de assets/css/styles.css
========================================================= */

/* Hero general más compacto */
.hero{
  position: relative !important;
  min-height: auto !important;
  padding: 3.2rem 0 !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 12% 20%, rgba(18,184,200,.14), transparent 28%),
    linear-gradient(135deg, #061a34 0%, #08264c 55%, #061a34 100%) !important;
}

/* Regresa a distribución profesional de texto + imagen */
.hero__grid{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 460px !important;
  gap: 2.4rem !important;
  align-items: center !important;
  min-height: auto !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
}

/* Texto más pequeño y más limpio */
.hero__content{
  position: relative !important;
  z-index: 4 !important;
  min-height: auto !important;
  width: 100% !important;
  max-width: 610px !important;
  padding: 0 !important;
  display: block !important;
}

.hero h1{
  font-size: clamp(2.2rem, 4vw, 3.7rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -.045em !important;
  margin: .9rem 0 1rem !important;
  max-width: 620px !important;
  color: #ffffff !important;
  text-shadow: 0 4px 18px rgba(0,0,0,.28) !important;
}

.hero h1 span{
  color: #4ee7ef !important;
  text-shadow: 0 0 18px rgba(78,231,239,.22) !important;
}

.hero p,
.hero__text{
  max-width: 560px !important;
  font-size: .98rem !important;
  line-height: 1.6 !important;
  color: rgba(236,248,255,.92) !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.22) !important;
  margin-bottom: 1.1rem !important;
}

/* Etiqueta superior más discreta */
.eyebrow{
  font-size: .82rem !important;
  padding: .48rem .78rem !important;
  background: rgba(18,184,200,.15) !important;
  border: 1px solid rgba(78,231,239,.35) !important;
  color: #e9feff !important;
}

/* Badges más chicos */
.hero__badges,
.hero-points{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .55rem !important;
  margin: 1rem 0 1.25rem !important;
}

.hero__badges span,
.hero-points span{
  font-size: .78rem !important;
  padding: .52rem .68rem !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.09) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color: #ffffff !important;
}

/* Botones del hero más proporcionados */
.hero__actions{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .75rem !important;
  margin-top: 1rem !important;
}

.hero__actions .btn{
  min-height: 46px !important;
  padding: .82rem 1rem !important;
  font-size: .88rem !important;
}

/* Contenedor de imagen a la derecha */
.hero__media,
.hero__visual{
  position: relative !important;
  inset: auto !important;
  z-index: 3 !important;
  width: 100% !important;
  max-width: 460px !important;
  height: auto !important;
  margin: 0 auto !important;
  display: block !important;
  pointer-events: auto !important;
  perspective: none !important;
}

/* Tarjeta de imagen */
.hero-card,
.hero-figure{
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  max-width: 460px !important;
  height: auto !important;
  padding: .75rem !important;
  border-radius: 28px !important;
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: 0 22px 55px rgba(0,0,0,.24) !important;
  overflow: hidden !important;
  transform: none !important;
}

/* Quita brillos raros */
.hero-card::before,
.hero-figure::before,
.hero-card__shine,
.hero-figure__shine{
  display: none !important;
}

/* Imagen completa, sin cortarse */
.hero-card__image,
.hero-figure__image{
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 390px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 22px !important;
  background: #eef4f8 !important;
  box-shadow: none !important;
  transform: none !important;
  filter: saturate(1.04) contrast(1.02) !important;
  opacity: 1 !important;
}

/* Quitar etiquetas flotantes */
.float-chip,
.float-badge,
.float-chip--1,
.float-chip--2,
.float-chip--3,
.float-badge--a,
.float-badge--b,
.float-badge--c{
  display: none !important;
}

/* Quitar WhatsApp flotante para que no estorbe visualmente */
.whatsapp-float{
  display: none !important;
}

/* Panel flotante de la foto dentro del hero, si existe */
.hero-card__panel{
  display: none !important;
}

/* Tablet */
@media (max-width: 1100px){
  .hero{
    padding: 2.8rem 0 !important;
  }

  .hero__grid{
    grid-template-columns: 1fr !important;
    gap: 1.8rem !important;
    max-width: 760px !important;
  }

  .hero__content{
    max-width: 100% !important;
  }

  .hero h1{
    font-size: clamp(2.1rem, 6vw, 3.5rem) !important;
    max-width: 100% !important;
  }

  .hero__media,
  .hero__visual,
  .hero-card,
  .hero-figure{
    max-width: 520px !important;
  }

  .hero-card__image,
  .hero-figure__image{
    height: 360px !important;
  }
}

/* Celular */
@media (max-width: 720px){
  .hero{
    padding: 2.4rem 0 !important;
  }

  .hero__grid{
    gap: 1.4rem !important;
  }

  .hero h1{
    font-size: clamp(2rem, 10vw, 3rem) !important;
    line-height: 1.05 !important;
  }

  .hero p,
  .hero__text{
    font-size: .95rem !important;
  }

  .hero__actions{
    flex-direction: column !important;
  }

  .hero__actions .btn{
    width: 100% !important;
  }

  .hero__badges span,
  .hero-points span{
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero__media,
  .hero__visual,
  .hero-card,
  .hero-figure{
    max-width: 100% !important;
  }

  .hero-card,
  .hero-figure{
    padding: .55rem !important;
    border-radius: 22px !important;
  }

  .hero-card__image,
  .hero-figure__image{
    height: 300px !important;
    border-radius: 17px !important;
  }
}

/* Celular pequeño */
@media (max-width: 430px){
  .hero h1{
    font-size: clamp(1.9rem, 11vw, 2.65rem) !important;
  }

  .hero-card__image,
  .hero-figure__image{
    height: 260px !important;
  }
}
/* ==========================================
   AJUSTE FOTO SOBRE MÍ - MOSTRAR CARA COMPLETA
========================================== */

.photo-card{
  max-width: 320px !important;
  height: auto !important;
  padding: .55rem !important;
  overflow: hidden !important;
}

.photo-card img{
  width: 100% !important;
  height: 380px !important;
  object-fit: contain !important;      /* muestra mejor toda la cara */
  object-position: center top !important;
  background: linear-gradient(180deg, #eef4f8, #ffffff) !important;
  border-radius: 20px !important;
  padding: 0 !important;
}

/* Tarjeta del nombre un poco más compacta para no tapar tanto */
.photo-card__label{
  left: 12px !important;
  right: 12px !important;
  bottom: 12px !important;
  padding: .7rem .85rem !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.94) !important;
}

.photo-card__label strong{
  font-size: .9rem !important;
  line-height: 1.15 !important;
}

.photo-card__label span{
  font-size: .78rem !important;
}

/* Si quieres conservar el mismo tamaño en escritorio */
@media (min-width: 821px){
  .photo-card{
    max-width: 320px !important;
  }

  .photo-card img{
    height: 380px !important;
  }
}

/* Tablet */
@media (max-width: 820px){
  .photo-card{
    max-width: 300px !important;
  }

  .photo-card img{
    height: 350px !important;
  }
}

/* Celular */
@media (max-width: 430px){
  .photo-card{
    max-width: 280px !important;
  }

  .photo-card img{
    height: 320px !important;
  }
}

/* ==========================================
   LOGO HEADER - ALARGADO Y COMPLETO
========================================== */

.brand{
  gap: 1rem !important;
  align-items: center !important;
}

/* Logo completo, más ancho y sin recortarse */
.brand__logo{
  width: 260px !important;
  height: 70px !important;
  padding: .25rem .45rem !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 8px 22px rgba(6,26,52,.10) !important;
}

/* Header ajustado para que no se vea apretado */
.nav-wrap{
  min-height: 86px !important;
}

/* Texto al lado del logo */
.brand__text strong{
  font-size: 1.08rem !important;
  line-height: 1.1 !important;
}

.brand__text small{
  font-size: .78rem !important;
}

/* Footer también completo */
.footer__logo{
  width: 260px !important;
  height: auto !important;
  padding: .25rem .45rem !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  background: #ffffff !important;
  border-radius: 14px !important;
}

/* Tablet */
@media (max-width: 940px){
  .brand__logo{
    width: 225px !important;
    height: 66px !important;
  }

  .nav-wrap{
    min-height: 82px !important;
  }
}

/* Celular */
@media (max-width: 600px){
  .brand__logo{
    width: 190px !important;
    height: 60px !important;
  }

  .brand__text{
    display: none !important;
  }
}

/* Celular pequeño */
@media (max-width: 420px){
  .brand__logo{
    width: 170px !important;
    height: 56px !important;
  }
}

/* ==========================================
   HEADER MÁS PROFESIONAL CON EMOJIS
   Pegar al final de assets/css/styles.css
========================================== */

.header{
  overflow: visible !important;
}

/* Ajuste general del header */
.nav-wrap{
  position: relative !important;
  min-height: 86px !important;
  gap: 1.2rem !important;
}

/* Logo un poco mejor distribuido */
.brand{
  position: relative !important;
  min-width: 560px !important;
  gap: 1rem !important;
}

/* Emojis profesionales del lado izquierdo */
.brand::after{
  content: "⚙️ 📊 🚀";
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: .8rem !important;
  padding: .65rem .9rem !important;
  border-radius: 999px !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
  background: linear-gradient(135deg, #eef8ff, #ffffff) !important;
  border: 1px solid #d7e7f3 !important;
  box-shadow: 0 8px 22px rgba(6,26,52,.08) !important;
  white-space: nowrap !important;
}

/* Emojis profesionales del lado derecho, antes del botón */
.header-cta::before{
  content: "🤖 🧩";
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: .7rem !important;
  padding: .5rem .75rem !important;
  border-radius: 999px !important;
  font-size: 1.08rem !important;
  background: rgba(255,255,255,.85) !important;
  border: 1px solid rgba(215,226,237,.95) !important;
  box-shadow: 0 8px 20px rgba(6,26,52,.08) !important;
}

/* Botón más integrado */
.header-cta{
  gap: .65rem !important;
  white-space: nowrap !important;
}

/* Navegación más compacta para que todo respire */
.nav{
  padding: .28rem !important;
}

.nav a{
  padding: .66rem .82rem !important;
  font-size: .86rem !important;
}

/* Si el texto de marca ocupa mucho, compactarlo */
.brand__text strong{
  font-size: 1.02rem !important;
}

.brand__text small{
  font-size: .76rem !important;
}

/* Pantallas medianas: quitar emojis para no encimar */
@media (max-width: 1200px){
  .brand{
    min-width: auto !important;
  }

  .brand::after{
    content: "⚙️ 📊" !important;
    margin-left: .4rem !important;
    padding: .55rem .7rem !important;
    font-size: 1rem !important;
  }

  .header-cta::before{
    display: none !important;
  }
}

/* Tablet y móvil: ocultar emojis para mantener responsivo */
@media (max-width: 940px){
  .brand::after,
  .header-cta::before{
    display: none !important;
  }

  .brand{
    min-width: auto !important;
  }
}

/* Celular */
@media (max-width: 600px){
  .nav-wrap{
    min-height: 76px !important;
  }
}
/* ==========================================
   BOTÓN "COTIZA TU PROYECTO" CUADRADO
========================================== */

.header-cta{
  border-radius: 12px !important;
  min-height: 52px !important;
  padding: 0 1.35rem !important;
  font-size: .92rem !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 28px rgba(15,99,255,.25) !important;
}

/* Quita forma de pastilla del botón */
.header-cta.btn,
.header-cta.btn--primary,
.nav-wrap .header-cta{
  border-radius: 12px !important;
}

/* Hover más profesional */
.header-cta:hover{
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 36px rgba(15,99,255,.34) !important;
}

/* Si quieres que sea más cuadrado todavía */
@media (min-width: 941px){
  .header-cta{
    border-radius: 10px !important;
  }
}

/* ==========================================
   CORREGIR BOTÓN "COTIZA TU PROYECTO"
   Y COMPACTAR HEADER
========================================== */

/* Header más compacto para que todo quepa */
.nav-wrap{
  gap: .75rem !important;
  min-height: 82px !important;
}

/* Evita que el botón se corte */
.header-cta,
.header-cta.btn,
.header-cta.btn--primary{
  width: auto !important;
  min-width: 175px !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: unset !important;
  padding: 0 1.1rem !important;
  min-height: 52px !important;
  border-radius: 10px !important;
  font-size: .9rem !important;
  line-height: 1 !important;
}

/* Quita emojis dentro del botón para que no robe espacio */
.header-cta::before{
  display: none !important;
  content: none !important;
}

/* Ajusta menú para liberar espacio */
.nav{
  flex: 0 1 auto !important;
  padding: .24rem !important;
}

.nav a{
  padding: .62rem .74rem !important;
  font-size: .84rem !important;
}

/* Ajusta la marca para que no empuje el botón */
.brand{
  min-width: auto !important;
  flex: 0 1 auto !important;
}

.brand__logo{
  width: 220px !important;
  height: 68px !important;
  object-fit: contain !important;
  padding: .25rem .4rem !important;
}

/* Emoji del centro más compacto */
.brand::after{
  content: "⚙️ 📊 🚀" !important;
  margin-left: .5rem !important;
  padding: .48rem .68rem !important;
  font-size: 1rem !important;
}

/* Pantallas medianas: quitar emojis para que no se corte nada */
@media (max-width: 1250px){
  .brand::after{
    display: none !important;
  }

  .brand__logo{
    width: 205px !important;
  }

  .nav a{
    padding: .58rem .65rem !important;
    font-size: .82rem !important;
  }

  .header-cta,
  .header-cta.btn,
  .header-cta.btn--primary{
    min-width: 168px !important;
    font-size: .86rem !important;
    padding: 0 .95rem !important;
  }
}

/* Tablet: se oculta el botón porque aparece menú móvil */
@media (max-width: 940px){
  .header-cta{
    display: none !important;
  }

  .brand__logo{
    width: 190px !important;
    height: 62px !important;
  }
}

/* ==========================================
   WHATSAPP FLOTANTE PROFESIONAL
========================================== */

.whatsapp-float{
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  z-index: 9999 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .65rem !important;

  min-width: 190px !important;
  height: 56px !important;
  padding: 0 1.15rem !important;

  border-radius: 14px !important;
  background: linear-gradient(135deg, #25d366, #16a34a) !important;
  color: #ffffff !important;

  font-weight: 900 !important;
  font-size: .94rem !important;
  line-height: 1 !important;

  box-shadow: 0 16px 36px rgba(22,163,74,.34) !important;
  border: 1px solid rgba(255,255,255,.45) !important;

  text-decoration: none !important;
  transform: none !important;
  animation: whatsappFloat 2.8s ease-in-out infinite !important;
}

.whatsapp-float:hover{
  transform: translateY(-4px) !important;
  box-shadow: 0 22px 48px rgba(22,163,74,.42) !important;
}

.whatsapp-float span{
  font-size: 1.25rem !important;
  line-height: 1 !important;
}

.whatsapp-float strong{
  display: inline-block !important;
  color: #ffffff !important;
  font-size: .94rem !important;
  white-space: nowrap !important;
}

/* Animación suave */
@keyframes whatsappFloat{
  0%,100%{
    transform: translateY(0);
  }
  50%{
    transform: translateY(-5px);
  }
}

/* Celular: que quede como barra inferior */
@media (max-width: 720px){
  .whatsapp-float{
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    width: auto !important;
    min-width: 0 !important;
    height: 54px !important;
    border-radius: 12px !important;
  }
}