:root {
  --navy: #10243a;
  --navy-2: #17324f;
  --blue: #2f6f9f;
  --light-blue: #eaf1f6;
  --sand: #f4f0ea;
  --white: #ffffff;
  --ink: #1d2a36;
  --muted: #6d7883;
  --line: #dce3e8;
  --shadow: 0 18px 50px rgba(16, 36, 58, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 92px 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16,36,58,.1);
  box-shadow: 0 12px 24px rgba(16,36,58,.08);
}
.header-inner {
  height: 100px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.brand-mark {
  min-width: 80px;
  height: 60px;
  display: grid;
  place-items: center;
  padding: 0 16px;
  background: var(--navy);
  color: white;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .08em;
}

.brand-details {
  display: grid;
  gap: 6px;
}

.brand-name {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: .04em;
}

.brand-tagline {
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--muted);
  max-width: 380px;
}

.nav { display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--ink); }
.nav a:hover { color: var(--blue); }
.nav-cta {
  background: var(--navy);
  color: white !important;
  padding: 16px 26px;
  border-radius: 999px;
  box-shadow: 0 18px 32px rgba(47,111,159,.18);
}
.menu-toggle { display: none; border: 0; background: none; font-size: 28px; }

.hero {
  min-height: 820px;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 54px;
  display: grid;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(8,24,40,.94) 0%, rgba(8,24,40,.82) 38%, rgba(8,24,40,.28) 100%);
}
.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: start;
  color: white;
  padding: 42px 0;
}
.hero-copy {
  max-width: 700px;
}
.eyebrow, .section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--blue);
  margin-bottom: 20px;
}
.eyebrow { color: #a8cde4; }
.hero h1 {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: clamp(44px, 5vw, 80px);
  line-height: 1.02;
  letter-spacing: -.045em;
  max-width: 720px;
}
.hero p {
  max-width: 670px;
  font-size: 18px;
  color: rgba(255,255,255,.92);
  margin: 30px 0 24px;
  line-height: 1.78;
}
.hero-note {
  max-width: 620px;
  margin-bottom: 32px;
  font-size: 16px;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  padding: 0 34px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover, .btn-primary:focus { background: #1f5171; }
.btn-secondary {
  border: 1px solid rgba(255,255,255,.6);
  color: white;
  background: rgba(255,255,255,.1);
}
.btn-light { background: white; color: var(--navy); }
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 34px;
  font-size: 14px;
  color: rgba(255,255,255,.92);
  list-style: none;
  padding: 0;
}
.hero-points li {
  padding: 20px 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
}
.hero-highlight {
  display: grid;
  align-self: start;
}
.hero-highlights {
  display: grid;
  gap: 18px;
  padding: 36px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  backdrop-filter: blur(14px);
}
.hero-highlights article {
  display: grid;
  gap: 8px;
  padding: 20px 18px;
  background: rgba(255,255,255,.12);
  border-radius: 18px;
}
.hero-highlights strong {
  font-size: 20px;
  line-height: 1.15;
  color: white;
}
.hero-highlights span {
  font-size: 15px;
  color: rgba(255,255,255,.86);
  line-height: 1.65;
}

.intro-grid, .contact-grid, .cta-grid, .sectors-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
h2 {
  margin: 0; font-family: Montserrat, sans-serif; color: var(--navy);
  font-size: clamp(34px, 4vw, 54px); line-height: 1.12; letter-spacing: -.03em;
}
.section-kicker.light {
  color: rgba(255,255,255,.72);
}
.section-intro {
  margin-top: 18px;
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}
.section {
  scroll-margin-top: 120px;
}
.intro p, .contact p { color: var(--muted); font-size: 18px; }

.services { background: #f7f9fb; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.service-list {
  margin: 30px 0 0;
  padding-left: 22px;
  color: var(--muted);
  display: grid;
  gap: 10px;
  font-size: 17px;
}
.service-list li {
  list-style: disc;
  margin-left: 14px;
}
.cards { display: grid; grid-template-columns: repeat(3, minmax(220px, 1fr)); gap: 22px; }
.card {
  background: white; padding: 34px 32px;
  border: 1px solid #e5ecf3;
  min-height: 280px;
  border-radius: 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.icon { font-size: 34px; color: var(--blue); margin-bottom: 20px; }
.card h3, .process h3 { margin: 0 0 14px; color: var(--navy); font-size: 21px; }
.card p, .process p { color: var(--muted); margin: 0; line-height: 1.75; }

.sectors { background: var(--navy); color: white; }
.sectors h2 { color: white; }
.sectors-copy p { color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.8; }
.sector-list { border-top: 1px solid rgba(255,255,255,.16); }
.sector-list article {
  display: grid; grid-template-columns: 60px 1fr;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
  gap: 14px;
}
.sector-list strong {
  color: #7fb0cf;
  font-size: 18px;
  font-family: Montserrat, sans-serif;
}
.sector-list span { font-size: 18px; line-height: 1.55; }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.process-grid article {
  background: white;
  color: var(--navy);
  border-radius: 24px;
  padding: 34px 28px;
  min-height: 250px;
  border-top: 4px solid var(--light-blue);
  box-shadow: 0 18px 40px rgba(16,36,58,.08);
}
.process-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(47,111,159,.08);
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 22px;
}

.cta-band { background: var(--blue); padding: 68px 0; }
.cta-band h2 { color: white; max-width: 760px; }

.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  background: white; padding: 34px;
  border: 1px solid #e5ecf3;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(16,36,58,.06);
}
.contact-form label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; border: 1px solid var(--line); background: white; padding: 16px;
  font: inherit; color: var(--ink);
  border-radius: 14px;
}
.contact-form select { appearance: none; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.full { grid-column: 1 / -1; }
.form-status { margin: 0; font-size: 14px; color: var(--blue); }
.contact-note { margin-top: 32px; display: grid; gap: 6px; }
.contact-note strong { font-size: 14px; color: var(--navy); }
.contact-note span { color: var(--muted); font-size: 15px; }

footer { background: #091b2d; color: rgba(255,255,255,.75); padding: 46px 0; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-grid div { min-width: 0; }
.footer-grid span { display: block; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.7; }
footer strong { color: white; font-size: 18px; letter-spacing: .04em; }
footer p { margin: 10px 0 0; max-width: 360px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100px; left: 0; right: 0;
    background: white; padding: 22px; flex-direction: column; align-items: stretch;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; z-index: 60; }
  .nav a { padding: 12px 0; }
  .hero { min-height: 680px; }
  .hero-content { grid-template-columns: 1fr; gap: 28px; }
  .hero-highlights { padding: 26px; }
  .hero-points { grid-template-columns: 1fr; }
  .intro-grid, .contact-grid, .cta-grid, .sectors-grid { grid-template-columns: 1fr; gap: 38px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer-grid span { margin-top: 8px; }
}

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

  .section {
    padding: 58px 0;
  }

  .hero {
    min-height: 640px;
    padding-top: 74px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 16px;
  }

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

  .btn {
    width: 100%;
  }

  .cards,
  .process-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .full {
    grid-column: auto;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 9999;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .site-header {
    background: rgba(255,255,255,.98);
  }
  .header-inner {
    height: 78px;
    gap: 18px;
    align-items: center;
  }
  .brand {
    gap: 12px;
  }
  .brand-mark {
    min-width: 46px;
    height: 46px;
    padding: 0 10px;
    font-size: 16px;
  }
  .brand-name {
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .brand-tagline {
    display: none;
  }
  .menu-toggle {
    font-size: 24px;
  }
  .nav {
    padding: 14px 16px;
    top: 78px;
  }
  .nav a {
    padding: 10px 0;
  }
  .nav-cta {
    padding: 11px 18px;
  }
  .hero {
    min-height: 520px;
    padding-top: 64px;
    padding-bottom: 30px;
  }
  .hero-content {
    padding-top: 0;
  }
  .hero h1 {
    font-size: 31px;
  }
  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 20px;
}
.hero-content{
    padding-top:380px !important;
    
.hero-copy{
    max-width:100%;
}

.hero h1{
    font-size:27px !important;
    line-height:1.05;
}

.whatsapp-float{
    width:46px;
    height:46px;
    right:10px;
    bottom:10px;
}
}

.hero-copy{
    max-width:100%;
}

.hero h1{
    font-size:27px !important;
    line-height:1.05;
}

.whatsapp-float{
    width:46px;
    height:46px;
    right:10px;
    bottom:10px;

}

/* ===== HOME MÓVIL DEFINITIVO ===== */
.hero-picture {
  position: absolute;
  inset: 0;
}
.hero-picture .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .header-inner {
    height: 84px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    gap: 12px;
  }

  .brand-mark {
    min-width: 54px;
    width: 54px;
    height: 54px;
    padding: 0 8px;
    font-size: 15px;
    line-height: 1;
    text-align: center;
  }

  .brand-details {
    min-width: 0;
  }

  .brand-prefix,
  .brand-tagline {
    display: none;
  }

  .brand-name {
    display: block;
    overflow: visible;
    font-size: 16px;
    line-height: 1.22;
    letter-spacing: 0;
    max-width: 210px;
  }

  .menu-toggle {
    display: block;
    font-size: 25px;
    line-height: 1;
    padding: 8px;
  }

  .nav {
    top: 84px;
  }

  .hero {
    min-height: 720px;
    padding-top: 84px;
    padding-bottom: 24px;
    align-items: end;
  }

  .hero-picture .hero-bg {
    object-position: center top;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(5, 23, 39, .03) 0%,
        rgba(5, 23, 39, .18) 24%,
        rgba(5, 23, 39, .82) 58%,
        rgba(5, 23, 39, .97) 100%);
  }

  .hero-content {
    display: block;
    width: 100%;
    padding: 185px 0 0;
  }

  .hero-copy {
    max-width: none;
  }

  .eyebrow,
  .hero-note,
  .hero-points,
  .hero-highlight,
  .hero-actions .btn-secondary {
    display: none;
  }

  .hero h1 {
    max-width: 340px;
    font-size: clamp(31px, 9.2vw, 39px);
    line-height: 1.03;
    letter-spacing: -.035em;
  }

  .hero p {
    max-width: 350px;
    margin: 20px 0 20px;
    font-size: 15px;
    line-height: 1.62;
  }

  .hero-actions {
    display: block;
    margin-top: 14px;
  }

  .hero-actions .btn-primary {
    width: 100%;
    min-height: 54px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 18px;
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }
}
