/* Inter (SIL Open Font License 1.1), alojada localmente: sin peticiones a Google. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  --navy: #0d1b2a;
  --navy-2: #132f4c;
  --navy-3: #173957;
  --marfil: #f7f3ec;
  --beige: #e8e1d4;
  --gold: #c9a66b;
  --gold-2: #e0b761;
  --gold-dark: #9b6b20;
  --terracotta: #c45a3c;
  --terracotta-dark: #9f3f29;
  --salvia: #6f8a78;
  --salvia-dark: #4e6a59;
  --salvia-soft: #e9f0eb;
  --text: #0d1b2a;
  --muted: #5a6474;
  --line: rgba(13, 27, 42, .13);
  --white: #fff;
  --shadow: 0 18px 42px rgba(13, 27, 42, .11);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--marfil);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

p {
  margin: 0 0 1rem;
}

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

.card,
.detail-copy,
.contact-info,
.form-card,
.process-card,
.dark-panel {
  min-width: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(201, 166, 107, .72);
  outline-offset: 3px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 243, 236, .97);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header__inner {
  min-height: 82px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  width: 218px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: .92rem;
  font-weight: 760;
}

.nav a {
  position: relative;
  color: var(--navy);
}

.nav a[aria-current="page"]::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .92rem;
  font-weight: 820;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(13, 27, 42, .16);
}

.btn--gold {
  border-color: rgba(155, 107, 32, .38);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--navy);
}

.btn--gold:hover {
  border-color: rgba(155, 107, 32, .58);
  background: linear-gradient(135deg, #e7c477, #cfa95f);
}

.btn--budget {
  min-height: 40px;
  padding: 0 14px;
  border-color: rgba(201, 166, 107, .5);
  background: rgba(201, 166, 107, .12);
  color: var(--navy);
}

.btn--budget:hover {
  border-color: rgba(155, 107, 32, .55);
  background: rgba(201, 166, 107, .2);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--navy);
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  border-color: rgba(13, 27, 42, .14);
  background: rgba(13, 27, 42, .06);
  color: rgba(13, 27, 42, .54);
  box-shadow: none;
}

.btn.is-disabled:hover,
.btn[aria-disabled="true"]:hover {
  transform: none;
  box-shadow: none;
}

.btn--outline {
  border-color: rgba(247, 243, 236, .62);
  background: rgba(13, 27, 42, .24);
  color: var(--white);
}

.btn--outline-dark {
  border-color: rgba(13, 27, 42, .22);
  color: var(--navy);
}

.mobile-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  border: 1px solid rgba(201, 166, 107, .45);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--white), rgba(247, 243, 236, .76));
  color: var(--navy);
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(13, 27, 42, .08);
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.mobile-toggle__bar {
  width: 22px;
  height: 2px;
  display: block;
  position: relative;
  background: currentColor;
  transition: background .18s ease;
}

.mobile-toggle__bar::before,
.mobile-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: top .18s ease, transform .18s ease;
}

.mobile-toggle__bar::before {
  top: -7px;
}

.mobile-toggle__bar::after {
  top: 7px;
}

.mobile-open .mobile-toggle {
  border-color: rgba(224, 183, 97, .78);
  background: var(--navy);
  color: var(--gold-2);
  box-shadow: 0 14px 28px rgba(13, 27, 42, .18);
}

.mobile-open .mobile-toggle__bar {
  background: transparent;
}

.mobile-open .mobile-toggle__bar::before,
.mobile-open .mobile-toggle__bar::after {
  top: 0;
}

.mobile-open .mobile-toggle__bar::before {
  transform: rotate(45deg);
}

.mobile-open .mobile-toggle__bar::after {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 27, 42, .98) 0%, rgba(13, 27, 42, .94) 48%, rgba(13, 27, 42, .76) 74%, rgba(13, 27, 42, .9) 100%),
    var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(90deg, black, transparent 82%);
  mask-image: linear-gradient(90deg, black, transparent 82%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: -120px;
  top: 0;
  width: 54%;
  height: 100%;
  background:
    linear-gradient(110deg, transparent 0 20%, rgba(201, 166, 107, .58) 20.2% 21%, transparent 21.4%),
    linear-gradient(120deg, rgba(201, 166, 107, .12), rgba(247, 243, 236, .03));
  opacity: .72;
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
}

.hero .container {
  min-height: 500px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 720px);
  align-items: center;
}

.hero__content {
  max-width: 640px;
  padding: 64px 0;
  color: var(--white);
}

.eyebrow {
  color: var(--gold-2);
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1,
.section__head h2,
.contact-info h2,
.process-card h2,
.dark-panel h2,
.form-card h2,
.content-card h2,
.content-card h3,
.service-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 700;
}

.hero h1 em {
  color: var(--gold-2);
  font-style: italic;
}

.hero p {
  max-width: 610px;
  color: rgba(247, 243, 236, .92);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: .42;
  filter: saturate(.9) contrast(1.02);
}

.section {
  padding: 60px 0;
}

.section--light {
  /* El marfil es el fondo de lectura de la web; el blanco queda para superficies concretas. */
  background: var(--marfil);
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section__head h2 {
  max-width: 700px;
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.1;
}

.section__head p {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
}

.section__head--standard {
  display: block;
  max-width: 760px;
  margin-bottom: 32px;
}

.section__head--standard h2 {
  max-width: none;
}

.section__head--standard p {
  max-width: 620px;
  margin-top: 12px;
}

.service-grid,
.home-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.home-service-grid {
  align-items: stretch;
}

.services-home .section__head {
  display: block;
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.services-home .section__head h2 {
  max-width: none;
}

.services-home .section__head p {
  max-width: 620px;
  margin: 14px auto 0;
}

.card {
  border: 1px solid rgba(201, 166, 107, .26);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(13, 27, 42, .06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 166, 107, .5);
  box-shadow: 0 18px 42px rgba(13, 27, 42, .1);
}

.service-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 20px;
  padding: 28px;
}

.service-card--home {
  min-height: 380px;
  align-content: start;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.service-card__media {
  grid-column: 1 / -1;
  margin: -18px -18px 8px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  aspect-ratio: 16 / 9;
}

.service-card__media img,
.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card--pci .service-card__media img {
  border-right: 0;
  border-bottom: 4px solid var(--terracotta);
}

.service-card--plagas .service-card__media img {
  border-right: 0;
  border-bottom: 4px solid var(--salvia);
}

.service-card--home::after {
  content: "";
  position: absolute;
  right: -86px;
  bottom: -110px;
  width: 250px;
  height: 250px;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: .12;
}

.service-badge,
.sector-badge {
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 900;
}

.service-badge {
  width: 74px;
  height: 74px;
  font-size: 1rem;
}

.sector-badge {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  font-size: .86rem;
}

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

.service-card--home h3 {
  font-size: 1.85rem;
}

.service-card p,
.content-card p {
  color: var(--muted);
}

.service-card ul,
.check-list {
  display: grid;
  gap: 8px 18px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 650;
  font-size: .95rem;
}

.service-card ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.service-card li::before,
.check-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateY(-1px);
}

.service-card--pci {
  color: var(--terracotta-dark);
}

.service-card--plagas {
  color: var(--salvia-dark);
}

.service-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.sectors {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
}

.sector {
  min-height: 142px;
  padding: 22px 14px;
  text-align: center;
  background: var(--white);
  border-right: 1px solid var(--line);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.sector:hover {
  transform: translateY(-2px);
  background: var(--navy);
  color: var(--white);
}

.sector b {
  display: block;
  font-size: .94rem;
}

.sectors-home .section__head {
  display: block;
  max-width: 780px;
  margin-bottom: 24px;
}

.sectors-home .section__head p {
  margin-top: 12px;
}

.sector-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 880px;
}

.sector-pills span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(201, 166, 107, .34);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: .9rem;
  font-weight: 760;
}

.trust-process {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 22px;
}

.dark-panel {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.dark-panel h2 {
  margin: 0 0 24px;
  color: var(--gold-2);
  font-size: 1.75rem;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.trust-item {
  display: flex;
  align-items: start;
  gap: 12px;
}

.trust-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(224, 183, 97, .48);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: .78rem;
  font-weight: 900;
}

.trust-item b {
  display: block;
  margin-bottom: 2px;
}

.trust-item small {
  color: rgba(255, 255, 255, .75);
}

.process-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.brand-preview {
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid rgba(201, 166, 107, .26);
  border-radius: var(--radius);
  background: var(--navy);
  aspect-ratio: 1200 / 630;
}

.brand-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-card h2 {
  margin: 0 0 18px;
  text-align: center;
  font-size: 1.75rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.step {
  min-height: 96px;
  text-align: center;
  font-size: .88rem;
  font-weight: 780;
}

.step__num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--white);
  font-weight: 900;
}

.contact-block {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
}

.contact-block > * {
  min-width: 0;
}

.contact-info {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.contact-info h2 {
  margin: 0 0 16px;
  font-size: 2rem;
}

.contact-info p {
  color: rgba(255, 255, 255, .78);
}

.contact-row {
  margin: 18px 0;
  color: rgba(255, 255, 255, .9);
}

.contact-row a {
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(224, 183, 97, .5);
  text-underline-offset: 3px;
}

.form-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-card h2 {
  margin: 0 0 20px;
  font-size: 1.8rem;
}

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

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(13, 27, 42, .18);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: var(--white);
  color: var(--text);
  font: inherit;
}

select {
  min-height: 48px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold-dark) 50%),
    linear-gradient(135deg, var(--gold-dark) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--gold);
}

input::placeholder,
textarea::placeholder {
  color: #687385;
  opacity: 1;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 650;
}

.form-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--gold-dark);
}

.form-consent a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(155, 107, 32, .45);
  text-underline-offset: 3px;
}

.form-note,
.form-status {
  margin-top: 14px;
  color: var(--muted);
  font-size: .92rem;
}

.form-status {
  min-height: 22px;
  font-weight: 700;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0;
  background:
    linear-gradient(135deg, rgba(13, 27, 42, .98), rgba(19, 47, 76, .95)),
    linear-gradient(120deg, var(--navy), var(--navy-2));
  color: var(--white);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -130px;
  top: -140px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(201, 166, 107, .3);
  border-radius: 999px;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: 2.95rem;
  line-height: 1.1;
}

.page-hero p {
  max-width: 710px;
  color: rgba(255, 255, 255, .84);
  font-size: 1.03rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-visual {
  display: block;
  margin-bottom: 34px;
}

.service-visual__item {
  min-height: 340px;
  overflow: hidden;
  border: 1px solid rgba(201, 166, 107, .28);
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: 0 16px 36px rgba(13, 27, 42, .1);
}

.service-visual--pci .service-visual__item:first-child {
  border-bottom: 4px solid var(--terracotta);
}

.service-visual--plagas .service-visual__item:first-child {
  border-bottom: 4px solid var(--salvia);
}

.sector-category-grid {
  align-items: start;
}

.content-card {
  padding: 24px;
}

.content-card h2,
.content-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.category-card {
  padding: 24px;
  border-top: 4px solid var(--gold);
}

.category-card h3 {
  margin: 10px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  letter-spacing: 0;
}

.category-card p {
  margin-top: 18px;
  color: var(--muted);
}

.category-card--pci {
  border-top-color: var(--terracotta);
}

.category-card--plagas {
  border-top-color: var(--salvia);
}

.category-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(201, 166, 107, .42);
  border-radius: 999px;
  color: var(--gold-dark);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.content-card--accent-pci {
  border-top: 4px solid var(--terracotta);
}

.content-card--accent-plagas {
  border-top: 4px solid var(--salvia);
}

.notice {
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid rgba(201, 166, 107, .35);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
}

.annual-coverage {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 38px;
  padding-top: 30px;
  padding-bottom: 30px;
  border-top: 4px solid var(--gold);
  border-bottom: 1px solid var(--line);
}

.annual-coverage--pci {
  border-top-color: var(--terracotta);
}

.annual-coverage--plagas {
  border-top-color: var(--salvia);
}

.annual-coverage h2 {
  margin: 8px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.12;
}

.annual-coverage p {
  max-width: 520px;
  color: var(--muted);
}

.annual-coverage .check-list {
  margin: 0;
}

.seo-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.seo-link-card {
  padding: 24px;
  border: 1px solid rgba(201, 166, 107, .28);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(13, 27, 42, .08);
}

.seo-link-card h3,
.detail-panel h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.18;
}

.seo-link-card p,
.detail-panel p {
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.68;
}

.seo-link-card a {
  color: var(--gold-dark);
  font-weight: 850;
}

.detail-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.detail-layout--reverse {
  grid-template-columns: 1.1fr .9fr;
}

.detail-media {
  overflow: hidden;
  border: 1px solid rgba(201, 166, 107, .28);
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.detail-media img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.detail-media--extintores {
  align-self: center;
  aspect-ratio: 4 / 3;
}

.detail-media--extintores img {
  display: block;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
}

.detail-media--contain {
  background:
    linear-gradient(135deg, rgba(13, 27, 42, .94), rgba(19, 47, 76, .9)),
    var(--navy);
}

.detail-media--contain img {
  padding: 18px;
  object-fit: contain;
}

.detail-media--soft img {
  object-position: center center;
}

.detail-media--brand img {
  min-height: 260px;
  object-fit: contain;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-panel {
  display: flex;
  min-height: 100%;
  padding: 22px;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--white);
}

.detail-copy .section__head--standard {
  margin-bottom: 24px;
}

.detail-copy .section__head--standard h2 {
  font-size: 2.35rem;
}

.detail-copy .section__head--standard p {
  font-size: 1.05rem;
  line-height: 1.65;
}

.detail-panel p:last-child {
  margin-bottom: 0;
}

.detail-list {
  max-width: 820px;
  padding: 0;
}

.review-box {
  padding: 28px;
  border: 1px solid rgba(201, 166, 107, .3);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(247, 243, 236, .82)),
    var(--white);
  box-shadow: var(--shadow);
}

.reviews-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(201, 166, 107, .32);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(247, 243, 236, .84)),
    var(--white);
  box-shadow: var(--shadow);
}

.reviews-panel h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1.08;
}

.reviews-panel p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
}

.footer {
  padding: 40px 0 24px;
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(250px, .9fr) minmax(0, 1.4fr);
  gap: 32px;
  align-items: start;
}

.footer img {
  width: 210px;
}

.footer b {
  color: var(--white);
}

.footer a {
  display: block;
  margin: 7px 0;
  color: rgba(255, 255, 255, .82);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .86rem;
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
}

.footer__legal-links a {
  display: inline-flex;
  margin: 0;
}

.mobile-call-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  min-height: 52px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 3px solid var(--white);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 14px 36px rgba(13, 27, 42, .2);
  font-weight: 900;
}

@media (max-width: 1180px) {
  .nav {
    display: none;
  }

  .header__actions .btn--budget {
    display: none;
  }

  .mobile-toggle {
    display: grid;
  }

  .header__inner {
    min-height: 74px;
  }

  .logo img {
    width: 198px;
  }

  .mobile-open .nav {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    bottom: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: min(360px, calc(100vw - 32px));
    max-height: calc(100vh - 116px);
    padding: 8px;
    overflow-y: auto;
    background: rgba(13, 27, 42, .98);
    border: 1px solid rgba(201, 166, 107, .42);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: 0 22px 46px rgba(13, 27, 42, .24);
    z-index: 70;
    animation: menuDrop .18s ease both;
  }

  .mobile-open .nav a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 12px;
    border: 0;
    border-left: 3px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: rgba(247, 243, 236, .9);
    font-size: .95rem;
    line-height: 1.2;
  }

  .mobile-open .nav a[aria-current="page"] {
    border-left-color: var(--gold);
    background: rgba(201, 166, 107, .13);
    color: var(--gold-2);
  }

  .mobile-open .nav a:hover {
    background: rgba(255, 255, 255, .08);
    color: var(--white);
  }

  .mobile-open .nav a::after {
    display: none;
  }

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

  .hero::after {
    width: 100%;
    opacity: .26;
  }

  .hero__visual {
    min-height: 100%;
  }

  .hero__image {
    height: 100%;
    object-position: 58% center;
    opacity: .28;
  }

  .service-grid,
  .home-service-grid,
  .trust-process,
  .service-visual,
  .contact-block {
    grid-template-columns: 1fr;
  }

  .sectors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .reviews-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@keyframes menuDrop {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 820px) {
  .section__head {
    display: block;
  }

  .section__head h2,
  .page-hero h1,
  .hero h1 {
    font-size: 2.55rem;
  }

  .section__head p {
    margin-top: 14px;
  }

  .content-grid,
  .category-grid,
  .detail-grid,
  .seo-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-layout,
  .detail-layout--reverse,
  .annual-coverage {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 26px, 1180px);
  }

  .hero .container {
    min-height: 0;
  }

  .hero__content {
    padding: 46px 0;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .page-hero {
    padding: 44px 0;
  }

  .page-hero h1 {
    font-size: 2.15rem;
  }

  .section {
    padding: 44px 0;
  }

  .section__head h2,
  .contact-info h2 {
    font-size: 1.95rem;
  }

  .service-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .service-card--home {
    min-height: 0;
    padding: 22px;
  }

  .service-card__media {
    margin: -8px -8px 4px;
  }

  .service-visual__item {
    min-height: 210px;
  }

  .service-card ul,
  .trust-list,
  .form-grid,
  .content-grid,
  .category-grid,
  .detail-grid,
  .seo-links {
    grid-template-columns: 1fr;
  }

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

  .contact-info,
  .form-card,
  .process-card,
  .dark-panel,
  .review-box,
  .reviews-panel {
    padding: 22px;
  }

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

  .footer__bottom,
  .footer__legal-links {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
  }

  .mobile-call-float {
    display: inline-flex;
  }

  .header__actions {
    display: none;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .logo img {
    width: 176px;
  }

  .hero h1 {
    font-size: 2.05rem;
  }

  .page-hero h1,
  .section__head h2,
  .contact-info h2 {
    font-size: 1.82rem;
  }

  .hero__actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .sector-pills span {
    width: 100%;
    justify-content: center;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

@media (hover: none) {
  .btn:hover,
  .card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Formulario: etiquetas visibles, errores y estados */
.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field label {
  color: var(--navy);
  font-size: .92rem;
  font-weight: 700;
}

.field-error {
  color: #a3261b;
  font-size: .86rem;
  font-weight: 650;
}

.field [aria-invalid="true"] {
  border-color: #a3261b;
}

.field-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-card {
  position: relative;
}

.form-note a {
  color: var(--navy);
  text-decoration: underline;
}

.form-status[data-state="ok"] {
  color: #1d6b3a;
}

.form-status[data-state="error"] {
  color: #a3261b;
}

.data-info {
  width: 100%;
  table-layout: fixed;
  overflow-wrap: anywhere;
  border-collapse: collapse;
  font-size: .86rem;
  color: var(--muted);
}

.data-info caption {
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  padding-bottom: 6px;
}

.data-info th,
.data-info td {
  padding: 5px 8px 5px 0;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-info th {
  width: 32%;
  color: var(--navy);
  font-weight: 650;
}

/* ── Evolución visual 2026-10: menos tarjetas, más aire ───────────────────── */

/* Listados de servicios/sectores sin caja: columnas con separador fino */
.category-grid--flat {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
}

.category-grid--flat .card {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 28px 0 30px;
}

.category-grid--flat .card:hover {
  transform: none;
  box-shadow: none;
}

.category-grid--flat .category-card--pci {
  border-top: 2px solid var(--terracotta);
}

.category-grid--flat .category-card--plagas {
  border-top: 2px solid var(--salvia);
}

.category-grid--flat .category-label {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}

/* Textos legales y contenidos de lectura: una columna */
.content-grid--doc {
  grid-template-columns: 1fr;
  max-width: 780px;
  gap: 0;
}

.content-grid--doc .card {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 26px 0;
}

.content-grid--doc .card:hover {
  transform: none;
  box-shadow: none;
}

.content-grid--doc + .form-note,
.content-grid--doc ~ .form-card,
.content-grid--doc ~ .content-card {
  max-width: 780px;
}

.content-grid--doc ~ .form-card {
  margin-top: 34px;
}

/* Franja de datos reales de confianza bajo el hero */
.trust-strip {
  background: var(--navy);
  color: var(--white);
}

.trust-strip__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-strip__list li {
  padding: 24px 22px;
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.trust-strip__list li:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust-strip__list b {
  display: block;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 400;
}

.trust-strip__list span {
  color: rgba(255, 255, 255, .75);
  font-size: .9rem;
}

/* Preguntas frecuentes */
.faq {
  max-width: 820px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--gold-dark);
  font-size: 1.3rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 20px;
  color: var(--muted);
}

/* Cabecera compacta al hacer scroll */
.header__inner,
.logo img {
  transition: min-height .2s ease, width .2s ease;
}

.header.is-compact .header__inner {
  min-height: 64px;
}

.header.is-compact .logo img {
  width: 176px;
}

/* Aparición suave de secciones (solo con JS y sin preferencia de movimiento reducido) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s ease, transform .5s ease;
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

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

  .trust-strip__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip__list li,
  .trust-strip__list li:first-child {
    padding: 18px 14px 18px 0;
    border-left: 0;
  }
}
