:root {
  --primary: #0d5cae;
  --secondary: #5e5e5e;
  --accent: #ee1b17;
  --text: #1c1c1c;
  --muted: #6f7782;
  --bg: #f5f7fb;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
}

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

a { color: inherit; }

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

.narrow {
  width: min(780px, 100%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { flex: 0 0 auto; }

.logo {
  height: 56px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}

.site-nav a:hover::after { width: 100%; }

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.socials a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 999px;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}

.socials a:hover {
  transform: translateY(-2px);
  color: var(--accent);
  border-color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
  box-shadow: 0 12px 24px rgba(238, 27, 23, 0.22);
}

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

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0,0,0,0.12);
  background: var(--white);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.82) 35%, rgba(255,255,255,0.55) 100%),
    url('../assets/images/fondo.png') center right / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(13,92,174,0.08), transparent 30%),
    radial-gradient(circle at 82% 70%, rgba(238,27,23,0.08), transparent 20%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  padding: 90px 0 80px;
  max-width: 760px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 10ch;
}

.hero-text,
.lead,
.cta-band p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-text {
  max-width: 640px;
  margin: 24px 0 0;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.section {
  padding: 92px 0;
}

.section h2,
.cta-band h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-soft {
  background: var(--bg);
}

.services-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 92, 174, 0.08);
  color: var(--primary);
  border-radius: 16px;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.highlights-box {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  background: linear-gradient(135deg, #0d5cae, #08427d);
  color: var(--white);
  border-radius: 28px;
  padding: 38px;
  box-shadow: var(--shadow);
}

.highlights-box .section-label,
.section-label.light {
  color: rgba(255,255,255,0.8);
}

.highlights-box h2,
.highlights-box p {
  color: var(--white);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  align-content: center;
}

.check-grid div {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 700;
}

.check-grid i {
  margin-right: 8px;
  color: #fff;
}

.cta-band {
  background: #10141b;
  color: var(--white);
  padding: 74px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-band p {
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: 0;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.contact-list {
  margin-top: 24px;
}

.contact-list p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-list i {
  width: 22px;
  color: var(--accent);
}

.contact-form {
  background: var(--white);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
}

.contact-form span {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 92, 174, 0.08);
}

.site-footer {
  background: #0e1117;
  color: rgba(255,255,255,0.85);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-socials a {
  border-color: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.85);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.75rem;
  box-shadow: 0 18px 35px rgba(37, 211, 102, 0.28);
  z-index: 1001;
  transition: transform .2s ease;
}

.whatsapp-float:hover { transform: translateY(-2px); }

@media (max-width: 1024px) {
  .site-nav { gap: 18px; font-size: 0.88rem; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlights-box,
  .contact-wrap,
  .cta-band-inner { grid-template-columns: 1fr; display: grid; }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 20px;
    right: 20px;
    background: var(--white);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .site-nav.is-open { display: flex; }
  .header-right .socials,
  .header-right .btn-small { display: none; }
  .hero { background-position: 72% center; }
  .hero-content { padding: 70px 0; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1180px); }
  .nav { min-height: 78px; }
  .logo { height: 46px; }
  .section { padding: 72px 0; }
  .services-grid,
  .check-grid { grid-template-columns: 1fr; }
  .card,
  .contact-form,
  .highlights-box { padding: 22px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .whatsapp-float { width: 54px; height: 54px; font-size: 1.6rem; }
}


.form-status {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
  display: none;
}

.form-status.success,
.form-status.error {
  display: block;
}

.form-status.success {
  background: rgba(37, 211, 102, 0.12);
  color: #178144;
  border: 1px solid rgba(37, 211, 102, 0.28);
}

.form-status.error {
  background: rgba(238, 27, 23, 0.10);
  color: #b21814;
  border: 1px solid rgba(238, 27, 23, 0.22);
}
