@charset "utf-8";

:root {
  --uoma-logo-blue: #0d0f75;
  --uoma-blue-dark: #090b55;
  --uoma-blue: #1d4ed8;
  --uoma-blue-light: #3b82f6;
  --uoma-blue-soft: #eef4ff;
  --uoma-accent: #2563eb;

  --uoma-bg: #f5f7fb;
  --uoma-text: #1f2937;
  --uoma-muted: #6b7280;
  --uoma-border: #e5e7eb;
  --white: #ffffff;

  --shadow: 0 16px 40px rgba(13, 15, 117, 0.12);
  --shadow-soft: 0 4px 16px rgba(13, 15, 117, 0.07);

  --radius: 16px;
  --radius-sm: 10px;

  --header-height: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Ubuntu", Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--uoma-text);
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

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

address {
  font-style: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.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;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar__links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  transition: color 0.2s;
}

.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 2px 12px rgba(13, 15, 117, 0.06);
  backdrop-filter: blur(6px);
}

.site-header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
}

.brand img {
  width: 72px;
  height: auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__text strong {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--uoma-logo-blue);
}

.brand__text span {
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--uoma-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--uoma-logo-blue);
  padding: 10px 10px;
  transition: color 0.2s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  background: var(--uoma-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
  border-radius: 2px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--uoma-accent);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 1.5px solid rgba(13, 15, 117, 0.22);
  background: var(--white);
  color: var(--uoma-logo-blue);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  position: relative;
  z-index: 1002;
  transition: border-color 0.2s;
}

.menu-toggle:hover {
  border-color: var(--uoma-accent);
}

.menu-toggle__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 100%;
  height: 100%;
}

.menu-toggle__icon span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--uoma-logo-blue);
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  display: none;
}

.hero-carousel {
  position: relative;
  background: var(--uoma-blue-dark);
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%;
  height: clamp(260px, 28vw, 380px);
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-image {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

#slide-1 .carousel-image {
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

.carousel-caption {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  text-align: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.caption-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.7);
}

.caption-title {
  margin: 0 0 8px;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.15;
  color: var(--white);
}

.caption-desc {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}

.btn-main,
.btn-secondary,
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  border: 0;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.15s;
}

.btn-main {
  background: var(--uoma-blue);
  color: var(--white);
}

.btn-main:hover {
  background: var(--uoma-logo-blue);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--uoma-blue);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--uoma-blue-dark);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--uoma-blue-dark);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(9, 11, 85, 0.68);
  color: var(--white);
  font-size: 38px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(9, 11, 85, 0.22);
  transition: background 0.2s;
}

.carousel-control--prev {
  left: 16px;
}
.carousel-control--next {
  right: 16px;
}

.carousel-control:hover {
  background: rgba(9, 11, 85, 0.92);
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 7px;
}

.carousel-indicators button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.carousel-indicators button[aria-selected="true"] {
  background: var(--uoma-accent);
  border-color: var(--uoma-accent);
  transform: scale(1.2);
}

.quick-access,
.tourism-section,
.news-section,
.employers-section {
  padding: 72px 0;
}

.quick-access,
.news-section {
  background: var(--white);
}

.tourism-section {
  background: var(--uoma-bg);
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 38px;
}

.section-heading p:last-child {
  color: var(--uoma-muted);
  margin: 8px 0 0;
}

.section-heading h2 {
  margin: 0;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 34px;
  line-height: 1.15;
  color: var(--uoma-logo-blue);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--uoma-accent);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.72);
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.access-card {
  display: block;
  min-height: 100px;
  padding: 26px 22px 22px;
  border: 1px solid var(--uoma-border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.access-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--uoma-accent);
  opacity: 0.5;
  transition: opacity 0.2s;
}

.access-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(37, 99, 235, 0.3);
}

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

.access-card h3 {
  margin: 0 0 10px;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.1;
  color: var(--uoma-logo-blue);
}

.access-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--uoma-muted);
}

.access-card--primary {
  background: linear-gradient(135deg, var(--uoma-blue), var(--uoma-blue-dark));
  border-color: transparent;
  color: var(--white);
}

.access-card--primary::before {
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
}

.access-card--primary h3 {
  color: var(--white);
}

.access-card--primary p {
  color: rgba(255, 255, 255, 0.84);
}

.access-card--primary:hover {
  background: linear-gradient(
    135deg,
    var(--uoma-logo-blue),
    var(--uoma-blue-dark)
  );
  box-shadow: 0 18px 42px rgba(9, 11, 85, 0.22);
}

.employers-section {
  background: linear-gradient(
    135deg,
    var(--uoma-blue-dark) 0%,
    var(--uoma-blue) 100%
  );
  color: var(--white);
}

.employers-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.employers-content h2 {
  margin: 0 0 12px;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 34px;
  line-height: 1.15;
  color: var(--white);
}

.employers-content > p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 28px;
}

.payment-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 32px;
  text-align: left;
}

.payment-item {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--uoma-blue-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-item h3 {
  margin: 0 0 10px;
  color: var(--uoma-blue-dark);
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 18px;
}

.payment-item p {
  margin: 0;
  color: var(--uoma-muted);
  font-size: 14px;
}

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

.tourism-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--uoma-border);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.tourism-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.tourism-card__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.tourism-card__body {
  padding: 20px 22px;
}

.tourism-card__body h3 {
  margin: 0 0 4px;
  color: var(--uoma-blue-dark);
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 21px;
}

.tourism-card__body p {
  margin: 0;
  color: var(--uoma-muted);
  font-size: 14px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 340px));
  justify-content: center;
  gap: 26px;
  max-width: 820px;
  margin: 0 auto;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--uoma-border);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.news-card__image img {
  width: 100%;
  height: auto;
  display: block;
}

.news-card__body {
  padding: 18px 20px;
}

.news-card__body h3 {
  margin: 0;
  color: var(--uoma-blue-dark);
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 21px;
}

.hidden-frame {
  display: none;
  padding: 0 0 60px;
  background: var(--white);
}

.hidden-frame.is-visible {
  display: block;
}

.hidden-frame iframe {
  display: block;
  width: 100%;
  height: 340px;
  margin-top: 16px;
  border: 1px solid var(--uoma-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.modal-uoma {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-uoma.is-visible {
  display: flex;
}

.modal-uoma__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 11, 85, 0.68);
}

.modal-uoma__dialog {
  position: relative;
  width: min(540px, 100%);
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.modal-uoma__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--uoma-blue-soft);
  color: var(--uoma-blue-dark);
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-uoma__close:hover {
  background: var(--uoma-border);
}

.modal-uoma__dialog h2 {
  margin: 0 0 8px;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 30px;
  color: var(--uoma-blue-dark);
}

.modal-uoma__dialog > p {
  color: var(--uoma-muted);
  margin: 0 0 24px;
}

.salary-form label {
  display: block;
  margin: 16px 0 6px;
  font-weight: 700;
  color: var(--uoma-blue-dark);
  font-size: 14px;
}

.salary-form select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--uoma-border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  color: var(--uoma-text);
  transition: border-color 0.2s;
}

.salary-form select:focus {
  outline: none;
  border-color: var(--uoma-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.salary-form button {
  width: 100%;
  margin-top: 22px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--uoma-blue);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}

.salary-form button:hover {
  background: var(--uoma-blue-dark);
}

.site-footer {
  background: var(--uoma-blue-dark);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 46px;
  align-items: start;
}

.footer-brand__logos {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.footer-logo-uoma {
  width: 80px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-logo-cgt {
  width: 70px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}

.footer-brand__name {
  margin: 0 0 6px;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
}

.footer-column h2 {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 18px;
  margin: 0 0 14px;
  letter-spacing: 0.3px;
}

.footer-column p,
.footer-column address p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 8px;
  font-size: 13.5px;
  transition:
    color 0.2s,
    transform 0.2s;
}

.footer-column a:hover {
  color: #cfe0ff;
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0;
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
}

.data-fiscal img {
  width: 68px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  display: block;
}

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

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .topbar {
    display: none;
  }

  :root {
    --header-height: 68px;
  }

  .site-header__inner {
    padding: 10px 0;
  }

  .brand img {
    width: 52px;
  }

  .brand__text strong {
    font-size: 16px;
  }

  .brand__text span {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(9, 11, 85, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1000;
  }

  body.menu-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 300px);
    height: 100vh;
    padding: calc(var(--header-height) + 24px) 24px 24px;
    background: var(--white);
    border-left: 1px solid var(--uoma-border);
    box-shadow: -16px 0 40px rgba(13, 15, 117, 0.16);
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav a {
    padding: 14px 4px;
    font-size: 14px;
    border-bottom: 1px solid var(--uoma-border);
  }

  .main-nav a::after {
    left: 4px;
    right: auto;
    width: 36px;
    bottom: 8px;
    transform-origin: left;
  }

  .carousel {
    height: 240px;
  }

  .carousel-image--amtima {
    background-size: cover;
    background-position: 68% center;
  }

  .carousel-caption {
    bottom: 16px;
    width: auto;
    max-width: none;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .caption-title {
    font-size: 18px;
  }

  .caption-desc {
    display: none;
  }

  .btn-main {
    min-height: 32px;
    padding: 6px 14px;
    font-size: 12.5px;
  }

  .carousel-control {
    width: 40px;
    height: 40px;
    font-size: 32px;
  }

  .carousel-control--prev {
    left: 8px;
  }
  .carousel-control--next {
    right: 8px;
  }

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

  .payment-list {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px 0 36px;
    text-align: center;
  }

  .footer-brand__logos {
    justify-content: center;
  }

  .footer-column a:hover {
    transform: none;
  }

  .footer-bottom__inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 14px;
  }

  .page-container {
    width: min(100%, calc(100% - 24px));
  }

  .quick-access,
  .tourism-section,
  .news-section,
  .employers-section {
    padding: 52px 0;
  }

  .section-heading h2,
  .employers-content h2 {
    font-size: 28px;
  }

  .access-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .carousel {
    height: 184px;
    aspect-ratio: auto;
    background: #ffffff;
  }

  .carousel-image {
    bottom: 42px;
  }

  /* AMTIMA se ve completa sin recortar */
  .carousel-image--amtima {
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .carousel-caption {
    bottom: 18px;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .caption-title {
    font-size: 12px;
    line-height: 1.05;
    margin: 0 0 5px;
  }

  .caption-eyebrow,
  .caption-desc {
    display: none;
  }

  .btn-main {
    min-height: 20px;
    padding: 2px 9px;
    font-size: 10px;
    line-height: 1;
  }

  .carousel-indicators {
    bottom: 5px;
  }

  .carousel-indicators button {
    width: 7px;
    height: 7px;
    border-width: 1px;
  }

  .news-grid {
    max-width: 100%;
  }

  .modal-uoma__dialog {
    padding: 26px 20px;
  }

  .modal-uoma__dialog h2 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .page-container {
    width: calc(100% - 32px);
  }

  .site-header__inner {
    min-height: 64px;
    padding: 8px 0;
    gap: 10px;
  }

  .brand {
    gap: 9px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand img {
    width: 42px;
    flex-shrink: 0;
  }

  .brand__text {
    min-width: 0;
  }

  .brand__text strong {
    font-size: 13px;
    line-height: 1.05;
    letter-spacing: 0;
    white-space: normal;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex: 0 0 38px;
    margin-left: auto;
  }

  .menu-toggle__icon span {
    width: 18px;
  }

  /* Ajuste fino para iPhone Pro Max aprox. 430px */
  .carousel {
    height: 184px;
  }

  .carousel-image {
    bottom: 42px;
  }

  .carousel-caption {
    bottom: 18px;
  }

  .carousel-indicators {
    bottom: 5px;
  }
}

@media (max-width: 400px) {
  .carousel {
    height: 178px;
  }

  .carousel-image {
    bottom: 42px;
  }

  .carousel-caption {
    bottom: 18px;
    min-width: 0;
    max-width: none;
    padding: 0;
  }

  .caption-title {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .btn-main {
    min-height: 20px;
    padding: 2px 8px;
    font-size: 9.5px;
    line-height: 1;
  }

  .carousel-indicators {
    bottom: 5px;
  }

  .carousel-indicators button {
    width: 6px;
    height: 6px;
    border-width: 1px;
  }

  .carousel-control {
    width: 34px;
    height: 34px;
    font-size: 28px;
  }

  .carousel-control--prev {
    left: 6px;
  }

  .carousel-control--next {
    right: 6px;
  }
}

@media (max-width: 370px) {
  .page-container {
    width: calc(100% - 24px);
  }

  .brand img {
    width: 38px;
  }

  .brand__text strong {
    font-size: 11.5px;
  }

  .menu-toggle {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
  }

  .carousel {
    height: 170px;
  }

  .carousel-image {
    bottom: 40px;
  }

  .carousel-caption {
    bottom: 17px;
  }
}
