:root {
  --brand-red: #d7192d;
  --brand-red-deep: #a90f22;
  --ink: #17212b;
  --ink-soft: #263440;
  --slate: #59636e;
  --porcelain: #f7f5f1;
  --paper: #ffffff;
  --line: #ded9d2;
  --line-dark: rgba(255, 255, 255, 0.14);
  --success: #245c42;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 8px 24px rgba(23, 33, 43, 0.06);
  --shadow-md: 0 18px 48px rgba(23, 33, 43, 0.12);
  --container: min(1180px, calc(100% - 48px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--porcelain);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

h1 {
  max-width: 850px;
  font-size: clamp(3rem, 6vw, 5.15rem);
}

h2 {
  font-size: clamp(2.2rem, 4.4vw, 4rem);
}

h3 {
  font-size: 1.16rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: 3px solid #ff7181;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-180%);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 8vw, 112px) 0;
}

.lead {
  max-width: 720px;
  color: var(--slate);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}

.muted {
  color: var(--slate);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--brand-red);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 7px 0 0 rgba(215, 25, 45, 0.32);
  content: "";
}

.topbar {
  background: #0e161e;
  color: #fff;
  font-size: 0.78rem;
}

.topbar .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar a {
  opacity: 0.9;
}

.topbar a:hover {
  opacity: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(23, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 20px rgba(23, 33, 43, 0.035);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 188px;
  height: auto;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}

.navlinks a {
  position: relative;
  padding: 33px 0 31px;
  font-size: 0.88rem;
  font-weight: 700;
}

.navlinks a::after {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--brand-red);
  content: "";
  transition: transform 180ms ease;
}

.navlinks a:hover,
.navlinks a[aria-current="page"] {
  color: var(--brand-red);
}

.navlinks a:hover::after,
.navlinks a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  margin-left: 4px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 11px 19px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.btn-primary {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(215, 25, 45, 0.18);
}

.btn-primary:hover {
  border-color: var(--brand-red-deep);
  background: var(--brand-red-deep);
  box-shadow: 0 14px 30px rgba(169, 15, 34, 0.23);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-ghost {
  background: transparent;
}

.menu-btn {
  width: 46px;
  height: 46px;
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding: 0 24px 22px;
}

.mobile-menu.open {
  display: grid;
}

.mobile-menu a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 750;
}

.hero {
  overflow: hidden;
  padding: clamp(58px, 7vw, 92px) 0 clamp(72px, 8vw, 106px);
  background:
    linear-gradient(90deg, transparent 0 96%, rgba(215, 25, 45, 0.05) 96%),
    var(--porcelain);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.85fr);
  align-items: center;
  gap: clamp(42px, 6vw, 84px);
}

.hero-copy h1 {
  margin-top: 18px;
}

.hero-copy .lead {
  margin-top: 24px;
}

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

.trust-note {
  max-width: 600px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 0.9rem;
}

.trust-note strong {
  border-left: 4px solid var(--brand-red);
  padding-left: 12px;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.hero-visual.with-image {
  background-image: url("images/home/hero-familia.webp");
  background-position: center;
  background-size: cover;
}

.hero-visual.with-image::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(160deg, rgba(23, 33, 43, 0.2) 15%, rgba(23, 33, 43, 0.9) 100%),
    linear-gradient(35deg, rgba(215, 25, 45, 0.68), transparent 45%);
  content: "";
}

.hero-visual.with-image::after {
  position: absolute;
  inset: 28px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  content: "";
}

.hero-logo-img,
.hero-logo {
  position: absolute !important;
  top: 43% !important;
  left: 50% !important;
  width: min(64%, 440px) !important;
  height: auto !important;
  z-index: 2 !important;
  transform: translate(-50%, -50%) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  padding: 26px !important;
  box-shadow: 0 18px 44px rgba(5, 12, 19, 0.24) !important;
}

.hero-badge {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
}

.hero-badge strong {
  font-family: "Lora", Georgia, serif;
  font-size: 2.15rem;
  line-height: 1;
}

.hero-badge span {
  max-width: 180px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  text-align: right;
}

.trustbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.trustitem {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.trustitem + .trustitem {
  border-left: 1px solid var(--line);
}

.trustitem b {
  color: var(--ink);
  font-size: 0.98rem;
}

.trustitem span {
  margin-top: 5px;
  font-size: 0.8rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 42px;
}

.section-head h2 {
  max-width: 720px;
  margin-top: 14px;
}

.section-head > p {
  max-width: 470px;
  color: var(--slate);
}

.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.card {
  min-height: 390px;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 5px 18px rgba(23, 33, 43, 0.035);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.card:nth-child(4),
.card:nth-child(5) {
  grid-column: span 3;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(215, 25, 45, 0.36);
  box-shadow: var(--shadow-md);
}

.card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.card:hover .card-img {
  transform: scale(1.025);
}

.card > div {
  padding: 24px 24px 0;
}

.card p {
  margin-top: 10px;
  color: var(--slate);
  font-size: 0.91rem;
}

.arrow {
  margin-top: auto;
  padding: 22px 24px 24px;
  color: var(--brand-red);
  font-size: 0.86rem;
  font-weight: 800;
}

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 44px;
  border-radius: 12px;
  background: #fff0f2;
  color: var(--brand-red);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.split h2 {
  margin-top: 14px;
}

.split-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}

.copy {
  display: grid;
  gap: 20px;
  color: #3e4a55;
}

.copy p {
  font-size: 1rem;
}

.bullets {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.bullet {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
}

.bullet i {
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--brand-red);
}

.dark {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.dark::after {
  position: absolute;
  top: 0;
  right: max(24px, calc((100vw - 1180px) / 2));
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.2), transparent);
  content: "";
}

.dark .muted,
.dark p,
.dark .copy {
  color: #c2c9cf;
}

.dark .eyebrow {
  color: #ff8c99;
}

.timeline {
  display: grid;
  gap: 34px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 42px;
  border-top: 1px solid var(--line-dark);
  padding-top: 32px;
}

.year {
  color: #fff;
  font-family: "Lora", Georgia, serif;
  font-size: 3.3rem;
  font-weight: 600;
  line-height: 1;
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.value {
  min-height: 140px;
  display: flex;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  padding: 24px;
}

.value::before {
  width: 4px;
  height: 22px;
  margin-right: 12px;
  border-radius: 2px;
  background: var(--brand-red);
  content: "";
}

.quote {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--brand-red);
  color: #fff;
  padding: clamp(34px, 5vw, 58px);
}

.quote::after {
  position: absolute;
  top: 0;
  right: 19%;
  width: 1px;
  height: 100%;
  transform: rotate(18deg);
  background: rgba(255, 255, 255, 0.28);
  content: "";
}

.quote > * {
  position: relative;
  z-index: 1;
}

.quote h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
}

.quote .btn {
  flex: 0 0 auto;
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.page-hero {
  position: relative;
  display: grid;
  overflow: hidden;
  background-color: var(--ink);
  background-position: center;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  color: #fff;
  isolation: isolate;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(14, 22, 30, 0.95) 0%, rgba(14, 22, 30, 0.82) 42%, rgba(14, 22, 30, 0.28) 78%, rgba(14, 22, 30, 0.12) 100%);
  content: "";
}

.page-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--brand-red) 0 14%, rgba(215, 25, 45, 0.15) 14% 100%);
  content: "";
}

.page-hero .container {
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 62px;
  padding-bottom: 68px;
}

.page-hero .container::after {
  position: absolute;
  right: 0;
  bottom: 42px;
  border-left: 3px solid var(--brand-red);
  padding-left: 13px;
  color: rgba(255, 255, 255, 0.84);
  content: "PJ 141  ·  DESDE 1975";
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.page-hero h1 {
  max-width: 820px;
  margin-top: 16px;
  font-size: clamp(3rem, 5.4vw, 5rem);
}

.page-hero .lead {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero .hero-actions {
  margin-top: 30px;
}

.page-hero .eyebrow {
  color: #ff9ca7;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

.breadcrumbs a {
  color: #fff;
  font-weight: 700;
}

.page-autos .page-hero { background-position: center 58%; }
.page-incendios .page-hero { background-position: center 52%; }
.page-salud .page-hero { background-position: center 42%; }
.page-vida .page-hero { background-position: center 54%; }
.page-otros .page-hero { background-position: center 58%; }
.page-contacto .page-hero { background-position: center 48%; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.product {
  position: relative;
  min-height: 118px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  padding: 25px;
}

.product::before {
  position: absolute;
  top: 24px;
  left: 25px;
  width: 38px;
  height: 3px;
  background: var(--brand-red);
  content: "";
}

.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(42px, 7vw, 84px);
}

.form-wrap h2 {
  margin-top: 14px;
}

.form-wrap > div .lead {
  margin-top: 18px;
}

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cfc9c1;
  border-radius: var(--radius-sm);
  outline: none;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #a9a29a;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(215, 25, 45, 0.1);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.required { color: var(--brand-red); }

.form-note {
  margin-top: 15px;
  color: var(--slate);
  font-size: 0.79rem;
}

.status {
  display: none;
  margin-top: 16px;
  border-left: 4px solid var(--success);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #edf7f1;
  color: var(--success);
  padding: 13px 15px;
  font-size: 0.86rem;
}

.status.show { display: block; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.contact-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  padding: 23px;
}

.contact-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--slate);
  font-size: 0.78rem;
}

.contact-card a {
  overflow-wrap: anywhere;
  font-weight: 800;
}

.source-note,
.notice {
  border-left: 4px solid var(--brand-red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #fff3f4;
  color: #54444a;
  padding: 16px 18px;
}

.search-hidden { display: none; }

.footer {
  background: #0d151d;
  color: #fff;
  padding: 64px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 1fr 0.8fr;
  gap: 42px;
}

.footer-grid > div:first-child > img,
.footer-logo {
  width: 190px !important;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 10px;
}

.footer h3 {
  margin-bottom: 17px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-list {
  display: grid;
  gap: 10px;
  color: #b8c0c7;
  font-size: 0.85rem;
}

.footer-list a:hover { color: #fff; }

.legal {
  margin-top: 46px;
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  color: #8e9aa5;
  font-size: 0.76rem;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: #128c7e;
  color: #fff;
  padding: 7px 17px 7px 7px;
  box-shadow: 0 12px 32px rgba(14, 22, 30, 0.24);
  font-size: 0.82rem;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background: #0d756a;
  box-shadow: 0 16px 36px rgba(14, 22, 30, 0.3);
}

.whatsapp-float span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  font-size: 1.25rem;
  font-weight: 800;
}

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

.whatsapp-float strong {
  font-weight: 800;
}

@keyframes hero-enter {
  from { transform: translateY(10px); }
  to { transform: translateY(0); }
}

.hero-copy,
.page-hero .container > * {
  animation: hero-enter 520ms both ease-out;
}

.page-hero .container > :nth-child(2) { animation-delay: 60ms; }
.page-hero .container > :nth-child(3) { animation-delay: 120ms; }
.page-hero .container > :nth-child(4) { animation-delay: 180ms; }

@media (max-width: 1040px) {
  .navlinks,
  .nav-cta { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .hero-grid,
  .split,
  .form-wrap { grid-template-columns: 1fr; }
  .hero-grid { gap: 52px; }
  .hero-copy { max-width: 780px; }
  .hero-visual { min-height: 520px; }
  .section-head { align-items: start; flex-direction: column; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card,
  .card:nth-child(4),
  .card:nth-child(5) { grid-column: auto; }
  .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .trustbar,
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trustitem:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .trustitem:nth-child(4) { border-top: 1px solid var(--line); }
  .form-wrap > div { max-width: 680px; }
}

@media (max-width: 680px) {
  :root { --container: min(1180px, calc(100% - 28px)); }
  h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .section { padding: 72px 0; }
  .topbar .container { justify-content: center; }
  .topbar a { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar-right { display: none; }
  .nav { min-height: 76px; }
  .brand img { width: 155px; }
  .mobile-menu { padding-inline: 14px; }
  .hero { padding: 48px 0 72px; }
  .hero-grid { gap: 42px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .trust-note { grid-template-columns: 1fr; gap: 10px; }
  .hero-visual { min-height: 430px; border-radius: 18px; }
  .hero-visual.with-image::after { inset: 18px; border-radius: 12px; }
  .hero-logo-img,
  .hero-logo { width: 76% !important; padding: 18px !important; }
  .hero-badge { right: 24px; bottom: 24px; left: 24px; display: block; }
  .hero-badge strong,
  .hero-badge span { display: block; }
  .hero-badge span { margin-top: 7px; text-align: left; }
  .trustbar,
  .cards,
  .product-grid,
  .contact-grid,
  .footer-grid,
  .values,
  .form-grid { grid-template-columns: 1fr; }
  .trustitem + .trustitem,
  .trustitem:nth-child(3),
  .trustitem:nth-child(4) { border-top: 1px solid var(--line); border-left: 0; }
  .card,
  .card:last-child:nth-child(odd) { min-height: 350px; grid-column: auto; }
  .card-img { height: 185px; }
  .split-img { height: 260px; }
  .timeline-row { grid-template-columns: 1fr; gap: 18px; }
  .quote { align-items: flex-start; flex-direction: column; }
  .quote .btn { width: 100%; }
  .page-hero::before { background: linear-gradient(90deg, rgba(14, 22, 30, 0.93), rgba(14, 22, 30, 0.62)); }
  .page-hero .container { min-height: 460px; padding-top: 54px; padding-bottom: 58px; }
  .page-hero .container::after { display: none; }
  .page-hero h1 { font-size: clamp(2.55rem, 12vw, 3.6rem); }
  .page-autos .page-hero { background-position: 58% center; }
  .page-incendios .page-hero { background-position: 58% center; }
  .page-salud .page-hero { background-position: 62% center; }
  .page-vida .page-hero { background-position: 52% center; }
  .page-otros .page-hero { background-position: 58% center; }
  .page-contacto .page-hero { background-position: 58% center; }
  .product { min-height: 110px; }
  .form-card,
  .panel { padding: 24px; }
  .footer { padding-top: 52px; }
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 7px;
  }
  .whatsapp-float span { width: 38px; height: 38px; }
  .whatsapp-float strong { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
