@charset "utf-8";

:root {
  --uoma-logo-blue: #0d0f75;
  --uoma-blue-dark: #090b55;
  --uoma-blue: #1d4ed8;
  --uoma-blue-soft: #eef4ff;
  --uoma-text: #1f2937;
  --uoma-muted: #6b7280;
  --uoma-border: #e5e7eb;
  --uoma-bg: #f6f8fb;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(13, 15, 117, 0.12);
  --shadow-soft: 0 10px 28px rgba(13, 15, 117, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Ubuntu", Arial, Helvetica, sans-serif;
  color: var(--uoma-text);
  background: var(--uoma-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* Topbar */

.topbar {
  background: var(--uoma-blue-dark);
  color: var(--white);
  font-size: 13px;
}

.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.topbar__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar__links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.topbar__links a:hover {
  color: #cfe0ff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--uoma-border);
  box-shadow: 0 8px 24px rgba(13, 15, 117, 0.06);
}

.site-header__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 76px;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__text strong {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 23px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--uoma-logo-blue);
}

.brand__text span {
  margin-top: 4px;
  font-size: 12px;
  color: var(--uoma-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.main-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--uoma-logo-blue);
  padding: 10px 8px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 4px;
  height: 2px;
  background: var(--uoma-blue);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.sim-hero {
  padding: 56px 0 34px;
  background: linear-gradient(135deg, var(--uoma-blue-dark), var(--uoma-blue));
  color: var(--white);
  text-align: center;
}

.sim-hero span {
  display: inline-block;
  margin-bottom: 8px;
  color: #cfe0ff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 12px;
}

.sim-hero h1 {
  margin: 0 0 12px;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 42px;
  line-height: 1.1;
}

.sim-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84);
}

.sim-section {
  padding: 48px 0 70px;
}

.sim-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--uoma-border);
}

.sim-help {
  max-width: 760px;
  margin: 18px auto 0;
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--uoma-blue-soft);
  border: 1px solid #d7e4f6;
  text-align: center;
}

.sim-help p {
  margin: 0 0 10px;
  color: var(--uoma-muted);
}

.sim-help a {
  color: var(--uoma-logo-blue);
  font-weight: 700;
}

.sim-wrapper {
  max-width: 100% !important;
  width: 100% !important;
  min-height: 650px;
  margin: 0 auto !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-family: "Ubuntu", Arial, Helvetica, sans-serif !important;
}

.sim-wrapper input[type="text"],
.sim-wrapper input[type="number"],
.sim-wrapper select {
  background-color: #f3f5fa !important;
  border: 1px solid var(--uoma-border) !important;
  border-radius: 8px !important;
  height: 36px !important;
  line-height: 36px !important;
}

.sim-wrapper label {
  color: var(--uoma-blue-dark);
  font-weight: 700;
}

.sim-button {
  background-color: var(--uoma-blue) !important;
  border-radius: 999px !important;
  min-height: 42px !important;
  line-height: 42px !important;
  font-weight: 700 !important;
}

.sim-button:hover {
  background-color: var(--uoma-logo-blue) !important;
}

.sim-result-total td {
  color: var(--uoma-logo-blue) !important;
  border-color: var(--uoma-logo-blue) !important;
}

.site-footer {
  background: var(--uoma-blue-dark);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 52px 0 44px;
}

.footer-brand__logos {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.footer-logo-uoma {
  width: 82px;
}

.footer-logo-cgt {
  width: 72px;
  max-height: 82px;
  object-fit: contain;
}

.footer-brand h2,
.site-footer h3 {
  font-family: "Roboto Condensed", Arial, sans-serif;
  margin: 0 0 12px;
}

.footer-brand h2 {
  font-size: 25px;
}

.footer-brand p,
.footer-column p {
  color: rgba(255, 255, 255, 0.76);
  margin: 0 0 10px;
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 9px;
}

.footer-column a:hover {
  color: #cfe0ff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 0;
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.data-fiscal img {
  width: 72px;
  height: auto;
}

@media (max-width: 860px) {
  .topbar {
    display: none;
  }

  .site-header__inner {
    min-height: auto;
    padding: 10px 0;
  }

  .brand img {
    width: 56px;
  }

  .brand__text strong {
    font-size: 17px;
  }

  .brand__text span {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .sim-hero {
    padding: 42px 0 28px;
  }

  .sim-hero h1 {
    font-size: 34px;
  }

  .sim-section {
    padding: 32px 0 48px;
  }

  .sim-card {
    padding: 18px;
  }

  .sim-wrapper {
    min-height: 680px;
  }

  .sim-col6 {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 42px 0 34px;
    text-align: center;
  }

  .footer-brand__logos {
    justify-content: center;
  }

  .footer-bottom__inner {
    flex-direction: column;
    text-align: center;
  }

  .data-fiscal img {
    width: 68px;
  }
}

@media (max-width: 480px) {
  .brand img {
    width: 50px;
  }

  .brand__text strong {
    font-size: 14px;
    line-height: 1.05;
  }

  .sim-hero h1 {
    font-size: 30px;
  }

  .sim-card {
    padding: 14px;
  }

  .sim-wrapper {
    min-height: 720px;
  }
}
