:root {
  --navy-950: #081528;
  --navy-900: #0c1f39;
  --navy-800: #143055;
  --navy-700: #1a4471;
  --blue-500: #2e7dd7;
  --blue-400: #5b9fff;
  --sand-100: #f6f3ee;
  --sand-200: #ece6da;
  --white: #ffffff;
  --text-900: #10253f;
  --text-700: #4d5e74;
  --text-500: #6f8094;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(16, 37, 63, 0.1);
  --shadow-xl: 0 32px 90px rgba(4, 14, 28, 0.34);
  --shadow-lg: 0 22px 55px rgba(8, 21, 40, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 40px));
  --header-height: 98px;
  --logo-filter-blue: brightness(0) saturate(100%) invert(17%) sepia(44%) saturate(1648%)
    hue-rotate(188deg) brightness(94%) contrast(90%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text-900);
  background:
    radial-gradient(circle at top left, rgba(16, 37, 63, 0.05), transparent 22%),
    #f8f7f4;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: var(--header-height);
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: rgba(7, 20, 38, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: none;
  transition: background 220ms ease, border-color 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 20, 38, 0.98);
  border-color: rgba(255, 255, 255, 0.12);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #f0c33b, #5b9fff);
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.header-cta img {
  width: 18px;
  opacity: 0.96;
  filter: brightness(0) saturate(100%);
}

.header-cta {
  padding: 12px 18px;
  color: var(--navy-950);
  background: linear-gradient(135deg, #f0c33b, #ffd56b);
  font-weight: 800;
}

.header-login {
  color: #ffd56b;
  font-weight: 700;
  white-space: nowrap;
}

.header-login:hover,
.header-login:focus-visible {
  color: #ffe291;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-toggle__icon {
  position: relative;
  font-size: 0;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__icon::before {
  top: -7px;
}

.nav-toggle__icon::after {
  top: 7px;
}

.hero {
  padding: 0;
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: calc(100svh - var(--header-height));
  margin: 0;
  border-radius: 0;
  overflow: clip;
  background: var(--navy-900);
  box-shadow: none;
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 21, 40, 0.24), rgba(8, 21, 40, 0.6)),
    repeating-linear-gradient(
      110deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 2px,
      transparent 2px,
      transparent 28px
    );
  mix-blend-mode: screen;
  opacity: 0.22;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 480ms ease, visibility 480ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 21, 40, 0.1), rgba(8, 21, 40, 0.56)),
    radial-gradient(circle at 25% 25%, rgba(12, 31, 57, 0.04), transparent 34%),
    linear-gradient(90deg, rgba(8, 21, 40, 0.64) 0%, rgba(8, 21, 40, 0.1) 40%, rgba(8, 21, 40, 0.44) 100%);
}

.hero-slide__content {
  position: absolute;
  left: clamp(24px, 4vw, 48px);
  right: auto;
  bottom: clamp(168px, 18vw, 198px);
  width: min(440px, calc(100% - 32px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(8, 21, 40, 0.66);
  backdrop-filter: blur(16px);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(4, 14, 28, 0.24);
}

.hero-slide__eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-slide__logo {
  width: min(240px, 100%);
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.hero-slide__logo--wide {
  width: min(340px, 100%);
}

.hero-slide__content p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.hero-slide__content .button {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.88rem;
  align-self: flex-end;
}

.status-pill,
.completed-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy {
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  bottom: clamp(22px, 3vw, 30px);
  z-index: 2;
  width: 100%;
  padding: 0 clamp(24px, 4vw, 48px);
  border: 0;
  background: transparent;
  backdrop-filter: none;
  color: var(--white);
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: #9dc6ff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.about__intro h2,
.contact-panel__content h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  font-weight: 400;
  max-width: none;
  color: rgba(255, 255, 255, 0.66);
  text-shadow: none;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.hero-copy p {
  margin: 20px 0 0;
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.8;
  font-size: 1rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--solid {
  color: var(--navy-950);
  background: linear-gradient(135deg, #f0c33b, #ffd56b);
  box-shadow: 0 16px 30px rgba(240, 195, 59, 0.24);
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.button--ghost-dark {
  color: var(--text-900);
  border-color: rgba(16, 37, 63, 0.12);
  background: rgba(16, 37, 63, 0.04);
}

.button--block {
  width: 100%;
}

.hero-controls {
  position: absolute;
  z-index: 2;
}

.hero-controls {
  left: clamp(24px, 4vw, 48px);
  right: auto;
  bottom: clamp(94px, 9vw, 114px);
  width: min(440px, calc(100% - 32px));
  display: flex;
  justify-content: center;
}

.hero-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
}

.hero-indicators button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  transition: width 220ms ease, background 220ms ease;
}

.hero-indicators button.is-active {
  width: 26px;
  background: linear-gradient(90deg, #f0c33b, #5b9fff);
}

.section {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  padding: clamp(88px, 10vw, 120px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.projects .section-heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.about__intro h2,
.contact-panel__content h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  color: var(--text-900);
}

.section-heading p,
.about__intro p,
.contact-panel__content p,
.contact-details__aside p {
  margin: 9px 0;
  color: var(--text-700);
  line-height: 1.8;
  font-size: 1rem;
}

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

.project-card {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(240px, 0.9fr);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow-lg);
}

.project-card__media {
  position: relative;
  min-height: 320px;
}

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

.status-pill {
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 24px rgba(8, 21, 40, 0.12);
}

.project-card__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(91, 159, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff, #f8fafc);
}

.project-card__copy {
  display: grid;
  gap: 16px;
}

.project-card__body img {
  width: min(220px, 100%);
  filter: var(--logo-filter-blue);
}

.project-card__body p {
  margin: 0;
  color: var(--text-700);
  line-height: 1.75;
}

.project-card__services span {
  color: var(--blue-500);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card__services {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 37, 63, 0.1);
}

.project-card__services p {
  font-size: 0.95rem;
}

.project-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 6px;
}

.project-card__actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--navy-800);
}

.project-card__actions a::after {
  content: "\2192";
}

.completed {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.completed::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(8, 21, 40, 0.94), rgba(19, 74, 125, 0.92)),
    url("bgs/bg-finalizados-100.jpg") center / cover no-repeat;
  border-radius: 0;
}

.completed .section-heading,
.completed-grid {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.completed .section-heading {
  text-align: center;
}

.section-heading--light h2,
.section-heading--light p {
  color: var(--white);
}

.section-heading--light .section-kicker {
  color: #b8d7ff;
}

.completed-grid {
  display: grid;
  max-width: 1040px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.completed-card {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg);
}

.completed-card img {
  width: 100%;
  aspect-ratio: 1.1 / 0.82;
  object-fit: cover;
}

.completed-card__body {
  padding: 22px 20px 24px;
}

.completed-badge {
  margin-bottom: 14px;
  color: var(--navy-900);
  background: rgba(46, 125, 215, 0.12);
}

.completed-card h3 {
  margin: 0 0 10px;
  font-family: "Sora", sans-serif;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.completed-card p {
  margin: 0;
  color: var(--text-700);
  line-height: 1.7;
}

.about .section-heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.value-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.value-card--dark {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 30%),
    linear-gradient(145deg, #102746, #0f294c);
}

.value-card--blue {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 30%),
    linear-gradient(145deg, #2175d2, #4798f1);
}

.value-card__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.value-card__icon img {
  width: 26px;
}

.value-card h3 {
  margin: 0 0 12px;
  font-family: "Sora", sans-serif;
  font-size: 1.55rem;
}

.value-card p {
  margin: 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 26px;
  align-items: start;
}

.footer-band {
  width: 100%;
  background:
    linear-gradient(135deg, rgba(8, 21, 40, 0.94), rgba(19, 74, 125, 0.92)),
    url("bgs/bg-finalizados-100.jpg") center / cover no-repeat;
}

.footer-band .contact {
  padding-bottom: 44px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 26px;
  padding: 30px;
  border-radius: 34px;
  border: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at top left, rgba(91, 159, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: var(--shadow-lg);
}

.contact-form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(16, 37, 63, 0.04);
}

.contact-form.is-submitting {
  opacity: 0.9;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-900);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(16, 37, 63, 0.12);
  border-radius: 16px;
  background: var(--white);
  color: var(--text-900);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(46, 125, 215, 0.5);
  box-shadow: 0 0 0 4px rgba(46, 125, 215, 0.12);
}

.contact-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-form button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.form-note {
  min-height: 1.5em;
  margin: 0;
  color: var(--text-700);
  font-size: 0.92rem;
}

.form-note.is-success {
  color: #0c6b46;
}

.form-note.is-error {
  color: #b42318;
}

.contact-details {
  display: grid;
  gap: 18px;
}

.contact-details__card,
.contact-details__aside {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark);
  background: linear-gradient(180deg, #ffffff, #f9fbfd);
  box-shadow: var(--shadow-lg);
}

.contact-details__eyebrow {
  margin: 0 0 10px;
  color: var(--blue-500);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details h3 {
  margin: 0 0 20px;
  font-family: "Sora", sans-serif;
  font-size: 1.7rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-700);
  line-height: 1.65;
}

.contact-list img {
  width: 18px;
  margin-top: 4px;
}

.contact-list a {
  color: var(--navy-800);
  font-weight: 700;
}

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 36px 0 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  box-shadow: none;
}

.site-footer__brand {
  display: grid;
  gap: 14px;
  max-width: 460px;
}

.site-footer__brand img {
  width: 128px;
}

.site-footer__brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.contact-panel__content .site-footer__socials {
  margin-top: 22px;
  justify-content: flex-start;
}

.contact-panel__content .social-chip {
  border-color: rgba(16, 37, 63, 0.14);
  background: linear-gradient(180deg, #0f2b4a, #134a7d);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(11, 31, 55, 0.16);
}

.contact-panel__content .social-chip--instagram {
  border: 0;
  background: linear-gradient(135deg, #f58529 0%, #feda77 22%, #dd2a7b 52%, #8134af 78%, #515bd4 100%);
  background-size: 180% 180%;
  background-position: 0% 50%;
  color: var(--white);
  box-shadow: 0 14px 30px rgba(129, 52, 175, 0.28);
  transition: transform 220ms ease, box-shadow 220ms ease, background-position 420ms ease;
}

.contact-panel__content .social-chip--instagram:hover,
.contact-panel__content .social-chip--instagram:focus-visible {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 18px 36px rgba(129, 52, 175, 0.34);
}

.contact-panel__content .social-chip--facebook {
  border: 0;
  background: linear-gradient(135deg, #1877f2 0%, #1b74e4 45%, #145dbf 100%);
  background-size: 180% 180%;
  background-position: 0% 50%;
  color: var(--white);
  box-shadow: 0 14px 30px rgba(24, 119, 242, 0.24);
  transition: transform 220ms ease, box-shadow 220ms ease, background-position 420ms ease;
}

.contact-panel__content .social-chip--facebook:hover,
.contact-panel__content .social-chip--facebook:focus-visible {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 18px 36px rgba(24, 119, 242, 0.3);
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.social-chip[hidden] {
  display: none !important;
}

.social-chip img {
  width: 16px;
}

.project-detail-page {
  background:
    linear-gradient(180deg, #f6f7f4 0%, #f6f7f4 72%, #eef3f8 100%);
}

.project-hero {
  position: relative;
  min-height: min(860px, calc(100svh - var(--header-height) + 180px));
  overflow: clip;
  background: var(--navy-900);
}

.project-hero__image,
.project-hero__overlay {
  position: absolute;
  inset: 0;
}

.project-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero__overlay {
  background:
    linear-gradient(180deg, rgba(8, 21, 40, 0.26), rgba(8, 21, 40, 0.64)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 52%);
}

.project-hero__content {
  position: relative;
  z-index: 1;
  width: var(--container);
  min-height: inherit;
  margin: 0 auto;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 126px 0 72px;
  text-align: center;
}

.project-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 21, 40, 0.24);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.project-hero__back::before {
  content: "\2190";
}

.project-hero__title {
  margin: 0;
}

.project-hero__logo {
  width: min(500px, 74vw);
  filter: brightness(0) invert(1);
}

.project-hero__location {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.status-pill--hero {
  position: static;
  color: var(--white);
  background: rgba(12, 31, 57, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 42px rgba(4, 14, 28, 0.22);
}

.availability__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.72fr);
  gap: 38px;
  align-items: start;
}

.availability__plan {
  display: grid;
  gap: 18px;
}

.availability__plan-frame {
  overflow: hidden;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at top left, rgba(91, 159, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff, #fbfcfe);
  box-shadow: var(--shadow-lg);
}

.availability__plan-frame img {
  width: 100%;
  height: auto;
}

.availability__plan-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 4px;
}

.availability__plan-actions span {
  color: var(--text-500);
  font-size: 0.95rem;
}

.availability__summary {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 30px;
  border-radius: 28px;
  border: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at top right, rgba(91, 159, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: var(--shadow-lg);
}

.availability__summary h2 {
  margin: 14px 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: var(--navy-900);
}

.availability__range {
  display: inline-flex;
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(20, 48, 85, 0.08);
  color: var(--navy-800);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.amenities-list {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 24px 0 0;
  margin: 24px 0 0;
  border-top: 1px solid rgba(16, 37, 63, 0.1);
}

.amenities-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(16, 37, 63, 0.08);
}

.amenities-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.amenities-list img {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(20, 48, 85, 0.06);
}

.amenities-list span {
  font-weight: 700;
  color: var(--navy-900);
}

.availability__legend {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: var(--text-700);
  font-weight: 700;
}

.availability__legend::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: #fbea1c;
  box-shadow: inset 0 0 0 2px rgba(16, 37, 63, 0.1);
}

.project-offer {
  width: 100%;
  margin-top: 10px;
  background: linear-gradient(90deg, #102746, #2e7dd7);
}

.project-offer__inner {
  width: var(--container);
  margin: 0 auto;
  padding: 54px 0;
  display: grid;
  gap: 8px;
  text-align: center;
  color: var(--white);
}

.project-offer__inner p,
.project-offer__inner h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.project-offer__inner p {
  font-size: clamp(2rem, 4vw, 4rem);
}

.project-offer__inner h2 {
  font-size: clamp(2rem, 3.8vw, 3.8rem);
}

.project-offer__inner span {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.project-detail-page .section-heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.gallery-card {
  margin: 0;
  min-height: 260px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(16, 37, 63, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

.project-gallery__grid .gallery-card:not(.gallery-card--wide):not(.gallery-card--tall):not(.gallery-card--panorama) {
  grid-column: span 4;
}

.gallery-card--wide {
  grid-column: span 7;
  min-height: 460px;
}

.gallery-card--tall {
  grid-column: span 5;
  min-height: 460px;
}

.gallery-card--panorama {
  grid-column: span 12;
  min-height: 320px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.gallery-card:hover img,
.gallery-card:focus-within img {
  transform: scale(1.03);
}

.project-map__card {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(280px, 0.86fr);
  gap: 24px;
  align-items: stretch;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at top right, rgba(91, 159, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff, #fbfcfe);
  box-shadow: var(--shadow-lg);
}

.project-map__media {
  min-height: 360px;
  overflow: hidden;
  border-radius: 22px;
}

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

.project-map__content {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 10px 6px;
  text-align: center;
}

.project-map__content h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
  color: var(--navy-900);
}

.project-map__content p {
  margin: 0;
  color: var(--text-700);
  line-height: 1.7;
}

.project-detail-page .site-footer {
  justify-content: center;
}

.project-detail-page .site-footer__brand {
  justify-items: center;
  text-align: center;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  filter: drop-shadow(0 18px 26px rgba(7, 20, 38, 0.28));
  transition: transform 220ms ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-4px) scale(1.02);
}

.floating-whatsapp img {
  width: 100%;
  height: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .site-header {
    gap: 18px;
  }

  .header-cta {
    padding: 10px 14px;
    font-size: 0.92rem;
  }

  .hero-slider {
    min-height: 960px;
  }

  .project-grid,
  .completed-grid,
  .about,
  .contact,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .availability__layout,
  .project-map__card {
    grid-template-columns: 1fr;
  }

  .availability__summary {
    position: static;
  }

  .project-gallery__grid .gallery-card,
  .gallery-card--wide,
  .gallery-card--tall,
  .gallery-card--panorama {
    grid-column: span 6;
    min-height: 320px;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 84px;
  }

  .site-header {
    width: 100%;
    padding: 0 16px;
    border-radius: 0;
  }

  .brand {
    width: 82px;
  }

  .nav-toggle {
    display: inline-block;
    order: 3;
    margin-left: auto;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.is-open {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-header.is-open .site-nav,
  .site-header.is-open .header-actions {
    display: flex;
    width: 100%;
  }

  .site-header.is-open .site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-left: 0;
    padding-top: 8px;
  }

  .site-header.is-open .header-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 6px;
  }

  .site-header.is-open .nav-toggle__icon {
    background: transparent;
  }

  .site-header.is-open .nav-toggle__icon::before {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle__icon::after {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: 0;
  }

  .hero-slider {
    width: 100%;
    min-height: calc(100svh - var(--header-height));
    border-radius: 0;
  }

  .hero-copy {
    top: auto;
    right: 0;
    left: 0;
    bottom: 18px;
    width: 100%;
    padding: 0 22px;
  }

  .hero-slide__content {
    right: 22px;
    left: 22px;
    width: auto;
    bottom: 178px;
  }

  .hero-controls {
    right: 22px;
    left: 22px;
    bottom: 92px;
    width: auto;
    justify-content: center;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

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

  .project-hero {
    min-height: calc(100svh - var(--header-height) + 84px);
  }

  .project-hero__content {
    padding: 108px 0 54px;
  }

  .project-hero__logo {
    width: min(420px, 82vw);
  }

  .availability__plan-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-offer__inner {
    padding: 42px 0;
  }

  .project-map__content {
    padding: 4px 2px 0;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100vw - 28px);
    --header-height: 78px;
  }

  .site-header {
    width: 100%;
  }

  .hero-slider {
    width: 100%;
    min-height: calc(100svh - var(--header-height));
  }

  .hero-copy h1,
  .section-heading h2,
  .about__intro h2,
  .contact-panel__content h2 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .hero-copy h1 {
    font-size: clamp(0.86rem, 3.8vw, 1rem);
  }

  .hero-copy,
  .hero-slide__content,
  .contact-panel,
  .contact-details__card,
  .contact-details__aside {
    padding: 22px;
  }

  .hero-controls {
    width: auto;
    justify-content: center;
  }

  .hero-indicators {
    flex: 0 0 auto;
    justify-content: center;
  }

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

  .site-footer {
    width: calc(100vw - 40px);
    margin: 0 auto;
    padding: 32px 0 88px;
    flex-direction: column;
    align-items: flex-start;
  }

  .project-hero__content,
  .availability__plan-frame,
  .availability__summary,
  .project-map__card {
    padding: 22px;
  }

  .project-hero__back {
    font-size: 0.74rem;
  }

  .project-hero__location {
    font-size: 0.92rem;
  }

  .availability__summary h2 {
    font-size: clamp(2.3rem, 16vw, 3.8rem);
  }

  .availability__range {
    font-size: 0.78rem;
  }

  .amenities-list li {
    grid-template-columns: 40px 1fr;
  }

  .amenities-list img {
    width: 40px;
    height: 40px;
    padding: 9px;
  }

  .project-gallery__grid {
    grid-template-columns: 1fr;
  }

  .project-gallery__grid .gallery-card,
  .gallery-card--wide,
  .gallery-card--tall,
  .gallery-card--panorama {
    grid-column: auto;
    min-height: 240px;
  }

  .project-offer__inner {
    padding: 34px 0;
  }

  .project-offer__inner span {
    letter-spacing: 0.08em;
  }

  .project-map__media {
    min-height: 240px;
  }

  .floating-whatsapp {
    width: 64px;
    height: 64px;
    right: 18px;
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
