:root {
  --text-zoom: 1;
  --blue: #0866b8;
  --blue-dark: #075298;
  --blue-light: #eaf4fd;
  --green: #45a522;
  --green-dark: #2e8412;
  --border: #cfdde9;
  --text: #333;
  --muted: #666;
  --panel-shadow: 0 1px 3px rgba(25, 65, 95, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  zoom: var(--text-zoom);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  background:
    radial-gradient(circle at 50% 100px, rgba(230, 238, 245, .35), transparent 440px),
    #fff;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
select {
  font: inherit;
}

.page {
  width: min(1040px, calc(100% - 32px));
  margin-inline: auto;
}

.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;
}

.utility-bar {
  height: 31px;
  color: #444;
  font-size: 11px;
  background: linear-gradient(#f7f7f7, #ececec);
  border-bottom: 1px solid #e0e0e0;
}

.utility-inner,
.utility-links,
.utility-right,
.text-size-controls {
  display: flex;
  align-items: center;
}

.utility-inner {
  height: 100%;
  justify-content: space-between;
}

.utility-links a {
  color: #3f3f3f;
  padding: 0 10px;
  border-right: 1px solid #aaa;
  line-height: 11px;
}

.utility-links a:first-child {
  padding-left: 0;
}

.utility-links a:last-child {
  border: 0;
}

.utility-right {
  gap: 18px;
}

.text-size-controls {
  gap: 3px;
}

.text-size-controls button {
  display: grid;
  min-width: 28px;
  height: 22px;
  padding: 0 5px;
  color: #365264;
  place-items: center;
  font-weight: bold;
  font-size: 11px;
  border: 1px solid #b9c8d1;
  border-radius: 3px;
  background: linear-gradient(#fff, #e7eef2);
  cursor: pointer;
}

.text-size-controls button:hover,
.text-size-controls button:focus {
  color: var(--blue);
  border-color: #79a9c8;
  background: #fff;
}

.text-size-controls button:disabled {
  color: #a7b1b7;
  border-color: #d5dde1;
  background: #edf1f3;
  cursor: default;
}

.site-header {
  position: relative;
  display: flex;
  min-height: 111px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  color: #333;
}

.brand:hover {
  text-decoration: none;
}

.brand-symbol {
  position: relative;
  width: 95px;
  height: 84px;
  flex: 0 0 auto;
}

.percent-sign {
  position: absolute;
  top: -4px;
  left: 10px;
  z-index: 2;
  color: #07569d;
  font-size: 59px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -8px;
  text-shadow: 0 2px 0 #fff, 1px 3px 2px rgba(0, 0, 0, .28);
}

.calculator-icon {
  position: absolute;
  left: 30px;
  bottom: 4px;
  display: grid;
  width: 45px;
  height: 47px;
  padding: 13px 6px 6px;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: linear-gradient(135deg, #53718a, #0f2d47);
  border: 2px solid #2f4556;
  border-radius: 4px;
  transform: rotate(10deg);
  box-shadow: 3px 5px 4px rgba(0, 0, 0, .22);
}

.calculator-icon::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 7px;
  right: 7px;
  height: 7px;
  background: #a7cee4;
  border: 1px solid #0d2233;
}

.calculator-icon i {
  background: #e2dfc2;
  border-radius: 1px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.brand-name {
  color: #333;
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -2px;
  white-space: nowrap;
}

.brand-name span {
  color: var(--blue);
}

.brand-name b {
  font-size: .7em;
  font-weight: 400;
  letter-spacing: -1px;
}

.tagline {
  color: #555;
  font-size: 15px;
  letter-spacing: .15px;
}

.header-chart {
  width: 300px;
  height: 105px;
  margin-right: 7px;
  filter: drop-shadow(2px 4px 3px rgba(0, 0, 0, .18));
}

.main-nav {
  position: relative;
  z-index: 10;
  border-top: 1px solid #cfd9e2;
  border-bottom: 1px solid #c9d5df;
  background: linear-gradient(#fff, #f6f8fa);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}

.nav-inner {
  display: flex;
  height: 42px;
  align-items: stretch;
}

.nav-links {
  display: flex;
  align-items: stretch;
  flex: 1;
}

.nav-links a {
  display: flex;
  padding: 0 20px;
  align-items: center;
  color: #075da8;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a:hover {
  text-decoration: none;
  background: #edf5fb;
}

.nav-links a.active {
  margin-left: 0;
  color: #fff;
  background: linear-gradient(#1d7acc, #075da8);
  border-radius: 3px 3px 0 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.home-icon {
  margin-right: 8px;
  color: #fff;
  font-size: 11px;
  transform: rotate(45deg);
}

.down {
  margin-left: 5px;
  font-size: 8px;
}

.search-box {
  display: flex;
  width: 252px;
  padding: 7px 0 7px 12px;
}

.search-box input {
  min-width: 0;
  width: 100%;
  padding: 6px 8px;
  color: #555;
  font-size: 11px;
  border: 1px solid #ccd5dc;
  border-right: 0;
  border-radius: 3px 0 0 3px;
  outline: 0;
}

.search-box input:focus {
  border-color: #6ca6d3;
  box-shadow: inset 0 0 3px rgba(0, 92, 170, .15);
}

.search-box button,
.blue-button {
  color: #fff;
  font-weight: 700;
  border: 1px solid #07589f;
  background: linear-gradient(#2482d1, #075cae);
  box-shadow: inset 0 1px rgba(255, 255, 255, .25);
}

.search-box button {
  padding: 0 13px;
  font-size: 11px;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 5px;
  box-shadow: var(--panel-shadow);
  background: #fff;
}

.hero {
  display: grid;
  min-height: 230px;
  margin-top: 16px;
  grid-template-columns: 40% 33% 27%;
  overflow: hidden;
}

.hero-copy {
  padding: 17px 0 15px 22px;
}

.hero-copy h1 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 23px;
  line-height: 1.15;
}

.hero-copy p {
  max-width: 365px;
  margin: 0 0 7px;
  line-height: 1.42;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.55;
}

.check-list li::before {
  content: "✓";
  display: inline-grid;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  color: #fff;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  background: #58b622;
  border-radius: 50%;
}

.hero-graphic {
  position: relative;
  min-height: 228px;
}

.hero-graphic svg {
  position: absolute;
  top: 33px;
  left: 8px;
  width: 100%;
  max-width: 300px;
  filter: drop-shadow(4px 7px 4px rgba(0, 0, 0, .2));
}

.big-percent {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 50px;
  color: #176fc5;
  font-size: 85px;
  line-height: 1;
  font-weight: 800;
  transform: rotate(-6deg);
  text-shadow: 0 2px #fff, 3px 4px 2px rgba(0, 0, 0, .16);
}

.chart-label {
  position: absolute;
  z-index: 3;
  padding: 5px 11px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border-radius: 4px;
  box-shadow: 1px 2px 2px rgba(0, 0, 0, .2);
}

.label-15 {
  top: 92px;
  left: -3px;
  background: #2279c9;
}

.label-25 {
  top: 29px;
  right: 21px;
  background: #e12722;
}

.label-10 {
  bottom: 31px;
  left: 36px;
  background: #62a90d;
}

.label-50 {
  right: 25px;
  bottom: 14px;
  background: #f36f00;
}

.quick-example {
  margin: -1px -1px -1px 0;
  padding: 18px 23px;
  text-align: center;
  background: linear-gradient(135deg, #fff, #fbfdff);
  border: 1px solid var(--border);
  border-radius: 5px;
}

.quick-example h2 {
  margin: 0 0 17px;
  padding-bottom: 10px;
  color: var(--blue);
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid #e1e8ee;
}

.quick-example h2 span {
  margin-right: 6px;
  color: #f6bb14;
  font-size: 24px;
}

.quick-example p {
  margin: 0 0 20px;
}

.quick-example strong {
  display: block;
  margin-bottom: 20px;
  color: #0968c0;
  font-size: 19px;
  font-weight: 400;
}

.quick-example b {
  display: block;
  margin-bottom: 20px;
  color: #268711;
  font-size: 16px;
}

.blue-button {
  display: block;
  padding: 8px 10px;
  text-align: center;
  border-radius: 3px;
}

.blue-button:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.06);
}

.calculators-section {
  padding-top: 14px;
}

.section-title {
  margin: 0 0 7px 14px;
  color: var(--blue);
  font-size: 15px;
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 16px;
}

.calculator-card {
  min-height: 218px;
  padding: 13px 14px 11px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: linear-gradient(135deg, #fff, #fbfdff);
  box-shadow: var(--panel-shadow);
}

.calculator-card h3 {
  display: flex;
  min-height: 34px;
  margin: 0;
  align-items: center;
  color: var(--blue);
  font-size: 13px;
  line-height: 1.2;
}

.card-icon {
  display: inline-grid;
  width: 35px;
  margin-right: 9px;
  flex: 0 0 35px;
  place-items: center;
  font-size: 27px;
  line-height: 1;
  filter: drop-shadow(1px 2px 1px rgba(0, 0, 0, .15));
}

.card-icon.percent {
  color: var(--blue);
  font-size: 34px;
  font-weight: 800;
}

.card-icon.cart {
  font-size: 31px;
}

.card-icon.clipboard,
.card-icon.waiter,
.card-icon.bank {
  font-size: 28px;
}

.card-icon.arrow {
  color: #7dc527;
  font-size: 35px;
  font-weight: bold;
  text-shadow: 0 1px #3b8b09;
}

.card-icon.down-arrow {
  color: #f44848;
  text-shadow: 0 1px #a80b0b;
}

.card-icon.more {
  width: 32px;
  height: 32px;
  color: #fff;
  font-size: 17px;
  letter-spacing: -2px;
  background: linear-gradient(#aaa, #777);
  border-radius: 5px;
}

.calculator-card > p {
  min-height: 35px;
  margin: 3px 0 9px 40px;
  font-size: 11px;
  line-height: 1.35;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
}

.calc-form label {
  position: relative;
  display: grid;
  min-height: 22px;
  grid-template-columns: 1fr 100px;
  align-items: center;
  gap: 5px;
}

.calc-form input,
.calc-form select {
  width: 100%;
  height: 23px;
  padding: 2px 5px;
  border: 1px solid #ccd3d8;
  border-radius: 2px;
  background: #fff;
  outline: 0;
}

.calc-form input:focus,
.calc-form select:focus {
  border-color: #62a2d3;
  box-shadow: 0 0 0 2px rgba(0, 103, 184, .1);
}

.calc-form label:has(.input-prefix) {
  grid-template-columns: 1fr 12px 88px;
}

.input-prefix {
  text-align: center;
}

.result {
  display: flex;
  min-height: 22px;
  align-items: center;
  justify-content: space-between;
}

.result output {
  color: #318f16;
  font-weight: 700;
  letter-spacing: 1px;
}

.calc-form button {
  width: 96px;
  margin: 4px auto 0;
  padding: 5px 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #3b8e1c;
  border-radius: 3px;
  background: linear-gradient(#65bf3d, #3b941d);
  box-shadow: inset 0 1px rgba(255, 255, 255, .25);
  cursor: pointer;
}

.calc-form button:hover {
  filter: brightness(1.05);
}

.calc-form button:active {
  transform: translateY(1px);
}

.calc-form.compact {
  gap: 3px;
}

.more-card {
  display: flex;
  flex-direction: column;
}

.more-card > p {
  margin-bottom: 4px;
}

.more-card ul {
  margin: 0 0 7px 38px;
  padding-left: 10px;
  color: var(--blue);
  font-size: 11px;
  line-height: 1.75;
}

.more-card .blue-button {
  margin-top: auto;
  padding-block: 7px;
  font-size: 11px;
}

.ad-banner {
  position: relative;
  display: flex;
  width: 86%;
  min-height: 86px;
  margin: 10px auto;
  padding: 10px 40px 10px 28px;
  align-items: center;
  justify-content: center;
  gap: 25px;
  color: #fff;
  background:
    radial-gradient(circle at 48% -20%, rgba(255, 255, 255, .75), transparent 46%),
    linear-gradient(160deg, #3391c9, #00569d 60%, #003e74);
  border: 1px solid #b5c9d9;
  box-shadow: inset 0 1px rgba(255, 255, 255, .4);
  overflow: hidden;
}

.ad-logo {
  display: grid;
  width: 67px;
  height: 67px;
  color: #fff;
  place-items: center;
  font-size: 42px;
  font-weight: 800;
  border: 4px solid #fff;
  border-radius: 50%;
}

.ad-banner div:nth-child(2) {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.ad-banner strong {
  font-size: 20px;
  font-weight: 400;
}

.ad-banner span {
  font-size: 15px;
}

.ad-banner > a {
  padding: 7px 18px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  background: linear-gradient(#0873c4, #004889);
  border: 1px solid #004074;
  border-radius: 5px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .3);
}

.ad-banner > a:hover {
  text-decoration: none;
}

.ad-banner small {
  position: absolute;
  right: 5px;
  bottom: 3px;
  color: #4f7694;
  font-size: 8px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr .95fr;
  gap: 10px;
}

.info-panel {
  min-height: 190px;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--panel-shadow);
  overflow: hidden;
}

.panel-heading {
  display: flex;
  min-height: 31px;
  padding: 0 10px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(#fff, #eef4f8);
  border-bottom: 1px solid #dce5eb;
}

.panel-heading h2 {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
}

.panel-heading h2 span {
  margin-right: 7px;
  color: #4b779e;
  font-size: 15px;
}

.panel-heading > a {
  font-size: 8px;
}

.examples-list {
  margin: 10px 12px 8px 24px;
  padding-left: 9px;
  font-size: 9px;
}

.examples-list li {
  display: grid;
  min-height: 31px;
  padding-left: 4px;
  grid-template-columns: 1fr auto;
  gap: 5px;
  line-height: 1.2;
}

.examples-list b {
  color: #258b12;
  font-size: 8px;
  white-space: nowrap;
}

.arrow-list {
  margin: 10px 12px;
  padding: 0;
  list-style: none;
  font-size: 9px;
  line-height: 1.78;
}

.arrow-list li::before {
  content: "›";
  margin-right: 8px;
  color: var(--blue);
  font-weight: 700;
}

.article-list {
  line-height: 2.05;
}

.article-list a {
  font-weight: 700;
}

.faq-strip {
  display: grid;
  min-height: 69px;
  margin: 10px 0;
  grid-template-columns: 260px 1fr;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: linear-gradient(#fbfdff, #f4f8fb);
}

.faq-title {
  display: flex;
  padding-left: 18px;
  align-items: center;
  gap: 14px;
}

.faq-title > span {
  display: grid;
  width: 35px;
  height: 35px;
  color: #fff;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  background: #317ebd;
  border-radius: 50%;
}

.faq-title h2 {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 15px;
}

.faq-title a {
  font-size: 8px;
}

.faq-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 25px;
}

.faq-links a {
  font-size: 10px;
  font-weight: 700;
}

.faq-links a::before {
  content: "›";
  margin-right: 9px;
}

.resources-grid {
  display: grid;
  margin-bottom: 10px;
  grid-template-columns: 1.15fr 1fr 1.18fr;
  gap: 10px;
}

.resource-box {
  min-height: 80px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: linear-gradient(135deg, #fff, #f8fbfd);
}

.resource-box h2 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
}

.resource-box h2 span {
  margin-right: 7px;
}

.resource-links {
  display: grid;
  gap: 8px 20px;
  font-size: 9px;
  font-weight: 700;
}

.resource-links.two-columns {
  grid-template-columns: 1fr 1fr;
}

.resource-links a::before {
  content: "▧";
  margin-right: 8px;
  color: #8097aa;
}

.follow-box h2 {
  float: left;
  width: 42%;
}

.facebook-square {
  display: inline-grid;
  width: 16px;
  height: 16px;
  color: #fff;
  place-items: center;
  background: #3b63a0;
}

.follow-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 16px;
  font-size: 9px;
  font-weight: 700;
}

.follow-links a::before {
  content: "■";
  margin-right: 6px;
  color: #2bb1ce;
}

.share-box p {
  margin: 0 0 8px;
  font-size: 9px;
}

.share-buttons {
  display: flex;
  gap: 6px;
}

.share-buttons button {
  padding: 3px 6px;
  color: #273f66;
  font-size: 9px;
  font-weight: 700;
  border: 1px solid #b9c6cf;
  border-radius: 3px;
  background: #fff;
}

.share-buttons em {
  margin-left: 3px;
  padding-left: 4px;
  color: #777;
  font-style: normal;
  font-weight: 400;
  border-left: 1px solid #ddd;
}

footer {
  color: #fff;
}

.footer-main {
  display: grid;
  min-height: 88px;
  padding: 9px 17px;
  grid-template-columns: 1.08fr 1.15fr .75fr 1fr;
  background: linear-gradient(#4c555c, #30383e);
}

.footer-column {
  padding: 0 12px;
  font-size: 8px;
  border-right: 1px solid rgba(255, 255, 255, .2);
}

.footer-column:first-child {
  padding-left: 0;
}

.footer-column:last-child {
  border-right: 0;
}

.footer-column h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 10px;
}

.footer-column p {
  margin: 2px 0;
  line-height: 1.25;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-links.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.footer-links a {
  color: #fff;
}

.footer-links a::before {
  content: "•";
  margin-right: 5px;
}

.certificates > div {
  display: flex;
  margin: 4px 0 8px;
  gap: 10px;
}

.certificates span {
  padding: 4px;
  color: #206a9e;
  font-size: 11px;
  font-weight: 700;
  background: #fff;
  border: 2px solid #d8e4e8;
  transform: rotate(-1deg);
}

.certificates span:nth-child(2) {
  transform: rotate(2deg);
}

.certificates span b {
  color: #467a62;
}

.certificates > strong {
  padding: 3px 6px;
  color: #fff;
  font-size: 8px;
  background: #4f870e;
  border: 2px solid #d9e4c4;
}

.footer-bottom {
  display: flex;
  min-height: 32px;
  padding: 0 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--blue);
  font-size: 9px;
  background: #fff;
}

.footer-bottom > div {
  display: flex;
}

.footer-bottom > div a {
  padding: 0 9px;
  border-right: 1px solid #aaa;
}

.footer-bottom > div a:first-child {
  padding-left: 0;
}

.footer-bottom > div a:last-child {
  border: 0;
}

.toast {
  position: fixed;
  z-index: 99;
  right: 22px;
  bottom: 22px;
  max-width: 320px;
  padding: 12px 16px;
  color: #fff;
  font-size: 13px;
  background: #2f3d48;
  border-radius: 4px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: .2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.share-modal,
.favorites-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.share-modal.show,
.favorites-modal.show {
  display: flex;
}

.share-backdrop,
.favorites-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 39, 51, .56);
}

.share-dialog,
.favorites-dialog {
  position: relative;
  z-index: 1;
  width: min(390px, 100%);
  padding: 22px 25px 20px;
  color: #4d5d67;
  text-align: center;
  background: linear-gradient(145deg, #fff, #f6fbfe);
  border: 1px solid #b9d0df;
  border-radius: 6px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .3);
}

.share-close,
.favorites-close {
  position: absolute;
  top: 7px;
  right: 9px;
  width: 27px;
  height: 27px;
  padding: 0;
  color: #71828c;
  font-size: 22px;
  line-height: 1;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.share-symbol,
.favorites-star {
  display: grid;
  width: 51px;
  height: 51px;
  margin: 0 auto 10px;
  color: #fff;
  place-items: center;
  font-size: 28px;
  background: linear-gradient(#ffc62d, #e78b09);
  border: 4px solid #fff0c9;
  border-radius: 50%;
  box-shadow: 1px 3px 4px rgba(0, 0, 0, .18);
}

.share-symbol {
  font-size: 27px;
  background: linear-gradient(#2aa0df, #0767b5);
  border-color: #d8effc;
}

.share-dialog h2,
.favorites-dialog h2 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 18px;
}

.share-dialog > p,
.favorites-dialog p {
  margin: 0 auto 15px;
  font-size: 11px;
  line-height: 1.5;
}

.share-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.share-option {
  display: flex;
  min-height: 62px;
  padding: 8px 5px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: #47606f;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  border: 1px solid #c8d8e2;
  border-radius: 4px;
  background: #f5fafc;
  cursor: pointer;
}

.share-option:hover,
.share-option:focus {
  color: var(--blue);
  border-color: #8bbbd8;
  background: #edf7fc;
}

.share-option span {
  display: grid;
  width: 27px;
  height: 27px;
  color: #fff;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
}

.share-option.whatsapp span {
  background: #25a85a;
}

.share-option.email span {
  background: #e88a16;
}

.share-option.copy span {
  background: #687d8b;
}

.share-dialog small {
  display: block;
  min-height: 13px;
  margin-top: 10px;
  color: #25804b;
  font-size: 9px;
}

.share-link-field {
  width: 100%;
  margin-top: 10px;
  padding: 7px 9px;
  color: #526772;
  font-size: 9px;
  border: 1px solid #cfdee7;
  border-radius: 3px;
  background: #fff;
}

.favorites-shortcuts {
  display: grid;
  gap: 7px;
  padding: 11px;
  text-align: left;
  background: #edf6fb;
  border: 1px solid #d0e2ec;
  border-radius: 4px;
}

.favorites-shortcuts > div {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
}

.favorites-shortcuts span {
  min-width: 112px;
  color: #416176;
  font-weight: 700;
}

.favorites-shortcuts kbd {
  min-width: 27px;
  padding: 4px 6px;
  color: #324c5c;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  background: #fff;
  border: 1px solid #adbec9;
  border-bottom-width: 2px;
  border-radius: 3px;
}

.favorites-dialog small {
  display: block;
  margin: 9px 0 13px;
  color: #75848d;
  font-size: 9px;
}

.favorites-understood {
  min-width: 115px;
  padding: 7px 14px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid #07589f;
  border-radius: 3px;
  background: linear-gradient(#2482d1, #075cae);
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 960px) {
  .header-chart {
    width: 230px;
  }

  .nav-links a {
    padding-inline: 12px;
  }

  .search-box {
    width: 220px;
  }

  .hero {
    grid-template-columns: 48% 52%;
  }

  .quick-example {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: center;
    gap: 10px;
  }

  .quick-example h2,
  .quick-example p,
  .quick-example strong,
  .quick-example b {
    margin: 0;
  }

  .quick-example h2 {
    border-bottom: 0;
  }

  .quick-example b {
    display: none;
  }

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

@media (max-width: 760px) {
  .page {
    width: min(100% - 20px, 560px);
  }

  #add-google,
  .utility-links a[href="#agregar"],
  #current-date {
    display: none;
  }

  .site-header {
    min-height: 92px;
  }

  .brand-symbol {
    width: 70px;
    transform: scale(.8);
    transform-origin: left center;
  }

  .brand-name {
    font-size: 25px;
    letter-spacing: -1px;
  }

  .tagline {
    max-width: 330px;
    font-size: 11px;
  }

  .header-chart {
    display: none;
  }

  .nav-inner {
    position: relative;
    height: auto;
    min-height: 44px;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
    padding: 0 15px;
    color: #fff;
    font-weight: 700;
    border: 0;
    background: linear-gradient(#1d7acc, #075da8);
  }

  .nav-links {
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 5px 12px rgba(0, 0, 0, .16);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    min-height: 42px;
    border-bottom: 1px solid #e7edf2;
  }

  .nav-links a.active {
    border-radius: 0;
  }

  .search-box {
    width: auto;
    margin-left: auto;
    flex: 1;
    max-width: 300px;
  }

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

  .hero-copy {
    padding: 19px 20px;
  }

  .hero-graphic {
    min-height: 220px;
    margin-inline: auto;
    width: min(330px, 100%);
  }

  .quick-example {
    display: block;
    padding: 18px 22px;
  }

  .quick-example h2,
  .quick-example p,
  .quick-example strong,
  .quick-example b {
    margin-bottom: 14px;
  }

  .quick-example h2 {
    border-bottom: 1px solid #e1e8ee;
  }

  .quick-example b {
    display: block;
  }

  .info-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }

  .faq-strip {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 16px;
  }

  .faq-title {
    padding-left: 0;
  }

  .faq-links {
    grid-template-columns: 1fr 1fr;
  }

  .ad-banner {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .footer-column:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 510px) {
  .page {
    width: calc(100% - 16px);
  }

  .utility-inner {
    justify-content: space-between;
  }

  .share-options {
    grid-template-columns: 1fr;
  }

  .share-option {
    min-height: 45px;
    padding: 7px 12px;
    justify-content: flex-start;
    flex-direction: row;
  }

  .brand {
    width: 100%;
  }

  .brand-symbol {
    width: 60px;
    transform: scale(.7);
  }

  .brand-name {
    font-size: 21px;
  }

  .brand-name b {
    display: none;
  }

  .tagline {
    font-size: 10px;
  }

  .search-box {
    max-width: calc(100% - 83px);
  }

  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .calculator-card {
    min-height: 210px;
  }

  .faq-links {
    grid-template-columns: 1fr;
  }

  .ad-banner {
    padding: 16px;
    gap: 12px;
  }

  .ad-logo,
  .ad-banner > a {
    display: none;
  }

  .ad-banner strong {
    font-size: 18px;
  }

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

  .footer-column,
  .footer-column:nth-child(2) {
    padding: 0 0 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .footer-column:last-child {
    border-bottom: 0;
  }

  .footer-bottom {
    display: block;
    padding-block: 10px;
  }

  .footer-bottom > div {
    flex-wrap: wrap;
    margin-bottom: 8px;
    gap: 5px 0;
  }
}

/* Página: directorio de calculadoras */
.calculators-directory {
  padding-bottom: 12px;
}

.breadcrumb {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 9px;
  color: #777;
  font-size: 10px;
}

.breadcrumb span {
  color: #9ca9b3;
}

.breadcrumb strong {
  color: #555;
}

.directory-intro {
  display: grid;
  min-height: 112px;
  padding: 19px 23px;
  grid-template-columns: 68px 1fr auto;
  align-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at 76% 0, rgba(222, 239, 252, .7), transparent 220px),
    linear-gradient(135deg, #fff, #f9fcff);
}

.directory-intro-icon {
  display: grid;
  width: 62px;
  height: 62px;
  color: #fff;
  place-items: center;
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(145deg, #2785d0, #07599f);
  border: 4px solid #dbeaf5;
  border-radius: 50%;
  box-shadow: 2px 3px 4px rgba(0, 0, 0, .2);
}

.directory-intro h1 {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 25px;
}

.directory-intro p {
  max-width: 650px;
  margin: 0;
  color: #555;
  line-height: 1.45;
}

.directory-stat {
  display: flex;
  min-width: 155px;
  padding-left: 24px;
  align-items: center;
  gap: 9px;
  border-left: 1px solid #d7e2ea;
}

.directory-stat b {
  color: var(--blue);
  font-size: 38px;
}

.directory-stat span {
  color: #667681;
  font-size: 11px;
  line-height: 1.3;
}

.directory-layout {
  display: grid;
  margin-top: 14px;
  grid-template-columns: 210px 1fr;
  align-items: start;
  gap: 16px;
}

.directory-sidebar {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sidebar-panel {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--panel-shadow);
  overflow: hidden;
}

.sidebar-panel h2 {
  margin: 0;
  padding: 10px 13px;
  color: var(--blue);
  font-size: 13px;
  background: linear-gradient(#fff, #edf4f8);
  border-bottom: 1px solid #d9e4eb;
}

.category-nav {
  display: flex;
  flex-direction: column;
  padding: 5px 0;
}

.category-nav a {
  display: grid;
  min-height: 38px;
  padding: 7px 10px;
  grid-template-columns: 25px 1fr;
  align-items: center;
  color: #3e5e73;
  font-size: 11px;
  font-weight: 700;
  border-bottom: 1px solid #edf1f4;
}

.category-nav a:last-child {
  border-bottom: 0;
}

.category-nav a:hover,
.category-nav a.selected {
  color: #075da8;
  text-decoration: none;
  background: #edf6fc;
}

.category-nav a.selected {
  box-shadow: inset 4px 0 #1475c4;
}

.category-nav span {
  color: #3e91cc;
  text-align: center;
  font-size: 15px;
}

.help-panel ol {
  margin: 12px 14px 13px 32px;
  padding: 0;
  font-size: 10px;
  line-height: 2;
}

.help-panel li::marker {
  color: var(--green);
  font-weight: 700;
}

.sidebar-tip {
  display: flex;
  padding: 12px;
  gap: 10px;
  color: #5b5b5b;
  font-size: 10px;
  line-height: 1.4;
  background: #fffbea;
  border: 1px solid #e7daa2;
  border-radius: 4px;
}

.sidebar-tip > span {
  font-size: 22px;
}

.sidebar-tip b {
  color: #9a7200;
  font-size: 11px;
}

.sidebar-tip p {
  margin: 3px 0 0;
}

.directory-content {
  min-width: 0;
}

.directory-heading {
  display: flex;
  min-height: 45px;
  margin-bottom: 7px;
  align-items: center;
  justify-content: space-between;
}

.directory-heading h2 {
  margin: 0 0 2px;
  color: var(--blue);
  font-size: 17px;
}

.directory-heading p {
  margin: 0;
  color: #777;
  font-size: 10px;
}

.directory-filter {
  color: #666;
  font-size: 10px;
}

.directory-filter select {
  min-width: 160px;
  height: 27px;
  margin-left: 5px;
  padding: 2px 6px;
  color: #555;
  border: 1px solid #cbd6de;
  border-radius: 2px;
  background: #fff;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.directory-card {
  min-height: 225px;
  scroll-margin-top: 58px;
  transition: opacity .18s ease, transform .18s ease;
}

.directory-card.is-hidden {
  display: none;
}

.directory-card h3 {
  min-height: 39px;
}

.directory-card > p {
  min-height: 31px;
  margin-left: 43px;
}

.directory-card .calc-form label {
  grid-template-columns: 1fr 90px;
}

.directory-card .calc-form label:has(.input-prefix) {
  grid-template-columns: 1fr 12px 78px;
}

.percentage-table-wrap {
  margin-top: 9px;
  overflow: hidden;
  border: 1px solid #cbdce7;
  border-radius: 3px;
}

.percentage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 9px;
}

.percentage-table th,
.percentage-table td {
  padding: 3px 7px;
  text-align: right;
  border-bottom: 1px solid #e2ebf0;
}

.percentage-table thead th {
  color: #fff;
  font-weight: 700;
  background: #1675ba;
}

.percentage-table tbody th {
  color: #486372;
  text-align: left;
  background: #f3f8fb;
}

.percentage-table tbody td {
  color: #318f16;
  font-weight: 700;
}

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

.advanced-results {
  display: grid;
  gap: 3px;
  padding: 7px 8px;
  background: #f4faf0;
  border: 1px solid #d8e8cf;
  border-radius: 3px;
}

.advanced-results .result {
  min-height: 17px;
  font-size: 9px;
}

.card-icon.fraction,
.card-icon.total-icon,
.card-icon.margin-icon,
.card-icon.variation-icon {
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 700;
}

.card-icon.margin-icon {
  color: #4baf1f;
}

.card-icon.variation-icon {
  color: #e48a0e;
}

.no-results {
  display: none;
  min-height: 130px;
  padding: 30px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: #73828c;
  text-align: center;
  border: 1px dashed #b9cad7;
  border-radius: 4px;
  background: #f8fbfd;
}

.no-results.show {
  display: flex;
}

.directory-bottom {
  display: grid;
  min-height: 78px;
  margin-top: 14px;
  padding: 13px 18px;
  grid-template-columns: 45px 1fr 205px;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #fff, #f5faff);
}

.bottom-icon {
  display: grid;
  width: 37px;
  height: 37px;
  color: #fff;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  background: #347fba;
  border-radius: 50%;
}

.directory-bottom h2 {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 14px;
}

.directory-bottom p {
  margin: 0;
  color: #555;
  font-size: 10px;
  line-height: 1.4;
}

.directory-bottom .blue-button {
  font-size: 11px;
}

@media (max-width: 960px) {
  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .directory-intro {
    grid-template-columns: 58px 1fr;
  }

  .directory-intro-icon {
    width: 54px;
    height: 54px;
    font-size: 34px;
  }

  .directory-stat {
    display: none;
  }

  .directory-layout {
    grid-template-columns: 1fr;
  }

  .directory-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .sidebar-tip {
    display: none;
  }

  .category-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .category-nav a {
    border-right: 1px solid #edf1f4;
  }

  .directory-bottom {
    grid-template-columns: 42px 1fr;
  }

  .directory-bottom .blue-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 510px) {
  .directory-intro {
    padding: 16px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .directory-intro-icon {
    margin-inline: auto;
  }

  .directory-intro h1 {
    font-size: 22px;
  }

  .directory-sidebar {
    display: block;
  }

  .directory-sidebar .sidebar-panel {
    margin-bottom: 10px;
  }

  .category-nav {
    grid-template-columns: 1fr;
  }

  .directory-heading {
    display: block;
  }

  .directory-filter {
    display: flex;
    margin-top: 10px;
    align-items: center;
  }

  .directory-filter select {
    flex: 1;
  }

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

  .directory-card {
    min-height: 214px;
  }

  .directory-bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bottom-icon {
    margin-inline: auto;
  }
}

/* Página: fórmulas de porcentajes */
.formulas-directory {
  padding-bottom: 12px;
}

.formula-intro {
  display: grid;
  min-height: 112px;
  padding: 19px 23px;
  grid-template-columns: 68px 1fr 190px;
  align-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at 78% 0, rgba(222, 239, 252, .72), transparent 230px),
    linear-gradient(135deg, #fff, #f9fcff);
}

.formula-intro-icon {
  display: grid;
  width: 62px;
  height: 62px;
  color: #fff;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 42px;
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(145deg, #2785d0, #07599f);
  border: 4px solid #dbeaf5;
  border-radius: 50%;
  box-shadow: 2px 3px 4px rgba(0, 0, 0, .2);
}

.formula-intro h1 {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 25px;
}

.formula-intro p {
  max-width: 650px;
  margin: 0;
  color: #555;
  line-height: 1.45;
}

.formula-intro .blue-button {
  font-size: 11px;
}

.formula-layout {
  display: grid;
  margin-top: 14px;
  grid-template-columns: 210px 1fr;
  align-items: start;
  gap: 16px;
}

.formula-sidebar {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.formula-nav {
  display: flex;
  flex-direction: column;
  padding: 5px 0;
}

.formula-nav a {
  display: grid;
  min-height: 38px;
  padding: 7px 10px;
  grid-template-columns: 25px 1fr;
  align-items: center;
  color: #3e5e73;
  font-size: 11px;
  font-weight: 700;
  border-bottom: 1px solid #edf1f4;
}

.formula-nav a:last-child {
  border-bottom: 0;
}

.formula-nav a:hover,
.formula-nav a.selected {
  color: #075da8;
  text-decoration: none;
  background: #edf6fc;
}

.formula-nav a.selected {
  box-shadow: inset 4px 0 #1475c4;
}

.formula-nav span {
  color: #3e91cc;
  text-align: center;
  font-size: 15px;
}

.notation-panel p {
  margin: 0;
  padding: 0 13px 13px;
  color: #666;
  font-size: 10px;
  line-height: 1.45;
}

.rule-box {
  display: grid;
  margin: 13px;
  padding: 12px 8px;
  grid-template-columns: auto auto 54px auto;
  align-items: center;
  gap: 6px;
  color: #304f64;
  text-align: center;
  font-family: Georgia, serif;
  font-size: 12px;
  background: #f3f9fd;
  border: 1px solid #d3e3ee;
  border-radius: 3px;
}

.rule-box > div {
  display: flex;
  flex-direction: column;
  font-size: 10px;
}

.rule-box em {
  font-style: normal;
}

.rule-box i {
  margin: 3px 0;
  border-top: 1px solid #496b80;
}

.formula-content {
  min-width: 0;
}

.formula-group {
  margin-bottom: 15px;
  scroll-margin-top: 55px;
}

.formula-group-heading {
  display: flex;
  min-height: 47px;
  margin-bottom: 8px;
  align-items: center;
  gap: 10px;
}

.group-number {
  display: grid;
  width: 31px;
  height: 31px;
  color: #fff;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(#2682ce, #075ba6);
  border-radius: 50%;
}

.group-number.green {
  background: linear-gradient(#70bf39, #3f941b);
}

.group-number.orange {
  background: linear-gradient(#f4aa2b, #dc7510);
}

.group-number.purple {
  background: linear-gradient(#9273c7, #6846a0);
}

.formula-group-heading h2 {
  margin: 0 0 2px;
  color: var(--blue);
  font-size: 17px;
}

.formula-group-heading p {
  margin: 0;
  color: #777;
  font-size: 10px;
}

.formula-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

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

.formula-card {
  min-height: 220px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(249, 252, 254, .96));
  box-shadow: var(--panel-shadow);
}

.formula-card-title {
  display: flex;
  min-height: 35px;
  align-items: center;
  gap: 8px;
}

.formula-card-title > span {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  color: #fff;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(#2583d0, #075da9);
  border-radius: 4px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .25);
}

.formula-card-title > span.green-symbol {
  background: linear-gradient(#74c33c, #46951f);
}

.formula-card-title > span.red-symbol {
  background: linear-gradient(#f06965, #c72d29);
}

.formula-card-title > span.orange-symbol {
  background: linear-gradient(#f2aa31, #da7612);
}

.formula-card-title h3 {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
}

.formula-card > p {
  min-height: 31px;
  margin: 7px 0;
  color: #555;
  font-size: 10px;
  line-height: 1.4;
}

.equation {
  display: flex;
  min-height: 58px;
  padding: 9px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  color: #3f596b;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  background: #eef7fd;
  border: 1px solid #cddfea;
  border-radius: 3px;
}

.equation b {
  color: #075da8;
}

.equation span {
  font-weight: 700;
}

.formula-example {
  margin-top: 9px;
  padding-top: 7px;
  border-top: 1px dashed #ccd7df;
}

.formula-example strong {
  color: #3f951d;
  font-size: 9px;
  text-transform: uppercase;
}

.formula-example p {
  margin: 3px 0 0;
  color: #555;
  font-size: 9px;
  line-height: 1.45;
}

.formula-example b {
  color: #268714;
}

.symbols-panel {
  padding: 14px 17px 17px;
  scroll-margin-top: 55px;
}

.symbols-heading {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  gap: 10px;
}

.symbols-heading > span {
  display: grid;
  width: 32px;
  height: 32px;
  color: #fff;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  background: #347fba;
  border-radius: 50%;
}

.symbols-heading h2 {
  margin: 0 0 2px;
  color: var(--blue);
  font-size: 15px;
}

.symbols-heading p {
  margin: 0;
  color: #777;
  font-size: 9px;
}

.symbols-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.symbols-grid > div {
  display: grid;
  min-height: 53px;
  padding: 8px;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 8px;
  background: #f7fafc;
  border: 1px solid #dbe5eb;
  border-radius: 3px;
}

.symbols-grid b {
  color: var(--blue);
  text-align: center;
  font-family: Georgia, serif;
  font-size: 13px;
}

.symbols-grid span {
  color: #59666f;
  font-size: 9px;
  line-height: 1.35;
}

.formula-cta {
  display: grid;
  min-height: 78px;
  margin-top: 2px;
  padding: 13px 18px;
  grid-template-columns: 45px 1fr 190px;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #fff, #f5faff);
}

.formula-cta h2 {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 14px;
}

.formula-cta p {
  margin: 0;
  color: #555;
  font-size: 10px;
  line-height: 1.4;
}

.formula-cta .blue-button {
  font-size: 11px;
}

@media (max-width: 960px) {
  .formula-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 760px) {
  .formula-intro {
    grid-template-columns: 58px 1fr;
  }

  .formula-intro-icon {
    width: 54px;
    height: 54px;
    font-size: 36px;
  }

  .formula-intro .blue-button {
    grid-column: 1 / -1;
  }

  .formula-layout {
    grid-template-columns: 1fr;
  }

  .formula-sidebar {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
  }

  .formula-sidebar .sidebar-tip {
    display: none;
  }

  .formula-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .formula-cta {
    grid-template-columns: 42px 1fr;
  }

  .formula-cta .blue-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 510px) {
  .formula-intro {
    padding: 16px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .formula-intro-icon {
    margin-inline: auto;
  }

  .formula-intro h1 {
    font-size: 22px;
  }

  .formula-sidebar {
    display: block;
  }

  .formula-sidebar .sidebar-panel {
    margin-bottom: 10px;
  }

  .formula-nav {
    grid-template-columns: 1fr;
  }

  .formula-grid,
  .formula-grid.two-formulas,
  .symbols-grid {
    grid-template-columns: 1fr;
  }

  .formula-card {
    min-height: 205px;
  }

  .formula-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Página: ejemplos resueltos */
.examples-directory {
  padding-bottom: 12px;
}

.examples-intro {
  display: grid;
  min-height: 112px;
  padding: 19px 23px;
  grid-template-columns: 68px 1fr auto;
  align-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at 76% 0, rgba(224, 242, 218, .65), transparent 230px),
    linear-gradient(135deg, #fff, #f9fcff);
}

.examples-intro-icon {
  display: grid;
  width: 62px;
  height: 62px;
  color: #fff;
  place-items: center;
  font-size: 38px;
  font-weight: 700;
  background: linear-gradient(145deg, #6bc238, #358d16);
  border: 4px solid #e2f0dc;
  border-radius: 50%;
  box-shadow: 2px 3px 4px rgba(0, 0, 0, .2);
}

.examples-intro h1 {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 25px;
}

.examples-intro p {
  max-width: 650px;
  margin: 0;
  color: #555;
  line-height: 1.45;
}

.examples-layout {
  display: grid;
  margin-top: 14px;
  grid-template-columns: 210px 1fr;
  align-items: start;
  gap: 16px;
}

.examples-sidebar {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.example-nav {
  display: flex;
  flex-direction: column;
  padding: 5px 0;
}

.example-nav a {
  display: grid;
  min-height: 38px;
  padding: 7px 10px;
  grid-template-columns: 25px 1fr;
  align-items: center;
  color: #3e5e73;
  font-size: 11px;
  font-weight: 700;
  border-bottom: 1px solid #edf1f4;
}

.example-nav a:last-child {
  border-bottom: 0;
}

.example-nav a:hover,
.example-nav a.selected {
  color: #075da8;
  text-decoration: none;
  background: #edf6fc;
}

.example-nav a.selected {
  box-shadow: inset 4px 0 #1475c4;
}

.example-nav span {
  color: #3e91cc;
  text-align: center;
  font-size: 15px;
}

.example-method ol {
  margin: 12px 14px 13px 32px;
  padding: 0;
  font-size: 10px;
  line-height: 2;
}

.example-method li::marker {
  color: var(--green);
  font-weight: 700;
}

.examples-content {
  min-width: 0;
}

.examples-heading {
  display: flex;
  min-height: 45px;
  margin-bottom: 7px;
  align-items: center;
  justify-content: space-between;
}

.examples-heading h2 {
  margin: 0 0 2px;
  color: var(--blue);
  font-size: 17px;
}

.examples-heading p {
  margin: 0;
  color: #777;
  font-size: 10px;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 11px;
}

.worked-example {
  min-height: 166px;
  scroll-margin-top: 55px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: linear-gradient(135deg, #fff, #fbfdff);
  box-shadow: var(--panel-shadow);
  overflow: hidden;
}

.worked-example.is-hidden {
  display: none;
}

.example-card-head {
  display: flex;
  min-height: 67px;
  padding: 11px 12px 8px;
  align-items: center;
  gap: 10px;
}

.example-number {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: #fff;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(#2583d0, #075da9);
  border-radius: 50%;
  box-shadow: inset 0 1px rgba(255, 255, 255, .3);
}

.example-number.green {
  background: linear-gradient(#73c43d, #42921e);
}

.example-number.orange {
  background: linear-gradient(#f0ac37, #d87612);
}

.example-number.purple {
  background: linear-gradient(#9877cb, #65459b);
}

.example-number.dark {
  background: linear-gradient(#607786, #394d5a);
}

.example-card-head small {
  display: block;
  margin-bottom: 3px;
  color: #6c8290;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.example-card-head h3 {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  line-height: 1.3;
}

.example-answer {
  display: flex;
  min-height: 39px;
  padding: 7px 13px;
  align-items: center;
  justify-content: space-between;
  color: #557080;
  font-size: 10px;
  background: #f1f8ed;
  border-top: 1px solid #dcebd5;
  border-bottom: 1px solid #dcebd5;
}

.example-answer b {
  color: #2d8c13;
  font-size: 16px;
}

.worked-example details {
  background: #fff;
}

.worked-example summary {
  position: relative;
  padding: 10px 32px 10px 13px;
  color: #0863ad;
  font-size: 10px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

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

.worked-example summary::after {
  content: "+";
  position: absolute;
  top: 7px;
  right: 12px;
  display: grid;
  width: 20px;
  height: 20px;
  color: #fff;
  place-items: center;
  font-size: 14px;
  background: #2480ca;
  border-radius: 50%;
}

.worked-example details[open] summary::after {
  content: "−";
}

.solution-steps {
  padding: 0 12px 11px;
  border-top: 1px dashed #d7e0e6;
}

.solution-steps p {
  display: grid;
  margin: 0;
  padding: 7px 0;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 7px;
  color: #555;
  font-size: 9px;
  line-height: 1.4;
  border-bottom: 1px solid #edf1f3;
}

.solution-steps p:last-child {
  border-bottom: 0;
}

.solution-steps i {
  display: grid;
  width: 18px;
  height: 18px;
  color: #fff;
  place-items: center;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  background: #7b9db5;
  border-radius: 50%;
}

.solution-steps strong {
  color: #2e8b15;
}

.practice-strip {
  display: grid;
  min-height: 86px;
  margin-top: 14px;
  padding: 13px 18px;
  grid-template-columns: 48px 1fr 190px;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #fff, #f5faff);
}

.practice-icon {
  display: grid;
  width: 40px;
  height: 40px;
  color: #fff;
  place-items: center;
  font-size: 23px;
  background: #347fba;
  border-radius: 50%;
}

.practice-strip h2 {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 14px;
}

.practice-strip p {
  margin: 0;
  color: #555;
  font-size: 10px;
  line-height: 1.4;
}

.practice-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  font-size: 9px;
}

.practice-actions .blue-button {
  font-size: 11px;
}

@media (max-width: 760px) {
  .examples-intro {
    grid-template-columns: 58px 1fr;
  }

  .examples-intro-icon {
    width: 54px;
    height: 54px;
    font-size: 34px;
  }

  .examples-intro .directory-stat {
    display: none;
  }

  .examples-layout {
    grid-template-columns: 1fr;
  }

  .examples-sidebar {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
  }

  .examples-sidebar .sidebar-tip {
    display: none;
  }

  .example-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .practice-strip {
    grid-template-columns: 42px 1fr;
  }

  .practice-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 510px) {
  .examples-intro {
    padding: 16px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .examples-intro-icon {
    margin-inline: auto;
  }

  .examples-intro h1 {
    font-size: 22px;
  }

  .examples-sidebar {
    display: block;
  }

  .examples-sidebar .sidebar-panel {
    margin-bottom: 10px;
  }

  .example-nav {
    grid-template-columns: 1fr;
  }

  .examples-heading {
    display: block;
  }

  .examples-heading .directory-filter {
    display: flex;
    margin-top: 10px;
  }

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

  .practice-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .practice-icon {
    margin-inline: auto;
  }
}

/* Página: artículos */
.articles-directory {
  padding-bottom: 12px;
}

.articles-intro {
  display: grid;
  min-height: 112px;
  padding: 19px 23px;
  grid-template-columns: 68px 1fr auto;
  align-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at 76% 0, rgba(231, 239, 249, .8), transparent 230px),
    linear-gradient(135deg, #fff, #f9fcff);
}

.articles-intro-icon {
  display: grid;
  width: 62px;
  height: 62px;
  color: #fff;
  place-items: center;
  font-size: 37px;
  background: linear-gradient(145deg, #4d93c6, #176494);
  border: 4px solid #e1edf5;
  border-radius: 50%;
  box-shadow: 2px 3px 4px rgba(0, 0, 0, .2);
}

.articles-intro h1 {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 25px;
}

.articles-intro p {
  max-width: 660px;
  margin: 0;
  color: #555;
  line-height: 1.45;
}

.featured-article {
  display: grid;
  min-height: 220px;
  margin-top: 14px;
  grid-template-columns: 31% 1fr;
  overflow: hidden;
  scroll-margin-top: 55px;
}

.featured-article.is-hidden {
  display: none;
}

.featured-visual {
  position: relative;
  display: flex;
  min-height: 218px;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 65% 15%, rgba(255, 255, 255, .6), transparent 110px),
    linear-gradient(145deg, #2589cb, #07559a);
  overflow: hidden;
}

.featured-visual::before,
.featured-visual::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border: 25px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.featured-visual::before {
  top: -75px;
  left: -65px;
}

.featured-visual::after {
  right: -80px;
  bottom: -95px;
}

.featured-percent {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 92px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 4px 5px 4px rgba(0, 0, 0, .22);
  transform: rotate(-7deg);
}

.featured-bars {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: flex;
  height: 62px;
  align-items: end;
  gap: 5px;
}

.featured-bars i {
  width: 12px;
  height: 24px;
  background: #ffcc16;
  box-shadow: 1px 2px rgba(0, 0, 0, .16);
}

.featured-bars i:nth-child(2) {
  height: 37px;
  background: #f27d0b;
}

.featured-bars i:nth-child(3) {
  height: 49px;
  background: #75ba2f;
}

.featured-bars i:nth-child(4) {
  height: 62px;
  background: #d9302a;
}

.featured-copy {
  padding: 19px 24px 15px;
}

.featured-label {
  display: inline-block;
  margin-bottom: 7px;
  padding: 4px 8px;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  background: #e89013;
  border-radius: 2px;
}

.featured-copy h2 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 21px;
}

.featured-copy > p {
  margin: 0 0 10px;
  color: #555;
  font-size: 11px;
  line-height: 1.5;
}

.article-meta {
  display: flex;
  margin: 7px 0;
  align-items: center;
  gap: 13px;
  color: #7a8992;
  font-size: 8px;
}

.featured-copy details,
.article-card details {
  border-top: 1px dashed #cfdae1;
}

.featured-copy summary,
.article-card summary {
  position: relative;
  padding: 9px 27px 7px 0;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.featured-copy summary::-webkit-details-marker,
.article-card summary::-webkit-details-marker {
  display: none;
}

.featured-copy summary::after,
.article-card summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 6px;
  display: grid;
  width: 19px;
  height: 19px;
  color: #fff;
  place-items: center;
  font-size: 13px;
  background: #287fbd;
  border-radius: 50%;
}

.featured-copy details[open] summary::after,
.article-card details[open] summary::after {
  content: "−";
}

.article-body {
  padding: 7px 0 4px;
  color: #4e5b63;
  font-size: 9px;
  line-height: 1.55;
}

.article-body h3 {
  margin: 4px 0 3px;
  color: #365e78;
  font-size: 10px;
}

.article-body p {
  margin: 4px 0 7px;
}

.article-callout {
  margin: 7px 0 3px;
  padding: 8px 10px;
  color: #3d5d70;
  background: #eff8fd;
  border-left: 3px solid #3185be;
}

.article-callout b {
  color: #21719f;
}

.articles-layout {
  display: grid;
  margin-top: 14px;
  grid-template-columns: 210px 1fr;
  align-items: start;
  gap: 16px;
}

.articles-sidebar {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.article-nav {
  display: flex;
  flex-direction: column;
  padding: 5px 0;
}

.article-nav a {
  display: grid;
  min-height: 38px;
  padding: 7px 10px;
  grid-template-columns: 25px 1fr;
  align-items: center;
  color: #3e5e73;
  font-size: 11px;
  font-weight: 700;
  border-bottom: 1px solid #edf1f4;
}

.article-nav a:last-child {
  border-bottom: 0;
}

.article-nav a:hover,
.article-nav a.selected {
  color: #075da8;
  text-decoration: none;
  background: #edf6fc;
}

.article-nav a.selected {
  box-shadow: inset 4px 0 #1475c4;
}

.article-nav span {
  color: #3e91cc;
  text-align: center;
  font-size: 15px;
}

.popular-panel ol {
  margin: 4px 0;
  padding: 3px 12px 7px 35px;
  counter-reset: popular;
  list-style: none;
}

.popular-panel li {
  position: relative;
  min-height: 45px;
  padding: 8px 0;
  font-size: 9px;
  line-height: 1.35;
  border-bottom: 1px solid #edf1f4;
  counter-increment: popular;
}

.popular-panel li:last-child {
  border-bottom: 0;
}

.popular-panel li::before {
  content: counter(popular);
  position: absolute;
  top: 8px;
  left: -25px;
  display: grid;
  width: 18px;
  height: 18px;
  color: #fff;
  place-items: center;
  font-size: 8px;
  font-weight: 700;
  background: #5a91b8;
  border-radius: 50%;
}

.popular-panel a {
  font-weight: 700;
}

.articles-content {
  min-width: 0;
}

.articles-heading {
  display: flex;
  min-height: 45px;
  margin-bottom: 7px;
  align-items: center;
  justify-content: space-between;
}

.articles-heading h2 {
  margin: 0 0 2px;
  color: var(--blue);
  font-size: 17px;
}

.articles-heading p {
  margin: 0;
  color: #777;
  font-size: 10px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 11px;
}

.article-card {
  min-height: 295px;
  scroll-margin-top: 55px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--panel-shadow);
  overflow: hidden;
}

.article-card.is-hidden {
  display: none;
}

.article-cover {
  position: relative;
  display: flex;
  height: 85px;
  padding: 10px 14px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  overflow: hidden;
}

.article-cover::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -55px;
  width: 120px;
  height: 120px;
  border: 18px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}

.article-cover > span {
  position: relative;
  z-index: 2;
  font-size: 42px;
  font-weight: 800;
  text-shadow: 2px 3px 2px rgba(0, 0, 0, .2);
}

.article-cover small {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  padding: 3px 6px;
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(0, 0, 0, .16);
  border-radius: 2px;
}

.cover-blue { background: linear-gradient(135deg, #3b9ada, #0860a9); }
.cover-green { background: linear-gradient(135deg, #76bd3e, #37891c); }
.cover-red { background: linear-gradient(135deg, #ef6f66, #b82f2a); }
.cover-purple { background: linear-gradient(135deg, #9c7bd1, #65469c); }
.cover-orange { background: linear-gradient(135deg, #f5b13c, #da7510); }
.cover-teal { background: linear-gradient(135deg, #4eb5ae, #187b76); }
.cover-indigo { background: linear-gradient(135deg, #657fc6, #364f98); }
.cover-yellow { background: linear-gradient(135deg, #e7ba35, #b57d0a); }
.cover-sky { background: linear-gradient(135deg, #53b2d1, #1d779d); }

.article-card-content {
  padding: 11px 12px 10px;
}

.article-category {
  display: inline-block;
  padding: 3px 6px;
  color: #176ba5;
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
  background: #e8f4fb;
  border-radius: 2px;
}

.green-category { color: #3d7f1d; background: #edf7e7; }
.red-category { color: #9b312d; background: #faeceb; }
.purple-category { color: #674c91; background: #f0ebf7; }
.orange-category { color: #a55b0a; background: #fcf1df; }
.teal-category { color: #276f6b; background: #e7f5f4; }
.indigo-category { color: #465c9a; background: #ebeff9; }
.yellow-category { color: #8b6810; background: #fbf5df; }
.sky-category { color: #276f8d; background: #e8f5fa; }

.article-card h3 {
  min-height: 36px;
  margin: 7px 0 5px;
  color: var(--blue);
  font-size: 12px;
  line-height: 1.35;
}

.article-card-content > p {
  min-height: 57px;
  margin: 0;
  color: #555;
  font-size: 9px;
  line-height: 1.5;
}

.article-card .article-meta {
  justify-content: space-between;
  padding: 6px 0;
  border-top: 1px solid #edf1f3;
}

.articles-cta {
  display: grid;
  min-height: 86px;
  margin-top: 14px;
  padding: 13px 18px;
  grid-template-columns: 48px 1fr 190px;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #fff, #f5faff);
}

.articles-cta h2 {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 14px;
}

.articles-cta p {
  margin: 0;
  color: #555;
  font-size: 10px;
  line-height: 1.4;
}

.article-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  font-size: 9px;
}

.article-actions .blue-button {
  font-size: 11px;
}

@media (max-width: 960px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .articles-intro {
    grid-template-columns: 58px 1fr;
  }

  .articles-intro-icon {
    width: 54px;
    height: 54px;
    font-size: 32px;
  }

  .articles-intro .directory-stat {
    display: none;
  }

  .featured-article {
    grid-template-columns: 1fr;
  }

  .featured-visual {
    min-height: 150px;
  }

  .articles-layout {
    grid-template-columns: 1fr;
  }

  .articles-sidebar {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
  }

  .articles-sidebar .sidebar-tip {
    display: none;
  }

  .article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .articles-cta {
    grid-template-columns: 42px 1fr;
  }

  .article-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 510px) {
  .articles-intro {
    padding: 16px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .articles-intro-icon {
    margin-inline: auto;
  }

  .articles-intro h1 {
    font-size: 22px;
  }

  .featured-copy {
    padding: 17px;
  }

  .featured-copy h2 {
    font-size: 18px;
  }

  .articles-sidebar {
    display: block;
  }

  .articles-sidebar .sidebar-panel {
    margin-bottom: 10px;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .articles-heading {
    display: block;
  }

  .articles-heading .directory-filter {
    display: flex;
    margin-top: 10px;
  }

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

  .article-card {
    min-height: 0;
  }

  .articles-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .articles-cta .practice-icon {
    margin-inline: auto;
  }
}

/* Página: preguntas frecuentes */
.faq-directory {
  padding-bottom: 12px;
}

.faq-intro {
  display: grid;
  min-height: 112px;
  padding: 19px 23px;
  grid-template-columns: 68px 1fr auto;
  align-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at 76% 0, rgba(224, 239, 252, .75), transparent 230px),
    linear-gradient(135deg, #fff, #f9fcff);
}

.faq-intro-icon {
  display: grid;
  width: 62px;
  height: 62px;
  color: #fff;
  place-items: center;
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(145deg, #4595ce, #17669c);
  border: 4px solid #e1edf5;
  border-radius: 50%;
  box-shadow: 2px 3px 4px rgba(0, 0, 0, .2);
}

.faq-intro h1 {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 25px;
}

.faq-intro p {
  max-width: 660px;
  margin: 0;
  color: #555;
  line-height: 1.45;
}

.popular-questions {
  margin-top: 13px;
}

.popular-questions h2 {
  margin: 0 0 7px 4px;
  color: var(--blue);
  font-size: 14px;
}

.popular-question-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.popular-question-grid a {
  display: flex;
  min-height: 61px;
  padding: 10px 13px;
  align-items: center;
  gap: 10px;
  color: #315e7d;
  font-size: 10px;
  line-height: 1.35;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: linear-gradient(135deg, #fff, #f7fbfd);
  box-shadow: var(--panel-shadow);
}

.popular-question-grid a:hover {
  color: var(--blue);
  text-decoration: none;
  background: #eef7fd;
}

.popular-question-grid span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: #fff;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(#388bc8, #1767a0);
  border-radius: 50%;
}

.faq-layout {
  display: grid;
  margin-top: 14px;
  grid-template-columns: 210px 1fr;
  align-items: start;
  gap: 16px;
}

.faq-sidebar {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.faq-nav {
  display: flex;
  flex-direction: column;
  padding: 5px 0;
}

.faq-nav a {
  display: grid;
  min-height: 38px;
  padding: 7px 10px;
  grid-template-columns: 25px 1fr;
  align-items: center;
  color: #3e5e73;
  font-size: 11px;
  font-weight: 700;
  border-bottom: 1px solid #edf1f4;
}

.faq-nav a:last-child {
  border-bottom: 0;
}

.faq-nav a:hover,
.faq-nav a.selected {
  color: #075da8;
  text-decoration: none;
  background: #edf6fc;
}

.faq-nav a.selected {
  box-shadow: inset 4px 0 #1475c4;
}

.faq-nav span {
  color: #3e91cc;
  text-align: center;
  font-size: 15px;
}

.faq-help {
  padding-bottom: 12px;
}

.faq-help p {
  margin: 11px 13px;
  color: #59666f;
  font-size: 10px;
  line-height: 1.45;
}

.faq-help .blue-button {
  margin: 0 12px;
  font-size: 10px;
}

.faq-content {
  min-width: 0;
}

.faq-directory-heading {
  display: flex;
  min-height: 45px;
  margin-bottom: 7px;
  align-items: center;
  justify-content: space-between;
}

.faq-directory-heading h2 {
  margin: 0 0 2px;
  color: var(--blue);
  font-size: 17px;
}

.faq-directory-heading p {
  margin: 0;
  color: #777;
  font-size: 10px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.faq-item {
  scroll-margin-top: 55px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--panel-shadow);
  overflow: hidden;
}

.faq-item.is-hidden {
  display: none;
}

.faq-item summary {
  position: relative;
  display: grid;
  min-height: 52px;
  padding: 8px 45px 8px 10px;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 9px;
  color: #315970;
  list-style: none;
  cursor: pointer;
  background: linear-gradient(#fff, #f8fbfd);
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 12px;
  display: grid;
  width: 22px;
  height: 22px;
  color: #fff;
  place-items: center;
  font-size: 15px;
  background: #2d82bc;
  border-radius: 50%;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  background: #f0f8fd;
  border-bottom: 1px solid #d8e5ed;
}

.faq-number {
  display: grid;
  width: 28px;
  height: 28px;
  color: #fff;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  background: linear-gradient(#3188c7, #17669e);
  border-radius: 50%;
}

.faq-number.green {
  background: linear-gradient(#73bf3e, #408f1c);
}

.faq-number.orange {
  background: linear-gradient(#efaa38, #d67511);
}

.faq-number.purple {
  background: linear-gradient(#9575c7, #65459b);
}

.faq-item summary b {
  color: var(--blue);
  font-size: 11px;
}

.faq-item summary em {
  color: #7f8d96;
  font-size: 8px;
  font-style: normal;
  white-space: nowrap;
}

.faq-answer {
  padding: 12px 52px;
  color: #4e5b63;
  font-size: 10px;
  line-height: 1.55;
}

.faq-answer p {
  margin: 0 0 7px;
}

.faq-formula {
  margin: 8px 0;
  padding: 10px;
  color: #246489;
  text-align: center;
  font-family: Georgia, serif;
  font-weight: 700;
  background: #eef7fc;
  border: 1px solid #d0e2ec;
  border-radius: 3px;
}

.faq-example {
  margin-top: 7px;
  padding: 8px 10px;
  color: #48713a;
  background: #f1f8ed;
  border-left: 3px solid #66aa3b;
}

.faq-example b {
  color: #39871c;
}

.faq-tools {
  display: grid;
  min-height: 88px;
  margin-top: 14px;
  padding: 13px 18px;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #fff, #f5faff);
}

.faq-tools-icon {
  display: grid;
  width: 40px;
  height: 40px;
  color: #fff;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  background: #4b9d28;
  border-radius: 50%;
}

.faq-tools h2 {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 14px;
}

.faq-tools p {
  margin: 0;
  color: #555;
  font-size: 10px;
  line-height: 1.4;
}

.faq-tool-links {
  display: flex;
  gap: 7px;
}

.faq-tool-links a {
  display: flex;
  min-width: 95px;
  padding: 8px 9px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #17659d;
  font-size: 9px;
  font-weight: 700;
  background: #fff;
  border: 1px solid #c7dbe8;
  border-radius: 3px;
}

.faq-tool-links a:hover {
  text-decoration: none;
  background: #edf7fd;
}

.faq-tool-links span {
  font-size: 15px;
}

@media (max-width: 760px) {
  .faq-intro {
    grid-template-columns: 58px 1fr;
  }

  .faq-intro-icon {
    width: 54px;
    height: 54px;
    font-size: 34px;
  }

  .faq-intro .directory-stat {
    display: none;
  }

  .popular-question-grid {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-sidebar {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
  }

  .faq-sidebar .sidebar-tip {
    display: none;
  }

  .faq-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .faq-tools {
    grid-template-columns: 42px 1fr;
  }

  .faq-tool-links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 510px) {
  .faq-intro {
    padding: 16px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .faq-intro-icon {
    margin-inline: auto;
  }

  .faq-intro h1 {
    font-size: 22px;
  }

  .faq-sidebar {
    display: block;
  }

  .faq-sidebar .sidebar-panel {
    margin-bottom: 10px;
  }

  .faq-nav {
    grid-template-columns: 1fr;
  }

  .faq-directory-heading {
    display: block;
  }

  .faq-directory-heading .directory-filter {
    display: flex;
    margin-top: 10px;
  }

  .faq-item summary {
    grid-template-columns: 29px 1fr;
  }

  .faq-item summary em {
    display: none;
  }

  .faq-answer {
    padding: 12px 15px;
  }

  .faq-tools {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .faq-tools-icon {
    margin-inline: auto;
  }

  .faq-tool-links {
    flex-direction: column;
  }
}

/* Páginas legales */
.legal-header-art {
  position: relative;
  display: flex;
  width: 250px;
  height: 94px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
}

.legal-header-art::before {
  content: "";
  position: absolute;
  width: 78px;
  height: 78px;
  background: linear-gradient(145deg, #58a3d4, #17649a);
  clip-path: polygon(50% 0, 92% 16%, 84% 72%, 50% 100%, 16% 72%, 8% 16%);
  filter: drop-shadow(3px 4px 3px rgba(0, 0, 0, .18));
}

.legal-header-art > span {
  position: relative;
  z-index: 2;
  margin-right: 20px;
  font-size: 35px;
  font-weight: 700;
}

.legal-header-art i {
  position: relative;
  z-index: 2;
  width: 13px;
  height: 30px;
  align-self: flex-end;
  margin-bottom: 15px;
  background: #f3b316;
  box-shadow: 1px 2px 2px rgba(0, 0, 0, .16);
}

.legal-header-art i:nth-of-type(2) {
  height: 46px;
  background: #71b82f;
}

.legal-header-art i:nth-of-type(3) {
  height: 62px;
  background: #1977bf;
}

.cookie-art::before {
  background: linear-gradient(145deg, #dfac5d, #a66b20);
}

.ads-art::before {
  background: linear-gradient(145deg, #7e99c9, #4c6398);
}

.legal-directory {
  padding-bottom: 14px;
}

.legal-intro {
  display: grid;
  min-height: 125px;
  padding: 20px 23px;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at 76% 0, rgba(225, 240, 251, .75), transparent 250px),
    linear-gradient(135deg, #fff, #f9fcff);
}

.legal-intro-icon {
  display: grid;
  width: 64px;
  height: 64px;
  color: #fff;
  place-items: center;
  font-size: 35px;
  font-weight: 700;
  background: linear-gradient(145deg, #4fa0d2, #176499);
  border: 4px solid #e1edf5;
  border-radius: 50%;
  box-shadow: 2px 3px 4px rgba(0, 0, 0, .19);
}

.legal-intro-icon.terms {
  background: linear-gradient(145deg, #758ec1, #455f95);
}

.legal-intro-icon.cookies {
  background: linear-gradient(145deg, #dea857, #a46920);
}

.legal-intro-icon.ads {
  background: linear-gradient(145deg, #8e80bd, #5c4d8e);
}

.legal-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #748998;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.legal-intro h1 {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 25px;
}

.legal-intro p {
  max-width: 650px;
  margin: 0;
  color: #555;
  line-height: 1.45;
}

.legal-updated {
  min-width: 158px;
  padding-left: 22px;
  border-left: 1px solid #d7e3eb;
}

.legal-updated span {
  display: block;
  margin-bottom: 5px;
  color: #7e8c95;
  font-size: 8px;
  text-transform: uppercase;
}

.legal-updated b {
  color: #3e6177;
  font-size: 11px;
}

.legal-layout {
  display: grid;
  margin-top: 14px;
  grid-template-columns: 210px 1fr;
  align-items: start;
  gap: 16px;
}

.legal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.legal-nav {
  display: flex;
  flex-direction: column;
  padding: 5px 0;
}

.legal-nav a {
  display: grid;
  min-height: 40px;
  padding: 7px 10px;
  grid-template-columns: 26px 1fr;
  align-items: center;
  color: #3e5e73;
  font-size: 11px;
  font-weight: 700;
  border-bottom: 1px solid #edf1f4;
}

.legal-nav a:last-child {
  border-bottom: 0;
}

.legal-nav a:hover,
.legal-nav a.selected {
  color: #075da8;
  text-decoration: none;
  background: #edf6fc;
}

.legal-nav a.selected {
  box-shadow: inset 4px 0 #1475c4;
}

.legal-nav span {
  color: #3e91cc;
  text-align: center;
  font-size: 15px;
}

.legal-index {
  padding-bottom: 5px;
}

.legal-index a {
  display: block;
  padding: 8px 13px;
  color: #4e6b7d;
  font-size: 9px;
  border-bottom: 1px solid #edf1f4;
}

.legal-index a::before {
  content: "›";
  margin-right: 7px;
  color: var(--blue);
  font-weight: 700;
}

.legal-index a:last-child {
  border-bottom: 0;
}

.legal-note {
  display: flex;
  padding: 12px;
  gap: 9px;
  color: #526874;
  font-size: 9px;
  line-height: 1.45;
  background: #eef8fd;
  border: 1px solid #cde2ee;
  border-radius: 4px;
}

.legal-note > span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: #fff;
  place-items: center;
  font-weight: 700;
  background: #3585bb;
  border-radius: 50%;
}

.legal-note p {
  margin: 0;
}

.legal-note.warning {
  color: #735a28;
  background: #fff8e5;
  border-color: #e8d59d;
}

.legal-note.warning > span {
  background: #d89a21;
}

.legal-note.cookie-note {
  color: #73562d;
  background: #fff9eb;
  border-color: #e8d9b2;
}

.legal-note.cookie-note > span {
  background: #bd8431;
}

.legal-note.ads-note {
  color: #5b5274;
  background: #f5f1fb;
  border-color: #dcd2eb;
}

.legal-note.ads-note > span {
  background: #7865a4;
}

.legal-content {
  padding: 8px 25px 22px;
  min-width: 0;
}

.legal-content section {
  padding: 15px 0;
  scroll-margin-top: 55px;
  border-bottom: 1px solid #e4ebf0;
}

.legal-content section:last-child {
  border-bottom: 0;
}

.legal-content h2 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 14px;
}

.legal-content p {
  margin: 0 0 8px;
  color: #4d5961;
  font-size: 10px;
  line-height: 1.65;
}

.legal-content a {
  font-weight: 700;
}

.legal-check-list {
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.legal-check-list li {
  position: relative;
  margin-bottom: 7px;
  padding-left: 23px;
  color: #4d5961;
  font-size: 10px;
  line-height: 1.55;
}

.legal-check-list li::before {
  content: "✓";
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 15px;
  height: 15px;
  color: #fff;
  place-items: center;
  font-size: 8px;
  font-weight: 700;
  background: #55a92e;
  border-radius: 50%;
}

.legal-check-list.cross li::before {
  content: "×";
  background: #d65b4d;
}

.legal-callout {
  margin-top: 10px;
  padding: 10px 12px;
  color: #3d6074;
  font-size: 9px;
  line-height: 1.5;
  background: #eff8fd;
  border-left: 3px solid #3185be;
}

.warning-callout {
  color: #715727;
  background: #fff8e5;
  border-left-color: #d99b22;
}

.legal-contact-box {
  display: grid;
  margin-top: 8px;
  padding: 14px !important;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 12px;
  background: #f2f8fc;
  border: 1px solid #d2e1eb !important;
  border-radius: 4px;
}

.legal-contact-box > span {
  display: grid;
  width: 34px;
  height: 34px;
  color: #fff;
  place-items: center;
  font-size: 21px;
  font-weight: 700;
  background: #3b84b7;
  border-radius: 50%;
}

.legal-contact-box h2 {
  margin-bottom: 3px;
}

.legal-contact-box p {
  margin: 0;
}

.cookie-status {
  display: flex;
  margin-top: 10px;
  padding: 12px;
  align-items: center;
  gap: 11px;
  background: #f1f8ed;
  border: 1px solid #d8e9cf;
  border-radius: 4px;
}

.cookie-status > span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  color: #fff;
  place-items: center;
  font-weight: 700;
  background: #55a32d;
  border-radius: 50%;
}

.cookie-status b {
  color: #3c801f;
  font-size: 10px;
}

.cookie-status p {
  margin: 2px 0 0;
  color: #58704c;
  font-size: 9px;
}

.legal-table-wrap {
  margin-top: 10px;
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  color: #4e5c64;
  font-size: 9px;
}

.legal-table th,
.legal-table td {
  padding: 9px 10px;
  text-align: left;
  border: 1px solid #d7e2e9;
}

.legal-table th {
  color: #17669d;
  background: #edf6fb;
}

.legal-table tr:nth-child(even) td {
  background: #f9fbfc;
}

@media (max-width: 760px) {
  .legal-header-art {
    display: none;
  }

  .legal-intro {
    grid-template-columns: 58px 1fr;
  }

  .legal-intro-icon {
    width: 54px;
    height: 54px;
    font-size: 30px;
  }

  .legal-updated {
    grid-column: 1 / -1;
    padding: 9px 0 0 76px;
    border-left: 0;
    border-top: 1px solid #dbe6ed;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
  }

  .legal-sidebar .legal-note {
    display: none;
  }

  .legal-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 510px) {
  .legal-intro {
    padding: 16px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .legal-intro-icon {
    margin-inline: auto;
  }

  .legal-intro h1 {
    font-size: 22px;
  }

  .legal-updated {
    padding: 9px 0 0;
  }

  .legal-sidebar {
    display: block;
  }

  .legal-sidebar .sidebar-panel {
    margin-bottom: 10px;
  }

  .legal-nav {
    grid-template-columns: 1fr;
  }

  .legal-content {
    padding: 5px 16px 17px;
  }

  .legal-contact-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .legal-contact-box > span {
    margin-inline: auto;
  }
}

/* Página: contacto */
.contact-header-art {
  position: relative;
  display: flex;
  width: 245px;
  height: 94px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.contact-header-art::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 62px;
  background: linear-gradient(145deg, #5ba5d4, #17659b);
  border: 3px solid #dcebf4;
  border-radius: 6px;
  box-shadow: 3px 4px 4px rgba(0, 0, 0, .18);
  transform: rotate(-5deg);
}

.contact-header-art::after {
  content: "";
  position: absolute;
  width: 63px;
  height: 63px;
  border-left: 2px solid rgba(255, 255, 255, .65);
  border-bottom: 2px solid rgba(255, 255, 255, .65);
  transform: rotate(-50deg) skew(8deg);
}

.contact-header-art > span {
  position: relative;
  z-index: 2;
  margin-right: 24px;
  color: #fff;
  font-size: 35px;
}

.contact-header-art i {
  position: relative;
  z-index: 2;
  width: 12px;
  height: 27px;
  align-self: flex-end;
  margin-bottom: 15px;
  background: #f2b61d;
}

.contact-header-art i:nth-of-type(2) {
  height: 43px;
  background: #6ab633;
}

.contact-header-art i:nth-of-type(3) {
  height: 58px;
  background: #1975bc;
}

.contact-directory {
  padding-bottom: 14px;
}

.contact-intro {
  display: grid;
  min-height: 120px;
  padding: 20px 23px;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at 75% 0, rgba(223, 240, 251, .78), transparent 245px),
    linear-gradient(135deg, #fff, #f9fcff);
}

.contact-intro-icon {
  display: grid;
  width: 64px;
  height: 64px;
  color: #fff;
  place-items: center;
  font-size: 32px;
  background: linear-gradient(145deg, #54a2d2, #17659a);
  border: 4px solid #e1edf5;
  border-radius: 50%;
  box-shadow: 2px 3px 4px rgba(0, 0, 0, .19);
}

.contact-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #748998;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.contact-intro h1 {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 25px;
}

.contact-intro p {
  max-width: 650px;
  margin: 0;
  color: #555;
  line-height: 1.45;
}

.contact-response {
  min-width: 165px;
  padding-left: 22px;
  border-left: 1px solid #d7e3eb;
}

.contact-response span {
  display: block;
  margin-bottom: 5px;
  color: #7e8c95;
  font-size: 8px;
  text-transform: uppercase;
}

.contact-response b {
  color: #3e6177;
  font-size: 12px;
}

.contact-topics {
  display: grid;
  margin-top: 12px;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.contact-topics article {
  display: flex;
  min-height: 67px;
  padding: 11px 13px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: linear-gradient(135deg, #fff, #f9fcfd);
  box-shadow: var(--panel-shadow);
}

.contact-topics article > span {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  color: #fff;
  place-items: center;
  font-size: 19px;
  font-weight: 700;
  background: linear-gradient(#3c91ca, #17679f);
  border-radius: 50%;
}

.contact-topics article:nth-child(2) > span {
  background: linear-gradient(#ec8a55, #c85224);
}

.contact-topics article:nth-child(3) > span {
  background: linear-gradient(#78b74a, #458c20);
}

.contact-topics h2 {
  margin: 0 0 3px;
  color: var(--blue);
  font-size: 11px;
}

.contact-topics p {
  margin: 0;
  color: #65747d;
  font-size: 9px;
  line-height: 1.35;
}

.contact-layout {
  display: grid;
  margin-top: 13px;
  grid-template-columns: 1fr 270px;
  align-items: start;
  gap: 16px;
}

.contact-form-panel {
  overflow: hidden;
}

.contact-panel-heading {
  display: flex;
  min-height: 58px;
  padding: 11px 17px;
  align-items: center;
  gap: 11px;
  background: linear-gradient(#fff, #eef5f9);
  border-bottom: 1px solid #d7e3eb;
}

.contact-panel-heading > span {
  display: grid;
  width: 34px;
  height: 34px;
  color: #fff;
  place-items: center;
  font-size: 18px;
  background: #3285bc;
  border-radius: 50%;
}

.contact-panel-heading h2 {
  margin: 0 0 2px;
  color: var(--blue);
  font-size: 14px;
}

.contact-panel-heading p {
  margin: 0;
  color: #78868f;
  font-size: 9px;
}

.contact-form {
  padding: 17px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 15px;
}

.contact-form label {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.contact-form label > span {
  margin-bottom: 5px;
  color: #3f5969;
  font-size: 10px;
  font-weight: 700;
}

.contact-form label > span b {
  color: #d3483f;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 8px 9px;
  color: #3e4b53;
  font-size: 10px;
  border: 1px solid #c6d3dc;
  border-radius: 3px;
  background: #fff;
  outline: none;
}

.contact-form input,
.contact-form select {
  height: 34px;
}

.contact-form textarea {
  min-height: 135px;
  resize: vertical;
  line-height: 1.45;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #4c97c8;
  box-shadow: 0 0 0 2px rgba(28, 119, 181, .1);
}

.contact-form input:user-invalid,
.contact-form select:user-invalid,
.contact-form textarea:user-invalid {
  border-color: #d7776f;
  background: #fffafa;
}

.contact-form label > small {
  margin-top: 4px;
  color: #859199;
  font-size: 8px;
}

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

.message-count {
  align-self: flex-end;
}

.message-count i {
  font-style: normal;
}

.honeypot-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-consent {
  display: grid !important;
  margin-top: 14px;
  grid-template-columns: 17px 1fr;
  align-items: start;
  gap: 8px;
}

.privacy-consent input {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
}

.privacy-consent > span {
  margin: 0 !important;
  color: #5b6870 !important;
  font-size: 9px !important;
  font-weight: 400 !important;
  line-height: 1.4;
}

.contact-form-footer {
  display: flex;
  margin-top: 14px;
  padding-top: 13px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #e2e8ec;
}

.form-security {
  display: flex;
  max-width: 410px;
  align-items: center;
  gap: 8px;
}

.form-security > span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: #fff;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  background: #5ba332;
  border-radius: 50%;
}

.form-security p {
  margin: 0;
  color: #738087;
  font-size: 8px;
  line-height: 1.4;
}

.contact-form-footer button {
  min-width: 140px;
  padding: 8px 13px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid #07589f;
  border-radius: 3px;
  background: linear-gradient(#2482d1, #075cae);
  cursor: pointer;
}

.contact-form-footer button:hover {
  filter: brightness(1.06);
}

.contact-status {
  display: none;
  min-height: 250px;
  padding: 35px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #52636d;
  text-align: center;
  background: #fbfefd;
}

.contact-status.show {
  display: flex;
}

.contact-status > span {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 13px;
  color: #fff;
  place-items: center;
  font-size: 30px;
  font-weight: 700;
  background: #5bac34;
  border: 5px solid #e3f0dc;
  border-radius: 50%;
}

.contact-status b {
  color: #3d811f;
  font-size: 15px;
}

.contact-status p {
  max-width: 470px;
  margin: 7px auto 16px;
  font-size: 10px;
  line-height: 1.5;
}

.contact-status button {
  padding: 7px 12px;
  color: #17669e;
  font-size: 9px;
  font-weight: 700;
  border: 1px solid #bcd2df;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.contact-help-panel {
  padding-bottom: 7px;
}

.contact-help-panel > p {
  margin: 10px 13px;
  color: #64727b;
  font-size: 9px;
  line-height: 1.45;
}

.contact-help-links {
  display: flex;
  flex-direction: column;
}

.contact-help-links a {
  display: grid;
  min-height: 50px;
  padding: 8px 12px;
  grid-template-columns: 29px 1fr;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #edf1f4;
}

.contact-help-links a:hover {
  text-decoration: none;
  background: #f1f8fc;
}

.contact-help-links > a > span {
  display: grid;
  width: 27px;
  height: 27px;
  color: #fff;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  background: #438bb9;
  border-radius: 50%;
}

.contact-help-links b {
  display: block;
  color: #17669d;
  font-size: 9px;
}

.contact-help-links small {
  color: #839098;
  font-size: 8px;
}

.response-panel ul {
  margin: 0;
  padding: 4px 12px 8px;
  list-style: none;
}

.response-panel li {
  display: flex;
  padding: 8px 0;
  align-items: center;
  justify-content: space-between;
  color: #60717b;
  font-size: 9px;
  border-bottom: 1px solid #edf1f4;
}

.response-panel li:last-child {
  border-bottom: 0;
}

.response-panel b {
  color: #3c871e;
  font-size: 8px;
}

.contact-notice {
  display: flex;
  padding: 12px;
  gap: 9px;
  color: #705c35;
  font-size: 9px;
  line-height: 1.4;
  background: #fff8e8;
  border: 1px solid #e8d7a8;
  border-radius: 4px;
}

.contact-notice > span {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  color: #fff;
  place-items: center;
  font-weight: 700;
  background: #d99c2a;
  border-radius: 50%;
}

.contact-notice b {
  color: #8a661d;
}

.contact-notice p {
  margin: 3px 0 0;
}

.contact-bottom {
  display: grid;
  min-height: 82px;
  margin-top: 14px;
  padding: 13px 18px;
  grid-template-columns: 48px 1fr 190px;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #fff, #f5faff);
}

.contact-bottom h2 {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 14px;
}

.contact-bottom p {
  margin: 0;
  color: #555;
  font-size: 10px;
  line-height: 1.4;
}

.contact-bottom .blue-button {
  font-size: 10px;
}

@media (max-width: 760px) {
  .contact-header-art {
    display: none;
  }

  .contact-intro {
    grid-template-columns: 58px 1fr;
  }

  .contact-intro-icon {
    width: 54px;
    height: 54px;
    font-size: 28px;
  }

  .contact-response {
    grid-column: 1 / -1;
    padding: 9px 0 0 76px;
    border-left: 0;
    border-top: 1px solid #dbe6ed;
  }

  .contact-topics {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
  }

  .contact-sidebar .contact-notice {
    display: none;
  }

  .contact-bottom {
    grid-template-columns: 42px 1fr;
  }

  .contact-bottom .blue-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 510px) {
  .contact-intro {
    padding: 16px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-intro-icon {
    margin-inline: auto;
  }

  .contact-intro h1 {
    font-size: 22px;
  }

  .contact-response {
    padding: 9px 0 0;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .full-field {
    grid-column: auto;
  }

  .contact-form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form-footer button {
    width: 100%;
  }

  .contact-sidebar {
    display: block;
  }

  .contact-sidebar .sidebar-panel {
    margin-bottom: 10px;
  }

  .contact-bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-bottom .practice-icon {
    margin-inline: auto;
  }
}
