:root {
  --bg: #0a0d12;
  --bg-soft: #111827;
  --panel: #151a22;
  --panel-2: #1d2430;
  --text: #111827;
  --muted: #667085;
  --line: #e5e7eb;
  --white: #ffffff;
  --red: #d71920;
  --red-dark: #a90f14;
  --orange: #ff6b1a;
  --orange-soft: #ff8a3d;
  --cream: #f7f5f2;
  --green: #25d366;
  --shadow: 0 20px 50px rgba(11, 17, 28, .12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(5, 7, 11, .88) 0%, rgba(10, 13, 18, .72) 100%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease, border-color .25s ease;
}

.site-header.scrolled {
  background: linear-gradient(180deg, rgba(5, 7, 11, .96) 0%, rgba(10, 13, 18, .88) 100%);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 107, 26, .18);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .26);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background:
    #000000;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}


.brand-logo {
  display: block;
  width: auto;
  height: 58px;
  max-width: 124px;
  object-fit: contain;
}

.footer-logo {
  width: auto;
  height: 112px;
  max-width: 160px;
}

.brand-mark,
.brand-copy {
  display: none;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 48px;
  display: grid;
  place-items: center;
}

.brand-number {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 43px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -5px;
  color: var(--white);
  position: relative;
  z-index: 2;
}

.brand-flame {
  position: absolute;
  right: -2px;
  top: 5px;
  width: 20px;
  height: 30px;
  background: linear-gradient(180deg, var(--orange) 0%, var(--red) 100%);
  border-radius: 80% 10% 70% 45%;
  transform: rotate(25deg);
  opacity: .96;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: .98rem;
  letter-spacing: .06em;
}

.brand-copy span {
  color: #b6bdc8;
  font-size: .7rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  color: #f8fafc;
  font-size: .92rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}

.main-nav > a:not(.btn) {
  position: relative;
  padding: 10px 12px;
  border-radius: 10px;
  color: #f3f4f6;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.main-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  width: auto;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--red), var(--orange));
  transition: transform .2s ease;
}

.main-nav > a:not(.btn):hover {
  color: #ffd4bd;
  background: rgba(255, 107, 26, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 26, .12);
}

.main-nav > a:not(.btn):hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,107,26,.08));
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.nav-toggle span {
  height: 2px;
  background: #ffffff;
  display: block;
  margin: 5px 0;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red) 0%, var(--orange) 115%);
  box-shadow: 0 12px 30px rgba(215, 25, 32, .28);
}

.btn-primary:hover {
  box-shadow: 0 16px 36px rgba(215, 25, 32, .34);
}

.main-nav .btn-primary {
  box-shadow: 0 10px 24px rgba(215, 25, 32, .24);
}

.main-nav .btn-primary:hover {
  box-shadow: 0 14px 30px rgba(215, 25, 32, .3);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: .86rem;
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.055);
}

.btn-light {
  color: var(--text);
  background: var(--white);
}

.btn-full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 78% 32%, rgba(215, 25, 32, .22), transparent 31%),
    radial-gradient(circle at 25% 74%, rgba(255, 107, 26, .08), transparent 34%),
    linear-gradient(135deg, #080b10 0%, #10141c 56%, #090c11 100%);
  color: var(--white);
  overflow: hidden;
  padding: 102px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
  right: 5%;
  top: 16%;
  box-shadow:
    0 0 0 70px rgba(255,255,255,.018),
    0 0 0 140px rgba(255,255,255,.014);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 78%, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  gap: 78px;
  align-items: center;
}


.hero h1,
.section h2 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 24px;
  font-size: clamp(2.85rem, 6vw, 5.4rem);
  line-height: .99;
  letter-spacing: -.05em;
}

.hero-lead {
  max-width: 720px;
  margin: 0;
  color: #c9ced7;
  font-size: 1.08rem;
  line-height: 1.75;
}

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

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.hero-trust div {
  padding: 16px 16px 0 0;
  border-top: 1px solid rgba(255,255,255,.13);
}

.hero-trust strong {
  display: block;
  margin-bottom: 6px;
  font-size: .88rem;
}

.hero-trust span {
  color: #939ba7;
  font-size: .76rem;
  line-height: 1.55;
}

.hero-panel {
  position: relative;
  min-height: 515px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
    rgba(13, 18, 25, .6);
  box-shadow: 0 35px 80px rgba(0,0,0,.34);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -20% -32% auto;
  width: 370px;
  height: 370px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,25,32,.35), rgba(215,25,32,0));
}

.hero-panel-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 22px 24px;
  color: #d8dde5;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #37d67a;
  box-shadow: 0 0 0 6px rgba(55,214,122,.08);
}

.extinguisher-visual {
  position: relative;
  width: 220px;
  height: 310px;
  margin: 24px auto 0;
}

.ext-body {
  position: absolute;
  width: 118px;
  height: 220px;
  left: 50px;
  bottom: 18px;
  border-radius: 50px 50px 25px 25px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.22), transparent 24%, transparent 72%, rgba(0,0,0,.15)),
    linear-gradient(180deg, #eb2a2f 0%, #bd1117 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.15),
    0 25px 45px rgba(0,0,0,.35);
}

.ext-body::before {
  content: "";
  position: absolute;
  width: 75px;
  height: 75px;
  left: 21px;
  top: 67px;
  border-radius: 50%;
  background: #f8fafc;
  opacity: .96;
}

.ext-label {
  position: absolute;
  z-index: 2;
  left: 40px;
  top: 85px;
  color: var(--red);
  font-weight: 800;
  font-size: 1rem;
}

.ext-label-small {
  position: absolute;
  z-index: 2;
  left: 39px;
  top: 105px;
  color: #454b55;
  font-weight: 700;
  font-size: .55rem;
  letter-spacing: .11em;
}

.ext-base {
  position: absolute;
  width: 136px;
  height: 20px;
  left: 41px;
  bottom: 9px;
  border-radius: 50%;
  background: #16191f;
  box-shadow: 0 10px 25px rgba(0,0,0,.42);
}

.ext-handle {
  position: absolute;
  width: 90px;
  height: 23px;
  left: 66px;
  top: 41px;
  border-radius: 7px 24px 8px 7px;
  background: #171a20;
  transform: rotate(-3deg);
}

.ext-handle::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 15px;
  width: 60px;
  height: 10px;
  border-radius: 0 0 12px 12px;
  border-bottom: 7px solid #21252c;
  transform: rotate(8deg);
}

.ext-pin {
  position: absolute;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  border: 3px solid #bcc2ca;
  left: 59px;
  top: 47px;
}

.ext-hose {
  position: absolute;
  width: 72px;
  height: 156px;
  left: 125px;
  top: 62px;
  border: 10px solid #16191f;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 0 60px 0 0;
  transform: rotate(12deg);
}

.ext-hose::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -10px;
  width: 28px;
  height: 50px;
  border-radius: 8px;
  background: #16191f;
  transform: rotate(-16deg);
}

.hero-panel-card {
  position: absolute;
  z-index: 3;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 15px;
  background: rgba(6,9,13,.58);
  backdrop-filter: blur(12px);
}

.hero-panel-card span {
  display: block;
  color: #9da4af;
  font-size: .72rem;
  margin-bottom: 5px;
}

.hero-panel-card strong {
  font-size: .88rem;
  line-height: 1.5;
}

.trust-strip {
  background: var(--red);
  color: var(--white);
}

.trust-strip-inner {
  min-height: 68px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 800;
}

.trust-strip-inner i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
}

.section {
  padding: 110px 0;
}

.section-light {
  background: var(--cream);
}

.section-white {
  background: var(--white);
}

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

.two-column {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 92px;
  align-items: center;
}

.section h2 {
  margin: 18px 0 24px;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.section-copy p {
  color: #565e6b;
  font-size: 1rem;
  line-height: 1.78;
}

.signature-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: var(--red);
  font-size: .9rem;
}

.signature-line span {
  width: 54px;
  height: 2px;
  background: var(--red);
}

.values-card {
  position: relative;
  padding: 42px;
  border: 1px solid #dedede;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.values-card::after {
  content: "7";
  position: absolute;
  right: -13px;
  bottom: -60px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 250px;
  font-weight: 800;
  color: #f3f4f6;
  line-height: 1;
}

.values-card > * {
  position: relative;
  z-index: 2;
}

.values-badge {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: white;
  font-weight: 800;
  letter-spacing: .03em;
}

.values-card h3 {
  margin: 25px 0 13px;
  font-size: 1.6rem;
}

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

.check-list {
  list-style: none;
  padding: 0;
  margin: 27px 0 0;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  color: #384152;
  border-bottom: 1px solid #edf0f3;
  font-size: .91rem;
}

.check-list span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff0eb;
  color: var(--red);
  font-weight: 800;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading p {
  color: #9ca3af;
  line-height: 1.72;
  margin: 0 0 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 370px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: #171e28;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255,107,26,.45);
  background: #1b2430;
}

.service-card.featured {
  background: linear-gradient(160deg, #2a1518 0%, #1d2027 56%, #161b23 100%);
  border-color: rgba(215,25,32,.35);
}

.service-number {
  position: absolute;
  right: 24px;
  top: 22px;
  font-size: .72rem;
  color: #6f7784;
  font-weight: 800;
}

.service-icon {
  width: 54px;
  height: 54px;
  margin: 18px 0 42px;
  border-radius: 16px;
  background: rgba(215,25,32,.12);
  position: relative;
}

.fire-icon::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 28px;
  left: 18px;
  top: 13px;
  background: linear-gradient(180deg, var(--orange), var(--red));
  border-radius: 80% 10% 70% 45%;
  transform: rotate(25deg);
}

.wrench-icon::before {
  content: "";
  position: absolute;
  width: 26px;
  height: 7px;
  background: var(--orange);
  left: 14px;
  top: 24px;
  border-radius: 5px;
  transform: rotate(-42deg);
}

.wrench-icon::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 4px solid var(--orange);
  border-right-color: transparent;
  border-bottom-color: transparent;
  left: 9px;
  top: 8px;
  border-radius: 50%;
  transform: rotate(-5deg);
}

.shield-icon::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 11px;
  width: 24px;
  height: 29px;
  border: 3px solid var(--orange);
  border-radius: 14px 14px 18px 18px;
  clip-path: polygon(0 0,100% 0,95% 68%,50% 100%,5% 68%);
}

.clipboard-icon::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 13px;
  width: 24px;
  height: 29px;
  border: 3px solid var(--orange);
  border-radius: 4px;
}

.clipboard-icon::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 8px;
  width: 12px;
  height: 7px;
  border-radius: 5px 5px 2px 2px;
  background: var(--orange);
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 1.18rem;
}

.service-card p {
  margin: 0;
  color: #9ca3af;
  font-size: .9rem;
  line-height: 1.72;
}

.service-card a {
  margin-top: auto;
  padding-top: 24px;
  color: #f8fafc;
  font-size: .84rem;
  font-weight: 700;
}

.service-card a span {
  margin-left: 5px;
  color: var(--orange);
}

.commitment-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 95px;
  align-items: start;
}

.commitment-title h2 {
  max-width: 570px;
}

.commitment-list {
  border-top: 1px solid var(--line);
}

.commitment-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.commitment-item > span {
  color: var(--red);
  font-weight: 800;
  font-size: .74rem;
  padding-top: 3px;
}

.commitment-item h3 {
  margin: 0 0 7px;
  font-size: 1rem;
}

.commitment-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: .88rem;
}

.cta-banner {
  margin-top: 88px;
  padding: 40px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  color: var(--white);
  border-radius: 22px;
  background:
    radial-gradient(circle at 75% 45%, rgba(255,255,255,.13), transparent 24%),
    linear-gradient(120deg, #b60e15 0%, var(--red) 52%, #ee5120 115%);
  box-shadow: 0 24px 55px rgba(215,25,32,.23);
}

.cta-banner span {
  display: block;
  margin-bottom: 8px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 700;
  opacity: .82;
}

.cta-banner h3 {
  max-width: 650px;
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.35;
}

.section-contact {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 20%, rgba(215,25,32,.2), transparent 28%),
    linear-gradient(140deg, #090c11, #111722 68%, #0c1016);
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 85px;
  align-items: start;
}

.contact-copy p {
  max-width: 560px;
  color: #aab1bc;
  line-height: 1.75;
}

.contact-data {
  margin-top: 38px;
  border-top: 1px solid rgba(255,255,255,.11);
}

.contact-data a,
.contact-data div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.11);
}

.contact-data span {
  color: #7f8793;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-data strong {
  font-size: .92rem;
}

.contact-form {
  padding: 34px;
  border-radius: 22px;
  background: #f8fafc;
  color: var(--text);
  box-shadow: 0 26px 70px rgba(0,0,0,.26);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
  color: #3e4653;
  font-size: .78rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #d9dde3;
  border-radius: 10px;
  background: white;
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
  padding: 0 13px;
}

.contact-form textarea {
  padding: 12px 13px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(215,25,32,.6);
  box-shadow: 0 0 0 4px rgba(215,25,32,.07);
}

.form-note {
  margin: 12px 0 0;
  color: #858d99;
  text-align: center;
  font-size: .7rem;
}

.site-footer {
  background: #07090d;
  color: var(--white);
}

.footer-main {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-links {
  display: flex;
  gap: 24px;
  color: #a7aeb8;
  font-size: .83rem;
}

.footer-bottom {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #656e7b;
  font-size: .72rem;
  border-top: 1px solid rgba(255,255,255,.07);
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 14px 30px rgba(0,0,0,.24);
  transition: transform .2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
}

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

@media (max-width: 1020px) {
  .main-nav {
    gap: 18px;
  }

  .hero-content {
    gap: 36px;
  }

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

  .hero-trust {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 82px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(8,11,16,.98), rgba(17,23,34,.98));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .35);
  }

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

  .main-nav > a {
    padding: 14px 12px;
  }

  .main-nav > a:not(.btn)::after {
    display: none;
  }

  .main-nav .btn {
    margin-top: 6px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content,
  .two-column,
  .section-heading,
  .commitment-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 55px;
  }

  .hero-panel {
    width: min(100%, 520px);
    margin: 0 auto;
  }

  .two-column,
  .commitment-grid,
  .contact-grid {
    gap: 52px;
  }

  .section-heading {
    gap: 18px;
  }

  .trust-strip-inner {
    flex-wrap: wrap;
    padding: 20px 0;
  }

  .cta-banner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .header-inner {
    min-height: 64px;
    margin-top: 6px;
    margin-bottom: 6px;
    padding: 6px 12px;
    border-radius: 16px;
  }

  .brand-copy strong {
    font-size: .88rem;
  }

  .brand-copy span {
    font-size: .62rem;
  }

  .main-nav {
    inset: 72px 12px auto 12px;
  }

  .hero {
    padding-top: 84px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-panel {
    min-height: 485px;
  }

  .section {
    padding: 78px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 315px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .values-card {
    padding: 31px 24px;
  }

  .cta-banner {
    padding: 31px 25px;
  }

  .trust-strip-inner {
    gap: 13px;
    justify-content: flex-start;
  }

  .trust-strip-inner i {
    display: none;
  }

  .trust-strip-inner span {
    width: 100%;
  }

  .footer-main,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 28px 0;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}


/* Misión y Visión */
.purpose-section {
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

.purpose-section::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -280px;
  top: -250px;
  border-radius: 50%;
  border: 1px solid rgba(215, 25, 32, .08);
  box-shadow: 0 0 0 90px rgba(215, 25, 32, .025), 0 0 0 180px rgba(255, 107, 26, .018);
}

.purpose-heading {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-bottom: 46px;
}

.purpose-heading h2 {
  margin-bottom: 0;
}

.purpose-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.purpose-card {
  position: relative;
  min-height: 420px;
  padding: 42px;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #f8fafc;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(17, 24, 39, .07);
}

.purpose-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 25, 32, .13), rgba(215, 25, 32, 0) 68%);
}

.vision-card::after {
  background: radial-gradient(circle, rgba(255, 107, 26, .16), rgba(255, 107, 26, 0) 68%);
}

.purpose-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e5e7eb;
}

.purpose-number {
  color: #8b94a3;
  font-size: .72rem;
  font-weight: 800;
}

.purpose-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .11em;
}

.purpose-card h3 {
  position: relative;
  z-index: 2;
  margin: 34px 0 18px;
  max-width: 500px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 1.65rem;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.purpose-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #5f6876;
  font-size: .96rem;
  line-height: 1.8;
}

@media (max-width: 860px) {
  .purpose-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .purpose-card {
    padding: 30px 24px;
  }

  .purpose-card h3 {
    font-size: 1.4rem;
  }
}


@media (max-width: 620px) {
  .brand-logo {
    width: auto;
    height: 50px;
    max-width: 105px;
  }

  .footer-logo {
    width: auto;
    height: 98px;
    max-width: 140px;
  }
}

/* Privacidad y tratamiento de datos */
.privacy-consent {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  margin: 4px 0 18px !important;
  padding: 13px 14px;
  border: 1px solid #e1e5ea;
  border-radius: 10px;
  background: #f4f6f8;
  font-weight: 500 !important;
  line-height: 1.55;
}

.privacy-consent input {
  width: 17px !important;
  height: 17px !important;
  min-height: 0 !important;
  margin: 2px 0 0 !important;
  accent-color: var(--red);
}

.privacy-consent a {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page {
  background: #f5f6f8;
  color: var(--text);
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 12, 18, .97);
  box-shadow: 0 8px 28px rgba(0,0,0,.16);
}

.legal-header .header-inner {
  min-height: 72px;
}

.legal-back-link {
  color: #e5e7eb;
  font-size: .86rem;
  font-weight: 700;
}

.legal-back-link:hover {
  color: #ffffff;
}

.legal-hero {
  padding: 46px 0 54px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 25%, rgba(215,25,32,.20), transparent 28%),
    linear-gradient(135deg, #080b10 0%, #111722 100%);
}

.legal-hero h1 {
  max-width: 900px;
  margin: 0 0 16px;
  font-size: clamp(2.15rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.legal-hero p {
  max-width: 800px;
  margin: 0;
  color: #b5bdc8;
  line-height: 1.7;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  color: #d7dce3;
  font-size: .8rem;
}

.legal-main {
  padding: 64px 0 88px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 46px;
  align-items: start;
}

.legal-content {
  padding: 40px;
  border: 1px solid #e1e5ea;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(17,24,39,.07);
}

.legal-content section + section {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid #e6e9ed;
}

.legal-content h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  letter-spacing: -.02em;
}

.legal-content p,
.legal-content li {
  color: #535d6b;
  line-height: 1.75;
  font-size: .94rem;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content a {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-notice {
  margin: 0 0 30px;
  padding: 18px 20px;
  border-left: 4px solid var(--orange);
  border-radius: 0 10px 10px 0;
  background: #fff7f1;
  color: #5a4639;
  line-height: 1.65;
  font-size: .9rem;
}

.legal-toc {
  position: sticky;
  top: 98px;
  padding: 24px;
  border: 1px solid #e1e5ea;
  border-radius: 16px;
  background: #ffffff;
}

.legal-toc strong {
  display: block;
  margin-bottom: 14px;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.legal-toc a {
  display: block;
  padding: 8px 0;
  color: #5e6875;
  font-size: .82rem;
}

.legal-toc a:hover {
  color: var(--red);
}

.footer-legal-note {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-legal-note a {
  color: #a7aeb8;
}

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

@media (max-width: 860px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    order: -1;
  }
}

@media (max-width: 620px) {
  .legal-header .header-inner {
    min-height: 64px;
    margin-top: 6px;
    margin-bottom: 6px;
    padding: 6px 12px;
    border-radius: 16px;
  }

  .legal-hero {
    padding: 34px 0 40px;
  }

  .legal-main {
    padding: 38px 0 64px;
  }

  .legal-content {
    padding: 26px 20px;
  }

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


/* Ajuste compacto de cabecera y contenido principal */
@media (max-width: 860px) and (min-width: 621px) {
  .hero {
    padding-top: 96px;
    padding-bottom: 64px;
  }
}


/* Logo corporativo dentro del hero */
.hero-logo-visual {
  position: relative;
  z-index: 2;
  width: min(82%, 320px);
  height: 320px;
  margin: 18px auto 0;
  display: grid;
  place-items: center;
}

.hero-logo-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255,255,255,.98) 0%,
    rgba(255,255,255,.92) 52%,
    rgba(215,25,32,.10) 70%,
    rgba(255,107,26,.02) 78%,
    transparent 80%
  );
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 22px 48px rgba(0,0,0,.18);
}

.hero-brand-logo {
  position: relative;
  z-index: 2;
  width: 270px;
  max-width: 84%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.18));
}

@media (max-width: 620px) {
  .hero-logo-visual {
    width: min(88%, 270px);
    height: 285px;
    margin-top: 10px;
  }

  .hero-brand-logo {
    width: 225px;
    max-width: 86%;
  }
}

/* Estado y protección básica del formulario de contacto */
.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#submitContact:disabled {
  opacity: .72;
  cursor: wait;
  transform: none;
}

.form-note.is-success {
  color: #15803d;
  font-weight: 700;
}

.form-note.is-error {
  color: #b91c1c;
  font-weight: 700;
}
