/* Faralia City static website styles */
@import url("https://fonts.googleapis.com/css2?family=Bruno+Ace&family=Saira:wght@400;500;600;700;800;900&display=swap");

:root {
  --ink: #061121;
  --navy: #152e58;
  --blue: #29497e;
  --cyan: #cee0f3;
  --mint: #de876f;
  --gold: #f5dec8;
  --paper: #ffffff;
  --soft: #f6f9fc;
  --line: #d8e4f0;
  --muted: #5c6c83;
  --plum: #5c4e57;
  --rose: #b8857b;
  --shadow: 0 18px 50px rgba(6, 17, 33, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Saira, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

body.modal-open {
  overflow: hidden;
}

img.is-zoomable {
  cursor: zoom-in;
}

img.is-zoomable:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--navy);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(217, 229, 239, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 190px;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
}

.brand span {
  color: var(--navy);
  font-family: "Bruno Ace", Saira, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.62rem;
  border-radius: var(--radius);
  color: #253858;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.active {
  color: var(--navy);
  background: #eaf7fc;
  outline: none;
}

.nav-menu .nav-cta {
  margin-left: 0.35rem;
  color: var(--paper);
  background: var(--navy);
}

.nav-menu .nav-cta:hover,
.nav-menu .nav-cta:focus-visible,
.nav-menu .nav-cta.active {
  color: var(--paper);
  background: var(--blue);
}

.section {
  padding: 5rem 1.25rem;
}

.section.alt {
  background: var(--soft);
}

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

.narrow {
  max-width: 820px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(120deg, rgba(10, 23, 51, 0.94), rgba(16, 39, 83, 0.72)),
    url("../Imagenes/PORTADA_FCNS_300.png") center right / min(46vw, 520px) no-repeat,
    var(--navy);
}

.hero::after {
  position: absolute;
  right: 8vw;
  bottom: -70px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(17, 189, 232, 0.22);
  border-radius: 50%;
  content: "";
}

.matrix-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.28;
  mix-blend-mode: screen;
  pointer-events: none;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 17, 33, 0.88), rgba(21, 46, 88, 0.42) 58%, rgba(6, 17, 33, 0.72));
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
  gap: 3rem;
  align-items: center;
  max-width: var(--max);
  min-height: 650px;
  margin: 0 auto;
  padding: 5.5rem 1.25rem 6rem;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  background: var(--cyan);
  content: "";
}

.section .eyebrow {
  color: var(--blue);
}

.section .eyebrow::before {
  background: var(--blue);
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  font-family: "Bruno Ace", Saira, ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.12;
}

h1 {
  max-width: 860px;
  font-size: 3.7rem;
  overflow-wrap: break-word;
}

h2 {
  font-size: 2.5rem;
  overflow-wrap: break-word;
}

h3 {
  font-size: 1.08rem;
  overflow-wrap: break-word;
}

.lead {
  max-width: 820px;
  margin: 1.25rem 0 0;
  color: #d9e9f6;
  font-size: 1.18rem;
}

.section .lead {
  color: var(--muted);
}

.hero-subtitle {
  color: var(--gold);
  font-family: "Bruno Ace", Saira, ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
}

.hero-highlight {
  color: var(--gold);
}

.hero-panel {
  align-self: end;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.home-hero .hero-panel {
  align-self: start;
  margin-top: 4.6rem;
}

.entities-hero .hero-panel {
  align-self: start;
  margin-top: 3rem;
}

.hero-panel img {
  width: 100%;
  border-radius: var(--radius);
}

.hero-panel.pulse-logo-panel img {
  max-width: 300px;
  margin: 0 auto;
}

.pulse-ebook-image {
  max-width: 260px;
  margin: 1.5rem auto 0;
  border-radius: var(--radius);
}

.pulse-phone-image {
  max-width: 260px;
  margin: 1.5rem auto 0;
  border-radius: var(--radius);
}

.pulse-example-image {
  max-width: 680px;
  margin: 1.8rem auto 0;
  border-radius: var(--radius);
}

.card-thumb {
  max-width: 260px;
  margin: 1.5rem auto 0;
  border-radius: var(--radius);
}

.hero-panel p {
  margin: 1rem 0 0;
  color: #d9e9f6;
  font-size: 0.95rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

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

.btn:focus-visible,
.form-control:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(17, 189, 232, 0.35);
  outline-offset: 2px;
}

.btn.primary {
  color: var(--paper);
  background: var(--blue);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: var(--navy);
}

.btn.secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  border-color: var(--cyan);
  background: rgba(17, 189, 232, 0.14);
}

.btn.light {
  color: var(--navy);
  background: var(--gold);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.card {
  min-height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(10, 23, 51, 0.06);
}

.card.feature {
  border-top: 4px solid var(--mint);
}

.card p,
.card ul {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.card h2 {
  font-size: 1.45rem;
}

.pricing-intro {
  padding: clamp(3rem, 7vw, 5.5rem) 1.25rem 2.25rem;
  color: var(--navy);
  background: var(--paper);
  text-align: center;
}

.pricing-intro .container {
  display: grid;
  justify-items: center;
}

.pricing-intro .eyebrow {
  color: var(--blue);
}

.pricing-intro .eyebrow::before {
  background: var(--blue);
}

.pricing-intro h1 {
  max-width: none;
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.pricing-intro > .container > p:last-child {
  margin: 0.55rem 0 0;
  color: var(--navy);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
}

.pricing-showcase {
  padding: 1.25rem 1.25rem clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(180deg, var(--paper) 0, var(--paper) 45%, #f8fafc 100%);
}

.pricing-options {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(580px, 1.48fr);
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  align-items: stretch;
  max-width: 1320px;
}

.price-option {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 18px 18px 42px 42px;
  background: var(--gold);
  box-shadow: 0 24px 60px rgba(6, 17, 33, 0.14);
}

.price-option-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  min-height: 108px;
  padding: 1.25rem clamp(1.25rem, 2vw, 2rem);
  color: var(--paper);
  background: #061f57;
}

.price-option-header span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.5rem 0.8rem;
  border-radius: 12px;
  color: #061f57;
  background: #cfe3f5;
  font-size: 0.95rem;
  font-weight: 900;
  white-space: nowrap;
}

.price-option-header h2 {
  color: var(--paper);
  font-size: clamp(1.35rem, 2.2vw, 2.05rem);
  text-align: center;
}

.price-option-body {
  padding: 0 clamp(1.25rem, 2.4vw, 2.2rem) 2rem;
}

.price-option-lead {
  margin: 0;
  padding: 0.9rem 0;
  color: #253858;
  font-size: 1rem;
  text-align: center;
}

.activity-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.9rem;
  margin: 1.25rem 0 1.75rem;
}

.activity-price strong {
  color: var(--ink);
  font-size: clamp(4rem, 8vw, 6.5rem);
  line-height: 0.9;
}

.activity-price span {
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 850;
}

.option-section {
  padding-top: 1rem;
  border-top: 2px solid rgba(41, 73, 126, 0.2);
}

.option-section + .option-section {
  margin-top: 1rem;
}

.option-section h3,
.packs-title {
  color: var(--ink);
  font-family: Saira, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
}

.option-section ul {
  margin: 0.55rem 0 0;
  padding-left: 1.4rem;
  color: #253858;
}

.option-section li {
  margin: 0.18rem 0;
}

.packs-title {
  margin: 0.15rem 0 0.85rem;
  text-align: center;
}

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid #253858;
  background: var(--paper);
}

.pricing-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.pricing-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.pricing-table th,
.pricing-table td {
  padding: 0.72rem 0.65rem;
  border-right: 1px solid #253858;
  border-bottom: 1px solid #253858;
  text-align: center;
}

.pricing-table tr > :last-child {
  border-right: 0;
}

.pricing-table thead th {
  color: var(--paper);
  background: var(--blue);
  font-size: 0.9rem;
  font-weight: 850;
}

.pricing-table tbody th {
  color: var(--paper);
  background: #061f57;
  font-weight: 850;
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.pack-detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 1rem;
}

.pack-detail-columns .option-section {
  margin-top: 0;
}

.external-teacher-note {
  margin: 0.8rem 0 0;
  color: #253858;
  font-weight: 650;
}

.real-use-note {
  margin-top: 2.2rem;
  color: var(--ink);
  font-family: "Bruno Ace", Saira, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  text-align: center;
}

.pricing-cta {
  padding-top: 3.5rem;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.9rem;
  border-radius: var(--radius);
  color: var(--navy);
  background: #eaf7fc;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.media-frame {
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
}

.decisions-panel-image {
  max-width: 490px;
  margin: 2rem auto 0;
}

.entities-team-image {
  max-width: 980px;
  margin: 2rem auto 0;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.timeline-group {
  margin: 0 0 0.25rem;
  color: var(--blue);
  font-weight: 850;
  font-size: 0.9rem;
}

.step {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--blue);
  font-weight: 900;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 0.5rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #253858;
  background: var(--paper);
  font-weight: 750;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(10, 23, 51, 0.06);
}

.pdf-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.pdf-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.pdf-table th,
.pdf-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.pdf-table th {
  color: var(--paper);
  background: var(--navy);
  font-weight: 850;
}

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

.pdf-table td:nth-child(2) {
  color: var(--muted);
}

.doc-title {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 850;
}

.doc-icon {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 40px;
  border: 2px solid var(--blue);
  border-radius: 6px;
  background: linear-gradient(180deg, var(--paper), #eef5fb);
}

.doc-icon::before {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 13px;
  height: 13px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  border-radius: 0 5px 0 3px;
  background: var(--cyan);
  content: "";
}

.doc-icon::after {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 8px;
  height: 3px;
  border-radius: 3px;
  background: var(--mint);
  box-shadow: 0 -8px 0 var(--navy);
  content: "";
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-weight: 800;
}

.status.ready {
  color: #0f3d2e;
  background: #dff8ed;
}

.status.pending {
  color: var(--plum);
  background: var(--gold);
}

.table-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.table-link:hover,
.table-link:focus-visible {
  color: var(--navy);
  text-decoration: underline;
  outline: none;
}

.table-note {
  color: var(--muted);
  font-weight: 750;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
}

.stat {
  display: grid;
  justify-items: center;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: var(--cyan);
  text-align: center;
}

.stat strong {
  display: block;
  width: 100%;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1.08;
  text-align: center;
}

.stat span {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 750;
  text-align: center;
}

.cta {
  color: var(--paper);
  background:
    linear-gradient(120deg, rgba(6, 17, 33, 0.97), rgba(41, 73, 126, 0.92)),
    var(--navy);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta h2 {
  max-width: 760px;
}

.cta p {
  max-width: 760px;
  margin: 1rem 0 0;
  color: #d9e9f6;
}

.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: var(--paper);
  text-align: center;
}

.video-shell iframe,
.video-shell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.play-mark {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 1rem;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 2rem;
}

.meeting-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 2rem;
  align-items: start;
}

.meeting-booking {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  text-align: center;
}

.meeting-booking p {
  margin: 0;
}

.meeting-booking img {
  width: min(50%, 112px);
  height: auto;
}

.meeting-booking a:not(.btn) {
  color: var(--blue);
  font-weight: 850;
}

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

.field {
  display: grid;
  gap: 0.4rem;
}

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

label {
  color: #253858;
  font-weight: 800;
}

.form-control,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.78rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

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

.checkbox-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--muted);
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
}

.form-message {
  display: none;
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  color: #0f3d2e;
  background: #dff8ed;
  font-weight: 750;
}

.form-message.error {
  color: #6d1f1f;
  background: #fde7e7;
}

.qr-panel {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.qr-panel img {
  width: min(100%, 220px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.qr-panel p {
  margin: 0.6rem 0 1rem;
}

.qr-panel .btn {
  width: 100%;
}

.site-footer {
  color: var(--ink);
  background: var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.4fr);
  gap: 2rem;
  padding: 3.2rem 1.25rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--paper);
  font-family: "Bruno Ace", Saira, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-credit {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  justify-items: start;
}

.footer-credit span {
  color: var(--plum);
  font-weight: 850;
}

.footer-credit img {
  width: min(100%, 220px);
  height: auto;
}

.footer-grid p {
  margin: 1rem 0 0;
  color: var(--plum);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--blue);
  outline: none;
}

.footer-bottom {
  border-top: 1px solid rgba(92, 78, 87, 0.22);
  padding: 1rem 1.25rem;
  color: var(--plum);
  font-size: 0.9rem;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow: auto;
  padding: 2rem;
  background: rgba(6, 17, 33, 0.88);
  backdrop-filter: blur(8px);
}

.image-modal.is-open {
  display: flex;
}

.image-modal__content {
  position: relative;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  max-width: calc(100vw - 4rem);
}

.image-modal__close {
  position: absolute;
  top: -1rem;
  right: -1rem;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--paper);
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(6, 17, 33, 0.28);
  cursor: pointer;
  font: 700 1.8rem/1 Saira, ui-sans-serif, system-ui, sans-serif;
}

.image-modal__close:hover,
.image-modal__close:focus-visible {
  background: var(--blue);
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.image-modal__image {
  width: auto;
  max-width: calc(100vw - 4rem);
  height: auto;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  object-fit: contain;
}

.image-modal__caption {
  max-width: min(760px, calc(100vw - 4rem));
  margin: 0;
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

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

  .nav-menu {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.4rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    justify-content: center;
  }

  .nav-menu .nav-cta {
    margin-left: 0;
  }

  .hero-inner,
  .split,
  .meeting-layout {
    grid-template-columns: 1fr;
  }

  .pricing-options {
    grid-template-columns: 1fr;
    max-width: 820px;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-panel {
    align-self: start;
    max-width: 380px;
  }

  .home-hero .hero-panel {
    margin-top: 0;
  }

  .entities-hero .hero-panel {
    margin-top: 0;
  }

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

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

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 820px) {
  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

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

  .pdf-table thead {
    display: none;
  }

  .pdf-table tr {
    margin-bottom: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 10px 28px rgba(10, 23, 51, 0.06);
  }

  .pdf-table td {
    display: block;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
  }

  .pdf-table td::before {
    content: none;
  }

  .pdf-table td:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 3.5rem 1rem;
  }

  .nav {
    padding-inline: 1rem;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    background:
      linear-gradient(120deg, rgba(10, 23, 51, 0.95), rgba(16, 39, 83, 0.82)),
      url("../Imagenes/PORTADA_FCNS_300.png") center bottom / 260px no-repeat,
      var(--navy);
  }

  .hero-inner {
    padding-top: 4rem;
    padding-bottom: 15rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .lead {
    font-size: 1.04rem;
  }

  .hero-panel {
    display: none;
  }

  .section-head,
  .cta-box,
  .footer-bottom .container {
    display: block;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .form-grid,
  .footer-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .pricing-intro {
    padding: 3rem 1rem 1.75rem;
  }

  .pricing-intro h1 {
    font-size: 2.35rem;
  }

  .pricing-showcase {
    padding: 0.75rem 1rem 3.5rem;
  }

  .price-option {
    border-radius: 14px 14px 28px 28px;
  }

  .price-option-header {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.7rem;
  }

  .price-option-header h2 {
    text-align: left;
  }

  .price-option-body {
    padding-inline: 1rem;
  }

  .activity-price {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .pack-detail-columns {
    grid-template-columns: 1fr;
  }

  .pricing-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .pricing-table thead {
    display: none;
  }

  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table th,
  .pricing-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .pricing-table tbody tr {
    margin-bottom: 0.85rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
  }

  .pricing-table tbody th {
    padding: 0.55rem 0.7rem;
    border: 0;
    border-radius: 5px;
    text-align: left;
  }

  .pricing-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0 0;
    border: 0;
    text-align: right;
  }

  .pricing-table tbody td::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 0.82rem;
    font-weight: 700;
  }

  .real-use-note {
    margin-top: 1.5rem;
    font-family: Saira, ui-sans-serif, system-ui, sans-serif;
  }

  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

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

  .pdf-table thead {
    display: none;
  }

  .pdf-table tr {
    margin-bottom: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 10px 28px rgba(10, 23, 51, 0.06);
  }

  .pdf-table td {
    display: block;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
  }

  .pdf-table td::before {
    content: none;
  }

  .pdf-table td:last-child {
    border-bottom: 0;
  }

  .actions .btn,
  .cta .btn {
    width: 100%;
  }

  .timeline-item {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .step {
    width: 40px;
    height: 40px;
  }

  .image-modal {
    padding: 1rem;
  }

  .image-modal__content {
    max-width: calc(100vw - 2rem);
  }

  .image-modal__close {
    top: 0.5rem;
    right: 0.5rem;
  }

  .image-modal__image {
    max-width: calc(100vw - 2rem);
  }

  .image-modal__caption {
    max-width: calc(100vw - 2rem);
    padding-inline: 0.5rem;
  }
}
