/* W-TECH brand layer. Load after assets/css/main.css. */
:root {
  --wtech-light: #75bbff;
  --wtech-sky: #69b2ff;
  --wtech-primary: #4b9bff;
  --wtech-deep: #006fb8;
  --wtech-navy: #061c33;
  --wtech-navy-2: #082b4d;
  --wtech-ink: #071526;
  --wtech-white: #ffffff;
  --wtech-soft: #eaf4ff;
  --wtech-muted: #334155;
  --wtech-muted-2: #4f5f70;
  --wtech-purple: #2b1d4d;
  --wtech-purple-2: #301f59;
  --wtech-focus: #ffdd57;
}

html {
  scroll-behavior: smooth;
}

body,
#wrapper {
  background: var(--wtech-purple);
}

/* Base typography and focus */
.wrapper .inner > p,
.products-intro,
.value-intro,
.product-card p,
.value-card p,
.institutional-content p,
#contacto p {
  font-size: 1.06rem;
  line-height: 1.78;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--wtech-focus) !important;
  outline-offset: 3px;
}

/* Sidebar */
#sidebar {
  background:
    radial-gradient(circle at 18% 10%, rgba(117, 187, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #061c33 0%, #082b4d 55%, #006fb8 100%) !important;
}

.sidebar-brand {
  display: block;
  margin-bottom: 2.4rem;
  text-decoration: none;
}

.sidebar-brand strong {
  display: block;
  color: var(--wtech-white) !important;
  font-size: 1.28rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.sidebar-brand small {
  display: block;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.80) !important;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

#sidebar nav a {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 700;
}

#sidebar nav a:hover,
#sidebar nav a.active {
  color: var(--wtech-white) !important;
  border-color: var(--wtech-light) !important;
}

/* Shared tags */
.highlight-tag,
.section-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.42rem 0.85rem;
  border: 1px solid rgba(117, 187, 255, 0.50);
  border-radius: 999px;
  background: rgba(117, 187, 255, 0.12);
  color: #dff1ff !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Buttons */
.button,
button,
input[type="submit"] {
  font-weight: 800 !important;
}

.button.cta-wtech,
button.cta-wtech,
input[type="submit"].cta-wtech {
  background: linear-gradient(135deg, #a8d6ff, #75bbff 48%, #4b9bff) !important;
  border-color: transparent !important;
  color: #041524 !important;
  box-shadow: 0 14px 32px rgba(75, 155, 255, 0.32);
}

.button.cta-wtech:hover,
button.cta-wtech:hover,
input[type="submit"].cta-wtech:hover {
  background: var(--wtech-white) !important;
  color: #041524 !important;
  transform: translateY(-1px);
}

#intro .button:not(.cta-wtech),
#contacto .button:not(.cta-wtech),
.value-section .button:not(.cta-wtech) {
  color: var(--wtech-white) !important;
  border-color: rgba(255, 255, 255, 0.70) !important;
}

#intro .button:not(.cta-wtech):hover,
#contacto .button:not(.cta-wtech):hover,
.value-section .button:not(.cta-wtech):hover {
  background: var(--wtech-white) !important;
  color: var(--wtech-navy) !important;
}

.product-card .button,
.value-section .button,
#contacto .button {
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

/* Hero */
#intro {
  background:
    radial-gradient(circle at 82% 24%, rgba(117, 187, 255, 0.20), transparent 28%),
    radial-gradient(circle at 45% 82%, rgba(75, 155, 255, 0.10), transparent 32%),
    linear-gradient(135deg, #061c33 0%, #0a2748 48%, #063866 100%) !important;
}

#intro .inner {
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 3.5rem;
  align-items: center;
}

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

#intro h1 {
  margin-bottom: 1.05rem;
  font-size: clamp(3rem, 6vw, 5.25rem);
  letter-spacing: 0.035em;
}

#intro h1 span {
  color: var(--wtech-light) !important;
}

#intro p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.90) !important;
  font-size: 1.15rem;
  line-height: 1.75;
}

.hero-emblem {
  justify-self: end;
  width: 285px;
  padding: 1.3rem 1.2rem 1.2rem;
  border: 1px solid rgba(117, 187, 255, 0.28);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 35%, rgba(117, 187, 255, 0.12), transparent 58%),
    rgba(6, 28, 51, 0.40);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  text-align: center;
  isolation: isolate;
  overflow: visible;
}

.hero-logo-orbit {
  position: relative;
  width: 218px;
  height: 218px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-logo-orbit::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(117, 187, 255, 0.24), rgba(75, 155, 255, 0.08) 48%, transparent 72%);
  filter: blur(10px);
  z-index: 0;
}

.hero-logo-orbit img {
  position: relative;
  z-index: 3;
  width: 172px;
  max-width: 172px;
  height: auto;
  margin: 0;
  filter:
    drop-shadow(0 18px 26px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 18px rgba(117, 187, 255, 0.16));
}

.logo-orbit-ring,
.logo-orbit-dot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.logo-orbit-ring-one {
  z-index: 1;
  background: conic-gradient(
    from 0deg,
    rgba(117, 187, 255, 0) 0deg,
    rgba(117, 187, 255, 0.96) 42deg,
    rgba(105, 178, 255, 0.34) 86deg,
    rgba(117, 187, 255, 0) 140deg,
    rgba(75, 155, 255, 0.62) 220deg,
    rgba(117, 187, 255, 0) 310deg,
    rgba(117, 187, 255, 0) 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px));
  animation: wtechOrbit360 9s linear infinite;
  opacity: 0.95;
}

.logo-orbit-ring-two {
  inset: 13px;
  z-index: 1;
  border: 1px solid rgba(117, 187, 255, 0.20);
  border-left-color: rgba(117, 187, 255, 0.78);
  border-bottom-color: rgba(75, 155, 255, 0.42);
  animation: wtechOrbit360Reverse 15s linear infinite;
  opacity: 0.88;
}

.logo-orbit-dot {
  z-index: 2;
  animation: wtechOrbit360 9s linear infinite;
}

.logo-orbit-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wtech-light);
  box-shadow: 0 0 16px rgba(117, 187, 255, 0.95), 0 0 32px rgba(75, 155, 255, 0.35);
  transform: translate(106px, -4px);
}

.logo-orbit-dot-two {
  inset: 13px;
  animation: wtechOrbit360Reverse 15s linear infinite;
  opacity: 0.82;
}

.logo-orbit-dot-two::before {
  width: 6px;
  height: 6px;
  transform: translate(92px, -3px);
  background: var(--wtech-primary);
}

.hero-emblem > span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  line-height: 1.55;
  text-transform: uppercase;
}

@keyframes wtechOrbit360 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes wtechOrbit360Reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Institutional section */
.institutional-section {
  background: #ffffff !important;
  padding: 0 !important;
}

.institutional-video {
  position: relative;
  width: 100%;
  min-height: clamp(360px, 58vw, 720px);
  overflow: hidden;
  background: #2f1768;
  display: flex;
  align-items: center;
  justify-content: center;
}

.institutional-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.institutional-video picture,
.institutional-video > img {
  display: none !important;
}

.institutional-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 28, 51, 0.16), rgba(6, 28, 51, 0.04), rgba(6, 28, 51, 0.18));
  pointer-events: none;
}

.institutional-video-copy {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 4rem));
  text-align: center;
  padding: 2rem;
}

.institutional-video-copy h2 {
  margin: 0;
  color: #ffffff !important;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.34;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow:
    0 3px 8px rgba(0, 0, 0, 0.62),
    0 12px 34px rgba(0, 0, 0, 0.42);
}

.institutional-content {
  padding-top: 4.6rem !important;
  padding-bottom: 4.6rem !important;
  text-align: center;
  background:
    radial-gradient(circle at 88% 10%, rgba(117, 187, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  border-top: 1px solid rgba(75, 155, 255, 0.10);
}

.institutional-content .section-kicker {
  background: rgba(75, 155, 255, 0.08);
  border-color: rgba(75, 155, 255, 0.28);
  color: #1769b5 !important;
}

.institutional-content h2 {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  color: var(--wtech-ink) !important;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.25;
}

.institutional-content p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--wtech-muted) !important;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.clients-grid span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(75, 155, 255, 0.36);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  background: var(--wtech-white);
  color: #102a43 !important;
  box-shadow: 0 10px 24px rgba(13, 48, 84, 0.06);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Products */
.products-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(117, 187, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #073a65 0%, #0a4d83 100%) !important;
}

.products-section h2,
.products-section .products-intro {
  color: var(--wtech-white) !important;
}

.products-section .products-intro {
  max-width: 780px;
  margin-bottom: 2.6rem;
  color: rgba(255, 255, 255, 0.90) !important;
}

.products-section .section-kicker {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
  color: var(--wtech-white) !important;
}

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

.product-card {
  position: relative;
  min-height: 100%;
  padding: 2.3rem;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 30px;
  background: linear-gradient(145deg, #15588f 0%, #104a78 100%) !important;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22) !important;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(117, 187, 255, 0.18), transparent 27%),
    linear-gradient(135deg, rgba(75, 155, 255, 0.08), transparent 46%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(117, 187, 255, 0.58) !important;
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.26) !important;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card .icon.major {
  position: relative;
  z-index: 1;
  width: 5.25rem;
  height: 5.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.55rem;
  border-radius: 26px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.78), transparent 26%),
    linear-gradient(135deg, #a8d6ff 0%, #75bbff 48%, #4b9bff 100%) !important;
  box-shadow:
    0 18px 42px rgba(75, 155, 255, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card .icon.major::before {
  color: #041524 !important;
  font-size: 2rem;
  line-height: 1;
}

.product-card .icon.major::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(117, 187, 255, 0.28);
  border-radius: 32px;
  opacity: 0.72;
  pointer-events: none;
}

.product-card:hover .icon.major {
  transform: translateY(-2px) scale(1.035);
  box-shadow:
    0 24px 52px rgba(75, 155, 255, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.product-card h3 {
  position: relative;
  margin-bottom: 0.9rem;
  color: var(--wtech-white) !important;
  font-size: 1.28rem;
  line-height: 1.32;
}

.product-card p {
  position: relative;
  margin-bottom: 1rem;
  color: var(--wtech-soft) !important;
}

.product-card .button {
  position: relative;
  margin-top: 0.4rem;
  color: var(--wtech-white) !important;
  border-color: rgba(255, 255, 255, 0.72) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.product-card .button:hover {
  color: var(--wtech-navy) !important;
  background: var(--wtech-light) !important;
  border-color: var(--wtech-light) !important;
}

/* Value section */
.value-section {
  background:
    radial-gradient(circle at 14% 12%, rgba(117, 187, 255, 0.14), transparent 28%),
    linear-gradient(135deg, #2b1d4d 0%, #301f59 48%, #173b69 100%) !important;
}

.value-section h2 {
  color: var(--wtech-white) !important;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.22;
}

.value-section > .inner > p,
.value-intro {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.88) !important;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.value-card {
  position: relative;
  padding: 2.25rem 2rem;
  border: 1px solid rgba(75, 155, 255, 0.15);
  border-radius: 32px;
  background: var(--wtech-white) !important;
  box-shadow: 0 22px 58px rgba(13, 48, 84, 0.10);
  text-align: center;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(75, 155, 255, 0.34);
  box-shadow: 0 30px 76px rgba(13, 48, 84, 0.15);
}

.value-photo {
  position: relative;
  width: 142px;
  height: 142px;
  margin: 0 auto 1.35rem;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, #75bbff, #69b2ff, #4b9bff);
  box-shadow: 0 18px 40px rgba(75, 155, 255, 0.24);
}

.value-photo img {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 4px solid var(--wtech-white);
}

.value-badge {
  position: absolute;
  right: 0;
  bottom: 8px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--wtech-navy);
  color: var(--wtech-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(6, 28, 51, 0.22);
}

.value-badge::before {
  font-size: 1rem;
}

.value-card h3 {
  margin-bottom: 0.9rem;
  color: var(--wtech-ink) !important;
  font-size: 1.28rem;
  line-height: 1.32;
}

.value-card p {
  margin-bottom: 0;
  color: var(--wtech-muted) !important;
}

.value-actions {
  margin-top: 2.4rem;
}

/* Contact */
#contacto {
  background:
    radial-gradient(circle at 12% 10%, rgba(117, 187, 255, 0.18), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(75, 155, 255, 0.12), transparent 30%),
    linear-gradient(135deg, #061c33 0%, #082b4d 54%, #041524 100%) !important;
}

#contacto h2 {
  color: var(--wtech-white) !important;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.22;
}

#contacto > .inner > p {
  max-width: 850px;
  color: rgba(255, 255, 255, 0.90) !important;
}

#contacto .split.style1 {
  align-items: stretch;
  gap: 2rem;
}

#contacto .split.style1 > section:first-child {
  padding: 2.2rem;
  border-radius: 30px;
  background: var(--wtech-white) !important;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
}

#contacto .split.style1 > section:first-child label {
  color: var(--wtech-ink) !important;
  font-weight: 800;
}

#contacto .split.style1 > section:first-child input,
#contacto .split.style1 > section:first-child textarea,
#contacto .split.style1 > section:first-child select {
  background: #f4f8fc !important;
  border: 1.5px solid #9cc8ee !important;
  color: var(--wtech-ink) !important;
}

#contacto .split.style1 > section:first-child input::placeholder,
#contacto .split.style1 > section:first-child textarea::placeholder {
  color: #5b6878 !important;
  opacity: 1 !important;
}

#contacto .split.style1 > section:first-child input:focus,
#contacto .split.style1 > section:first-child textarea:focus,
#contacto .split.style1 > section:first-child select:focus {
  border-color: #0d5fad !important;
  box-shadow:
    0 0 0 1px #0d5fad,
    0 0 0 4px rgba(117, 187, 255, 0.22) !important;
}

#contacto .split.style1 > section:last-child {
  padding: 2.2rem;
  border: 1px solid rgba(117, 187, 255, 0.36) !important;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(8px);
}

#contacto .contact h3 {
  color: #a8d6ff !important;
}

#contacto .contact span,
#contacto .contact a {
  color: var(--wtech-white) !important;
}

#contacto .contact a:hover,
ul.icons li a:hover {
  color: var(--wtech-light) !important;
}

ul.icons li a {
  border-color: rgba(117, 187, 255, 0.38) !important;
  color: var(--wtech-white) !important;
}

button.button {
  font-family: inherit;
  cursor: pointer;
}



/* Footer */
#footer {
  background: #041524 !important;
}

#footer .inner {
  max-width: 1180px;
}

.footer-legal-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-legal-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 78px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(117, 187, 255, 0.34);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-legal-card:hover,
.footer-legal-card:focus-visible {
  transform: translateY(-2px);
  border-color: #75bbff;
  background: rgba(117, 187, 255, 0.13);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
}

.footer-legal-card span:last-child {
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-legal-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #a8d6ff, #75bbff 48%, #4b9bff);
  color: #041524 !important;
  box-shadow: 0 12px 26px rgba(75, 155, 255, 0.28);
}

.footer-legal-icon::before {
  font-size: 1.05rem;
  line-height: 1;
}

#footer .menu,
#footer .menu a,
#footer .footer-meta,
#footer .footer-meta a {
  color: rgba(255, 255, 255, 0.84) !important;
}

#footer .menu a:hover,
#footer .footer-meta a:hover {
  color: #75bbff !important;
}

/* Responsive */
@media screen and (max-width: 980px) {
  .hero-layout,
  .products-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .hero-emblem {
    justify-self: start;
    width: min(285px, 100%);
  }

  .institutional-video {
    min-height: 500px;
  }

  .institutional-video-copy {
    width: min(760px, calc(100% - 3rem));
  }
}

@media screen and (max-width: 640px) {
  .hero-emblem {
    width: 100%;
  }

  .hero-logo-orbit {
    width: 192px;
    height: 192px;
  }

  .hero-logo-orbit img {
    width: 150px;
    max-width: 150px;
  }

  .logo-orbit-dot::before {
    transform: translate(92px, -4px);
  }

  .logo-orbit-dot-two::before {
    transform: translate(80px, -3px);
  }

  .institutional-video {
    min-height: 430px;
  }

  .institutional-video-copy {
    width: calc(100% - 2rem);
    padding: 1rem;
  }

  .institutional-video-copy h2 {
    font-size: clamp(1.55rem, 8vw, 2.05rem);
    line-height: 1.28;
  }

  .institutional-content {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .product-card,
  .value-card {
    padding: 1.65rem 1.35rem;
    border-radius: 24px;
  }

  .product-card .icon.major {
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 22px;
  }

  .product-card .icon.major::before {
    font-size: 1.75rem;
  }

  .product-card .icon.major::after {
    border-radius: 28px;
  }

  .value-photo {
    width: 118px;
    height: 118px;
  }

  .value-badge {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-orbit-ring-one,
  .logo-orbit-ring-two,
  .logo-orbit-dot,
  .logo-orbit-dot-two {
    animation: none !important;
  }
}

/* Mensaje de validación del formulario de contacto */
.form-feedback {
  margin: 1rem 0 0;
  color: #334155 !important;
  font-size: 0.95rem;
  line-height: 1.55;
}

.form-feedback[hidden] {
  display: none !important;
}

#contacto button.button {
  font-family: inherit;
  cursor: pointer;
}



@media screen and (max-width: 980px) {
  .footer-legal-links {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 640px) {
  .footer-legal-card {
    align-items: flex-start;
    min-height: auto;
    padding: 0.95rem 1rem;
  }

  .footer-legal-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
}

/* =========================
   Páginas legales internas
   ========================= */

body.policy-page {
  background: #f6f9fd;
  color: #071526;
}

.policy-page #footer {
  background: #041524 !important;
}

.policy-document {
  min-height: 100vh;
  padding: clamp(2rem, 5vw, 4rem) 1.25rem;
  background:
    radial-gradient(circle at 85% 0%, rgba(117, 187, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

.policy-shell {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.policy-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  color: #0d4f86;
  font-weight: 800;
  text-decoration: none;
}

.policy-back:hover,
.policy-back:focus-visible {
  color: #061c33;
  text-decoration: underline;
}

.policy-card {
  border: 1px solid rgba(75, 155, 255, 0.16);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 28px 72px rgba(13, 48, 84, 0.12);
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.policy-card header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(75, 155, 255, 0.18);
}

.policy-card h1 {
  margin: 0 0 0.85rem 0;
  color: #071526;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
}

.policy-card h2 {
  margin: 2.2rem 0 0.7rem 0;
  color: #0a2748;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.25;
}

.policy-card h3 {
  margin: 1.4rem 0 0.45rem 0;
  color: #0d4f86;
  font-size: 1.05rem;
  line-height: 1.35;
}

.policy-card p,
.policy-card li {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.75;
}

.policy-card ul,
.policy-card ol {
  margin-top: 0.5rem;
}

.policy-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.policy-meta span {
  display: block;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(75, 155, 255, 0.16);
  border-radius: 14px;
  background: #f4f8fc;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.5;
}

.policy-meta strong {
  color: #071526;
}

.policy-note {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid #4b9bff;
  border-radius: 14px;
  background: #eef6ff;
}

.policy-note p {
  margin: 0;
}

@media screen and (max-width: 720px) {
  .policy-meta {
    grid-template-columns: 1fr;
  }

  .legal-link-list a {
    font-size: 1.35rem;
  }
}


/* Documento legal en texto completo */
.policy-pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
  color: #334155;
  font-family: inherit;
  font-size: 1.02rem;
  line-height: 1.75;
}

.policy-pre a {
  color: #0d4f86;
  font-weight: 700;
}


/* =========================================================
   Documento legal organizado: Política de Seguridad
   ========================================================= */

.policy-shell-wide {
  width: min(1120px, 100%);
}

.policy-card-readable {
  padding: 0;
  overflow: hidden;
}

.policy-header {
  margin: 0;
  padding: clamp(2rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(75, 155, 255, 0.18);
  background:
    radial-gradient(circle at 88% 10%, rgba(117, 187, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
}

.policy-header p {
  max-width: 820px;
  margin: 1rem 0 0 0;
  color: #334155;
  font-size: 1.08rem;
  line-height: 1.75;
}

.policy-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #ffffff;
}

.policy-summary-block {
  padding: 1.25rem;
  border: 1px solid rgba(75, 155, 255, 0.16);
  border-radius: 22px;
  background: #f8fbff;
}

.policy-summary-block h2 {
  margin: 0 0 1rem 0;
  color: #071526;
  font-size: 1.05rem;
  line-height: 1.25;
}

.policy-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.policy-info-grid div {
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(13, 48, 84, 0.06);
}

.policy-info-grid strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #0d4f86;
  font-size: 0.78rem;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-info-grid span {
  color: #071526;
  font-size: 0.98rem;
  line-height: 1.55;
}

.policy-prose {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  color: #334155;
}

.policy-prose h2 {
  margin: 2.6rem 0 0.85rem 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(75, 155, 255, 0.16);
  color: #071526;
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  line-height: 1.25;
}

.policy-prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.policy-prose h2 span,
.policy-prose h3 span,
.policy-prose h4 span {
  color: #0d5fad;
}

.policy-prose h3 {
  margin: 2rem 0 0.65rem 0;
  color: #0d4f86;
  font-size: 1.22rem;
  line-height: 1.35;
}

.policy-prose h4 {
  margin: 1.35rem 0 0.5rem 0;
  color: #0a2748;
  font-size: 1.04rem;
  line-height: 1.4;
  font-weight: 800;
}

.policy-prose p,
.policy-prose li {
  color: #334155;
  font-size: 1.04rem;
  line-height: 1.78;
}

.policy-prose p {
  margin: 0 0 0.9rem 0;
}

.policy-prose ul,
.policy-prose ol {
  margin: 0.75rem 0 1.2rem 0;
  padding-left: 1.45rem;
}

.policy-prose li {
  margin-bottom: 0.45rem;
  padding-left: 0.1rem;
}

.policy-keyline {
  padding: 0.65rem 0.85rem;
  border-left: 4px solid #75bbff;
  border-radius: 12px;
  background: #f4f9ff;
}

.policy-keyline strong,
.policy-point strong {
  color: #0d4f86;
}

.policy-point {
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: #f8fbff;
}

.policy-prose a {
  color: #0d4f86;
  font-weight: 800;
}

@media screen and (max-width: 860px) {
  .policy-summary {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 640px) {
  .policy-document {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .policy-card {
    border-radius: 24px;
  }

  .policy-prose p,
  .policy-prose li {
    font-size: 1rem;
  }
}
