:root {
  --surface: rgba(255, 251, 246, 0.78);
  --line: rgba(35, 46, 48, 0.12);
  --text: #16181d;
  --muted: #5a6272;
  --accent: #111827;
  --accent-warm: #ff8f5c;
  --security: #275dff;
  --gaam: #ff5d8f;
  --clean: #0f9f7f;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 143, 92, 0.22), transparent 30%),
    radial-gradient(circle at 80% 12%, rgba(39, 93, 255, 0.15), transparent 30%),
    radial-gradient(circle at 70% 72%, rgba(255, 93, 143, 0.15), transparent 26%),
    linear-gradient(180deg, #fbf6ef 0%, #f7efe5 100%);
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding-bottom: 48px;
}

.section {
  margin-top: 28px;
}

.empty-main {
  min-height: calc(100vh - 120px);
}

.plans-section {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 28px 0 12px;
}

.plans-shell {
  width: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: rgba(255, 250, 244, 0.45);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.plans-heading {
  margin-bottom: 24px;
}

.plans-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.plans-heading h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

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

.plan-column {
  display: flex;
  flex-direction: column;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  padding: 26px;
  border-radius: 32px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 22px 60px rgba(17, 24, 39, 0.16);
  isolation: isolate;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-radius 0.35s ease;
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.04), rgba(17, 24, 39, 0.78));
  z-index: 1;
  transition: background 0.35s ease;
}

.plan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.6s ease;
}

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

.plan-topline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: auto;
}

.plan-label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-label-outside {
  margin-bottom: 12px;
  background: rgba(255, 250, 244, 0.9);
  color: var(--text);
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.07);
}

.plan-label-security {
  background: linear-gradient(135deg, #6ca1ff 0%, #2449b5 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(39, 93, 255, 0.22);
}

.plan-label-cleaning {
  background: linear-gradient(135deg, #39c9a2 0%, #14785e 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(15, 159, 127, 0.22);
}

.plan-label-gaam {
  background: linear-gradient(135deg, #ff8bb2 0%, #c74379 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(255, 93, 143, 0.22);
}

.plan-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.plan-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.plan-card h2 {
  margin: 22px 0 0;
  font-size: 2rem;
  line-height: 1.02;
}

.plan-card p {
  margin: 14px 0 0;
  max-width: 30ch;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.plan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 250, 244, 0.92);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.plan-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.12);
  background: #fff;
}

.plan-button-security {
  background: linear-gradient(135deg, #6ca1ff 0%, #2449b5 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 34px rgba(39, 93, 255, 0.24);
}

.plan-button-security:hover {
  background: linear-gradient(135deg, #7baaff 0%, #2d53c1 100%);
  box-shadow: 0 18px 40px rgba(39, 93, 255, 0.28);
}

.plan-button-cleaning {
  background: linear-gradient(135deg, #39c9a2 0%, #14785e 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 34px rgba(15, 159, 127, 0.24);
}

.plan-button-cleaning:hover {
  background: linear-gradient(135deg, #46d3ad 0%, #188469 100%);
  box-shadow: 0 18px 40px rgba(15, 159, 127, 0.28);
}

.plan-button-gaam {
  background: linear-gradient(135deg, #ff8bb2 0%, #c74379 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 34px rgba(255, 93, 143, 0.24);
}

.plan-button-gaam:hover {
  background: linear-gradient(135deg, #ff99bc 0%, #d14f83 100%);
  box-shadow: 0 18px 40px rgba(255, 93, 143, 0.28);
}

.quote-panel-section {
  padding: 12px 0;
}

.quote-panel-section[hidden] {
  display: none;
}

.quote-shell {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background:
    radial-gradient(circle at top right, rgba(39, 93, 255, 0.08), transparent 28%),
    rgba(255, 250, 244, 0.62);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.quote-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.quote-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.quote-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.quote-heading p {
  max-width: 52ch;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.quote-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.quote-close span {
  font-size: 1.6rem;
  line-height: 1;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.quote-submit {
  align-self: flex-start;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f2c4d 0%, #314b99 100%);
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(31, 44, 77, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quote-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(31, 44, 77, 0.24);
}

.contact-section {
  padding: 12px 0 48px;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: rgba(255, 250, 244, 0.5);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.contact-heading {
  padding: 8px 4px;
}

.contact-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.contact-heading p {
  max-width: 34ch;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-line {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--text);
}

.contact-line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.contact-line-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-line-text {
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field span {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  padding: 16px 18px;
  font: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(39, 93, 255, 0.3);
  box-shadow: 0 0 0 4px rgba(39, 93, 255, 0.08);
  background: #fff;
}

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

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

.contact-submit {
  align-self: flex-start;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f2c4d 0%, #314b99 100%);
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(31, 44, 77, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(31, 44, 77, 0.24);
}

.plan-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 36px 90px rgba(17, 24, 39, 0.24);
  border-radius: 36px;
}

.plan-card:hover::before {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.01), rgba(17, 24, 39, 0.6));
}

.plan-card:hover::after {
  transform: scale(1.12);
}

.plan-security {
  background:
    linear-gradient(135deg, rgba(39, 93, 255, 0.35), rgba(17, 24, 39, 0.22)),
    url("assets/images/seguridad.jpg")
      center/cover;
}

.plan-cleaning {
  background:
    linear-gradient(135deg, rgba(15, 159, 127, 0.35), rgba(17, 24, 39, 0.2)),
    url("assets/images/limpieza.jpg")
      center/cover;
}

.plan-gaam {
  background:
    linear-gradient(135deg, rgba(255, 93, 143, 0.35), rgba(17, 24, 39, 0.18)),
    url("assets/images/gaam.jpg")
      center/cover;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(24, 35, 37, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--security), var(--gaam));
  color: #fff;
}

.brand-copy {
  color: var(--muted);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #efe5d7;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.eyebrow,
.card-kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

  .quote-grid,
  .contact-shell,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: 340px;
  }
}

@media (max-width: 820px) {
  .site-header {
    top: 10px;
    border-radius: 28px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 250, 244, 0.95);
    box-shadow: 0 18px 40px rgba(24, 35, 37, 0.12);
  }

  .site-nav a {
    padding: 14px 12px;
    border-radius: 16px;
  }

  .site-header.menu-open .site-nav {
    display: flex;
  }

  .site-header.menu-open .nav-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.menu-open .nav-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(calc(100% - 18px), var(--container));
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
  }

  .brand-copy {
    font-size: 0.92rem;
  }

  .plans-shell {
    padding: 18px;
    border-radius: 28px;
  }

  .quote-shell,
  .contact-shell {
    padding: 18px;
    border-radius: 28px;
  }

  .plan-card {
    min-height: 300px;
    padding: 22px;
    border-radius: 24px;
  }

  .plan-card h2 {
    font-size: 1.7rem;
  }

  .plan-topline {
    margin-bottom: 40px;
  }

  .quote-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .quote-close {
    align-self: flex-end;
  }
}
