/* style.css – TEMA DARK PREMIUM + AMARELO VIBRANTE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #050505;
  --bg-elevated: #0a0a0a;
  --bg-surface: #101010;
  --gray-dark: #1a1a1a;
  --gray-mid: #555555;
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --accent: #FAFF00;
  /* Electric Yellow */
  --accent-dark: #ccda00;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(5, 5, 5, 0.85);
  --shadow-lux: 0 30px 60px rgba(0, 0, 0, 0.9);
  --font-serif: 'Syne', sans-serif;
  /* Using Syne as the bold 'serif' equivalent */
  --font-sans: 'Outfit', sans-serif;
  --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 10rem 0;
  position: relative;
  text-align: center;
}

/* TIPOGRAFIA REDESIGN */
.section-tag {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 4rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.section-title--compact {
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: -1px;
}

/* HEADER GLASSMORPHISM */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 1.2rem 0;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  transition: var(--transition);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -2px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-variation-settings: 'wght' 800;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--accent);
}

.nav__list {
  display: flex;
  gap: 2.8rem;
  list-style: none;
}

.nav__link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
  transition: color 0.2s;
  letter-spacing: 0.5px;
}

.nav__link:hover {
  color: var(--accent);
}

/* Hamburguer (mobile) */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1000;
}

.hamburger__line {
  display: block;
  width: 28px;
  height: 2px;
  background: #fff;
  margin: 6px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: 4rem;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) grayscale(20%);
  transform: scale(1.1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, #050505);
}

.hero__content {
  position: relative;
  z-index: 3;
  color: white;
  width: 100%;
}

.hero__title {
  font-family: var(--font-serif);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title-main {
  display: none;
  font-size: clamp(1.8rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -5px;
  color: var(--accent);
  text-transform: uppercase;
  max-width: 100%;
  white-space: nowrap;
}

.hero__title-sub {
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-weight: 400;
  color: #fff;
  margin-top: 5px;
  /* Harmonized padding between YEELLO and sub-text */
}

.hero__subtitle {
  font-size: 1.25rem;
  margin: 1.5rem auto 3rem;
  /* Balanced spacing around the subtitle */
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* CATEGORIAS NA HERO REDESIGN */
.hero__categories {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-cat-card {
  position: relative;
  width: 130px;
  height: 130px;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: var(--transition);
}

.hero-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
  filter: brightness(0.6);
}

.hero-cat-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  /* Ensured exact 4px padding from the circular borders */
  box-sizing: border-box;
}

.hero-cat-content span {
  color: white;
  font-family: var(--font-serif);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.1;
  /* Design pattern: text shadow for better legibility inside images */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-cat-card:hover {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--accent);
  z-index: 10;
}

.hero-cat-card:hover img {
  transform: scale(1.2);
  filter: brightness(1);
}

.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  border-radius: 100px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 10px 30px rgba(250, 255, 0, 0.3);
}

.btn--primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(250, 255, 0, 0.5);
}

.btn--xl {
  padding: 1.2rem 3.5rem;
  font-size: 1.1rem;
}

.btn--large {
  padding: 1.2rem 3.5rem;
}

.btn--full {
  width: 100%;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: 40px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.3;
  }
}

/* SOBRE */
.sobre__grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
  max-width: 900px;
}

.sobre__content .section-title {
  margin-bottom: 2rem;
}

.sobre__text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.sobre__stats {
  display: flex;
  gap: 4rem;
  margin-top: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat__number {
  font-size: 4rem;
  font-family: var(--font-serif);
  font-weight: 800;
  color: var(--accent);
  display: block;
  letter-spacing: -2px;
}

.stat__label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 600;
}

.sobre__visual {
  position: relative;
}

.sobre__img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(30%) contrast(1.2);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.sobre__accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  z-index: -1;
}

/* SERVIÇOS CARDS */
.servicos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card-servico {
  background: var(--bg-surface);
  padding: 4rem 2rem;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  cursor: default;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-servico:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--accent);
  box-shadow: var(--shadow-lux);
  background: #000;
}

.card-servico__icon {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  color: var(--accent);
  filter: drop-shadow(0 0 10px rgba(250, 255, 0, 0.3));
}

.card-servico h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.card-servico p {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.card-servico__link {
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--accent);
  color: var(--accent);
}

/* PORTFÓLIO MASONRY */
.portfolio__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item:nth-child(5n+1) {
  grid-row: span 2;
}

.portfolio-item:nth-child(7n+3) {
  grid-column: span 2;
  grid-row: span 1;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
  filter: brightness(0.9);
}

.portfolio-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0b0b0b, transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: 0.4s;
  color: white;
  font-weight: 500;
  border-left: 2px solid var(--accent);
}

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

/* DIFERENCIAIS */
.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.dif-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-bottom: 2px solid #1a1a1a;
  transition: var(--transition);
}

.dif-item:hover {
  border-bottom-color: var(--accent);
  background: rgba(250, 255, 0, 0.02);
}

.dif-icon {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  color: var(--accent);
  display: flex;
  justify-content: center;
}

.dif-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.5px;
}

/* DEPOIMENTOS SLIDER */
.slider-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  padding: 1rem;
}

.depoimento-card {
  background: var(--bg-elevated);
  padding: 3rem;
  border: 1px solid #2e2e2e;
  text-align: center;
}

.depoimento-texto {
  font-size: 1.4rem;
  font-family: var(--font-serif);
  margin-bottom: 2rem;
}

.autor-nome {
  color: var(--accent);
  display: block;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.slider-btn {
  background: none;
  border: 1px solid #3a3a3a;
  color: white;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: 0.2s;
}

.slider-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 0;
  background: #444;
  cursor: pointer;
}

.dot.active {
  background: var(--accent);
  width: 24px;
}

/* CTA */
.cta {
  background: var(--bg-elevated);
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}

.cta__container {
  text-align: center;
}

.cta__title {
  font-size: 3.5rem;
  font-family: var(--font-serif);
  margin-bottom: 1rem;
}

.cta__text {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* CONTATO */
.contato__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  max-width: 900px;
  text-align: center;
}

.contato__info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contato .section-title {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 2rem;
}

.contato__desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
}

.contato__cta-wrapper {
  margin: 2rem 0 4rem;
}

.contato__social {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.contato__social a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.contato__social a:hover {
  color: var(--accent);
}

.contato__social svg {
  width: 18px;
  height: 18px;
}

/* FOOTER REDESIGN (BOLD & CENTERED) */
.footer {
  padding: 8rem 0 4rem;
  background: #000;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

.footer__brand .logo {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.footer__tagline {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-family: var(--font-serif);
  font-style: italic;
}

.footer__nav {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__link {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer__link:hover {
  color: var(--accent);
}

.footer__bottom {
  width: 100%;
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-mid);
  font-size: 0.85rem;
}

.footer__legal {
  display: flex;
  gap: 2rem;
}

.footer__legal a {
  color: var(--gray-mid);
  text-decoration: none;
  transition: color 0.3s;
}

.footer__legal a:hover {
  color: #fff;
}

/* ANIMAÇÕES SCROLL */
.fade-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s, transform 0.8s;
}

.fade-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVO */
@media (max-width: 1024px) {
  .servicos__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {
  .section {
    padding: 6rem 0;
  }

  .section-tag {
    font-size: 0.75rem;
    letter-spacing: 3px;
    padding: 0.4rem 0.8rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 8vw, 3rem);
    letter-spacing: -1px;
    margin-bottom: 2rem;
    text-align: center;
  }

  .section-title--compact {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    line-height: 1.1;
  }

  /* Header Mobile redesign */
  .header {
    padding: 0.8rem 0;
  }

  .header__container {
    justify-content: center;
    /* Center everything */
    position: relative;
    min-height: 50px;
  }

  .logo {
    font-size: 1.8rem;
    letter-spacing: -1px;
  }

  .hamburger {
    display: block !important;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 32px !important;
    height: 32px !important;
    padding: 0;
    z-index: 1001;
    background: transparent;
    border: none;
  }

  .hamburger__line {
    display: block !important;
    margin: 5px auto !important;
    width: 24px !important;
    height: 2px !important;
    background: #fff;
    transition: 0.3s;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 1.5rem 1.5rem 18rem;
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .nav__link {
    font-size: clamp(1.4rem, 7vw, 2rem);
    /* Slightly more conservative scaling for extreme narrow screens */
    font-family: var(--font-serif);
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 2px;
    text-align: center;
    transition: var(--transition);
    line-height: 1.2;
  }

  .nav__link:hover {
    color: var(--accent);
    transform: scale(1.05);
  }

  .card-servico h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  /* Hero adjustments */
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero__title-main {
    display: block;
    font-size: clamp(2.2rem, 12vw, 4.5rem);
    letter-spacing: -2px;
  }

  .hero__title-sub {
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-top: 5px;
    opacity: 0.9;
  }

  .hero__subtitle {
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    padding: 0 10px;
    opacity: 0.7;
    line-height: 1.4;
  }

  .hero__categories {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .hero-cat-card {
    width: 90px;
    height: 90px;
  }

  .hero-cat-content span {
    font-size: 0.65rem;
  }

  .hero__cta-group .btn {
    width: 100%;
  }

  .hero__scroll-indicator {
    display: none;
  }

  .sobre__grid,
  .contato__grid,
  .servicos__grid,
  .portfolio__grid,
  .diferenciais__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 3rem;
  }

  .sobre__text p {
    font-size: 1rem;
    text-align: center;
  }

  .sobre__stats {
    gap: 1.5rem;
    width: 100%;
    justify-content: center;
  }

  .stat__number {
    font-size: 2.5rem;
  }

  .stat__label {
    font-size: 0.7rem;
  }

  .card-servico {
    padding: 3rem 1.5rem;
    width: 100%;
  }

  .portfolio__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .portfolio-item {
    height: 300px !important;
    grid-row: span 1 !important;
    grid-column: span 1 !important;
  }

  .depoimento-texto {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .depoimento-card {
    padding: 2rem 1.5rem;
  }

  .footer {
    padding: 6rem 0 3rem;
  }

  .footer__container {
    gap: 2.5rem;
  }

  .footer__brand .logo {
    font-size: 2.2rem;
  }

  .footer__nav {
    flex-direction: column;
    gap: 1.2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding-top: 3rem;
  }

  .footer__legal {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.7rem;
  }

  .section-title--compact {
    font-size: 1.4rem;
  }

  .card-servico h3 {
    font-size: 1.4rem;
  }

  .hero__title-main {
    font-size: clamp(1.6rem, 15vw, 2.2rem);
    letter-spacing: -1px;
  }

  .hero-cat-card {
    width: 80px;
    height: 80px;
  }

  .hero-cat-content span {
    font-size: 0.55rem;
  }

  .btn {
    padding: 1.2rem 2rem;
    width: 100%;
  }

  .btn--xl {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
  }
}

/* SERVICE MODAL STYLES */
.service-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-modal.active {
  visibility: visible;
  opacity: 1;
}

.service-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.service-modal__body {
  position: relative;
  z-index: 2001;
  width: 90%;
  max-width: 1100px;
  max-height: 90vh;
  background: #0a0a0a;
  border: 1px solid rgba(255, 215, 0, 0.1);
  overflow-y: auto;
  border-radius: 4px;
  transform: translateY(30px) scale(0.98);
  transition: all 0.5s 0.1s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-modal.active .service-modal__body {
  transform: translateY(0) scale(1);
}

.service-modal__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2005;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.service-modal__close:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.modal-visual {
  height: 100%;
  position: relative;
}

.modal-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

.modal-info {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-service-tag {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.modal-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.modal-features {
  list-style: none;
  margin-bottom: 3rem;
}

.modal-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
}

.modal-features li::before {
  content: "✦";
  color: var(--accent);
}

/* Modal Responsive */
@media (max-width: 991px) {
  .modal-content-grid {
    grid-template-columns: 1fr;
  }

  .modal-visual {
    height: 350px;
  }

  .modal-info {
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .service-modal__body {
    width: 95%;
    max-height: 95vh;
  }

  .modal-visual {
    height: 250px;
  }

  .modal-info {
    padding: 2.5rem 1.5rem;
  }

  .modal-title {
    font-size: 2.2rem;
  }

  .service-modal__close {
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }
}