:root {
  --red: #b90f18;
  --red-2: #e20f1b;
  --dark: #111217;
  --gray: #5d626c;
  --line: #e9e9ec;
  --soft: #f7f7f9;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(12, 14, 20, .14);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 86px 0; }
.skip-link {
  position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { left: 16px; top: 16px; width: auto; height: auto; z-index: 999; background: var(--dark); color: #fff; padding: 10px 14px; border-radius: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.nav-wrap {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 54px; height: auto; }
.brand-text { display: grid; line-height: 1; letter-spacing: .03em; }
.brand-text strong { font-size: 1.04rem; font-weight: 900; }
.brand-text small { color: var(--gray); font-size: .72rem; font-weight: 800; letter-spacing: .18em; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 28px; font-weight: 800; font-size: .88rem; }
.site-nav a { position: relative; color: #20232a; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -9px; width: 0; height: 3px; background: var(--red); border-radius: 999px; transition: width .2s ease;
}
.site-nav a:hover::after { width: 100%; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--soft); padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--dark); margin: 5px 0; border-radius: 99px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
  font-size: .94rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--red), var(--red-2)); color: var(--white); box-shadow: 0 14px 28px rgba(185,15,24,.24); }
.btn-outline { border-color: rgba(185,15,24,.45); color: var(--red); background: var(--white); }
.btn-ghost { border-color: rgba(0,0,0,.11); color: var(--dark); background: rgba(255,255,255,.65); }
.btn-white { color: var(--red); background: var(--white); box-shadow: 0 16px 34px rgba(0,0,0,.18); }
.btn-block { width: 100%; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 85% 10%, rgba(226,15,27,.16), transparent 28%),
    linear-gradient(135deg, #fff 0%, #fff 40%, #f5f5f7 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -26% auto;
  width: 48vw;
  height: 48vw;
  background: linear-gradient(135deg, rgba(185,15,24,.94), rgba(226,15,27,.74));
  transform: rotate(32deg);
  border-radius: 44px;
  opacity: .92;
}
.hero-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 48px; }
.eyebrow { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 950; color: var(--red); }
.eyebrow.light { color: rgba(255,255,255,.78); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.45rem, 6vw, 5.4rem); line-height: .96; letter-spacing: -.055em; margin-bottom: 22px; }
h1 span, .about-copy h3 { color: var(--red); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: #373b45; max-width: 630px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--line);
  max-width: 640px;
}
.trust-strip div { background: rgba(255,255,255,.88); padding: 16px; }
.trust-strip strong { display: block; font-size: .9rem; }
.trust-strip span { display: block; color: var(--gray); font-size: .82rem; }
.hero-media {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(.7deg);
  border: 8px solid rgba(255,255,255,.88);
  background: #fff;
}
.hero-media img { aspect-ratio: 4/3; object-fit: cover; }

.section-title { max-width: 780px; margin: 0 auto 42px; text-align: center; }
.section-title h2, .about-copy h2, .contact-copy h2, .alliance-copy h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  margin-bottom: 16px;
}
.section-title p { color: var(--gray); font-size: 1.05rem; }
.cards-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(17,18,23,.05);
  min-height: 260px;
}
.service-card .icon {
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 18px;
  display: grid; place-items: center; background: rgba(185,15,24,.08); color: var(--red); font-size: 2rem; font-weight: 900;
}
.service-card h3 { font-size: 1.05rem; line-height: 1.15; margin-bottom: 12px; }
.service-card p { color: var(--gray); font-size: .92rem; margin: 0; }

.alliances {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(58,0,4,.94) 0%, rgba(185,15,24,.92) 44%, rgba(31,31,38,.84) 100%),
    radial-gradient(circle at 86% 24%, rgba(255,255,255,.22), transparent 24%),
    #8c080f;
}
.alliances::after {
  content: ""; position: absolute; right: -16%; top: -18%; width: 54vw; height: 54vw; border: 1px solid rgba(255,255,255,.18); border-radius: 50%;
}
.alliance-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .85fr; gap: 42px; align-items: center; }
.alliance-copy p { color: rgba(255,255,255,.84); font-size: 1.05rem; }
.alliance-box { border: 1px solid rgba(255,255,255,.28); border-radius: 18px; padding: 24px; margin: 26px 0; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.alliance-box h3 { margin-bottom: 8px; }
.alliance-box p { margin: 0; }
.alliance-panel { min-height: 380px; position: relative; }
.panel-card {
  position: absolute;
  right: 0;
  width: min(420px, 90%);
  border-radius: 22px;
  padding: 28px;
  background: rgba(255,255,255,.94);
  color: var(--dark);
  font-weight: 950;
  letter-spacing: -.02em;
  box-shadow: 0 22px 60px rgba(0,0,0,.24);
  border-left: 7px solid var(--red);
}
.top-card { top: 12px; }
.middle-card { top: 144px; right: 64px; }
.bottom-card { top: 276px; right: 26px; }

.about { background: linear-gradient(180deg, #fff 0%, #fafafa 100%); }
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 54px; align-items: center; }
.about-photo { width: 100%; max-width: 320px; aspect-ratio: 1/1; justify-self: center; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: #fff; position: relative; }
.about-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 26%; background: linear-gradient(0deg, rgba(185,15,24,.14), transparent); }
.about-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.about-copy h2 { margin-bottom: 4px; }
.about-copy h3 { margin-bottom: 20px; font-size: 1.22rem; }
.about-copy p { color: #393d47; font-size: 1.05rem; }
.about-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0; }
.about-points div { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--white); }
.about-points strong { display: block; margin-bottom: 6px; }
.about-points span { color: var(--gray); font-size: .88rem; }

.contact {
  background:
    linear-gradient(135deg, rgba(17,18,23,.92), rgba(185,15,24,.88)),
    #111217;
  color: var(--white);
}
.contact-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 48px; align-items: start; }
.contact-copy p { color: rgba(255,255,255,.78); font-size: 1.06rem; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: 14px; }
.contact-list span, .contact-list a { color: rgba(255,255,255,.76); }
.contact-form {
  background: var(--white);
  color: var(--dark);
  padding: 28px;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}
.contact-form label { display: block; margin-bottom: 8px; font-weight: 900; font-size: .9rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; border: 1px solid #dfe1e6; background: #fbfbfc; border-radius: 14px; padding: 14px 14px; margin-bottom: 16px; font: inherit; color: var(--dark); outline: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(185,15,24,.1); }
.form-note { color: var(--gray); font-size: .86rem; margin: 12px 0 0; text-align: center; }

.site-footer { padding: 24px 0; background: #0e0f13; color: rgba(255,255,255,.72); }
.footer-wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; font-size: .92rem; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: rgba(255,255,255,.6); }
.site-footer a:hover { color: #fff; }
.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 134px;
  height: 52px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 950;
  box-shadow: 0 16px 36px rgba(0,0,0,.2);
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@media (max-width: 1040px) {
  .header-cta { display: none; }
  .site-nav { gap: 18px; }
  .hero-grid, .about-grid, .contact-grid, .alliance-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-media { max-width: 780px; margin: 0 auto; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .alliance-panel { min-height: 300px; }
  .middle-card { top: 108px; }
  .bottom-card { top: 204px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section-pad { padding: 64px 0; }
  .nav-wrap { height: 70px; }
  .brand img { width: 46px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 82px;
    display: grid;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 10px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
  }
  body.nav-open .site-nav { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-nav a { padding: 14px; border-radius: 12px; }
  .site-nav a:hover { background: var(--soft); }
  .site-nav a::after { display: none; }
  h1 { font-size: clamp(2.5rem, 12vw, 4.2rem); }
  .hero-grid { gap: 28px; }
  .hero-actions { display: grid; }
  .trust-strip { grid-template-columns: 1fr; }
  .hero-media { border-width: 5px; border-radius: 22px; transform: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .about-photo { max-width: 280px; margin: 0 auto; }
  .about-points { grid-template-columns: 1fr; }
  .alliances { padding: 66px 0; }
  .alliance-panel { display: none; }
  .contact-form { padding: 22px; }
  .floating-whatsapp { right: 14px; bottom: 14px; min-width: 116px; height: 48px; font-size: .88rem; }
}
