:root {
  --gold: #d7ad59;
  --gold-light: #f0d58e;
  --gold-dark: #9f742c;

  --black: #070707;
  --black-soft: #0a0a0a;

  --surface: #101010;
  --surface-light: #151515;

  --white: #ffffff;
  --text: #eeeeee;
  --muted: #8d8d8d;

  --border: rgba(255, 255, 255, 0.10);

  --container: 1200px;
}


/* ==================================================
   RESET
================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  font-family: "Inter", sans-serif;

  color: var(--text);
  background: var(--black);

  overflow-x: hidden;
}


body.modal-open {
  overflow: hidden;
}


img {
  display: block;
  max-width: 100%;
}


a {
  color: inherit;
  text-decoration: none;
}


button {
  font: inherit;
  cursor: pointer;
}


.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}


.section {
  padding: 120px 0;
}


.section-tag {
  display: block;

  margin-bottom: 18px;

  color: var(--gold);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 3px;
}



/* ==================================================
   HEADER
================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;

  z-index: 1000;

  width: 100%;
  height: 84px;

  display: flex;
  align-items: center;

  background: rgba(7, 7, 7, 0.77);

  backdrop-filter: blur(18px);

  border-bottom: 1px solid transparent;

  transition: 0.3s;
}


.header.scrolled {
  height: 72px;

  background: rgba(7, 7, 7, 0.96);

  border-bottom-color: var(--border);
}


.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}


.brand {
  display: inline-flex;
  align-items: center;

  gap: 13px;
}


.brand-logo {
  position: relative;

  width: 45px;
  height: 50px;

  flex-shrink: 0;
}


.logo-a,
.logo-w {
  position: absolute;
  left: 50%;

  transform: translateX(-50%);

  font-family: "Playfair Display", serif;
  font-weight: 700;

  line-height: 1;

  background: linear-gradient(
    135deg,
    #9f742c,
    #f6dc96,
    #c8963e
  );

  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;

  -webkit-text-fill-color: transparent;
}


.logo-a {
  top: 0;

  z-index: 2;

  font-size: 34px;
}


.logo-w {
  bottom: 0;

  font-size: 28px;
}


.brand-text {
  display: flex;
  flex-direction: column;

  line-height: 1;
}


.brand-text strong {
  color: var(--white);

  font-size: 15px;

  letter-spacing: 4px;
}


.brand-text span {
  margin-top: 6px;

  color: var(--gold);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 7px;
}


.nav {
  display: flex;
  align-items: center;

  gap: 27px;
}


.nav a {
  position: relative;

  color: #c7c7c7;

  font-size: 13px;
  font-weight: 500;

  transition: 0.25s;
}


.nav a:hover {
  color: var(--gold);
}


.header-button {
  padding: 13px 18px;

  color: #080808;
  background: var(--gold);

  border: 1px solid var(--gold);

  font-size: 12px;
  font-weight: 700;

  transition: 0.25s;
}


.header-button:hover {
  color: var(--gold);
  background: transparent;
}


.menu-button {
  display: none;

  width: 44px;
  height: 44px;

  background: transparent;

  border: 1px solid var(--border);
}


.menu-button span {
  display: block;

  width: 20px;
  height: 1px;

  margin: 5px auto;

  background: white;
}



/* ==================================================
   HERO
================================================== */

.hero {
  position: relative;

  min-height: 840px;

  display: flex;
  align-items: center;

  padding: 150px 0 80px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 75% 30%,
      rgba(215, 173, 89, 0.07),
      transparent 32%
    ),
    var(--black);
}


.hero::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );

  background-size: 70px 70px;

  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.8),
    transparent
  );
}


.hero-glow {
  position: absolute;

  right: 10%;
  top: 30%;

  width: 350px;
  height: 350px;

  border-radius: 50%;

  background: rgba(215, 173, 89, 0.06);

  filter: blur(80px);
}


.hero-grid {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    1.08fr
    0.92fr;

  align-items: center;

  gap: 80px;
}


.eyebrow {
  display: flex;
  align-items: center;

  gap: 14px;

  margin-bottom: 28px;

  color: var(--gold);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 3px;
}


.eyebrow > span {
  width: 45px;
  height: 1px;

  background: var(--gold);
}


.hero h1 {
  max-width: 750px;

  color: white;

  font-family: "Playfair Display", serif;

  font-size: clamp(55px, 6vw, 88px);
  font-weight: 600;

  line-height: 1;

  letter-spacing: -3px;
}


.hero h1 span {
  color: var(--gold);
}


.hero-description {
  max-width: 650px;

  margin-top: 30px;

  color: #a0a0a0;

  font-size: 16px;

  line-height: 1.9;
}


.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 14px;

  margin-top: 40px;
}


.button {
  min-height: 54px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 18px;

  padding: 0 26px;

  border: 1px solid transparent;

  font-size: 13px;
  font-weight: 700;

  transition: 0.3s;
}


.button-primary {
  color: #080808;

  background: linear-gradient(
    135deg,
    #b78333,
    #efd082
  );

  border-color: var(--gold);
}


.button-primary:hover {
  transform: translateY(-3px);

  box-shadow:
    0 15px 40px
    rgba(215, 173, 89, 0.18);
}


.button-outline {
  color: #dddddd;

  border-color: var(--border);
}


.button-outline:hover {
  color: var(--gold);

  border-color: var(--gold);
}


.hero-details {
  display: flex;

  gap: 35px;

  margin-top: 55px;
}


.hero-details > div {
  padding-left: 15px;

  border-left: 1px solid var(--gold);
}


.hero-details strong {
  display: block;

  color: white;

  font-size: 14px;
}


.hero-details span {
  display: block;

  margin-top: 5px;

  color: #777777;

  font-size: 11px;
}


.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero-logo-card {
  position: relative;

  width: min(420px, 100%);

  aspect-ratio: 0.85;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  background:
    radial-gradient(
      circle at center,
      rgba(215, 173, 89, 0.08),
      transparent 55%
    ),
    #0d0d0d;

  border: 1px solid rgba(215, 173, 89, 0.22);

  box-shadow:
    0 60px 110px
    rgba(0, 0, 0, 0.6);
}


.hero-logo-card::before,
.hero-logo-card::after {
  content: "";

  position: absolute;

  width: 35px;
  height: 35px;
}


.hero-logo-card::before {
  top: 20px;
  left: 20px;

  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}


.hero-logo-card::after {
  right: 20px;
  bottom: 20px;

  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}


.hero-monogram {
  position: relative;

  width: 175px;
  height: 180px;
}


.hero-a,
.hero-w {
  position: absolute;
  left: 50%;

  transform: translateX(-50%);

  font-family: "Playfair Display", serif;
  font-weight: 600;

  line-height: 1;

  background: linear-gradient(
    140deg,
    #8f6424,
    #f8df99,
    #b98736
  );

  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;

  -webkit-text-fill-color: transparent;
}


.hero-a {
  top: 0;

  font-size: 120px;
}


.hero-w {
  bottom: -7px;

  font-size: 102px;
}


.hero-logo-card > p {
  color: white;

  font-size: 20px;
  font-weight: 700;

  letter-spacing: 10px;
}


.hero-logo-card > span {
  margin-top: 10px;
  margin-left: 8px;

  color: var(--gold);

  font-size: 10px;

  letter-spacing: 12px;
}



/* ==================================================
   FEATURES
================================================== */

.features {
  background: #090909;

  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}


.feature-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);
}


.feature {
  min-height: 250px;

  padding: 40px 28px;

  border-right: 1px solid var(--border);
}


.feature:first-child {
  border-left: 1px solid var(--border);
}


.feature > span {
  color: var(--gold);

  font-family: "Playfair Display", serif;

  font-size: 13px;
}


.feature h3 {
  margin-top: 45px;

  color: white;

  font-family: "Playfair Display", serif;

  font-size: 22px;
}


.feature p {
  margin-top: 14px;

  color: #7f7f7f;

  font-size: 13px;

  line-height: 1.8;
}



/* ==================================================
   HEADINGS
================================================== */

.section-heading {
  display: grid;

  grid-template-columns:
    1fr
    0.52fr;

  align-items: end;

  gap: 80px;

  margin-bottom: 65px;
}


.section-heading h2,
.about-title,
.maintenance-title {
  color: white;

  font-family: "Playfair Display", serif;

  font-size: clamp(40px, 5vw, 65px);

  font-weight: 600;

  line-height: 1.05;

  letter-spacing: -1.5px;
}


.section-heading h2 span,
.about-title span,
.maintenance-title span {
  color: var(--gold);
}


.section-heading > p {
  color: #888888;

  font-size: 14px;

  line-height: 1.85;
}



/* ==================================================
   PORTFÓLIO
================================================== */

.portfolio-section {
  background: #0a0a0a;
}


.portfolio-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 55px 28px;
}


.project-card {
  background: #0d0d0d;

  border: 1px solid var(--border);

  transition: 0.35s;
}


.project-card:hover {
  border-color: rgba(215, 173, 89, 0.30);

  transform: translateY(-4px);
}


.project-image {
  position: relative;

  aspect-ratio: 16 / 10;

  overflow: hidden;

  background: #131313;
}


.project-image > img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: 0.7s;
}


.project-card:hover .project-image > img {
  transform: scale(1.045);
}


.project-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;

  background: rgba(0, 0, 0, 0.60);

  transition: 0.3s;
}


.project-card:hover .project-overlay {
  opacity: 1;
}


.project-detail-button {
  padding: 15px 21px;

  color: #080808;
  background: var(--gold);

  border: 1px solid var(--gold);

  font-size: 11px;
  font-weight: 700;

  transform: translateY(10px);

  transition: 0.3s;
}


.project-card:hover .project-detail-button {
  transform: translateY(0);
}


.project-content {
  padding: 26px 26px 28px;
}


.project-category {
  color: var(--gold);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 2px;
}


.project-content h3 {
  margin-top: 9px;

  color: white;

  font-family: "Playfair Display", serif;

  font-size: 27px;
  font-weight: 600;
}


.project-content > p {
  min-height: 72px;

  margin-top: 14px;

  color: #898989;

  font-size: 13px;

  line-height: 1.8;
}


.project-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  margin-top: 25px;
  padding-top: 20px;

  border-top: 1px solid var(--border);
}


.project-more {
  display: inline-flex;
  align-items: center;

  gap: 12px;

  color: var(--gold);

  background: transparent;

  border: none;

  font-size: 12px;
  font-weight: 600;
}


.project-more span {
  transition: 0.25s;
}


.project-more:hover span {
  transform: translateX(4px);
}


.project-site-link {
  color: #777777;

  font-size: 11px;

  transition: 0.25s;
}


.project-site-link:hover {
  color: white;
}



/* ==================================================
   SOBRE
================================================== */

.about-section {
  background: var(--black);
}


.about-grid {
  display: grid;

  grid-template-columns:
    0.95fr
    0.65fr;

  gap: 110px;
}


.about-text {
  padding-top: 25px;
}


.about-text p {
  margin-bottom: 24px;

  color: #969696;

  font-size: 15px;

  line-height: 1.95;
}



/* ==================================================
   SERVIÇOS
================================================== */

.services-section {
  background: #0a0a0a;

  border-top: 1px solid var(--border);
}


.center-heading {
  max-width: 730px;

  margin: 0 auto 65px;

  text-align: center;
}


.center-heading h2 {
  color: white;

  font-family: "Playfair Display", serif;

  font-size: clamp(40px, 5vw, 60px);

  font-weight: 600;
}


.center-heading p {
  margin-top: 20px;

  color: #888888;

  line-height: 1.8;
}


.services-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}


.service-card {
  min-height: 300px;

  padding: 35px;

  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);

  transition: 0.3s;
}


.service-card:hover {
  background: #111111;
}


.service-card > span {
  color: var(--gold);

  font-family: "Playfair Display", serif;
}


.service-card h3 {
  margin-top: 75px;

  color: white;

  font-family: "Playfair Display", serif;

  font-size: 24px;
}


.service-card p {
  margin-top: 15px;

  color: #858585;

  font-size: 13px;

  line-height: 1.8;
}



/* ==================================================
   CÓDIGO
================================================== */

.code-section {
  padding: 120px 0;

  background:
    radial-gradient(
      circle at 75% 50%,
      rgba(215, 173, 89, 0.06),
      transparent 30%
    ),
    #080808;

  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}


.code-grid {
  display: grid;

  grid-template-columns:
    1fr
    0.8fr;

  gap: 100px;

  align-items: center;
}


.code-grid h2 {
  max-width: 650px;

  color: white;

  font-family: "Playfair Display", serif;

  font-size: clamp(40px, 5vw, 60px);

  font-weight: 600;

  line-height: 1.08;
}


.code-grid p {
  max-width: 700px;

  margin-top: 24px;

  color: #8d8d8d;

  line-height: 1.9;
}


.advantages {
  border-top: 1px solid var(--border);
}


.advantages > div {
  padding: 17px 0;

  color: #b5b5b5;

  border-bottom: 1px solid var(--border);

  font-size: 13px;
}


.advantages span {
  margin-right: 13px;

  color: var(--gold);
}



/* ==================================================
   MANUTENÇÃO
================================================== */

.maintenance-section {
  background: var(--black);
}


.maintenance-grid {
  display: grid;

  grid-template-columns:
    1fr
    0.48fr;

  gap: 110px;

  align-items: center;
}


.maintenance-description {
  max-width: 650px;

  margin-top: 25px;

  color: #8d8d8d;

  line-height: 1.85;
}


.maintenance-list {
  margin: 35px 0;

  list-style: none;
}


.maintenance-list li {
  position: relative;

  padding: 13px 0 13px 25px;

  color: #b3b3b3;

  border-bottom: 1px solid var(--border);

  font-size: 13px;
}


.maintenance-list li::before {
  content: "✓";

  position: absolute;
  left: 0;

  color: var(--gold);
}


.maintenance-grid small {
  color: #606060;

  line-height: 1.7;
}


.price-card {
  padding: 45px;

  background: #101010;

  border: 1px solid rgba(215, 173, 89, 0.24);
}


.price-card > span {
  color: var(--gold);

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 2px;
}


.price {
  display: flex;
  align-items: baseline;

  margin: 28px 0 20px;
}


.price small {
  margin-right: 8px;

  color: var(--gold);

  font-size: 18px;
}


.price strong {
  color: white;

  font-family: "Playfair Display", serif;

  font-size: 78px;

  font-weight: 600;
}


.price em {
  margin-left: 6px;

  color: #777777;

  font-size: 13px;

  font-style: normal;
}


.price-card > p {
  color: #888888;

  font-size: 13px;

  line-height: 1.8;
}


.price-button {
  width: 100%;

  margin-top: 30px;
}



/* ==================================================
   CTA
================================================== */

.cta-section {
  padding: 100px 0;

  background: #090909;
}


.cta-box {
  padding: 100px 40px;

  text-align: center;

  background:
    radial-gradient(
      circle at center,
      rgba(215, 173, 89, 0.10),
      transparent 43%
    ),
    #0c0c0c;

  border: 1px solid rgba(215, 173, 89, 0.25);
}


.cta-box h2 {
  max-width: 830px;

  margin: auto;

  color: white;

  font-family: "Playfair Display", serif;

  font-size: clamp(45px, 6vw, 72px);

  font-weight: 600;

  line-height: 1.05;
}


.cta-box p {
  max-width: 620px;

  margin: 25px auto 0;

  color: #888888;

  line-height: 1.85;
}


.cta-button {
  margin-top: 35px;
}



/* ==================================================
   FOOTER
================================================== */

.footer {
  background: #050505;

  border-top: 1px solid var(--border);
}


.footer-main {
  display: grid;

  grid-template-columns:
    1fr
    0.35fr
    0.4fr;

  gap: 80px;

  padding: 70px 0;
}


.footer-about > p {
  max-width: 420px;

  margin-top: 25px;

  color: #707070;

  font-size: 13px;

  line-height: 1.8;
}


.footer-column {
  display: flex;
  flex-direction: column;

  gap: 13px;
}


.footer-column h4 {
  margin-bottom: 10px;

  color: white;

  font-size: 12px;
}


.footer-column a {
  color: #777777;

  font-size: 12px;

  transition: 0.25s;
}


.footer-column a:hover {
  color: var(--gold);
}


.instagram-link {
  display: flex;
  align-items: center;

  gap: 8px;
}


.instagram-link svg {
  width: 18px;
  height: 18px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;
}


.instagram-link .instagram-dot {
  fill: currentColor;

  stroke: none;
}


.footer-bottom {
  min-height: 70px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  border-top: 1px solid var(--border);
}


.footer-bottom p {
  color: #555555;

  font-size: 11px;
}


.footer-bottom strong {
  color: var(--gold);
}



/* ==================================================
   WHATSAPP
================================================== */

.whatsapp-float {
  position: fixed;

  right: 24px;
  bottom: 24px;

  z-index: 900;

  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #25d366;

  border-radius: 50%;

  box-shadow:
    0 12px 35px
    rgba(37, 211, 102, 0.28);

  transition: 0.3s;
}


.whatsapp-float:hover {
  transform:
    translateY(-5px)
    scale(1.03);
}


.whatsapp-float svg {
  width: 31px;
  height: 31px;

  fill: white;
}



/* ==================================================
   MODAL PROJETO
================================================== */

.project-modal {
  position: fixed;
  inset: 0;

  z-index: 5000;

  display: flex;
  justify-content: center;
  align-items: flex-start;

  padding: 45px 20px;

  opacity: 0;
  visibility: hidden;

  overflow-y: auto;

  transition: 0.3s;
}


.project-modal.active {
  opacity: 1;
  visibility: visible;
}


.modal-backdrop {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.94);

  backdrop-filter: blur(8px);
}


.modal-container {
  position: relative;

  z-index: 2;

  width: min(100%, 1180px);

  margin: auto;

  padding: 65px;

  background: #090909;

  border: 1px solid rgba(215, 173, 89, 0.18);
}


.modal-close {
  position: absolute;

  top: 20px;
  right: 20px;

  width: 46px;
  height: 46px;

  color: white;
  background: #101010;

  border: 1px solid var(--border);

  font-size: 27px;

  transition: 0.25s;
}


.modal-close:hover {
  color: var(--gold);

  border-color: var(--gold);
}


.modal-header {
  max-width: 820px;

  margin-bottom: 55px;
}


.modal-category {
  color: var(--gold);

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 3px;
}


.modal-header h2 {
  margin-top: 15px;

  color: white;

  font-family: "Playfair Display", serif;

  font-size: clamp(45px, 6vw, 72px);

  font-weight: 600;

  line-height: 1.05;
}


.modal-header p {
  max-width: 760px;

  margin-top: 22px;

  color: #949494;

  font-size: 15px;

  line-height: 1.9;
}


.image-label {
  display: flex;

  margin-bottom: 12px;

  color: #666666;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 2px;
}


.modal-main-image {
  margin-bottom: 65px;
}


.modal-main-image > img {
  width: 100%;

  background: #111111;

  border: 1px solid var(--border);
}


.modal-project-info {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 20px;

  margin-bottom: 70px;
}


.modal-info-card {
  min-height: 230px;

  padding: 35px;

  background: #0e0e0e;

  border: 1px solid var(--border);
}


.modal-info-card > span {
  color: var(--gold);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 2px;
}


.modal-info-card h3 {
  margin-top: 45px;

  color: white;

  font-family: "Playfair Display", serif;

  font-size: 27px;
}


.modal-info-card p {
  margin-top: 14px;

  color: #8f8f8f;

  font-size: 13px;

  line-height: 1.8;
}


.modal-gallery {
  display: grid;

  grid-template-columns:
    0.6fr
    1.4fr;

  gap: 30px;

  align-items: start;

  margin-bottom: 80px;
}


.mobile-preview {
  max-width: 360px;

  margin-inline: auto;

  padding: 10px;

  overflow: hidden;

  background: #111111;

  border: 1px solid var(--border);

  border-radius: 28px;
}


.mobile-preview img {
  width: 100%;

  border-radius: 20px;
}


.detail-preview {
  padding: 10px;

  background: #111111;

  border: 1px solid var(--border);
}


.detail-preview img {
  width: 100%;
}


.modal-cta {
  padding: 70px 40px;

  text-align: center;

  background:
    radial-gradient(
      circle,
      rgba(215, 173, 89, 0.08),
      transparent 45%
    ),
    #0c0c0c;

  border: 1px solid rgba(215, 173, 89, 0.22);
}


.modal-cta h3 {
  max-width: 720px;

  margin: auto;

  color: white;

  font-family: "Playfair Display", serif;

  font-size: clamp(38px, 5vw, 58px);

  font-weight: 600;

  line-height: 1.08;
}


.modal-cta > p {
  max-width: 580px;

  margin: 20px auto 0;

  color: #888888;

  font-size: 13px;

  line-height: 1.8;
}


.modal-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 15px;

  margin-top: 30px;
}



/* ==================================================
   RESPONSIVO
================================================== */

@media (max-width: 1100px) {

  .nav {
    gap: 17px;
  }


  .header-button {
    display: none;
  }


  .feature-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .feature {
    border-bottom: 1px solid var(--border);
  }


  .services-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .maintenance-grid {
    gap: 60px;
  }

}



@media (max-width: 850px) {

  .section {
    padding: 85px 0;
  }


  .menu-button {
    display: block;
  }


  .nav {
    position: fixed;

    top: 72px;
    left: 0;

    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 0;

    padding: 10px 25px 25px;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-15px);

    background: rgba(7, 7, 7, 0.99);

    border-bottom: 1px solid var(--border);

    transition: 0.25s;
  }


  .nav.active {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
  }


  .nav a {
    width: 100%;

    padding: 18px 0;

    border-bottom: 1px solid var(--border);
  }


  .hero {
    min-height: auto;

    padding-top: 140px;
  }


  .hero-grid {
    grid-template-columns: 1fr;

    gap: 70px;
  }


  .hero-content {
    text-align: center;
  }


  .eyebrow {
    justify-content: center;
  }


  .hero-description {
    margin-inline: auto;
  }


  .hero-actions,
  .hero-details {
    justify-content: center;
  }


  .hero-logo-card {
    max-width: 420px;

    margin: auto;
  }


  .section-heading {
    grid-template-columns: 1fr;

    gap: 25px;
  }


  .about-grid {
    grid-template-columns: 1fr;

    gap: 40px;
  }


  .services-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .code-grid {
    grid-template-columns: 1fr;

    gap: 60px;
  }


  .maintenance-grid {
    grid-template-columns: 1fr;
  }


  .price-card {
    max-width: 500px;
  }


  .footer-main {
    grid-template-columns: 1fr 1fr;

    gap: 50px;
  }


  .footer-about {
    grid-column: span 2;
  }


  .modal-container {
    padding: 55px 30px 35px;
  }


  .modal-project-info {
    grid-template-columns: 1fr;
  }


  .modal-gallery {
    grid-template-columns: 1fr;

    gap: 50px;
  }

}



@media (max-width: 650px) {

  .container {
    width: min(
      calc(100% - 28px),
      var(--container)
    );
  }


  .hero h1 {
    font-size: clamp(45px, 14vw, 62px);

    letter-spacing: -2px;
  }


  .hero-description {
    font-size: 14px;
  }


  .hero-actions {
    flex-direction: column;
  }


  .hero-actions .button {
    width: 100%;
  }


  .hero-details {
    display: grid;

    grid-template-columns:
      1fr
      1fr;

    text-align: left;

    gap: 25px;
  }


  .feature-grid {
    grid-template-columns: 1fr;
  }


  .portfolio-grid {
    grid-template-columns: 1fr;

    gap: 40px;
  }


  .project-content > p {
    min-height: auto;
  }


  .project-actions {
    align-items: flex-start;
    flex-direction: column;
  }


  .services-grid {
    grid-template-columns: 1fr;
  }


  .service-card {
    min-height: 250px;
  }


  .service-card h3 {
    margin-top: 45px;
  }


  .price-card {
    padding: 35px 25px;
  }


  .price strong {
    font-size: 65px;
  }


  .cta-box {
    padding: 70px 20px;
  }


  .footer-main {
    grid-template-columns: 1fr;
  }


  .footer-about {
    grid-column: auto;
  }


  .footer-bottom {
    padding: 25px 0;

    align-items: flex-start;
    flex-direction: column;
  }


  .whatsapp-float {
    right: 17px;
    bottom: 17px;

    width: 55px;
    height: 55px;
  }


  .project-modal {
    padding: 15px 10px;
  }


  .modal-container {
    padding: 65px 17px 25px;
  }


  .modal-header {
    margin-bottom: 40px;
  }


  .modal-header h2 {
    font-size: 43px;
  }


  .modal-info-card {
    padding: 27px 22px;
  }


  .modal-cta {
    padding: 55px 20px;
  }


  .modal-buttons {
    flex-direction: column;
  }


  .modal-buttons .button {
    width: 100%;
  }

}