html, body.home-page {
  margin: 0 !important;
  padding: 0 !important;
}

.home-page {
  background: #f4f4f4;
  color: #666666;
 
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
}

.home-page img {
  -webkit-user-drag: none;
  user-select: none;
}

.home-page a {
  border-bottom: 0;
}

.home-page a:hover {
  color: #ffffff !important;
  transition: color 0.24s ease;
}

.home-page button:hover,
.home-page input[type="submit"]:hover,
.home-page input[type="reset"]:hover,
.home-page input[type="button"]:hover {
  box-shadow: inset 0 0 0 2px #eeeeee;
  color: #eeeeee !important;
}

.home-header {
  align-items: center;
  background: transparent;
  display: flex;
  height: 3.5em;
  justify-content: space-between;
  left: 0;
  padding: 0 5vw;
  position: fixed;
  top: 0;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  z-index: 10002;
  border-bottom: 1px solid rgba(255, 255, 255, 0);
}

.home-header.is-scrolled {
  background: rgba(31, 34, 36, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.home-brand {
  align-items: center;
  display: inline-flex;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10003;
}

.home-brand img {
  display: block;
  height: 1.7em;
  width: auto;
}

.home-nav {
  align-items: center;
  background: transparent;
  box-shadow: none;
  display: flex;
  gap: 1.5em;
  margin-left: auto;
}

.home-nav a {
  align-items: center;
  border-radius: 3px;
  color: #f4f4f4;
  display: flex;
  font-size: 0.84em;
  letter-spacing: 0.03em;
  padding: 0;
  position: relative;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  gap: 8px;
}

.home-nav a::after {
  background: #527d68;
  bottom: -0.35em;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.24s ease;
  width: 100%;
}

.home-nav a:hover {
  background: transparent;
  color: #eeeeee !important;
}

.home-nav a i {
  color: #aeb0b1;
  font-size: 0.95em;
  transition: color 0.24s ease;
}

.home-nav a:hover i {
  color: #ffffff;
}

.home-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.home-header.is-scrolled .home-nav a {
  color: #f4f4f4 !important;
}

.home-header.is-scrolled .home-nav a:hover {
  color: #eeeeee !important;
}

.home-header.is-scrolled .home-menu-button span {
  background: #f4f4f4 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.home-nav .nav-client {
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.65);
  color: #ffffff;
  padding: 0.7em 1em;
  transition: box-shadow 0.24s ease, transform 0.24s ease;
}

.home-nav .nav-client::after {
  display: none;
}

.home-nav .nav-client:hover {
  box-shadow: inset 0 0 0 1px #527d68, 0 10px 26px rgba(82, 125, 104, 0.22);
  transform: translateY(-2px);
}

.home-menu-button {
  align-items: center;
  background: transparent !important;
  border: 0;
  border-radius: 3px;
  box-shadow: none !important;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 38px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  z-index: 10006;
}

.home-menu-button:hover {
  background: transparent !important;
}

.home-menu-button[aria-expanded="true"] {
  background: transparent !important;
}

.home-menu-button span {
  background: #ffffff;
  border-radius: 3px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
  display: block;
  height: 2px;
  margin: 0;
  position: relative;
  transition: all 0.3s ease;
  width: 20px;
}

.home-menu-button.active span:nth-child(1) {
  animation: menu-top 0.55s ease forwards;
}

.home-menu-button.not-active span:nth-child(1) {
  animation: menu-top-reverse 0.55s ease forwards;
}

.home-menu-button.active span:nth-child(2) {
  animation: menu-scale 0.55s ease forwards;
}

.home-menu-button.not-active span:nth-child(2) {
  animation: menu-scale-reverse 0.55s ease forwards;
}

.home-menu-button.active span:nth-child(3) {
  animation: menu-bottom 0.55s ease forwards;
}

.home-menu-button.not-active span:nth-child(3) {
  animation: menu-bottom-reverse 0.55s ease forwards;
}

@keyframes menu-top {
  0% { top: 0; transform: rotate(0); }
  50% { top: 7px; transform: rotate(0); }
  100% { top: 7px; transform: rotate(45deg); }
}

@keyframes menu-top-reverse {
  0% { top: 7px; transform: rotate(45deg); }
  50% { top: 7px; transform: rotate(0); }
  100% { top: 0; transform: rotate(0); }
}

@keyframes menu-bottom {
  0% { bottom: 0; transform: rotate(0); }
  50% { bottom: 7px; transform: rotate(0); }
  100% { bottom: 7px; transform: rotate(135deg); }
}

@keyframes menu-bottom-reverse {
  0% { bottom: 7px; transform: rotate(135deg); }
  50% { bottom: 7px; transform: rotate(0); }
  100% { bottom: 0; transform: rotate(0); }
}

@keyframes menu-scale {
  50%, 100% { transform: scale(0); }
}

@keyframes menu-scale-reverse {
  0%, 50% { transform: scale(0); }
  100% { transform: scale(1); }
}

.home-hero {
  align-items: center;
  display: flex;
  min-height: 80vh;
  overflow: hidden;
  padding: 9em 0 5em;
  position: relative;
  width: 100%;
}

.hero-media,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-media {
  background-image: url("../images/Fundo.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background: linear-gradient(to bottom, rgba(31, 34, 36, 0.3) 0%, rgba(31, 34, 36, 0.5) 70%, #1b1712 100%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero-content {
  max-width: 580px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: #eeeeee;
  display: block;
  font-size: 0.78em;
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 1.4em;
}

.home-section .eyebrow,
.portfolio-strip .eyebrow,
.contact-band .eyebrow {
  color: #a3a3a3;
  font-weight: 500;
}

.hero-content .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: #d9d9d9;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1.2em;
}



.hero-content h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 0.45em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  color: #b3b3b3;
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  line-height: 1.65;
  margin: 0 0 2em;
  max-width: 520px;
  min-height: 4.8em;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

.home-page .button.primary {
  background: #5e5e5e;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(82, 125, 104, 0.2);
  color: #ffffff !important;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-page .button:not(.primary) {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 30px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  color: #f4f4f4 !important;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-page .button.primary:hover {
  background: #242424;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.45);
  color: #ffffff !important;
  transform: translateY(-3px);
}

.home-page .button:not(.primary):hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 8px 20px rgba(0, 0, 0, 0.25);
  color: #ffffff !important;
  transform: translateY(-3px);
}

.home-page .button:hover:active,
.home-page button:hover:active,
.home-page input[type="submit"]:hover:active,
.home-page input[type="reset"]:hover:active,
.home-page input[type="button"]:hover:active {
  background-color: rgba(238, 238, 238, 0.12);
  color: #ffffff !important;
}

.hero-scroll {
  bottom: 2em;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll span {
  background: linear-gradient(#eeeeee, rgba(238, 238, 238, 0));
  display: block;
  height: 4em;
  width: 1px;
}

.home-section,
.portfolio-strip,
.contact-band {
  padding: 4.5em 5vw;
}

.intro-section {
  align-items: stretch;
  display: grid;
  gap: 2em;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}




.intro-section > * {
  position: relative;
  z-index: 1;
}

.intro-section.has-image {
  align-items: center;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
}

.intro-image {
  aspect-ratio: 4 / 4.6;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  width: 100%;
}

.intro-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.section-copy,
.section-heading {
  max-width: 900px;
}

.section-copy h2,
.section-heading h2,
.contact-band h2 {
  color: #5d5d5d;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 0.5em;
}

.section-copy p,
.contact-band p {
  color: #666666;
  font-size: 1.08em;
  line-height: 1.9;
  margin: 0;
  max-width: 720px;
}

.intro-card,
.experience-grid article,
.testimonial-card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease, background 0.24s ease;
}

.intro-card:hover,
.experience-grid article:hover,
.testimonial-card:hover {
  background: linear-gradient(145deg, rgba(82, 125, 104, 0.03), #ffffff);
  border-color: rgba(82, 125, 104, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px) scale(1.03);
}

.intro-card {
  align-content: end;
  display: grid;
  padding: 2em;
  position: relative;
}

.intro-card::before {
  background: #8fb49f;
  content: "";
  height: 42px;
  left: 2em;
  position: absolute;
  top: 2em;
  width: 2px;
}

.intro-card strong {
  color: #252525;
  display: block;
  font-size: 1.5em;
  font-weight: 400;
  margin-bottom: 0.6em;
}

.intro-card span {
  color: #666666;
  line-height: 1.8;
}

.portfolio-strip {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
  border-bottom: 1px solid #e5e5e5;
  border-top: 1px solid #e5e5e5;
  display: grid;
  justify-items: center;
  padding-left: 1.2vw;
  padding-right: 1.2vw;
}

.portfolio-grid {
  column-count: 5;
  column-gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 2.5em auto 0;
  padding: 0 1.2vw;
}

.portfolio-grid-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  cursor: default;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background-color: #f4f4f4;
  display: block;
}

.portfolio-grid-item.is-hidden {
  display: none !important;
}

.portfolio-grid-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-grid-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.portfolio-grid-item:hover img {
  transform: scale(1.06);
}

/* Grid overlay */
.portfolio-grid-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.portfolio-grid-item:hover .portfolio-grid-overlay {
  opacity: 1;
}

.portfolio-grid-overlay-content {
  color: #ffffff;
  text-align: center;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.portfolio-grid-title {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portfolio-empty {
  color: #666666;
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  padding: 2em 0;
}

.portfolio-empty strong {
  color: #252525;
}

/* Botão Ver Mais do Portfólio */
#btnVerMais {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #252525 !important;
  color: #ffffff !important;
  border: 1px solid #252525 !important;
  border-radius: 6px !important;
  padding: 0 2em !important;
  height: 2.7em !important;
  font-family: inherit !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  line-height: 1 !important;
}

#btnVerMais:hover {
  background: #444444 !important;
  border-color: #444444 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12) !important;
}

/* Responsive adjust for portfolio grid */

@media (max-width: 1024px) {
  .portfolio-grid {
    column-count: 3;
  }
  .experience-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    column-count: 2;
    column-gap: 8px;
    padding: 0 8px;
  }
  
  .portfolio-grid-item {
    margin-bottom: 8px;
  }

  .portfolio-grid-item.is-hidden-mobile {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .portfolio-actions.hide-desktop-actions {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    column-count: 2;
    column-gap: 4px;
    padding: 0 4px;
  }
  
  .portfolio-grid-item {
    margin-bottom: 4px;
    border-radius: 0;
  }
  
  .portfolio-grid-title {
    font-size: 0.75rem;
  }
  
  .portfolio-grid-overlay-content {
    padding: 5px;
    gap: 4px;
  }
}

.experience-section,
.testimonials-section {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.experience-grid {
  display: grid;
  gap: 1.2em;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.5em;
}

.testimonials-grid {
  display: grid;
  gap: 1.2em;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.5em;
}

.testimonial-card {
  padding: 1.8em;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card::before {
  color: rgba(214, 188, 150, 0.25);
  content: "“";
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  position: absolute;
  right: 0.3em;
  top: 0.1em;
  pointer-events: none;
}

.testimonial-card p {
  color: #444444;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.68;
  margin: 0 0 1.2em;
  flex-grow: 1;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  color: #252525;
  font-weight: 600;
}

.testimonial-card span {
  color: #527d68;
  font-size: 0.9em;
  margin-top: 0.3em;
}

.experience-card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.experience-card-image {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  min-width: 0;
  overflow: hidden;
}

.experience-card-image img {
  display: block;
  filter: saturate(0.9) contrast(1.03);
  height: 100%;
  object-fit: cover;
  transition: filter 0.35s ease, transform 0.45s ease;
  width: 100%;
}

.experience-card:hover .experience-card-image img {
  filter: saturate(1.02) contrast(1.06);
  transform: scale(1.025);
}

.experience-card-content {
  min-width: 0;
  padding: clamp(1.25em, 2vw, 2em);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.experience-card:hover {
  border-color: rgba(82, 125, 104, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px) scale(1.03);
}

.experience-grid i {
  display: none;
}

.experience-grid article:hover i {
  display: none;
}

.experience-grid h3 {
  color: #252525;
  font-size: clamp(1.05rem, 1.15vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 0.6em;
}

.experience-grid p {
  color: #666666;
  font-size: clamp(0.88rem, 0.82vw, 1rem);
  line-height: 1.72;
  margin: 0;
}

.contact-band {
  align-items: center;
  border-top: 1px solid #eaeaea;
  display: flex;
  gap: 2em;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.home-footer {
  align-items: center;
  background: #1f2224;
  border-top: 1px solid #36383c;
  display: flex;
  gap: 1em;
  justify-content: space-between;
  padding: 1.5em 5vw;
}

.home-footer p {
  color: #707071;
  margin: 0;
}

.home-footer a {
  color: #aeb0b1;
}

@media screen and (max-width: 980px) {
  .home-menu-button {
    display: inline-flex;
  }

  .home-nav {
    align-items: flex-start;
    background: rgba(31, 34, 36, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100vh;
    justify-content: flex-start;
    padding: 5.2em 0.85em 1em;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform 0.24s ease;
    width: min(175px, 60vw);
    z-index: 10005;
  }

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

  .home-nav a {
    width: max-content;
    padding: 0.95em 1em;
    color: #f4f4f4 !important;
  }

  .home-nav a::after {
    bottom: 0.55em;
    display: block;
    left: 1em;
    width: calc(100% - 2em);
  }

  .home-nav a:hover {
    background: transparent;
  }

  .home-nav .nav-client {
    box-shadow: none;
    margin-top: 0.6em;
  }

  .home-nav .nav-client::after {
    display: block;
  }

  .intro-section,
  .experience-grid,
  .testimonials-grid,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .intro-section.has-image {
    align-items: start;
    gap: 2.4em;
    grid-template-columns: 1fr;
  }

  .intro-image {
    aspect-ratio: 16 / 10;
    max-height: 460px;
    width: 100%;
  }

  .intro-section.has-image .section-copy {
    max-width: 760px;
  }

  .portfolio-gallery-card {
    aspect-ratio: 16 / 9.5;
    flex-basis: min(82vw, 720px);
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media screen and (max-width: 560px) {
  .home-header {
    justify-content: center;
    padding: 0 74px;
  }

  /* .home-brand is centered globally */

  .home-brand img {
    
  }

  .home-hero {
    min-height: 88vh;
    padding: 6.4em 1.1em 3.3em;
  }

  .hero-container {
    padding: 0;
  }

  .hero-content .eyebrow {
    font-size: 0.7em;
    margin-bottom: 1em;
  }

  .hero-content h1 {
    font-size: clamp(2.55rem, 12vw, 3.6rem);
    line-height: 1;
    margin-bottom: 0.32em;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.55em;
  }

  .hero-actions {
    gap: 0.72em;
  }

  .hero-actions .button {
    align-items: center;
    border-left: 0 !important;
    display: flex;
    justify-content: center;
    line-height: 1.1;
    margin: 0;
    text-align: center;
  }

  .hero-actions .button,
  .contact-actions .button {
    min-height: 20px;
    padding: 0 1.15em;
    width: 100%;
  }

  .hero-actions .button:not(.primary) {
    
    box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.55);
  }

  .home-section,
  .portfolio-strip,
  .contact-band {
    padding: 4.5em 1.2em;
  }

  .intro-section.has-image {
    align-items: center;
    gap: 0.9em;
    grid-template-columns: minmax(112px, 0.82fr) minmax(0, 1fr);
  }

  .intro-image {
    aspect-ratio: 4 / 5;
    max-height: 280px;
  }

  .intro-section.has-image .section-copy h2 {
    font-size: clamp(1.45rem, 6vw, 2rem);
  }

  .intro-section.has-image .section-copy p {
    font-size: 0.88rem;
    line-height: 1.65;
  }

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

  .experience-card-content {
    padding: 1.2em;
  }

  .experience-grid h3 {
    font-size: 1rem;
    margin-bottom: 0.45em;
  }

  .experience-grid p {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .portfolio-carousel {
    margin-top: 2em;
  }

  .portfolio-track {
    gap: 0.55em;
  }

  .portfolio-gallery-card {
    aspect-ratio: 4 / 5;
    flex-basis: 78vw;
  }

  .portfolio-modal-panel {
    height: 100vh;
    max-width: 100vw;
  }

  .portfolio-modal-stage {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    padding: 0.5em 0;
  }

  .portfolio-modal-stage img {
    max-height: 58vh;
  }

  .portfolio-modal-arrow {
    font-size: 2.4em;
    padding: 0;
    width: 42px;
  }

  .portfolio-modal-close {
    height: 40px;
    line-height: 40px;
    right: 0.8em;
    top: 0.8em;
    width: 40px;
  }

  .portfolio-modal-thumb {
    flex-basis: 54px;
    width: 54px;
  }

  .home-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.5em 1.2em;
  }
}



/* ==========================================================================
   PRELOADER & SCROLL REVEAL STYLES
   ========================================================================== */

/* Preloader container */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              visibility 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Pulsing logo */
.preloader-logo {
  height: 1.6rem;
  width: auto;
  animation: logoPulse 2s infinite ease-in-out;
  filter: brightness(0.35);
}
body.is-preload #preloader .preloader-logo {
  animation: logoPulse 2s infinite ease-in-out !important;
}

/* Spinner */
.preloader-spinner {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(82, 125, 104, 0.15);
  border-top-color: #6b6b6b;
  border-radius: 50%;
  animation: spinnerRotate 0.8s linear infinite;
}
body.is-preload #preloader .preloader-spinner {
  animation: spinnerRotate 0.8s linear infinite !important;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes spinnerRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Scroll Reveal base styles */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal cascade (staggered delay for child items) */
.reveal-cascade {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.reveal-cascade.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Delays for children inside revealed parent */
.experience-grid .reveal-cascade:nth-child(1),
.testimonials-grid .reveal-cascade:nth-child(1) {
  transition-delay: 0.15s;
}

.experience-grid .reveal-cascade:nth-child(2),
.testimonials-grid .reveal-cascade:nth-child(2) {
  transition-delay: 0.32s;
}

.experience-grid .reveal-cascade:nth-child(3),
.testimonials-grid .reveal-cascade:nth-child(3) {
  transition-delay: 0.48s;
}

/* Typewriter Complete Text Shadow & Glow */
#typewriter-description {
  transition: text-shadow 1.2s ease, color 1.2s ease;
  text-shadow: 0 0 0 transparent;
}

#typewriter-description.typewriter-complete {
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 0 18px rgba(82, 125, 104, 0.35);
  color: #ffffff;
}

/* Animations and Micro-interactions */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
  transition-property: opacity, transform;
  transition-duration: 1s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Cinematic effect specifically for the main hero title */
.fade-up.hero-title-special {
  transform: translateY(40px) scale(0.92);
  filter: blur(12px);
  will-change: opacity, transform, filter;
  transition-property: opacity, transform, filter;
  transition-duration: 1.5s;
}

.fade-up.hero-title-special.is-visible {
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Skeleton Loading Screen */
.skeleton-loading {
  background: linear-gradient(90deg, #eaeaea 25%, #f4f4f4 50%, #eaeaea 75%);
  background-size: 200% 100%;
  animation: skeleton-loading-anim 1.5s infinite;
}

@keyframes skeleton-loading-anim {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Outlined buttons in Contact section */
.contact-actions .button:not(.primary) {
  background: #ffffff !important;
  border: 1px solid #a3a3a3 !important;
  box-shadow: none !important;
  color: #a3a3a3 !important;
}

.contact-actions .button:not(.primary):hover {
  background: rgba(82, 125, 104, 0.08) !important;
  border-color: #444444 !important;
  color: #333333 !important;
  transform: translateY(-3px);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35), 0 8px 30px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 12px 40px rgba(0, 0, 0, 0.22);
}

.whatsapp-float:hover svg {
  transform: rotate(8deg);
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.25);
  z-index: -1;
  animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

@media screen and (max-width: 560px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ==========================================================================
   SERVICES ICONS SECTION STYLES
   ========================================================================== */
.services-icons-section {
  background: #ffffff;
  padding: 5em 5vw;
}

.services-icons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3em;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.services-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1em;
}

.services-icon-wrapper {
  color: #5d5d5d;
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 60px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.services-icon-card:hover .services-icon-wrapper {
  transform: translateY(-5px) scale(1.05);
  color: #252525;
}

.services-icon-card h3 {
  color: #252525;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.8rem;
  letter-spacing: 0.02em;
}

.services-icon-card p {
  color: #777777;
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
  max-width: 320px;
}

/* Responsive adjust for services icons */
@media (max-width: 768px) {
  .services-icons-grid {
    grid-template-columns: 1fr;
    gap: 2.5em;
  }
  
  .services-icons-section {
    padding: 3.5em 1.2em;
  }
}



