:root {
  --yellow: #f5b800;
  --yellow-dark: #d9a300;
  --yellow-light: #fff4cc;
  --black: #1a1a1a;
  --gray-900: #2d2d2d;
  --gray-700: #4a4a4a;
  --gray-500: #6b6b6b;
  --gray-200: #e8e8e8;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-700);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--yellow-dark);
}

.nav__cta {
  background: var(--yellow);
  color: var(--black) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  font-weight: 600 !important;
}

.nav__cta:hover {
  background: var(--yellow-dark);
  color: var(--black) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

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

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26, 26, 26, 0.88) 0%,
    rgba(26, 26, 26, 0.65) 45%,
    rgba(26, 26, 26, 0.35) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  max-width: 640px;
}

.hero__badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}

.hero__tagline {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.btn--primary:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--black);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--yellow-light);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section__label {
  display: inline-block;
  color: var(--yellow-dark);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.section__header p {
  color: var(--gray-500);
  font-size: 1.05rem;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about__text h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--black);
  margin-bottom: 1rem;
}

.about__text p {
  margin-bottom: 1rem;
}

.about__stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 3px solid var(--yellow);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--black);
}

.stat span {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.section--alt .service-card {
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--yellow);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--yellow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
}

/* Clients */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.client-logo {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.client-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--yellow);
}

.client-logo img {
  display: block;
  max-height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  filter: grayscale(20%);
  opacity: 0.9;
  transition: filter 0.25s, opacity 0.25s;
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Gallery */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery__row {
  display: grid;
  gap: 1rem;
}

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

.gallery__row--trio {
  grid-template-columns: repeat(3, 1fr);
}

.gallery__card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--gray-200);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s, transform 0.3s;
}

.gallery__card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.gallery__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.gallery__card:hover img {
  transform: scale(1.04);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  background: var(--yellow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: var(--font-display);
  color: var(--black);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.contact-item a:hover {
  color: var(--yellow-dark);
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-family: var(--font-display);
  color: var(--black);
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--black);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--yellow);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer .logo {
  margin-bottom: 0.75rem;
}

.footer .logo img {
  height: 56px;
  max-width: 240px;
}

.footer__desc {
  font-size: 0.95rem;
  max-width: 320px;
}

.footer h4 {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 0.5rem;
}

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

.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* Responsive */
@media (max-width: 900px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

  .gallery__row--trio .gallery__card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.5rem);
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .gallery__row--duo,
  .gallery__row--trio {
    grid-template-columns: 1fr;
  }

  .gallery__row--trio .gallery__card:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }

  .gallery__card {
    aspect-ratio: 16 / 11;
  }

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

  .client-logo {
    min-height: 90px;
    padding: 1rem 0.75rem;
  }

  .client-logo img {
    max-height: 56px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .about__image img {
    height: 280px;
  }
}
