:root {
  --blue: #295794;
  --blue-dark: #1d3f73;
  --blue-soft: #edf4ff;
  --text: #1f2f46;
  --muted: #516074;
  --line: #e4eaf3;
  --surface: #ffffff;
  --band: #2e5a93;
  --shadow: 0 18px 40px rgba(37, 75, 122, 0.09);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--text);
  max-width: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(248, 206, 176, 0.2), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 38%, #ffffff 100%);
}

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

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

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

.section-space {
  padding: 24px 0 52px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(228, 234, 243, 0.8);
  transition: box-shadow 0.25s ease;
}

.site-header.is-floating {
  box-shadow: 0 4px 20px rgba(37, 75, 122, 0.12);
}

section[id] {
  scroll-margin-top: 92px;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
}

.logo {
  width: 80px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #c5d5ec;
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
  color: #303747;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.header-location-cta {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid #7291c1;
  background: #fff;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-location-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(41, 87, 148, 0.18);
}

.header-location-cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 3px;
  border-radius: 999px;
  background: var(--blue);
}

.btn-primary,
.btn-secondary,
.info-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary:hover,
.btn-secondary:hover,
.info-link:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 24px rgba(41, 87, 148, 0.18);
}

.btn-secondary {
  border: 1.5px solid #7291c1;
  color: var(--blue);
  background: #fff;
}

.header-cta {
  padding-inline: 16px;
  min-height: 42px;
  font-size: 14px;
  border-radius: 10px;
  white-space: nowrap;
}

.header-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.hero {
  padding: 42px 0 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.97fr);
  gap: 34px;
  align-items: center;
}

.hero-copy {
  padding: 20px 0 0 12px;
}

.hero-copy h1 {
  max-width: 560px;
  font-size: clamp(3rem, 4vw, 4.25rem);
  line-height: 0.98;
  color: var(--blue);
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}

.hero-copy p {
  max-width: 505px;
  font-size: 18px;
  line-height: 1.65;
  color: #334257;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.btn-whatsapp {
  padding-inline: 16px 20px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 0 0 0 80px;
  background:
    radial-gradient(circle at 20% 26%, rgba(255, 197, 156, 0.45), transparent 18%),
    linear-gradient(135deg, #fff 10%, #f6ede6 100%);
}

.hero-photo {
  position: absolute;
  inset: 24px 76px 0 0;
  width: calc(100% - 76px);
  height: calc(100% - 24px);
  object-fit: cover;
  object-position: center;
  border-radius: 0 0 0 48px;
}

.leaf {
  position: absolute;
  right: 0;
  border-radius: 100% 0 100% 0;
  opacity: 0.95;
}

.leaf-1 { top: 52px; right: 76px; width: 44px; height: 72px; background: #dbadc5; transform: rotate(-12deg); }
.leaf-2 { top: 44px; right: 8px; width: 54px; height: 92px; background: #9ccc64; transform: rotate(34deg); }
.leaf-3 { top: 128px; right: 88px; width: 70px; height: 132px; background: #a6d576; transform: rotate(12deg); }
.leaf-4 { top: 112px; right: 32px; width: 54px; height: 112px; background: #f5cb62; transform: rotate(10deg); }
.leaf-5 { top: 152px; right: -6px; width: 54px; height: 96px; background: #77bdd8; transform: rotate(50deg); }
.leaf-6 { top: 228px; right: 36px; width: 72px; height: 112px; background: #f2a06f; transform: rotate(82deg); }
.leaf-7 { top: 298px; right: 92px; width: 60px; height: 108px; background: #c7d66c; transform: rotate(126deg); }
.leaf-8 { top: 316px; right: 6px; width: 46px; height: 76px; background: #93c9df; transform: rotate(128deg); }
.leaf-9 { top: 406px; right: 40px; width: 34px; height: 56px; background: #f1c879; transform: rotate(126deg); }

.section-heading {
  text-align: center;
  margin-bottom: 26px;
}

.section-heading span,
.about-copy > span {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #5972a8;
}

.section-heading h2,
.about-copy h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  color: var(--blue);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 18px 16px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(36, 69, 116, 0.04);
}

.service-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.service-icon svg,
.feature-icon svg,
.heart-icon svg,
.back-to-top svg,
.social-link svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
}

.service-icon svg.icon-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon svg.icon-line .fill {
  fill: currentColor;
  stroke: none;
}

.service-card h3 {
  min-height: 54px;
  font-size: 15px;
  line-height: 1.2;
  color: var(--blue);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 13px;
  line-height: 1.45;
  color: #49576a;
}

.service-summary {
  margin-bottom: 0;
}

.service-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition: max-height 0.52s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease, transform 0.32s ease, margin-top 0.32s ease, padding-top 0.32s ease;
  text-align: left;
}

.service-details p {
  font-size: 12px;
  line-height: 1.58;
}

.service-details p + p {
  margin-top: 8px;
}

.service-card.is-row-active,
.service-card.is-card-active,
.service-card:focus-within {
  box-shadow: 0 14px 26px rgba(36, 69, 116, 0.12);
  transform: translateY(-2px);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    box-shadow: 0 14px 26px rgba(36, 69, 116, 0.12);
    transform: translateY(-2px);
  }
}

.service-card.is-row-active .service-details,
.service-card.is-card-active .service-details {
  max-height: 740px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #cfd9ea;
}

.blue { background: #deecff; color: #3869ad; }
.green { background: #e7f4cf; color: #568749; }
.lilac { background: #ede7fa; color: #61589c; }
.yellow { background: #fff1cb; color: #d38d1c; }
.peach { background: #ffe6dc; color: #cb7b54; }
.mint { background: #ddf4e5; color: #4d9065; }
.coral { background: #ffebe1; color: #da5f3b; }
.sky { background: #e3efff; color: #4e7cc8; }
.pink { background: #fde4f4; color: #b94b8a; }

.about {
  background: linear-gradient(180deg, #faf8f5 0%, #ffffff 100%);
  padding: 18px 0 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
}

.about-image-wrap {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 26px;
}

.about-image,
.about-video {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.about-carousel {
  isolation: isolate;
}

.about-carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
}

.about-carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

.about-media-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-media-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 10px rgba(18, 37, 63, 0.18);
  cursor: pointer;
}

.about-media-dot.active {
  background: #fff;
}

.about-media-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #244a7a;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(8, 22, 44, 0.18);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.about-media-nav:hover {
  background: #fff;
}

.about-media-nav:active {
  transform: translateY(-50%) scale(0.97);
}

.about-media-nav[hidden] {
  opacity: 0;
  pointer-events: none;
}

.about-media-nav svg {
  width: 18px;
  height: 18px;
}

.about-media-prev {
  left: 16px;
}

.about-media-next {
  right: 16px;
}

.about-video-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  padding: 0;
  background: #09172b;
  cursor: pointer;
}

.about-video-poster {
  opacity: 0.9;
}

.about-video-thumb-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 14px;
  justify-items: center;
  background: linear-gradient(180deg, rgba(8, 19, 37, 0.08) 0%, rgba(8, 19, 37, 0.5) 100%);
  color: #fff;
}

.about-video-play-icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(8, 22, 44, 0.24);
  position: relative;
}

.about-video-play-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-38%, -50%);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #244a7a;
}

.about-video-thumb-label {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  font-weight: 700;
}

.about-copy {
  padding: 36px 10px 34px 38px;
}

.about-copy p {
  max-width: 600px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.feature-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 16px 18px;
  min-height: 128px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.feature-card > div:last-child {
  min-width: 0;
}

.feature-card:hover {
  border-color: #d8e6f8;
  background: rgba(255, 255, 255, 0.7);
}

.feature-card:focus-visible {
  outline: 2px solid #5f8fcb;
  outline-offset: 2px;
}

.feature-card.active {
  border-color: #c6dbf5;
  background: #fff;
  box-shadow: 0 14px 28px rgba(24, 70, 124, 0.08);
}

.feature-icon,
.heart-icon,
.back-to-top {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.feature-icon svg,
.heart-icon svg,
.back-to-top svg {
  width: 26px;
  height: 26px;
}

.blue-soft { background: #edf4ff; color: #547fbc; }
.green-soft { background: #e7f4eb; color: #5f9e71; }
.lilac-soft { background: #f1ebff; color: #836bbd; }

.feature-card h3 {
  font-size: 18px;
  line-height: 1.3;
  color: #274f88;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.feature-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #637286;
  margin: 0;
  overflow-wrap: anywhere;
}

.no-break {
  white-space: nowrap;
}

.reviews {
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}

.about-topic-panels {
  margin-top: 18px;
  border-top: 1px solid #e4ecf7;
  padding-top: 16px;
}

.about-topic-panel {
  display: none;
  animation: aboutPanelFade 0.2s ease;
}

.about-topic-panel.active {
  display: block;
}

.about-topic-panel h3 {
  font-size: 20px;
  color: #204a7e;
  line-height: 1.25;
  margin-bottom: 10px;
}

.about-topic-panel p {
  margin-top: 0;
  margin-bottom: 10px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.6;
  color: #4e6178;
}

.about-topic-list,
.about-case-list {
  margin: 0;
  padding-left: 18px;
}

.about-topic-list li,
.about-case-list li {
  color: #4e6178;
  line-height: 1.5;
  margin-bottom: 6px;
}

.about-case-trigger {
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  background: #204a7e;
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.about-case-trigger:hover {
  background: #163f70;
}

.about-case-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 18px;
}

.about-case-modal[hidden] {
  display: none !important;
}

.about-video-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 18px;
}

.about-video-modal[hidden] {
  display: none !important;
}

.about-case-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 36, 0.55);
}

.about-case-dialog {
  position: relative;
  width: min(760px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  border-radius: 20px;
  background: #fff;
  padding: 24px 22px;
  box-shadow: 0 24px 48px rgba(8, 22, 44, 0.28);
}

.about-case-close {
  border: 1px solid #d6e2f2;
  background: #f5f9ff;
  color: #274f88;
  border-radius: 10px;
  padding: 6px 10px;
  font-weight: 700;
  cursor: pointer;
  margin-left: auto;
  display: block;
}

.about-case-dialog h3 {
  color: #22456f;
  line-height: 1.28;
  margin: 14px 0 10px;
}

.about-case-dialog h4 {
  color: #2d5688;
  margin: 14px 0 8px;
}

.about-case-dialog p {
  color: #4e6178;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 10px;
}

.about-case-cta {
  margin-top: 10px;
  width: max-content;
}

.about-video-dialog {
  position: relative;
  width: min(980px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  border-radius: 20px;
  background: #fff;
  padding: 20px 20px 24px;
  box-shadow: 0 24px 48px rgba(8, 22, 44, 0.28);
}

.about-video-dialog h3 {
  color: #22456f;
  line-height: 1.28;
  margin: 14px 0 12px;
}

.about-video-full {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 180px);
  border-radius: 14px;
  background: #000;
}

body.about-case-open {
  overflow: hidden;
}

@keyframes aboutPanelFade {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-band {
  background: var(--band);
  color: #fff;
}

.info-band-inner {
  min-height: 124px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.info-copy {
  display: flex;
  align-items: center;
  gap: 18px;
}

.heart-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 64px;
  height: 64px;
}

.info-copy h2 {
  font-size: 17px;
  line-height: 1.35;
  margin-bottom: 4px;
}

.info-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.info-link {
  background: #fff;
  color: var(--blue);
  min-width: 112px;
}

.site-footer {
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 30px 0 24px;
  align-items: start;
}

.footer-logo {
  width: 150px;
}

.site-footer h3 {
  font-size: 20px;
  color: #243853;
  margin-bottom: 12px;
}

.footer-list {
  list-style: none;
  display: grid;
  gap: 8px;
  color: #46566f;
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--blue);
}

.social-copy {
  color: #46566f;
  line-height: 1.5;
  margin-bottom: 10px;
}

.footer-map-wrap {
  margin-top: 14px;
}

.footer-map-wrap h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.footer-map-thumb {
  position: relative;
  border: 1px solid #d9e4f4;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(36, 69, 116, 0.1);
}

.footer-map-thumb iframe {
  width: 100%;
  height: 126px;
  border: 0;
  display: block;
}

.footer-map-thumb a {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.social-link {
  display: inline-flex;
  width: 34px;
  height: 34px;
}

.social-link svg {
  width: 100%;
  height: 100%;
}

.footer-bottom {
  background: #2f5b94;
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  text-align: center;
}

.back-to-top {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  width: 26px;
  height: 26px;
}

.back-to-top svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1180px) {
  .main-nav {
    gap: 14px 18px;
    font-size: 14px;
  }

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

@media (max-width: 1100px) {
  .nav {
    position: relative;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 14px 0;
    gap: 12px;
    min-height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .header-location-cta {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(26, 56, 94, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    z-index: 25;
  }

  .site-header.menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    border-radius: 8px;
    padding: 10px 12px;
  }

  .main-nav a.active,
  .main-nav a:hover {
    background: #f0f5fd;
  }

  .main-nav a.active::after,
  .main-nav a:hover::after {
    display: none;
  }

  section[id] {
    scroll-margin-top: 84px;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 12px;
    margin-bottom: 14px;
  }

  .feature-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 22px rgba(36, 69, 116, 0.04);
    padding: 16px 14px;
  }

  .about-topic-panels {
    margin-top: 12px;
    padding-top: 14px;
  }

  .about-media-dots {
    bottom: 12px;
  }

  .about-media-nav {
    width: 40px;
    height: 40px;
  }

  .about-media-prev {
    left: 12px;
  }

  .about-media-next {
    right: 12px;
  }

  .about-topic-panel {
    text-align: left;
  }

  .about-case-dialog {
    width: min(700px, calc(100vw - 20px));
    max-height: calc(100vh - 24px);
    padding: 20px 16px;
  }

  .about-video-dialog {
    width: min(720px, calc(100vw - 20px));
    max-height: calc(100vh - 24px);
    padding: 18px 14px 20px;
  }

  .feature-icon {
    width: 52px;
    height: 52px;
  }

  .feature-card h3 {
    margin-bottom: 4px;
  }

  .footer-grid {
    gap: 22px;
    padding: 24px 0 20px;
    text-align: center;
  }

  .footer-grid > div,
  .footer-brand {
    display: grid;
    justify-items: center;
  }

  .footer-list {
    justify-items: center;
  }

  .hero-copy,
  .about-copy {
    padding: 0;
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-photo {
    inset: 16px 54px 0 0;
    width: calc(100% - 54px);
    height: calc(100% - 16px);
  }

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

  .info-band-inner,
  .info-copy,
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .logo,
  .footer-logo {
    width: 124px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy h1 {
    font-size: 2.7rem;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 360px;
    border-radius: 28px;
  }

  .hero-photo {
    inset: 10px 42px 0 0;
    width: calc(100% - 42px);
    border-radius: 28px 0 0 28px;
  }

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

  .about-image,
  .about-image-wrap {
    min-height: 280px;
  }

}

@media (max-width: 520px) {
  .main-nav {
    font-size: 13px;
  }

  .header-cta {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

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

  .hero-visual {
    min-height: 310px;
  }

  .service-card h3 {
    min-height: auto;
  }

  .service-details p {
    font-size: 13px;
  }

  .site-footer h3 {
    font-size: 18px;
  }

  .footer-list {
    font-size: 14px;
    gap: 6px;
  }

  .social-copy {
    font-size: 14px;
  }

  .footer-bottom-inner {
    gap: 10px;
    font-size: 11px;
    line-height: 1.5;
  }

  .footer-bottom-inner p {
    max-width: 300px;
  }
}

/* Team Page Styles */
.hero-secondary {
  padding: 52px 0 42px;
}

.hero-grid-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-copy-secondary {
  max-width: 720px;
}

.hero-copy-secondary h1 {
  font-size: clamp(2.5rem, 3.5vw, 3.5rem);
  line-height: 1;
  color: var(--blue);
  letter-spacing: -0.045em;
  margin-bottom: 20px;
}

.hero-copy-secondary p {
  font-size: 18px;
  line-height: 1.65;
  color: #334257;
  max-width: 600px;
}

.team {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.team-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 22px rgba(36, 69, 116, 0.04);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(36, 69, 116, 0.12);
}

.team-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.team-avatar {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: 14px;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: #e8eef8;
  cursor: default;
  box-shadow: 0 10px 22px rgba(36, 69, 116, 0.12);
  transition: box-shadow 0.25s ease;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-avatar img.team-avatar-photo-nayara {
  object-position: 50% 30%;
}

.team-avatar:hover {
  box-shadow: 0 12px 24px rgba(36, 69, 116, 0.14);
}

.team-avatar-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dbe7fb 0%, #a8c2ea 100%);
  color: var(--blue);
  cursor: default;
}

.team-avatar-placeholder span {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.team-info-header {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
  line-height: 1.2;
}

.team-specialty {
  font-size: 12px;
  font-weight: 600;
  color: #5972a8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 4px 0 0 0 !important;
  word-break: break-word;
  overflow-wrap: break-word;
}

.team-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-description {
  font-size: 14px;
  line-height: 1.55;
  color: #49576a;
  margin-bottom: 12px;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  background: #edf4ff;
  color: #3869ad;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Avatar Gradients */
.blue-gradient { background: linear-gradient(135deg, #5b9ae3 0%, #3869ad 100%); }
.green-gradient { background: linear-gradient(135deg, #7ab85c 0%, #568749 100%); }
.lilac-gradient { background: linear-gradient(135deg, #8b79b8 0%, #61589c 100%); }
.yellow-gradient { background: linear-gradient(135deg, #f5c74d 0%, #d38d1c 100%); }
.peach-gradient { background: linear-gradient(135deg, #f5b5a1 0%, #cb7b54 100%); }
.mint-gradient { background: linear-gradient(135deg, #69b87a 0%, #4d9065 100%); }
.coral-gradient { background: linear-gradient(135deg, #e68a5f 0%, #da5f3b 100%); }
.sky-gradient { background: linear-gradient(135deg, #7da6e3 0%, #4e7cc8 100%); }
.pink-gradient { background: linear-gradient(135deg, #e088bb 0%, #b94b8a 100%); }

@media (max-width: 1180px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-grid-secondary {
    padding: 0;
  }

  .hero-copy-secondary h1 {
    font-size: 2.5rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .team-card {
    padding: 18px;
  }
}

@media (max-width: 720px) {
  .hero-copy-secondary h1 {
    font-size: 2rem;
  }

  .hero-copy-secondary p {
    font-size: 16px;
  }

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

  .team-card-header {
    gap: 12px;
  }

  .team-avatar {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }

  .team-card h3 {
    font-size: 15px;
  }

  .team-description {
    font-size: 13px;
  }
}

/* Google Reviews Section */
.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--blue-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.reviews-score {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.reviews-score-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.reviews-stars {
  display: flex;
  gap: 3px;
}

.reviews-stars svg,
.review-stars svg {
  width: 22px;
  height: 22px;
  fill: #f5a623;
}

.review-stars svg {
  width: 16px;
  height: 16px;
}

.reviews-total {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.reviews-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 999px;
  transition: background 0.2s;
  white-space: nowrap;
}

.reviews-cta:hover {
  background: var(--blue-dark);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: var(--review-card-height, auto);
}

.review-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.review-author {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 4px;
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-google-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: auto;
  margin-top: 2px;
}

.review-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 980px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .reviews-summary {
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

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

/* Reviews Carousel */
.reviews-carousel.is-measuring {
  visibility: hidden;
}
.reviews-slide {
  display: none;
}
.reviews-slide.active {
  display: grid;
  animation: reviewsSlideIn 0.45s ease;
}

@keyframes reviewsSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.reviews-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--blue);
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.reviews-nav-btn svg {
  width: 18px;
  height: 18px;
}

#servicos,
#sobre,
.reviews,
#informacoes,
.site-footer,
.team,
.space-gallery {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}
.reviews-nav-btn:hover {
  background: #eef3fb;
  border-color: var(--blue);
}
.reviews-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.reviews-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.reviews-dot.active {
  background: var(--blue);
  transform: scale(1.35);
}

/* Nosso Espaco Page Styles */
.space-gallery {
  padding-top: 0;
}

.space-gallery-hint {
  text-align: center;
  color: #5c6b81;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 16px;
}

.space-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.space-gallery-item {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 24px rgba(36, 69, 116, 0.08);
  cursor: zoom-in;
  isolation: isolate;
}

.space-gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.02);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.space-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 47, 77, 0.12), transparent 48%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.space-gallery-item:hover img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.05);
}

.space-gallery-item:hover::after,
.space-gallery-item:focus-visible::after {
  opacity: 1;
}

.space-gallery-item:focus-visible {
  outline: 3px solid #84a7dd;
  outline-offset: 2px;
}

body.lightbox-open {
  overflow: hidden;
}

.space-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: rgba(12, 23, 40, 0.84);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.space-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.space-lightbox-figure {
  margin: 0;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.space-lightbox-image {
  width: min(96vw, 1080px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.space-lightbox-caption {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.space-lightbox-close,
.space-lightbox-nav {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(5px);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.space-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 28px;
  line-height: 1;
}

.space-lightbox-nav {
  width: 46px;
  height: 60px;
  border-radius: 12px;
  font-size: 36px;
  line-height: 1;
}

.space-lightbox-close:hover,
.space-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

@media (max-width: 1180px) {
  .space-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .space-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .space-gallery-grid {
    gap: 12px;
  }

  .space-lightbox {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    padding: 14px;
  }

  .space-lightbox-nav {
    width: 120px;
    height: 44px;
    font-size: 30px;
  }

  .space-lightbox-nav.prev {
    order: 2;
  }

  .space-lightbox-nav.next {
    order: 3;
  }

  .space-lightbox-figure {
    order: 1;
  }
}

@media (max-width: 520px) {
  .space-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Scroll to Top FAB */
.scroll-top-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 28px rgba(41, 87, 148, 0.34);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.scroll-top-fab.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-fab:hover {
  background: var(--blue-dark);
}

.scroll-top-fab:focus-visible {
  outline: 3px solid #8fb2ea;
  outline-offset: 2px;
}

.scroll-top-fab svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 720px) {
  .scroll-top-fab {
    right: 16px;
    bottom: 16px;
  }
}

/* Identidade Corporativa Page Styles */
.corporate-identity {
  padding-top: 0;
}

.identity-items-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.identity-item {
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(36, 69, 116, 0.04);
}

.identity-title {
  font-size: 22px;
  line-height: 1.2;
  color: var(--blue);
  margin-bottom: 12px;
  font-weight: 700;
}

.identity-text {
  font-size: 15px;
  line-height: 1.62;
  color: var(--text);
}

.identity-section {
  margin-top: 48px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.value-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(36, 69, 116, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(36, 69, 116, 0.12);
}

.value-card h4 {
  font-size: 16px;
  line-height: 1.3;
  color: var(--blue);
  margin-bottom: 12px;
  font-weight: 700;
}

.value-card p {
  font-size: 14px;
  line-height: 1.57;
  color: #49576a;
}

@media (max-width: 1024px) {
  .identity-items-wrapper {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .identity-items-wrapper {
    grid-template-columns: 1fr;
  }

  .identity-item {
    padding: 20px;
  }

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

  .identity-text {
    font-size: 14px;
  }

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

  .value-card {
    padding: 20px;
  }

  .value-card h4 {
    font-size: 15px;
  }

  .value-card p {
    font-size: 13px;
  }
}
