.notice-page-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(95, 209, 255, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(201, 162, 39, 0.18), transparent 26%),
    linear-gradient(180deg, #08101a 0%, #0c1725 38%, #102033 100%);
}

.notice-page-main {
  min-height: 100vh;
}

.notice-menu {
  background: rgba(8, 16, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  margin-top: 1rem;
  padding-inline: 1rem;
  backdrop-filter: blur(14px);
}

.notice-menu-actions {
  display: flex;
  align-items: center;
  gap: 0.68rem;
}

.notice-hero {
  padding-top: calc(84px + clamp(3.2rem, 6vw, 4.8rem));
}

.notice-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 1rem;
  align-items: start;
}

.notice-flow {
  grid-column: 1 / -1;
  display: grid;
  gap: 1.15rem;
  margin-top: 0.65rem;
}

.notice-copy h1 {
  margin: 0;
  max-width: 18ch;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.82rem, 4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.notice-lead {
  margin: 0.75rem 0 0;
  max-width: 52ch;
}

.notice-highlight {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem;
}

.notice-highlight p,
.notice-summary-card p,
.notice-cta-copy p {
  margin: 0;
  color: #4d627a;
  line-height: 1.62;
}

.notice-summary {
  display: grid;
  gap: 0.82rem;
}

.notice-summary-card {
  min-height: 0;
}

.notice-summary-card .kicker {
  color: #35516d !important;
}

.notice-summary-card p:not(.kicker) {
  color: #35516d;
}

.notice-summary-card h2 {
  margin: 0.18rem 0 0.4rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #17314b !important;
}

.notice-section-head {
  margin-bottom: 1rem;
  max-width: 52rem;
}

.notice-flow .notice-section-head {
  margin-bottom: 0;
}

.notice-section-head h2 {
  margin: 0;
}

.notice-table-panel {
  padding: 0;
}

.notice-table-wrap {
  overflow-x: auto;
}

.notice-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.notice-table thead th {
  text-align: left;
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1d3045;
  background: linear-gradient(135deg, rgba(248, 251, 255, 0.98), rgba(238, 244, 251, 0.98));
}

.notice-table th,
.notice-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(34, 53, 75, 0.12);
  vertical-align: top;
}

.notice-table tbody tr:last-child td {
  border-bottom: 0;
}

.notice-table td:first-child,
.notice-table th:first-child {
  width: 76px;
  text-align: center;
  font-weight: 800;
  color: #1f5f9a;
}

.notice-table td:last-child {
  color: #4d627a;
  line-height: 1.58;
}

.notice-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.notice-cta-copy h2 {
  margin: 0;
  color: #17314b !important;
}

.notice-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

.notice-note-panel {
  display: grid;
  gap: 0.45rem;
}

.notice-note-panel p {
  margin: 0;
  color: #35516d;
  line-height: 1.6;
}

.notice-note-panel .kicker {
  color: #17314b;
}

.notice-footer-panel {
  display: grid;
  gap: 1rem;
}

.notice-footer-head h2 {
  margin: 0;
  color: #17314b;
}

.notice-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.notice-footer-card {
  padding: 1rem 0.1rem 0.1rem;
  border-top: 1px solid rgba(34, 53, 75, 0.12);
}

.notice-footer-card h3 {
  margin: 0 0 0.55rem;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  color: #17314b;
}

.notice-footer-card p {
  margin: 0;
  color: #4d627a;
  line-height: 1.58;
}

.notice-footer-card p + p {
  margin-top: 0.26rem;
}

.notice-footer-card a {
  color: #1f5f9a;
  text-decoration: none;
  word-break: break-all;
}

.notice-footer-card a:hover,
.notice-footer-card a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .notice-hero-layout,
  .notice-cta-panel {
    grid-template-columns: 1fr;
  }

  .notice-copy h1 {
    max-width: 100%;
  }

  .notice-flow {
    margin-top: 0;
  }

  .notice-cta-actions {
    justify-content: flex-start;
  }

  .notice-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .notice-menu {
    width: min(var(--max), calc(100% - 1rem));
    padding: 0.7rem 0.8rem;
    gap: 0.55rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .notice-menu-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.45rem;
    justify-content: stretch;
  }

  .notice-menu .brand-name {
    display: none;
  }

  .notice-menu .brand-logo {
    width: 62px;
    height: auto;
  }

  .notice-menu .brand {
    gap: 0.4rem;
  }

  .notice-menu-actions .btn-ghost {
    display: none;
  }

  .notice-menu-actions .btn {
    min-height: 40px;
    padding: 0.66rem 0.76rem;
    font-size: 0.81rem;
    justify-content: center;
  }

  .notice-menu-actions .btn-primary {
    min-height: 38px;
  }

  .notice-menu-actions .notice-irpf-link {
    min-height: 38px;
  }

  .notice-menu-actions .btn-whatsapp {
    min-height: 36px;
    padding-block: 0.58rem;
    font-size: 0.78rem;
  }

  .notice-menu-actions .btn-whatsapp svg {
    width: 0.88rem;
    height: 0.88rem;
  }

  .notice-hero {
    padding-top: calc(124px + 4rem);
  }

  .notice-highlight {
    padding: 1rem;
  }

  .notice-table {
    min-width: 0;
  }

  .notice-table thead {
    display: none;
  }

  .notice-table tbody,
  .notice-table tr,
  .notice-table td {
    display: block;
    width: 100%;
  }

  .notice-table tr {
    border-bottom: 1px solid rgba(34, 53, 75, 0.12);
  }

  .notice-table tr:last-child {
    border-bottom: 0;
  }

  .notice-table td {
    border-bottom: 0;
    padding: 0.7rem 1rem;
  }

  .notice-table td:first-child {
    padding-bottom: 0;
    text-align: left;
  }

  .notice-table td:first-child::before {
    content: "Nº ";
    color: #7d94ae;
    font-weight: 700;
  }

  .notice-table td:last-child {
    padding-top: 0.25rem;
  }
}
