﻿.button--ocean:focus-visible {
  outline: 2px solid rgba(21, 64, 101, 0.4);
  outline-offset: 2px;
}

.partner-card:focus-within .button--ocean {
  outline: none;
}
.chatbot {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 140;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.chatbot__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  box-shadow: 0 14px 34px rgba(21, 64, 101, 0.28);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chatbot__toggle:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(21, 64, 101, 0.35);
}

.chatbot__toggle img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.chatbot__window[hidden] {
  display: none;
}

.chatbot__window {
  width: min(360px, calc(100vw - 48px));
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(15, 35, 67, 0.28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: chatbot-slide-up 0.3s ease;
}

@keyframes chatbot-slide-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chatbot__header {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chatbot__header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot__header-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(21, 64, 101, 0.3);
}

.chatbot__header-text h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #111821;
}

.chatbot__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(17, 24, 33, 0.78);
}

.chatbot__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.24);
}

.chatbot__close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(17, 24, 33, 0.08);
  color: #111821;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.chatbot__close:hover {
  background: rgba(17, 24, 33, 0.16);
  transform: translateY(-2px);
}

.chatbot__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 55%, #ffffff 100%);
}

.chatbot__messages {
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 6px;
}

.chatbot__messages::-webkit-scrollbar {
  width: 6px;
}

.chatbot__messages::-webkit-scrollbar-thumb {
  background: rgba(21, 64, 101, 0.18);
  border-radius: 999px;
}

.chatbot__message {
  display: flex;
  gap: 12px;
}

.chatbot__message--user {
  justify-content: flex-end;
}

.chatbot__message--user .chatbot__message-content {
  background: #f0f2f5;
  color: #1d1e25;
  border-radius: 18px;
  border-top-right-radius: 4px;
}

.chatbot__message--bot .chatbot__message-content {
  background: #f8f9fa;
  color: #1d1e25;
  border-radius: 18px;
  border-top-left-radius: 4px;
}

.chatbot__message-content {
  padding: 12px 15px;
  font-size: 0.92rem;
  line-height: 1.5;
  box-shadow: 0 10px 24px rgba(15, 35, 67, 0.08);
  max-width: 78%;
}

.chatbot__message-content strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.chatbot__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(21, 64, 101, 0.2);
}

.chatbot__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chatbot__option {
  text-align: left;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(21, 64, 101, 0.16);
  background: rgba(21, 64, 101, 0.04);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.chatbot__option strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1d1e25;
  line-height: 1.4;
}

.chatbot__option:hover,
.chatbot__option:focus-visible {
  border-color: rgba(21, 64, 101, 0.38);
  box-shadow: 0 12px 26px rgba(21, 64, 101, 0.18);
  background: rgba(21, 64, 101, 0.08);
  transform: translateY(-2px);
  outline: none;
}

.chatbot__option.is-active {
  border-color: rgba(21, 64, 101, 0.5);
  background: rgba(21, 64, 101, 0.12);
}

.chatbot__option-response {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(21, 64, 101, 0.16);
  background: rgba(21, 64, 101, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: chatbot-slide-up 0.25s ease;
}

.chatbot__option-response strong {
  font-size: 0.94rem;
  font-weight: 600;
  color: #1d1e25;
}

.chatbot__whatsapp-button {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  background: #25d366;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.chatbot__whatsapp-button:hover {
  background: #1fb157;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(37, 211, 102, 0.2);
}

.chatbot__whatsapp-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.chatbot__back-to-top {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(21, 64, 101, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 130;
}

.chatbot__back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.chatbot__back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(21, 64, 101, 0.35);
}

.chatbot__back-to-top-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.chatbot__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.chatbot__message--static .chatbot__message-content {
  box-shadow: none;
}

.chatbot__message--static strong {
  margin-bottom: 4px;
}
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --color-primary: #154065;
  --color-primary-light: #1e64a3;
  --color-secondary: #f1b722;
  --color-bg: #f5f7fa;
  --color-surface: #ffffff;
  --color-text: #1d1e25;
  --color-muted: #5e6370;
  --shadow-soft: 0 20px 45px rgba(15, 36, 75, 0.15);
  --radius-large: 28px;
  --radius-pill: 999px;
  --container-width: min(1120px, 92vw);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

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

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

#app {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.navbar {
  width: var(--container-width);
  margin: 24px auto 0;
  padding: 18px 28px;
  background: var(--color-surface);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar__brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px;
  background: rgba(21, 64, 101, 0.08);
  border-radius: var(--radius-pill);
}

.navbar__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-primary);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.navbar__link:hover,
.navbar__link.is-active {
  background: var(--color-surface);
  color: var(--color-primary-light);
  box-shadow: 0 8px 18px rgba(30, 100, 163, 0.18);
}

.navbar__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: #1c1a13;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar__contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(241, 183, 34, 0.35);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1.5px solid rgba(21, 64, 101, 0.12);
  background: rgba(21, 64, 101, 0.08);
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.navbar__toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-primary);
  margin: 0 auto;
}

.navbar__mobile-backdrop[hidden] {
  display: none;
}

.navbar__mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 22, 35, 0.45);
  backdrop-filter: blur(2px);
  z-index: 40;
}

.navbar__mobile[hidden] {
  display: none;
}

.navbar__mobile {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(300px, 82vw);
  height: 100vh;
  background: #f7fbff;
  box-shadow: -24px 0 48px rgba(12, 25, 45, 0.24);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px 26px 40px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.navbar--open .navbar__mobile {
  transform: translateX(0);
}

.navbar__mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar__mobile-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
  font-weight: 600;
}

.navbar__mobile-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.navbar__mobile-close {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1.5px solid rgba(21, 64, 101, 0.12);
  background: rgba(21, 64, 101, 0.08);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.navbar__mobile-close span {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-primary);
}

.navbar__mobile-close span:first-child {
  transform: rotate(45deg);
}

.navbar__mobile-close span:last-child {
  transform: rotate(-45deg);
}

.navbar__mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.navbar__mobile-menu .navbar__link {
  padding: 14px 18px;
  border-radius: 18px;
  justify-content: flex-start;
  text-align: left;
}

.navbar__mobile-contact {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--color-secondary);
  color: #1c1a13;
  border-radius: var(--radius-pill);
  padding: 14px 22px;
  font-weight: 600;
}

body.navbar-open {
  overflow: hidden;
}

main {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.hero {
  width: var(--container-width);
  margin: 0 auto;
  padding: 64px 56px;
  background: linear-gradient(135deg, rgba(21, 64, 101, 0.92), rgba(30, 100, 163, 0.85));
  border-radius: 46px;
  color: #f5faff;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 55%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 3vw + 1rem, 3.6rem);
  line-height: 1.15;
  font-weight: 600;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(245, 250, 255, 0.78);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__cta,
.hero__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 14px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.hero__cta {
  background: var(--color-secondary);
  color: #1c1a13;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(241, 183, 34, 0.35);
}

.hero__secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #f5faff;
}

.hero__secondary:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

.hero__media {
  position: relative;
  z-index: 1;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(12, 25, 45, 0.35);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about {
  width: var(--container-width);
  margin: 0 auto 80px;
}

.about__grid {
  background: linear-gradient(135deg, rgba(21, 64, 101, 0.96), rgba(30, 100, 163, 0.88));
  border-radius: 48px;
  padding: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  box-shadow: 0 40px 80px rgba(12, 45, 85, 0.35);
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #f5faff;
}

.about__content h2 {
  font-size: clamp(2.4rem, 3vw + 1.4rem, 3.4rem);
  color: #f5faff;
  line-height: 1.12;
}

.about__content p {
  color: rgba(245, 250, 255, 0.92);
  font-size: 1.08rem;
}

.about__media {
  position: relative;
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.28));
  box-shadow: 0 22px 60px rgba(255, 255, 255, 0.28);
}

.about__video-wrapper {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
}

.about__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.about__video-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  max-width: 180px;
  opacity: 0.9;
  filter: drop-shadow(0 0 18px rgba(21, 64, 101, 0.35));
}

.portfolio,
.faq {
  width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.portfolio__header,
.faq__header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
}

.portfolio__header h2,
.faq__header h2 {
  font-size: 2.1rem;
  color: var(--color-primary);
}

.portfolio__header p,
.faq__header p {
  color: var(--color-muted);
  font-size: 1.02rem;
}

.portfolio__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.portfolio-card {
  background: var(--color-surface);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(15, 36, 75, 0.18);
}

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

.portfolio-card__content {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.portfolio-card__content h3 {
  font-size: 1.35rem;
  color: var(--color-primary);
}

.portfolio-card__content p {
  color: var(--color-muted);
  font-size: 0.98rem;
}

.portfolio__differentials {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.portfolio__differentials h3 {
  font-size: 1.6rem;
  color: var(--color-primary);
}

.portfolio__differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.differential-card {
  background: rgba(21, 64, 101, 0.05);
  border-radius: 28px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.differential-card img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.differential-card h4 {
  font-size: 1.2rem;
  color: var(--color-primary);
}

.differential-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

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

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 23, 32, 0.65);
}

.modal__content {
  position: relative;
  z-index: 1;
  background: var(--color-surface);
  border-radius: 28px;
  padding: 32px;
  max-width: min(960px, 94vw);
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 30px 80px rgba(12, 25, 45, 0.45);
}

.modal__content h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(21, 64, 101, 0.08);
  color: var(--color-primary);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.modal__gallery img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.modal--video .modal__content {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.modal__content--video {
  width: min(960px, 94vw);
  border-radius: 28px;
  overflow: hidden;
  background: var(--color-surface);
  position: relative;
  box-shadow: 0 30px 80px rgba(12, 25, 45, 0.55);
}

.modal--video .modal__close {
  top: 12px;
  right: 12px;
  background: rgba(12, 22, 35, 0.7);
  color: #f5faff;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal__video {
  position: relative;
  padding-top: 56.25%;
}

.modal__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.videos {
  width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.videos__header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
}

.videos__header h2 {
  font-size: 2.1rem;
  color: var(--color-primary);
}

.videos__header p {
  color: var(--color-muted);
  font-size: 1.02rem;
}

.videos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.video-card {
  background: var(--color-surface);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:focus,
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(15, 36, 75, 0.22);
  outline: none;
}

.video-card__preview {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

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

.video-card__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  color: #f5faff;
  background: rgba(21, 64, 101, 0.35);
}

.video-card h3 {
  color: var(--color-primary);
  font-size: 1.15rem;
}

.video-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 22px 26px;
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.05rem;
}

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

.faq-item[open] summary {
  margin-bottom: 12px;
}

.faq-item p {
  color: var(--color-muted);
  font-size: 0.96rem;
}

.component-error {
  color: #d13438;
  background: rgba(209, 52, 56, 0.12);
  padding: 18px 24px;
  border-radius: 18px;
  font-weight: 500;
}

body.modal-open {
  overflow: hidden;
}

.site-footer {
  margin-top: 120px;
  background: linear-gradient(135deg, rgba(17, 35, 58, 0.98), rgba(9, 61, 109, 0.95));
  color: #f5faff;
  padding: 72px 0 36px;
}

.site-footer__top {
  width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 36px 48px;
  align-items: start;
}

.site-footer__brand img {
  width: 140px;
  height: auto;
}

.site-footer__social {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

.footer-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(135, 186, 230, 0.9);
  display: grid;
  place-items: center;
  color: rgba(180, 212, 242, 0.95);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.footer-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.footer-icon:hover {
  transform: translateY(-3px);
  background: rgba(135, 186, 230, 0.18);
  box-shadow: 0 12px 28px rgba(72, 124, 182, 0.3);
  color: #ffffff;
}

.site-footer__column h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(180, 212, 242, 0.95);
  margin-bottom: 18px;
}

.site-footer__column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: rgba(245, 250, 255, 0.82);
  font-size: 0.94rem;
}

.site-footer__column a {
  color: inherit;
}

.site-footer__column a:hover {
  color: #ffffff;
}

.site-footer__contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.site-footer__contact svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  fill: rgba(135, 186, 230, 0.95);
}

.site-footer__contact small {
  display: block;
  color: rgba(245, 250, 255, 0.55);
  font-size: 0.78rem;
  margin-top: 2px;
}

.site-footer__divider {
  width: var(--container-width);
  margin: 36px auto 28px;
  border-top: 1px solid rgba(135, 186, 230, 0.28);
}

.site-footer__bottom {
  width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(245, 250, 255, 0.72);
  text-align: center;
}

.site-footer__creator-link {
  color: rgba(135, 186, 230, 0.98);
  font-weight: 600;
}

.site-footer__creator-link:hover {
  color: #ffffff;
}

.page-banner {
  width: var(--container-width);
  margin: 48px auto 0;
  padding: 72px 68px;
  border-radius: 52px;
  color: #f5faff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(12, 48, 88, 0.94), rgba(26, 94, 156, 0.9));
  box-shadow: 0 32px 78px rgba(15, 35, 67, 0.32);
}

.page-banner--portfolio {
  background-image: linear-gradient(135deg, rgba(12, 48, 88, 0.94), rgba(26, 94, 156, 0.9)),
    url('../assets/images/obra-04.png');
  background-size: cover;
  background-position: center;
}

.page-banner--partners {
  background-image: linear-gradient(135deg, rgba(12, 48, 88, 0.94), rgba(26, 94, 156, 0.9)),
    url('../assets/images/bakgroud-parceiros.png');
  background-size: cover;
  background-position: center;
}

.page-banner--videos {
  background-image: linear-gradient(135deg, rgba(12, 48, 88, 0.94), rgba(26, 94, 156, 0.9)),
    url('../assets/images/artigo-blog-costrucao.png');
  background-size: cover;
  background-position: center;
}

.page-banner--blog {
  background-image: linear-gradient(135deg, rgba(12, 48, 88, 0.94), rgba(26, 94, 156, 0.9)),
    url('../assets/images/backgroud-banner-blog.png');
  background-size: cover;
  background-position: center;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.page-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 620px;
}

.page-banner__content h1 {
  font-size: clamp(2.6rem, 3vw + 1.6rem, 3.6rem);
  line-height: 1.15;
  color: #f5faff;
}

.page-banner__content p {
  font-size: 1.1rem;
  color: rgba(245, 250, 255, 0.85);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(21, 64, 101, 0.1);
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.page-banner .section-eyebrow {
  background: rgba(245, 250, 255, 0.18);
  color: #f5faff;
}

.portfolio-card__content .button {
  margin-top: 8px;
  align-self: stretch;
  background: linear-gradient(135deg, #0f3971, #1a5ea3);
  color: #f5faff;
  border-radius: var(--radius-pill);
  border: none;
  padding: 14px 0;
  font-size: 0.96rem;
}

.portfolio-card__content .button:hover {
  background: linear-gradient(135deg, #174a86, #2473c2);
  box-shadow: 0 14px 26px rgba(23, 74, 134, 0.25);
}

.partners {
  width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.partners__section {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.partners__header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
}

.partners__header h2 {
  font-size: 2.1rem;
  color: var(--color-primary);
}

.partners__header p {
  color: var(--color-muted);
  font-size: 1.02rem;
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.partner-card {
  background: var(--color-surface);
  border-radius: 32px;
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover,
.partner-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 26px 52px rgba(21, 64, 101, 0.35);
  outline: none;
}

.partner-card h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
}

.partner-card p {
  color: var(--color-muted);
  font-size: 0.96rem;
}

.partner-card--brand img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 24px;
  background: rgba(21, 64, 101, 0.05);
  padding: 18px;
}

.partner-card__tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(21, 64, 101, 0.1);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card__tag:hover {
  background: rgba(21, 64, 101, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(21, 64, 101, 0.15);
}

.partner-card--person img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 18px 34px rgba(21, 64, 101, 0.18);
}

.partner-card--person .button {
  width: 100%;
  margin-top: auto;
}

.button--ocean {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: none;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #f5faff;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.button--ocean:hover,
.button--ocean:focus-visible {
  background: linear-gradient(135deg, #1f5383, #2977b9);
  box-shadow: 0 14px 32px rgba(21, 64, 101, 0.28);
  transform: translateY(-2px);
  color: #f5faff;
  outline: none;
}

.blog {
  width: var(--container-width);
  margin: 0 auto;
  padding: 80px 0;
}

.blog__container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.blog__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.blog-card {
  background: var(--color-surface);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover,
.blog-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(15, 36, 75, 0.22);
  outline: none;
}

.blog-card__image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.blog-card__category {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(21, 64, 101, 0.1);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}

.blog-card__title {
  font-size: 1.5rem;
  color: var(--color-primary);
  line-height: 1.3;
  margin: 0;
}

.blog-card__excerpt {
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.blog-card__read-more {
  color: var(--color-primary-light);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: auto;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card__read-more {
  color: var(--color-primary);
}

.blog-modal__content {
  max-width: min(1200px, 96vw);
  padding: 0;
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.blog-modal__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-height: 90vh;
  overflow: hidden;
}

.blog-modal__image {
  width: 100%;
  height: 100%;
  max-height: 90vh;
  overflow: hidden;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.blog-modal__image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: calc(90vh - 80px);
  object-fit: contain;
  object-position: center;
}

.blog-modal__text {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  max-height: 90vh;
  scrollbar-width: thin;
  scrollbar-color: rgba(21, 64, 101, 0.2) transparent;
}

.blog-modal__text::-webkit-scrollbar {
  width: 6px;
}

.blog-modal__text::-webkit-scrollbar-thumb {
  background: rgba(21, 64, 101, 0.2);
  border-radius: 999px;
}

.blog-modal__text::-webkit-scrollbar-track {
  background: transparent;
}

.blog-modal__category {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(21, 64, 101, 0.1);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}

.blog-modal__title {
  font-size: clamp(1.8rem, 2.5vw + 1rem, 2.4rem);
  color: var(--color-primary);
  line-height: 1.2;
  margin: 0;
}

.blog-modal__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--color-text);
  line-height: 1.7;
}

.blog-modal__body p {
  font-size: 1.05rem;
  margin: 0;
}

.blog-modal__body h3 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-top: 8px;
  margin-bottom: 4px;
}

.blog-modal__body strong {
  color: var(--color-primary);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .navbar {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

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

  .hero__media {
    order: -1;
    max-height: 360px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    padding: 46px;
    gap: 36px;
  }

  .about__content p {
    font-size: 1.02rem;
  }

  .about__video-logo {
    width: 38%;
  }

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

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

  .blog-modal__content {
    max-width: calc(100vw - 32px);
    max-height: 95vh;
    margin: 16px;
  }

  .blog-modal__layout {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .blog-modal__image {
    max-height: 300px;
    min-height: 250px;
    padding: 20px;
  }

  .blog-modal__image img {
    max-height: calc(300px - 40px);
  }

  .blog-modal__text {
    padding: 32px 24px;
    overflow-y: auto;
    max-height: calc(95vh - 300px);
  }

  .blog-modal__title {
    font-size: clamp(1.5rem, 4vw + 0.5rem, 2rem);
  }

  .blog-modal__body {
    gap: 16px;
  }

  .blog-modal__body p {
    font-size: 0.98rem;
  }

  .blog-modal__body h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 720px) {
  .chatbot {
    right: 16px;
    bottom: 16px;
    gap: 12px;
  }

  .chatbot__toggle {
    width: 58px;
    height: 58px;
  }

  .chatbot__window {
    width: calc(100vw - 32px);
  }

  .chatbot__messages {
    max-height: 260px;
  }

  .chatbot__back-to-top {
    left: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  header {
    position: sticky;
    top: 0;
  }

  .navbar {
    margin-top: 18px;
    padding: 16px 20px;
  }

  .navbar__menu {
    overflow-x: auto;
    justify-content: space-between;
  }

  .hero {
    padding: 36px;
    border-radius: 28px;
  }

  .about__grid {
    padding: 32px 24px;
  }

  .about__content h2 {
    font-size: clamp(2.1rem, 4vw + 1rem, 2.8rem);
  }

  .about__video-logo {
    width: 42%;
  }

  .page-banner {
    padding: 48px 28px;
  }

  .portfolio__cards,
  .videos__grid {
    grid-template-columns: 1fr;
  }

  .faq-item {
    padding: 18px 20px;
  }

  .modal__content {
    padding: 24px;
  }

  .site-footer {
    padding: 60px 0 28px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
    justify-items: center;
    text-align: center;
  }

  .site-footer__brand,
  .site-footer__column {
    align-items: center;
  }

  .site-footer__social {
    justify-content: center;
  }

  .site-footer__column ul {
    align-items: center;
  }

  .site-footer__contact li {
    justify-content: center;
  }

  .site-footer__contact div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer__bottom {
    font-size: 0.84rem;
  }

  .partners {
    gap: 64px;
  }

  .blog {
    padding: 40px 0;
  }

  .blog__container {
    gap: 32px;
  }

  .blog__cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-card__image {
    height: 200px;
  }

  .blog-card__content {
    padding: 20px;
    gap: 12px;
  }

  .blog-card__title {
    font-size: 1.25rem;
  }

  .blog-card__excerpt {
    font-size: 0.92rem;
  }

  .blog-modal__content {
    max-width: calc(100vw - 24px);
    max-height: 95vh;
    margin: 12px;
    border-radius: 20px;
  }

  .blog-modal__layout {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .blog-modal__image {
    max-height: 250px;
    min-height: 200px;
    padding: 16px;
  }

  .blog-modal__image img {
    max-height: calc(250px - 32px);
  }

  .blog-modal__text {
    padding: 24px 18px;
    max-height: calc(95vh - 250px);
    overflow-y: auto;
    gap: 16px;
  }

  .blog-modal__title {
    font-size: clamp(1.3rem, 5vw + 0.5rem, 1.7rem);
    line-height: 1.3;
  }

  .blog-modal__body {
    gap: 14px;
  }

  .blog-modal__body p {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .blog-modal__body h3 {
    font-size: 1.1rem;
    margin-top: 4px;
    margin-bottom: 2px;
  }

  .blog-modal__category {
    font-size: 0.72rem;
    padding: 6px 12px;
  }

  .blog-modal .modal__close {
    width: 40px;
    height: 40px;
    top: 12px;
    right: 12px;
    font-size: 1.6rem;
    background: rgba(21, 64, 101, 0.12);
  }
}

@media (max-width: 480px) {
  .chatbot {
    right: 12px;
    bottom: 12px;
  }

  .chatbot__toggle {
    width: 52px;
    height: 52px;
  }

  .chatbot__window {
    width: calc(100vw - 24px);
  }

  .chatbot__message-content {
    max-width: 82%;
  }

  .chatbot__back-to-top {
    left: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
  }

  .blog {
    padding: 32px 0;
  }

  .blog__cards {
    gap: 16px;
  }

  .blog-card__image {
    height: 180px;
  }

  .blog-card__content {
    padding: 18px;
  }

  .blog-card__title {
    font-size: 1.15rem;
  }

  .blog-modal__content {
    max-width: calc(100vw - 16px);
    max-height: 98vh;
    margin: 8px;
    border-radius: 16px;
  }

  .blog-modal__image {
    max-height: 220px;
    min-height: 180px;
    padding: 12px;
  }

  .blog-modal__image img {
    max-height: calc(220px - 24px);
  }

  .blog-modal__text {
    padding: 20px 16px;
    max-height: calc(98vh - 220px);
    gap: 14px;
  }

  .blog-modal__title {
    font-size: 1.25rem;
  }

  .blog-modal__body p {
    font-size: 0.9rem;
  }

  .blog-modal__body h3 {
    font-size: 1.05rem;
  }

  .blog-modal .modal__close {
    width: 44px;
    height: 44px;
    top: 8px;
    right: 8px;
    font-size: 1.8rem;
    background: rgba(21, 64, 101, 0.15);
  }
}

@media (max-width: 900px) {
  .navbar {
    width: calc(100% - 32px);
    margin: 18px auto 0;
    padding: 18px 22px;
    border-radius: 42px;
    background: linear-gradient(135deg, #102237, #1e3f66);
    box-shadow: 0 22px 44px rgba(12, 26, 45, 0.32);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }

  .navbar__brand {
    flex: 0 0 auto;
    margin-right: auto;
  }

  .navbar__brand img {
    width: 46px;
    height: 46px;
  }

  .navbar__menu,
  .navbar__contact {
    display: none;
  }

  .navbar__toggle {
    display: inline-flex;
    margin-left: 18px;
    background: #ffffff;
    border: none;
    box-shadow: 0 12px 26px rgba(24, 63, 102, 0.18);
  }

  .navbar__toggle span {
    background: #1d1e25;
  }
}
