:root {
  --bg: #f4f7fb;
  --white: #ffffff;
  --text: #18233b;
  --muted: #667085;
  --primary: #1f78d1;
  --primary-dark: #103d78;
  --line: rgba(16, 61, 120, 0.12);
  --shadow: 0 20px 50px rgba(12, 32, 66, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--white);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: var(--primary-dark);
  color: #fff;
  font-size: 14px;
}

.topbar-inner,
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav nav {
  justify-self: start;
}

.brand {
  justify-self: center;
}

.btn-outline {
  justify-self: end;
}

.topbar-inner { min-height: 48px; }
.topbar-left, .topbar-right { display: flex; gap: 12px; align-items: center; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav { min-height: 88px; }
.brand img {
  width: 320px;
  max-height: 90px;
  object-fit: contain;
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 600;
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: .25s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-secondary {
  background: #e9f3ff;
  color: var(--primary-dark);
}
.btn-outline {
  border: 1px solid var(--line);
}

.btn-outline {
  padding: 8px 14px;
  font-size: 13px;
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(31, 120, 209, 0.16), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  padding: 84px 0 64px;
}

.hero-grid,
.contact-grid,
.finance-box {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  margin: 0 0 12px;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.hero-text,
.section-head p,
.highlight-card p,
.service-card p,
.contact p,
.finance p,
.trust-box p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badges span,
.contact-note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.hero-card-box,
.service-card,
.highlight-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card-box {
  padding: 30px;
}

.hero-card-box ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.services,
.highlights,
.contact {
  padding: 82px 0;
}

.section-head { max-width: 760px; margin-bottom: 36px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.service-grid,
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card,
.highlight-card {
  padding: 26px;
}

.service-card h3,
.highlight-card h3 { margin-bottom: 10px; }

.highlights { background: var(--bg); }

.trust-box {
  margin-top: 28px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.trust-box p { color: rgba(255,255,255,0.88); }
.trust-box .btn-primary { background: #fff; color: var(--primary-dark); }

.finance {
  padding: 32px 0 0;
}

.finance-box {
  background: linear-gradient(180deg, #f1f8ff, #ffffff);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
}

.contact-card {
  padding: 30px;
  display: grid;
  gap: 14px;
}

.contact-card a {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-dark);
}

  background: #0d1f3a;
  color: #fff;
  padding: 28px 0;
}


@media (max-width: 1024px) {
  .menu { display: none; }
  .hero-grid,
  .contact-grid,
  .finance-box,
  .service-grid,
  .highlight-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .topbar-inner,
  .trust-box,
  .hero-grid,
  .contact-grid,
  .finance-box,
  .service-grid,
  .highlight-grid {
    grid-template-columns: 1fr;
    display: grid;
  
.nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.brand {
  display: flex;
  justify-content: center;
  width: 100%;
}

.brand img {
  margin: 0 auto;
  display: block;
}
  .nav { padding: 14px 0; }
  .brand img { width: 210px; }
  .btn-outline { width: 100%; }
  .hero { padding-top: 54px; }
  .services, .highlights, .contact { padding: 64px 0; }
  .topbar-left, .topbar-right { justify-content: center; flex-wrap: wrap; }
  .contact-card a { font-size: 24px; }
  .contact-card a { font-size: 24px; }
.footer {
  background: linear-gradient(180deg, #2c2a2d, #1f1d20);
  color: #ffffff;
  padding: 70px 0 40px;
  margin-top: 40px;
}


.footer-pro {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.footer-block h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.9);
}

.footer-copy {
  font-size: 15px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.95);
}

.footer-contact {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.95);
}

.footer-small {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 420px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-support p {
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 280px;
}

.footer-btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  background: #ffffff;
  color: #1f1d20;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
}

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

@media (max-width: 900px) {
  .footer-pro {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
}
.hero-phones {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-phones .btn {
  font-size: 14px;
  padding: 10px 16px;
}

.header {
  background: rgba(255,255,255,0.96);
}

.nav {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}

.brand img {
  display: block;
  margin: 0;
}

/* FIX MÓVIL */
@media (max-width: 720px) {

  .nav {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px;
  }

  .brand img {
    margin: 0 auto !important;
    width: 220px !important;
  }

  .menu {
    display: none !important;
  }

  .btn-outline {
    width: 100%;
    text-align: center;
  }

}

/* FIX FOOTER */
.footer {
  background: linear-gradient(180deg, #0f2a44, #081c2e) !important;
  color: white;
}.footer {
  background: linear-gradient(180deg, #102846, #081c2f) !important;
  color: #ffffff !important;
  padding: 70px 0 40px !important;
  margin-top: 40px !important;
}

.footer-pro {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr 1fr !important;
  gap: 40px !important;
  align-items: start !important;
}

.footer-col {
  color: #ffffff;
}

.footer-copy {
  font-size: 14px;
  margin: 0 0 16px;
  color: rgba(255,255,255,0.9);
}

.footer-mini {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
  color: rgba(255,255,255,0.72);
  max-width: 340px;
}

.footer-center {
  text-align: center;
}

.footer-contact-line {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
}

.footer-contact-line a {
  color: #ffffff;
  text-decoration: none;
}

.footer-right h4 {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.9);
}

.footer-help {
  margin: 0 0 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
}

.footer-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: #ffffff;
  color: #0f2440;
  text-decoration: none;
  font-weight: 700;
}

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

@media (max-width: 720px) {
  .footer-pro {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: left !important;
  }

  .footer-center {
    text-align: left;
  }

  .footer-btn {
    width: 100%;
    text-align: center;
  }
}

.work-gallery {
  padding: 90px 0;
}

.work-gallery .section-head {
  margin-bottom: 34px;
}

.work-gallery .section-head p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.work-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 10px;
}

.work-gallery-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  border: 1px solid var(--line);
  box-shadow: 0 14px 35px rgba(15, 34, 64, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.work-gallery-grid img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 45px rgba(15, 34, 64, 0.14);
}

@media (max-width: 1024px) {
  .work-gallery-grid img {
    height: 280px;
  }
}

@media (max-width: 720px) {
  .work-gallery {
    padding: 70px 0;
  }

  .work-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .work-gallery-grid img {
    height: 240px;
    border-radius: 16px;
  }
}